Skip to contentSkip to conversation

slow down printk during boot.

DISCUSSION Bodo Eggert 2 participants 2 messages Jul 6, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
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), while system_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]
#2 lore raw
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), while system_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