Re: slow down printk during boot.

From: Bodo Eggert
Date: Thu Jul 05 2007 - 21:50:57 EST


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 ...

The patch was sent in:
Subject: [RFC][PATCH] introduce panic_gently
Message-ID: Pine.LNX.4.58.0707060034330.18989@xxxxxxx
news:8DICF-3CV-47@xxxxxxxxxxxxxxxx
--
Justify my text? I'm sorry but it has no excuse.

Friß, Spammer: ij@xxxxxxxxxxxxxxxxxxxxxxxx 6.h@xxxxxxxxxxxxxxxxxxxxxxxxxx
9yTtaaH5@xxxxxxxxxxxxxxxxxxxxxxxx dy3pwcw@xxxxxxxxxxxxxxxxxxxxxxxxxxx
-
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/