Date: Thu, 4 Mar 2004 19:37:57 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Ben Paley <ben@spooty.net> Cc: freebsd-questions@freebsd.org Subject: Re: kernel panic messages? Message-ID: <20040304193757.GB1159@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <200403041807.04392.ben@spooty.net> References: <200403041807.04392.ben@spooty.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 04, 2004 at 06:07:04PM +0000, Ben Paley wrote: > I want to submit information about a kernel panic which happens at boot t= ime.=20 > The machine reboots and I can boot kernel.old: where do I find the logs a= nd=20 > traces and things I might need to show to someone who knows what they're= =20 > doing? You need to setup your machine to capture the appropriate data after the panic. There's general information about how to do that in a series of articles here: http://www.oreillynet.com/pub/a/bsd/2002/03/21/Big_Scary_Daemons.html http://www.oreillynet.com/pub/a/bsd/2002/04/04/Big_Scary_Daemons.html However, you're seeing panics in the boot sequence: if that's actually early on during booting, the system won't have initialised the disks systems, so it can't record a crashdump. Your best recourse in this situation is to hook up a null-modem cable to the serial port, set the machine up to use the serial port as the console: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-advan= ced.html Use tip(1) or some other terminal emulator on the other end of the connection, and capture the console output as the machine boots. If you are inordinately keen, you could try and setup a remote kernel debugging session: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/ke= rneldebug-online-gdb.html but unless you're pretty much up-to-speed with kernel development, you're probably not going to be able to extract much useful information that way. Cheers, Matthew=09 --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --/NkBOFFp2J2Af1nK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAR4WVdtESqEQa7a0RAp+QAJ9++PVQB7c4T4srL/QX/u/j+sylzACdFFME mvyizpCIXqKsD5VD44Zxol4= =BgOg -----END PGP SIGNATURE----- --/NkBOFFp2J2Af1nK--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040304193757.GB1159>