Re: [PATCH] panic.c: export panic_on_oops

From: Ingo Molnar
Date: Mon Oct 12 2009 - 10:28:39 EST



* David Woodhouse <dwmw2@xxxxxxxxxxxxx> wrote:

> On Mon, 2009-10-12 at 15:25 +0200, Ingo Molnar wrote:
> >
> > I care about this because i still havent given up hope that the
> > company you are working for will finally give us some permanent
> > storage in the CPU itself, so that we can have cross-reboot printk
> > buffering ;-)
>
> Why would it have to be in the CPU? If we had decent firmware,
> couldn't we just look at the old kernel's log_buf in RAM?

Not if the failure is say a s2ram hang that requires a power cycle. Also
there are certain classes of bugs that only occur on cold boot. Plus
there's the "need to unplug the battery to revive the system" class of
bugs (but they are rare).

So i think the MTD / flash stuff is powerful.

Ingo
--
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/