Subject: Re: Getting a kernel panic dump back (or not)
To: None <Richard.Earnshaw@arm.com>
From: Robert Swindells <rjs@fdy2.demon.co.uk>
List: port-arm
Date: 01/09/2004 11:49:53
Richard Earnshaw wrote:
>Hmm, so I've just hand my shark panic again with the same panic as point 2
>in pr port-arm/23581 :-(
>This time, however, on typing sync at the ddb prompt it paniced again (not
>too unusual). However, on typing reboot it then managed to do a full dump
>(or at least, it went through the motions of doing so).
>So I was somewhat disappointed to find that on reboot, savecore announced
>that there was nothing to be found :-(
>Anyway, I've DD'ed my entire swap partition (there may be something
>there). Does anyone have any ideas on how to extract the kernel dump from
>it? Better still, does anyone know how to make savecore do its job
>properly?
The code to dump the core in arm/vm_machdep_arm.c looks identical to the
i386 version. I have used savecore fairly recently on i386.
Can you force it to save using -f ?
Also, savecore seems to want to match the core against the kernel used
to generate it. Perhaps you need to point it at an ELF kernel instead
of the a.out one.
Robert Swindells