Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2007 15:19:52 -0700
From:      "Tom Cumming" <tcumming123@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: Panic on boot. How do I get a kernel dump.
Message-ID:  <de193d070704231519h671193emdd5f8673246559ad@mail.gmail.com>
In-Reply-To: <f0j274$1bu$1@sea.gmane.org>
References:  <de193d070704231144o40426f86j263e2309e2f9490f@mail.gmail.com> <f0j274$1bu$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/23/07, Ivan Voras <ivoras@fer.hr> wrote:
>
> Tom Cumming wrote:
> > All of the doc's I can find are for getting a kernel dump after it's
> booted
> > (i.e., set the dumpdev using dumpon, etc.). I have a panic during boot
> and
> > it says it won't dump b/c there's no dump device. I cannot find any
> doc's
> > anywhere that mention how to set the dump device before you boot (i.e.,
> > from
> > the loader, patch the kernel, whatever...). Does anyone know how to get
> an
> > early dump?
>
> Can you boot from a Live CD ("Fixit CD", CD1 in the set), and either
> configure it from there, or build a kernel with debugging installed so
> it presents you the debugger when it panics?


   I'm getting into the debugger when it panics (I started using 7-current).
I'd rather get a dump because then I have a snapshot of the kernel when it
panics and I can do a postmortem at my leisure.

   It also got me curious.. I'm sure there's got to be a way to do it!

Thanx, tom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?de193d070704231519h671193emdd5f8673246559ad>