From owner-freebsd-hackers Sun Jul 8 16:37:10 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 4231A37B401 for ; Sun, 8 Jul 2001 16:37:07 -0700 (PDT) (envelope-from ben@FreeBSD.org) Received: from strontium.shef.vinosystems.com ([192.168.91.36] ident=root) by scientia.demon.co.uk with esmtp (Exim 3.30 #1) id 15JO6r-000H8g-00; Mon, 09 Jul 2001 00:37:05 +0100 Received: (from ben@localhost) by strontium.shef.vinosystems.com (8.11.4/8.11.4) id f68Nb4v17140; Mon, 9 Jul 2001 00:37:04 +0100 (BST) (envelope-from ben@FreeBSD.org) X-Authentication-Warning: strontium.shef.vinosystems.com: ben set sender to ben@FreeBSD.org using -f Date: Mon, 9 Jul 2001 00:37:04 +0100 From: Ben Smithurst To: Michael Lucas Cc: hackers@freebsd.org Subject: Re: deliberate kernel panic? Message-ID: <20010709003704.O289@strontium.shef.vinosystems.com> References: <20010708192725.A9093@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010708192725.A9093@blackhelicopters.org> 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 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