From owner-freebsd-questions@FreeBSD.ORG Wed May 21 06:33:34 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FEAD37B401 for ; Wed, 21 May 2003 06:33:34 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 280B543F75 for ; Wed, 21 May 2003 06:33:32 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h4LDXRNF097241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 21 May 2003 14:33:27 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h4LDXR2c097240; Wed, 21 May 2003 14:33:27 +0100 (BST) (envelope-from matthew) Date: Wed, 21 May 2003 14:33:27 +0100 From: Matthew Seaman To: Aaron Wohl Message-ID: <20030521133327.GB96950@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Aaron Wohl , FreeBSD-questions@freebsd.org References: <20030521123927.34A262EEDF@www.fastmail.fm> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qlTNgmc+xy1dBmNv" Content-Disposition: inline In-Reply-To: <20030521123927.34A262EEDF@www.fastmail.fm> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-7.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.54 X-Spam-Checker-Version: SpamAssassin 2.54 (1.174.2.17-2003-05-11-exp) cc: FreeBSD-questions@freebsd.org Subject: Re: crashing fresbsd 5.1-current? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2003 13:33:34 -0000 --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--