Re: slow down printk during boot.

From: Dave Jones
Date: Thu Jul 05 2007 - 21:56:17 EST


On Fri, Jul 06, 2007 at 03:50:11AM +0200, Bodo Eggert wrote:
> Dave Jones <davej@xxxxxxxxxx> wrote:
>
> > 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 ...

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

--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/