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

From: Peter Jeremy <peterjeremy_at_optushome.com.au>
Date: Sat, 28 Apr 2007 12:03:01 +1000
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

Received on Sat Apr 28 2007 - 00:03:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:09 UTC