Skip to contentSkip to conversation

How to stop kernel rebooting during startup?

DISCUSSION Grant Coady 3 participants 3 messages Jun 2, 2010 – Jun 3, 2010

lore
Share & tools
lore
#0 lore raw

Hi there,

Kernel has a problem mounting root, but it reboots before I can read the message. Of course nothing gets logged so I cannot see exactly why the kernel wants to reboot.

Can I stop kernel doing an automatic reboot? How?

It's version 2.6.33.5, .4 has same behaviour. Filesystem is Reiserfs, Intel ICH9R with Core2Duo, .config is on:

http://bugsplatter.id.au/kernel/boxen/pooh64/config-2.6.33.5a.gz

which worked fine on slackware64-13.0, has this behaviour on slack- ware64-13.1. Because I cannot read the screen before reboot, no idea where to look next, or what is actually happening.

Thanks,
Grant.

#1 lore raw
Quoted 3 lines · Grant Coady

which worked fine on slackware64-13.0, has this behaviour on slack- ware64-13.1.  Because I cannot read the screen before reboot, no idea where to look next, or what is actually happening.

Maybe try CONFIG_BOOT_PRINTK_DELAY to see the message?

Signature · 1 line
Bob Copeland %% www.bobcopeland.com
#2 lore raw
Quoted 6 lines · On Wed, 2 Jun 2010 18:35:45 -0400 Bob Copeland wrote:
Quoted 3 lines · Grant Coady

which worked fine on slackware64-13.0, has this behaviour on slack- ware64-13.1.  Because I cannot read the screen before reboot, no idea where to look next, or what is actually happening.

Maybe try CONFIG_BOOT_PRINTK_DELAY to see the message?

That's one option.

Can you alter the kernel command line (boot options)? like add: initcall_debug debug ignore_loglevel pause_on_oops=30

Sounds like it would also be good to have something like:
reboot=hang|spin
(TBD)

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***