[PATCH 3/3]: mtdoops: store all kernel messages in a circular buffer

Simon Kagstrom simon.kagstrom at netinsight.net
Tue Oct 6 08:37:21 EDT 2009


On Fri, 2 Oct 2009 16:07:41 +0200
Simon Kagstrom <simon.kagstrom at netinsight.net> wrote:

> The last messages which happens before a crash might contain interesting
> information about the crash. This patch reworks mtdoops to keep a
> circular buffer of _all_ kernel messages, not just those that are
> printed when an oops is initiated.
> 
> A handler that is called on panic is also added instead of
> mtdoops_console_sync so that panic_on_oops and true panics are stored.

I found two small bugs in this patch, so a new version is coming up.

// Simon



More information about the linux-mtd mailing list