slow down printk during boot.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · Dave Jones
This patch from Randy has proven quite useful from time to time, and has been in Fedora kernels for a while for that reason. I fixed up some checkpatch warnings, and rediffed it a bunch of times, Randy did the heavy lifting.
---
This one delays each
printk()during boot by a variable time (from kernel command line), whilesystem_state==SYSTEM_BOOTING.
Caveat: it's not terribly SMP safe or SMP nice.
Any ideas for improvements (esp. in the SMP area) are appreciated.
I just created a different patch, which replaces the panic with one that does allow scrolling and reading the messages. Maybe that would be the better approach ...
The patch was sent in:
Subject: [RFC][PATCH] introduce panic_gently
Message-ID: [email protected] news:[email protected]
Signature · 4 lines
Justify my text? I'm sorry but it has no excuse. Friß, Spammer: [email protected] [email protected] [email protected] [email protected]
Quoted 9 lines · Bodo Eggert
Quoted 7 lines · Dave Jones
This patch from Randy has proven quite useful from time to time, and has been in Fedora kernels for a while for that reason. I fixed up some checkpatch warnings, and rediffed it a bunch of times, Randy did the heavy lifting.
---
Quoted 8 lines
Quoted 4 lines
This one delays each
printk()during boot by a variable time (from kernel command line), whilesystem_state==SYSTEM_BOOTING.
Caveat: it's not terribly SMP safe or SMP nice.
Any ideas for improvements (esp. in the SMP area) are appreciated.I just created a different patch, which replaces the panic with one that does allow scrolling and reading the messages. Maybe that would be the better approach ...
I've used the 'slow down the printk' patch in situations where we haven't panic'd, but silently rebooted instantly or hung with a black screen.
Dave
Signature · 1 line
http://www.codemonkey.org.uk