From owner-freebsd-hackers Sun Jul 8 16:42:12 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id E83C437B401; Sun, 8 Jul 2001 16:42:09 -0700 (PDT) (envelope-from mwlucas@blackhelicopters.org) Received: (from mwlucas@localhost) by blackhelicopters.org (8.9.3/8.9.3) id TAA09173; Sun, 8 Jul 2001 19:42:09 -0400 (EDT) (envelope-from mwlucas) Date: Sun, 8 Jul 2001 19:42:09 -0400 From: Michael Lucas To: Ben Smithurst Cc: hackers@FreeBSD.org Subject: Re: deliberate kernel panic? Message-ID: <20010708194209.B9093@blackhelicopters.org> References: <20010708192725.A9093@blackhelicopters.org> <20010709003704.O289@strontium.shef.vinosystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20010709003704.O289@strontium.shef.vinosystems.com>; from ben@FreeBSD.org on Mon, Jul 09, 2001 at 12:37:04AM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks! This was exactly what I'm looking for! On Mon, Jul 09, 2001 at 12:37:04AM +0100, Ben Smithurst wrote: > 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 -- Michael Lucas mwlucas@blackhelicopters.org http://www.blackhelicopters.org/~mwlucas/ Big Scary Daemons: http://www.oreillynet.com/pub/q/Big_Scary_Daemons To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message