Skip to contentSkip to conversation

kernel dump solutions

DISCUSSION Josh Boyer 5 participants 6 messages Aug 13, 2008 – Aug 22, 2008

lore
Share & tools
lore

Josh Boyer

author
#0 lore raw

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

#1 lore raw

Flatten device tree & PPC linux

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 !

Quoted 32 lines · Josh Boyer

From: Josh Boyer <[email protected]>
Subject: kernel dump solutions
To: [email protected]
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 [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html

#3 lore raw

Re: Flatten device tree & PPC linu

Quoted 7 lines · Grant Likely
Quoted 3 lines · Fundu

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

#4 lore raw
In reply to Josh Boyer
Quoted 3 lines · Josh Boyer

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?

Signature · 1 line
// Randy
author
#5 lore raw
Quoted 8 lines · Randy MacLeod
Quoted 3 lines · Josh Boyer

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.

Quoted 2 lines

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