Date: Thu, 26 Apr 2007 21:43:17 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Steve Kargl <sgk@troutmask.apl.washington.edu> Cc: freebsd-current@freebsd.org Subject: Re: Panic on boot. How do I get a kernel dump. Message-ID: <20070427014317.GA17436@xor.obsecurity.org> In-Reply-To: <20070427013742.GA51877@troutmask.apl.washington.edu> References: <de193d070704231144o40426f86j263e2309e2f9490f@mail.gmail.com> <f0j274$1bu$1@sea.gmane.org> <de193d070704231519h671193emdd5f8673246559ad@mail.gmail.com> <20070426204602.GA81382@keltia.freenix.fr> <de193d070704261535k11e5de1eh12842a4ab340a971@mail.gmail.com> <20070427012401.GZ2445@obelix.dsto.defence.gov.au> <20070427013742.GA51877@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 26, 2007 at 06:37:42PM -0700, Steve Kargl wrote: > On Fri, Apr 27, 2007 at 09:24:02AM +0800, Wilkinson, Alex wrote: > > 0n Thu, Apr 26, 2007 at 03:35:15PM -0700, Tom Cumming wrote:=20 > >=20 > >>The problem is not getting it to panic, the problem is getting it to sa= ve > >>core after the panic. I can find no way to configure the dump device be= fore > >>I boot, only after the OS is up. This means a panic during boot will not > >>dump core because the dump device is not configured. > >=20 > > Boot off of a good kernel and: > >=20 > > # boot -s > > # fsck -p > > # mount /var > > # savecore /kernel.broken /var/crash > >=20 > > -aW > >=20 >=20 > Re-read the text that you quoted. Tom doesn't have=20 > dumpdev set, so there is no core for savecore to > retrieve. ISTR, that one could set dumpdev in the > loader. At the loader prompt, do=20 >=20 > set dumpdev=3D"/dev/ad0s2b" =20 I don't think this has existed for many years (it was removed during GEOM development). Kris --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGMVU1Wry0BWjoQKURAgmrAJ4yYw4JEGed4g5PfBJOyMgxnd/olACg6qIT ciCTvwqLlAayMRjDxvLt9cQ= =rVXV -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070427014317.GA17436>