Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jul 2001 00:37:04 +0100
From:      Ben Smithurst <ben@FreeBSD.org>
To:        Michael Lucas <mwlucas@blackhelicopters.org>
Cc:        hackers@freebsd.org
Subject:   Re: deliberate kernel panic?
Message-ID:  <20010709003704.O289@strontium.shef.vinosystems.com>
In-Reply-To: <20010708192725.A9093@blackhelicopters.org>
References:  <20010708192725.A9093@blackhelicopters.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Lucas wrote:

> Unfortunately, I haven't built a panicing kernel in years.  Is there
> any way to force a system to panic in such a way as to save a core?
> I'm sure someone out there has a little program that creates a panic. :)

Build a kernel with DDB, press Ctrl-Alt-Esc, type "panic".

> Slightly related question: can you set a system to reboot
> automatically at a panic, save a core, and continue?

It does that by default AFAIK.  The only case it doesn't if if you have
DDB set without DDB_UNATTENDED.

-- 
Ben Smithurst / ben@FreeBSD.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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