crashing fresbsd 5.1-current?
m.seaman at infracaninophile.co.uk
Wed May 21 06:33:34 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") ?
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.
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030521/8dece9a9/attachment.bin
More information about the freebsd-questions