* Re: Re: How to store kernel panic/oops
@ 2009-12-28 18:03 Marco Stornelli
2009-12-29 7:05 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Marco Stornelli @ 2009-12-28 18:03 UTC (permalink / raw)
To: dwmw2; +Cc: CeLinux, Linux Embedded
David Woodhouse wrote:
> Can't it be done with what's in the tree already? Just create an MTD
> device using phram or something else, then point mtdoops at it
Yes of course, if possible we shouldn't reinvent the wheel but I
wondered if there was something more specific. To add mtdoops (more or
less 1k) we have to add mtd subsys (more or less 14k) to the kernel to
achieve this and it's all overhead.
Marco
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Re: How to store kernel panic/oops
2009-12-28 18:03 Re: How to store kernel panic/oops Marco Stornelli
@ 2009-12-29 7:05 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2009-12-29 7:05 UTC (permalink / raw)
To: Marco Stornelli; +Cc: dwmw2, CeLinux, Linux Embedded
On Mon, Dec 28, 2009 at 07:03:48PM +0100, Marco Stornelli wrote:
> David Woodhouse wrote:
>
> > Can't it be done with what's in the tree already? Just create an MTD
> > device using phram or something else, then point mtdoops at it
>
> Yes of course, if possible we shouldn't reinvent the wheel but I
> wondered if there was something more specific. To add mtdoops (more or
> less 1k) we have to add mtd subsys (more or less 14k) to the kernel to
> achieve this and it's all overhead.
>
panic/oops information is punted down to a kmsg dumper, which mtdoops
just happens to be one of. If you wanted to do your own platform specific
hack for size constraints you could easily just have your own special
one instead. Take a look at linux/kmsg_dump.h.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-29 7:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-28 18:03 Re: How to store kernel panic/oops Marco Stornelli
2009-12-29 7:05 ` Paul Mundt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).