From owner-freebsd-questions@FreeBSD.ORG Sat Apr 23 13:07:31 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CE7F16A4CE for ; Sat, 23 Apr 2005 13:07:31 +0000 (GMT) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A569143D3F for ; Sat, 23 Apr 2005 13:07:30 +0000 (GMT) (envelope-from mike@sentex.net) Received: from BLUELAPIS.sentex.ca (cage.simianscience.com [64.7.134.1]) by smarthost2.sentex.ca (8.13.3/8.13.3) with SMTP id j3ND7PXj034114; Sat, 23 Apr 2005 09:07:29 -0400 (EDT) (envelope-from mike@sentex.net) From: Mike Tancsa To: =?ISO-8859-1?Q?Erik_N=F8rgaard?= Date: Sat, 23 Apr 2005 09:07:26 -0400 Message-ID: References: <426A25D4.5060508@locolomo.org> In-Reply-To: <426A25D4.5060508@locolomo.org> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable cc: freebsd-questions@freebsd.org Subject: Re: 5.4-RC2: Unexpected reboots X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Apr 2005 13:07:31 -0000 On Sat, 23 Apr 2005 12:39:16 +0200, in sentex.lists.freebsd.questions you wrote: >Hi, > >I have had problems recently keeping my 5.3 up, then I upgraded to=20 >5.4-RC2. Things seemed stable, but then I just ran last: > >I didn't realise the crashes while locked in with ssh, I thought it was=20 > >Any ideas what causes this? Any ideas how I can tune syslog to grap the=20 >events? If its a software bug thats causing the machine to crash, enable dumpon so that you have at least a core dump that will tell you where the panic is. e.g. if your swap is ad0s1b dumpon -v /dev/ad0s1b Build a kernel with debug symbols (dont worry, this wont get installed, it will just be there for postmortems) by adding=20 makeoptions DEBUG=3D-g #Build kernel with symbols to your kernel and recompile then add dumpdev=3D"/dev/ad0s1b" # Device name to crashdump to (or NO). dumpdir=3D"/var/crash" # Directory where crash dumps are to be stored to /etc/rc.conf The next time you get a reboot if its due to a kernel bug, it will save the dump file in /var/crash =46or more info, see http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kern= eldebug.html#KERNELDEBUG-OBTAIN -------------------------------------------------------- Mike Tancsa, Sentex communications http://www.sentex.net Providing Internet Access since 1994 mike@sentex.net, (http://www.tancsa.com)