Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2003 03:34:43 -0000
From:      Bruce Cran <bruce@cran.org.uk>
To:        Aaron Wohl <freebsd@soith.com>
Cc:        questions@freebsd.org
Subject:   Re: crashing fresbsd 5.1-current?
Message-ID:  <20030522033423.GA570@fourtytwo.brucec.backnet>
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
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030522033423.GA570>