Re: FreeBSD 7 64 bits kernel crash debugging



On Wed, Jul 2, 2008 at 12:50 PM, Fernando Apesteguía
<fernando.apesteguia@xxxxxxxxx> wrote:
Hi all,

I'm experiencing several kernel crashes with the GENERIC kernel and
with custom kernels as well. One of my MP3 players seems to be
recognized, but if I disconnect it from the USB port (even without
mounting the device), I got a kernel crash.

I've tried to follow the instructions at
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html
I have dumpdev and dumpdir properly set to my swap partition (ad0s2b)
and to /var/crash.

However, during the next boot, I got a message that indicates it is
looking for a dump on such device but it couldn't find any.

How can I track this error?

Have you enabled at least KDB/DDB debugger support so you can look at
a stack trace ("t") and post this? This will at least give us/you
some idea on what is crashing...

Add minimally to your kernel build conf file:

options DDB
options KDB

Rebuild, reboot, and test. I'm not sure why a crash dump is not
working. Have you tried specifying your dump device in your kernel
config file?

Let us know,

-aps
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: oops in :snd_pcm_oss:resample_expand+0x19c/0x1f0
    ... Thanks for trying out kdump. ... For example, the small script you wrote for saving the dump, is already ... "service kdump start" and initrd will be generated and kdump kernel will ... Currently we can use gdb but only for linearly mapped region. ...
    (Linux-Kernel)
  • [PATCH] kmsgdump-2.6.6.patch (was: Panics need better handling)
    ... I have prepared my floppy for a dump and everything seems ok, but I have not got any oopses yet :-) ... What is KMSGDUMP? ... +KMSGDUMP is an extension to the Linux kernel which allows the user on the ... +Even if there are cases in which you can dump at the end of a diskette without ...
    (Linux-Kernel)
  • Re: freebsd-questions Digest, Vol 237, Issue 16
    ... kgdb of kernel issues FB7.0 ... I was running my FreeBSD 7.0-RELEASE on this laptop: ... GNU gdb 6.1.1 ... Dump Length: 156418048B ...
    (freebsd-questions)
  • Re: Crash with recent kernel on wireless
    ... You should use the kernel image with the debugging symbols here. ... Dump Length: 190091264B ... pointer. ... Most of crashes even failed to save vmdump due to double faults. ...
    (freebsd-stable)
  • Re: [Fastboot] [RFC] Kdump: Dump Capture Mechanism
    ... > The whole idea is that do all the processing from user space (preferably ... > into production kernel ASAP. ... > - It provides the basic dump capturing mechanism in kernel. ... Anything in the kernel that we use for crash dump capture ...
    (Linux-Kernel)