linux-embedded.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kernel dump solutions
@ 2008-08-13 19:48 Josh Boyer
  2008-08-14  5:44 ` Flatten device tree & PPC linux Fundu
  2008-08-22  1:53 ` kernel dump solutions Randy MacLeod
  0 siblings, 2 replies; 6+ messages in thread
From: Josh Boyer @ 2008-08-13 19:48 UTC (permalink / raw)
  To: linux-embedded

Hi All,

I'm curious what people are using for a kernel dump solution on embedded
platforms.  It seems that kexec/kdump is the default solution for
desktop and server machines, but this seems to be a bit heavy for
embedded platforms.  Requiring a second kernel to do the dump seems like
a cost that most platform designers wouldn't be willing to incur.

The only other alternative that I'm aware of is LKCD.  It doesn't seem
particularly active at all these days.  Mcore has been sufficiently dead
for years.  So what's left?  What else are people using?

josh

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Flatten device tree & PPC linux
  2008-08-13 19:48 kernel dump solutions Josh Boyer
@ 2008-08-14  5:44 ` Fundu
  2008-08-14  6:43   ` Flatten device tree & PPC linu Grant Likely
  2008-08-22  1:53 ` kernel dump solutions Randy MacLeod
  1 sibling, 1 reply; 6+ messages in thread
From: Fundu @ 2008-08-14  5:44 UTC (permalink / raw)
  To: linux-embedded

i was reading this ...
http://free-electrons.com/kerneldoc/latest/powerpc/booting-without-of.txt
and was wondering if the kernel 2.4(yes 2.4) expects a flatten device tree ?

Anybody any ideas ? 
TIA !


--- On Wed, 8/13/08, Josh Boyer <jwboyer@gmail.com> wrote:

> From: Josh Boyer <jwboyer@gmail.com>
> Subject: kernel dump solutions
> To: linux-embedded@vger.kernel.org
> Date: Wednesday, August 13, 2008, 12:48 PM
> Hi All,
> 
> I'm curious what people are using for a kernel dump
> solution on embedded
> platforms.  It seems that kexec/kdump is the default
> solution for
> desktop and server machines, but this seems to be a bit
> heavy for
> embedded platforms.  Requiring a second kernel to do the
> dump seems like
> a cost that most platform designers wouldn't be willing
> to incur.
> 
> The only other alternative that I'm aware of is LKCD. 
> It doesn't seem
> particularly active at all these days.  Mcore has been
> sufficiently dead
> for years.  So what's left?  What else are people
> using?
> 
> josh
> 
> --
> To unsubscribe from this list: send the line
> "unsubscribe linux-embedded" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at 
> http://vger.kernel.org/majordomo-info.html


      

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Flatten device tree & PPC linu
  2008-08-14  5:44 ` Flatten device tree & PPC linux Fundu
@ 2008-08-14  6:43   ` Grant Likely
  2008-08-14 17:27     ` David VomLehn
  0 siblings, 1 reply; 6+ messages in thread
From: Grant Likely @ 2008-08-14  6:43 UTC (permalink / raw)
  To: fundu_1999; +Cc: linux-embedded

On Wed, Aug 13, 2008 at 11:44 PM, Fundu <fundu_1999@yahoo.com> wrote:
> i was reading this ...
> http://free-electrons.com/kerneldoc/latest/powerpc/booting-without-of.txt
> and was wondering if the kernel 2.4(yes 2.4) expects a flatten device tree ?

No, 2.4 does not support flattened device trees.  It is a 2.6 thing
for arch/powerpc.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Flatten device tree & PPC linu
  2008-08-14  6:43   ` Flatten device tree & PPC linu Grant Likely
@ 2008-08-14 17:27     ` David VomLehn
  0 siblings, 0 replies; 6+ messages in thread
From: David VomLehn @ 2008-08-14 17:27 UTC (permalink / raw)
  To: Grant Likely; +Cc: fundu_1999, linux-embedded

Grant Likely wrote:
> On Wed, Aug 13, 2008 at 11:44 PM, Fundu <fundu_1999@yahoo.com> wrote:
>> i was reading this ...
>> http://free-electrons.com/kerneldoc/latest/powerpc/booting-without-of.txt
>> and was wondering if the kernel 2.4(yes 2.4) expects a flatten device tree ?
> 
> No, 2.4 does not support flattened device trees.  It is a 2.6 thing
> for arch/powerpc.

It came originally from the PowerPC world, but there is now Sparc implementation 
in the kernel tree. We're working on using device tree for MIPS and, according to 
a participant at the OLS Device Tree BOFS, someone in the ARM world is also 
working on an implementation. I don't know how much work it would be to backport 
to 2.4, but my guess is that it's pretty independent of the kernel version.

There is now a device tree mailing list independent of PowerPC. You can find more 
info at https://ozlabs.org/mailman/listinfo/devicetree-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: kernel dump solutions
  2008-08-13 19:48 kernel dump solutions Josh Boyer
  2008-08-14  5:44 ` Flatten device tree & PPC linux Fundu
@ 2008-08-22  1:53 ` Randy MacLeod
  2008-08-22  2:54   ` Josh Boyer
  1 sibling, 1 reply; 6+ messages in thread
From: Randy MacLeod @ 2008-08-22  1:53 UTC (permalink / raw)
  To: Josh Boyer; +Cc: linux-embedded

On Wed, Aug 13, 2008 at 3:48 PM, Josh Boyer <jwboyer@gmail.com> wrote:
> Hi All,
>
> I'm curious what people are using for a kernel dump solution on embedded

Create a region of memory that pesist across resets.
Put kernel panic info, exceptiions and scheduling events into said memory.
Profit!

If only more manufactures would support this in the bios...
Intel and BIOS writter folks are you listening?


-- 
// Randy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: kernel dump solutions
  2008-08-22  1:53 ` kernel dump solutions Randy MacLeod
@ 2008-08-22  2:54   ` Josh Boyer
  0 siblings, 0 replies; 6+ messages in thread
From: Josh Boyer @ 2008-08-22  2:54 UTC (permalink / raw)
  To: Randy MacLeod; +Cc: linux-embedded

On Thu, 2008-08-21 at 21:53 -0400, Randy MacLeod wrote:
> On Wed, Aug 13, 2008 at 3:48 PM, Josh Boyer <jwboyer@gmail.com> wrote:
> > Hi All,
> >
> > I'm curious what people are using for a kernel dump solution on embedded
> 
> Create a region of memory that pesist across resets.
> Put kernel panic info, exceptiions and scheduling events into said memory.
> Profit!

I've done that many times.  It works well enough, but it's not a dump.
I've actually used some dumps to debug some rather difficult kernel
problems in the past, but there are increasingly fewer options these
days.

> If only more manufactures would support this in the bios...
> Intel and BIOS writter folks are you listening?

BIOS... yeah... I don't have a BIOS.  That's the best way to deal with
that.

josh

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-08-22  2:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-13 19:48 kernel dump solutions Josh Boyer
2008-08-14  5:44 ` Flatten device tree & PPC linux Fundu
2008-08-14  6:43   ` Flatten device tree & PPC linu Grant Likely
2008-08-14 17:27     ` David VomLehn
2008-08-22  1:53 ` kernel dump solutions Randy MacLeod
2008-08-22  2:54   ` Josh Boyer

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).