What log file reflects boot hang reason?
I have system boot hang in specific hardware configuration. What log files should I analyse to determine hang reason?
I am booting the system two times. First time with "bad" config and having hang, second time with "good" config to be able to inspect logs. Looking "messages" and "dmesg" files I see no messages belonging to bad boot (as I think). Do they stored somewhere or dropped due hang? Thanks. P.S. My distro is Fedora 9 and a hang occures before "starting udev" message. |
"boot" is sometimes ambiguous.....to some it mean the entire startup process, but to others is mean only the process leading up to handing control to the kernel.
For something like the GRUB bootloader, I don't think there are any error logs. Once the kernel takes over and runs "init", logs are written to /var/log. In your case, something around "starting udev" should be in the logs. |
dmesg should indicate the failure. Mind posting the output? Also, what changed on the machine since the last boot?
|
maby boot.msg etc, SuSE have it, does Fedora ?
|
Dims,
Try analyse /var/log/syslog, Xorg.0.log, and /var/log/debug. There, at least whatever failed when kernel took over control it could be inferred easily. By the way what were the messages when the bad config failed to boot? We need more info regarding your problem so that we can provide help. Goodluc. |
Quote:
If I were diagnosing a problem like that, I would want to preserve as much as possible of the hang, rather then have anything overwritten by the next startup. So after the hang, I would boot a liveCD and use that to look at any remains on the hard drive from the startup that failed. |
I am trying to make graphicsless computer node. The situation specific is described here: http://www.linuxquestions.org/questi...onsole-730413/
Since it was impossible to find the specific answer, I would like to find the more general answer now: how to determine hardware responsible for hang in Linux? |
Quote:
Quote:
Quote:
Quote:
The tail is Code:
console [tty0] enabled Quote:
|
Quote:
Quote:
|
Quote:
Am I right thinking that this is a first init message? |
Quote:
Look in /var/log, you should have multiple dmesg logs. Look at the relevant one |
I have two one: dmesg and dmesg.old. The size of them is similiar. Is it possible to store dmesg of each log?
|
What do you mean store? They are stored, thats what those are, files.
|
?
What about trying to edit the boot process eliminating loading the kernel module that is looking for the graphics that aren't there? |
Quote:
|
All times are GMT -5. The time now is 11:03 PM. |