LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   No prompt after kernel/module messages at boot time (https://www.linuxquestions.org/questions/linux-from-scratch-13/no-prompt-after-kernel-module-messages-at-boot-time-576939/)

m4mach 08-14-2007 03:52 AM

No prompt after kernel/module messages at boot time
 
Kernel loads module(s) if USB device such as modem, pendrive or joypad is attached at boot time. Shows messages as usual say that device is OK and operational, but I have no login prompt. I have to press ENTER to get it back. This is very inconvenient, how can I get rid of this? And how to make it load modules in the background, like in Windows (I mean & at the end of modprobe doesn't work). Well my modem is synchronizing quite long so it is important for me.

Do you have any idea?

Daws 08-14-2007 04:27 AM

I don't think you can get rid of it. It is just the way things work. The messages themselves do not interfere with the shell.
If you want to use the cli after these messages appear, you do not have to press return to get the prompt back, because these messages are printed to the screen (stdout/stderr), not to the actual command line (if you see what I mean).

m4mach 08-14-2007 04:38 AM

Yes, but other modules doesn't do this in that way, Is this only USB devices issue?

Well this would mean that there is no way to do it as I want, strange, so auto-boot to X or other app is not possible? Do I have to turn on PC and then come back and press ENTER always?
This is very inconvenient

Or maybe there is some other way?

Daws 08-14-2007 04:48 AM

Ok, I may have misunderstood the problem, I assumed you were talking about messages like this one:

Code:

usb 5-1: new high speed USB device using ehci_hcd and address 6
cropping up after plugging in something while you are working at the console

These messages are printed to the screen and are harmless, they are for infomation only and end up in syslog, they do not affect the OS in any other way. They certainly should not prevent your X login manager from auto booting.

Quote:

Do I have to turn on PC and then come back and press ENTER always?
I'm not entirely sure what you mean here, could you go into more detail?

m4mach 08-14-2007 05:04 AM

Normally when I boot system without any USB devices attached, I get prompt for login and password (of course I can autologin and get just prompt). Then I can start any program or script directly. When I have USB dev, I get those messages and no prompt, simply:

Code:

message
message
...

<and nothing>

I know it is harmless and it is only detail, but overal boot process looks not too clean or like it has hung. It looks like error or something, but of course it isn't.

EDIT: And I don't use any login manager like those from KDE or GNOME.


All times are GMT -5. The time now is 12:01 PM.