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

From: Tom Cumming <tcumming123_at_gmail.com>
Date: Fri, 27 Apr 2007 16:22:48 -0700
On 4/27/07, Peter Jeremy <peterjeremy_at_optushome.com.au> wrote:

> 1) It is a production server that can't be left down for extended periods.


   Yup.  I.e., the dump provides a snapshot of the full state of the system
at the moment of the panic. This snapshot can be examined at leisure, a
customer could ftp the dump to a qualified engineer, etc.

2) It is a remote system without remote console access.


   .. 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.

Lets put the original question slightly differently:  How can the
> kernel state be saved if the kernel crashes before it's possible to
> invoke dumpon(8)?


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

Or ...
> Since dumpdev is now intertwined with geom and the geom tasting is
> quite late in the boot process, I agree that the current crashdump
> code does not seem amenable to use early in the boot process.

does  this mean even hard coding the dumpdev won't work? If so, then maybe
the, "your sol" statement is correct.

Thx, tom
Received on Fri Apr 27 2007 - 21:22:49 UTC

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