[PATCH 0/3]: mtdoops fixes and improvements

Simon Kagstrom simon.kagstrom at netinsight.net
Fri Oct 2 10:05:10 EDT 2009


Hi!

Here are a couple of patches to mtdoops which I've been working on for
a while. The patches are:

1. Make page size configurable (to support longer messages)

2. Use panic_write if panic_on_oops is set. This is essentially the
   same as Aaro sent earlier today (funny coincidence!), but contains
   some other fixes around the same area. This unbreaks the case when
   panic_on_oops is set.

3. Store all kernel messages in a circular buffer. This changes the
   behavior of mtdoops a bit by constantly recording messages (not only
   on oopses), which are written out on oopses and panics.

   The code is changed to register a panic handler which calls the
   write function.

// Simon



More information about the linux-mtd mailing list