Date: Wed, 21 May 2003 14:33:27 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Aaron Wohl <freebsd@soith.com> Cc: FreeBSD-questions@freebsd.org Subject: Re: crashing fresbsd 5.1-current? Message-ID: <20030521133327.GB96950@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20030521123927.34A262EEDF@www.fastmail.fm> References: <20030521123927.34A262EEDF@www.fastmail.fm>
next in thread | previous in thread | raw e-mail | index | archive | help
--qlTNgmc+xy1dBmNv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, May 21, 2003 at 06:39:27AM -0600, Aaron Wohl wrote:
> How do I crash freebsd? I changed the dump* stuff in /etc/rc.conf. I
> want to make sure it works. I looked at man shutdown and man poweroff
> but I dont see a crash option. There should be some option to a system
> call you need to be root to do that internaly does panic("test crash") ?
Compile a kernel with DDB interactive kernel debugger support
("options DDB" in your kernel config file), and use the Ctrl-Alt-Esc
vulcan nerve pinch to break to the debugger. Now, just tell the
system to "panic", et voila.
See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/ke=
rneldebug-online-ddb.html
for details.
Cheers,
Matthew
--=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
--qlTNgmc+xy1dBmNv
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)
iD8DBQE+y4AndtESqEQa7a0RAmppAKCTYhIhgl4OY9kD26ARNO9LseP8egCfYJ09
XcmQls80qM+7yoThVrTVg3Y=
=VqCR
-----END PGP SIGNATURE-----
--qlTNgmc+xy1dBmNv--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030521133327.GB96950>
