From owner-freebsd-questions Fri Nov 15 03:49:11 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA07964 for questions-outgoing; Fri, 15 Nov 1996 03:49:11 -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 DAA07921 for ; Fri, 15 Nov 1996 03:48:40 -0800 (PST) From: Greg Lehey Received: from freebie.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0vOMNI-000Qs0C; Fri, 15 Nov 96 12:23 MET Received: (grog@localhost) by freebie.lemis.de (8.8.2/8.6.12) id MAA00616; Fri, 15 Nov 1996 12:13:39 +0100 (MET) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Message-Id: <199611151113.MAA00616@freebie.lemis.de> Subject: Re: Making kernel panics more noticable In-Reply-To: from Nick Esborn at "Nov 11, 96 09:58:27 pm" To: nick@grayphics.com (Nick Esborn) Date: Fri, 15 Nov 1996 12:13:39 +0100 (MET) Cc: questions@FreeBSD.org (FreeBSD Questions) 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 Nick Esborn writes: > On Mon, 11 Nov 1996, Doug White wrote: > >> The system should auto-restart unless the system really died. In any case >> I believe the pertinent info is logged before the system is rebooted. I >> could be wrong. > > It does reboot, and while that certainly does help keep the system > running, it makes it very difficult to isolate the causes of these > problems. I find no evidence of the cause of the problem. > /var/log/messages just has logins and all of a sudden the boot-up info. > No reason for the reboot is logged. :( That's a configuration problem. Create a directory /var/crash and modify 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 After this, and after rebooting, any panic will be saved in /var/crash. Check out the online handbook for first steps in dump analysis. You'll also get a console message telling you the cause of the dump, though this won't be logged. For further details, see "The Complete FreeBSD", page 83. Greg