Date: Mon, 23 Apr 2007 21:42:21 +0200 From: Ivan Voras <ivoras@fer.hr> To: freebsd-current@freebsd.org Subject: Re: Panic on boot. How do I get a kernel dump. Message-ID: <f0j274$1bu$1@sea.gmane.org> In-Reply-To: <de193d070704231144o40426f86j263e2309e2f9490f@mail.gmail.com> References: <de193d070704231144o40426f86j263e2309e2f9490f@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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?
If you have a "snapshot" CD of 7-current, its kernel is already
configured with KDB, so if it panics, you can get a backtrace and
transcribe it.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGLQwildnAQVacBcgRAudmAJwLqgmXCtBCDsWYD+kOjqjZ2u6s5wCbBsb0
Am/k8L4YJvKOd44BqTKxXtw=
=uffG
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f0j274$1bu$1>
