From owner-freebsd-questions@FreeBSD.ORG Wed May 21 20:34:42 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 EE34537B401 for ; Wed, 21 May 2003 20:34:42 -0700 (PDT) Received: from grassmarket.ucs.ed.ac.uk (grassmarket.ucs.ed.ac.uk [129.215.166.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAD9B43F85 for ; Wed, 21 May 2003 20:34:41 -0700 (PDT) (envelope-from s9905155@sms.ed.ac.uk) Received: from fourtytwo.brucec.backnet (12266209.resnet.ed.ac.uk [10.6.0.100] (may be forged))h4M3YST09321; Thu, 22 May 2003 04:34:28 +0100 (BST) Received: from fourtytwo.brucec.backnet (localhost.brucec.backnet [127.0.0.1]) h4M3YNQ1000640; Thu, 22 May 2003 04:34:23 +0100 (BST) (envelope-from bruce@fourtytwo.brucec.backnet) Received: (from bruce@localhost)h4M3YNLW000639; Thu, 22 May 2003 04:34:23 +0100 (BST) From: Bruce Cran To: Aaron Wohl Message-ID: <20030522033423.GA570@fourtytwo.brucec.backnet> References: <20030521123927.34A262EEDF@www.fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030521123927.34A262EEDF@www.fastmail.fm> User-Agent: Mutt/1.5.4i cc: 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: , Date: Thu, 22 May 2003 03:34:43 -0000 X-Original-Date: Thu, 22 May 2003 04:34:23 +0100 X-List-Received-Date: Thu, 22 May 2003 03:34:43 -0000 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") ? You can panic on-demand by using sysctl machdep.enable_panic_key and modifying the .kbd file for your layout to include a 'panic' key combination. Press the keys and the system will panic. Also, try 'man panic' for the kernel-level syscall. -- Bruce Cran