Panic on boot. How do I get a kernel dump.

Peter Jeremy peterjeremy at optushome.com.au
Sat Apr 28 02:03:05 UTC 2007


On 2007-Apr-27 16:22:48 -0700, Tom Cumming <tcumming123 at gmail.com> wrote:
>  .. or number 3) I can use my existing dump analysis tools and scripts to
>examine the dump, and I cannot run the scripts from the console prompt.

You can probably do this using a remote GDB session.  See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-online-gdb.html

>I don't follow the geom code... is there a place in geom where I could put
>something like, geom->dumpdev = "mydevice"?

No.  Kernel dumping now relies far more on the device infrastructure
and isn't amenable to static initialisation.  If you feel like looking,
check out kern_shutdown.c:dumper.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070428/33808b00/attachment.pgp


More information about the freebsd-current mailing list