Re: [PATCH] panic.c: export panic_on_oops

Ingo Molnar
2009-10-12T14:26:52Z

* David Woodhouse <dwmw2@infradead.org> 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