[PATCH v7 5/5]: mtdoops: refactor as a kmsg_dumper
Simon Kagstrom
simon.kagstrom at netinsight.net
Fri Oct 23 02:34:00 EDT 2009
On Fri, 23 Oct 2009 07:32:42 +0300
Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> On Thu, 2009-10-15 at 09:48 +0200, Simon Kagstrom wrote:
> > The last messages which happens before a crash might contain interesting
> > information about the crash. This patch reworks mtdoops using the
> > kmsg_dumper support instead of a console, which simplifies the code and
> > also includes the messages before the oops started.
>
> Looks good, thanks for doing this. Did you actually test this with
> oopses and panics, with and without panic_on_oops?
Yes, I've tested it with the kinds of crashes I could think of on a
device (OpenRD) with a NAND flash. It works well for all cases I've
tested.
I wrote a small kernel module which registers a sysfs interface where
you can crash or cause problems for the kernel in various ways to test
this. If there is interest for it I could post it.
// Simon
More information about the linux-mtd
mailing list