crashing fresbsd 5.1-current?
Bruce Cran
bruce at cran.org.uk
Wed May 21 20:34:43 PDT 2003
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
More information about the freebsd-questions
mailing list