Bug 682327 - systemd won't start agetty on a framebuffer console
Summary: systemd won't start agetty on a framebuffer console
Keywords:
Status: CLOSED DUPLICATE of bug 679503
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 15
Hardware: i686
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-04 20:54 UTC by Gus Wirth
Modified: 2011-03-06 14:40 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-03-06 14:40:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
dmesg output with kernel mode setting active (123.10 KB, text/plain)
2011-03-04 20:54 UTC, Gus Wirth
no flags Details
dmesg output with kernel mode setting disabled (nomodeset) (123.12 KB, text/plain)
2011-03-04 20:56 UTC, Gus Wirth
no flags Details
last bit of console output without kernel mode setting (716 bytes, text/plain)
2011-03-04 20:57 UTC, Gus Wirth
no flags Details

Description Gus Wirth 2011-03-04 20:54:21 UTC
Created attachment 482373 [details]
dmesg output with kernel mode setting active

Description of problem:

System is set to start in multi-user mode (text, run level 3)

When a system is started with kernel mode switching available and the console switches from the normal vga console to a framebuffer console, systemd refuses to start a getty (agetty) on the console, thus preventing login.

Version-Release number of selected component (if applicable):
kernel-2.6.38-0.rc6.git6.1.fc15.i686
systemd-19-1.fc15.i686
util-linux-2.19-3.fc15.i686

How reproducible:
Set system to start in multi-user mode (non-graphical) by creating a symlink /etc/systemd/system/default.target  pointing to /lib/systemd/system/runlevel3.target

Steps to Reproduce:
1. Boot system

Actual results:
System comes up all the way except for login prompt.

Expected results:
System comes up all the way and then allows login at prompt.

Additional info:

The failure occurs with Kernel Mode Setting active. If the Kernel Mode Setting is disabled with the command line option "nomodeset" then the agetty is started as expected and normal login can occur.

System is a Gateway 450ROG laptop with an ATI Mobility 9 (R250) video chip with dedicated 64MB RAM.

The attached files are dmesg output with Kernel Mode Setting (dmesg.kms), dmesg without mode setting (dmesg.nomodeset) and the last few lines of the console output without mode setting (console-nomodeset.txt)

For the dmesg files I activated the debug output of systemd by editing the /etc/systemd/system.conf file and set LogLevel=debug.

Comment 1 Gus Wirth 2011-03-04 20:56:08 UTC
Created attachment 482374 [details]
dmesg output with kernel mode setting disabled (nomodeset)

Comment 2 Gus Wirth 2011-03-04 20:57:12 UTC
Created attachment 482375 [details]
last bit of console output without kernel mode setting

Comment 3 Lennart Poettering 2011-03-05 14:28:02 UTC
My guess is that plymouth is frozen and the gettys wait for that. And if you disable KMS then Plymouth will run in a different mode.

Do the gettys appear if you wait a couple of minutes?

Comment 4 Gus Wirth 2011-03-06 02:43:07 UTC
Your guess is correct. The getty's never appear because they are waiting on plymouth, and they will wait forever (> 1hour) because plymouth never exits:

[gus@rawhide ~]$ ps -efw|grep plymouth
root       914     1  0 17:08 ?        00:00:00 /bin/plymouth --wait

I was able to check this by ssh'ing into the machine.

I then kill the plymouth process:

$ sudo kill 914

And I get my login prompt on the console.

I would really like to get rid of plymouth but it seems so ingrained into everything that I can't remove it without breaking a bunch of packages.

I don't know why there is such a paranoid Fear Of Text (TM) that requires plymouth to cover it up, but I guess that's another bug report ;)

Comment 5 Gus Wirth 2011-03-06 03:22:57 UTC
Looks like this was fixed in the latest release of plymouth. I did an update and all was working:

plymouth-graphics-libs-0.8.4-0.20110304.1.fc15.i686
plymouth-scripts-0.8.4-0.20110304.1.fc15.i686
plymouth-core-libs-0.8.4-0.20110304.1.fc15.i686
plymouth-plugin-label-0.8.4-0.20110304.1.fc15.i686
plymouth-theme-charge-0.8.4-0.20110304.1.fc15.i686
plymouth-plugin-two-step-0.8.4-0.20110304.1.fc15.i686
plymouth-system-theme-0.8.4-0.20110304.1.fc15.i686
plymouth-0.8.4-0.20110304.1.fc15.i686

Now if only I can fix the damn framebuffer font size.

Comment 6 Lennart Poettering 2011-03-06 14:40:35 UTC

*** This bug has been marked as a duplicate of bug 679503 ***


Note You need to log in before you can comment on or make changes to this bug.