From owner-freebsd-current@FreeBSD.ORG Mon Apr 23 19:42:56 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0917D16A400 for ; Mon, 23 Apr 2007 19:42:56 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id B7B8713C458 for ; Mon, 23 Apr 2007 19:42:55 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hg4Qt-0000D4-8c for freebsd-current@freebsd.org; Mon, 23 Apr 2007 21:42:44 +0200 Received: from 83-131-164-21.adsl.net.t-com.hr ([83.131.164.21]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Apr 2007 21:42:43 +0200 Received: from ivoras by 83-131-164-21.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Apr 2007 21:42:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Mon, 23 Apr 2007 21:42:21 +0200 Lines: 44 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig00C41AA4119EB0BB845D6315" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83-131-164-21.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: X-Enigmail-Version: 0.94.3.0 Sender: news Subject: Re: Panic on boot. How do I get a kernel dump. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2007 19:42:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig00C41AA4119EB0BB845D6315 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Tom Cumming wrote: > All of the doc's I can find are for getting a kernel dump after it's bo= oted > (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. --------------enig00C41AA4119EB0BB845D6315 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --------------enig00C41AA4119EB0BB845D6315--