From owner-freebsd-questions Wed Nov 27 09:05:45 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA29366 for questions-outgoing; Wed, 27 Nov 1996 09:05:45 -0800 (PST) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id JAA29361 for ; Wed, 27 Nov 1996 09:05:40 -0800 (PST) From: Greg Lehey Received: from freebie.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0vSlvK-000Qs7C; Wed, 27 Nov 96 16:29 MET Received: (grog@localhost) by freebie.lemis.de (8.8.3/8.6.12) id QAA02518; Wed, 27 Nov 1996 16:29:06 +0100 (MET) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Message-Id: <199611271529.QAA02518@freebie.lemis.de> Subject: Re: reboot on panic In-Reply-To: from Steve at "Nov 26, 96 03:03:02 pm" To: shovey@buffnet.net (Steve) Date: Wed, 27 Nov 1996 16:29:06 +0100 (MET) Cc: freebsd-questions@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Steve writes: > > Is there any way to get a freebsd box (2.0.5 or higher) to not reboot on a > panic but to leave the panic on the screena and just hault? You can install the kernel debugger. Then it will go into the debugger instead of rebooting. Personally, I think this is a pain (I use the debugger), and I was really glad when somebody found a way to disable the "feature". > Im having trouble troubleshooting a machine that refuses to have a problem > when Im there looking at it. > > Any and all suggestions appreciated! Sure. Create a directory /var/crash and ensure you have something like this in your /etc/sysconfig: # Set to the name of the device for kernel crashdumps, or `off' to # disable any statically configured dumpdev, or NO for no change. # The device should normally be one of the swap devices specified # in /etc/fstab. dumpdev=/dev/wd0s1b # Set to YES if you want kernel crashdumps to be saved for debugging savecore=YES You don't need to reboot after making the changes. Panic will do that for you :-) Greg