obtaining a kernel crash dump
Nick Strebkov
nick at humgat.org
Thu May 20 07:47:24 PDT 2004
On Wed, May 19, 2004 at 05:20:04PM +0300, Peter Pentchev wrote:
> On Wed, May 19, 2004 at 04:34:42PM +0300, Nick Strebkov wrote:
> > Hi there.
> >
> > I can't obtain a crash dump.
> >
> > % cat /sys/i386/conf/DEVEL | grep makeoptions
> > makeoptions DEBUG=-g
> > % cat /etc/rc.conf| grep dump
> > dumpdev="/dev/ar0s1b"
> > dumpdir="/var/crash"
> >
> > I'm testing my kernel patch and the following is what I see in
> > /var/log/messages:
>
> Can you force the kernel to dump by using DDB? Place 'options DDB' in
> your kernel config, then, when the system is quiescent, hit Ctrl-Alt-Esc
> and type 'panic' at the DDB prompt.
>
> If this works, and you get a crash dump, then the problem might be that
> with your kernel patch, the kernel is panicking in a low-level layer,
> like memory management or disk drivers or something like that, and it
> simply cannot make a crash dump, since that would mean invoking code
> that depends on bad data or something.
Thanks a lot. I'll try.
I modify the ip_input.c in the manner like IPFW do.
--
Nick Strebkov
Public key: http://humgat.org/~nick/pubkey.txt
fpr: 552C 88D6 895B 6E64 F277 D367 8A70 8132 47F5 C1B6
More information about the freebsd-hackers
mailing list