From owner-freebsd-current@FreeBSD.ORG Mon Jul 26 11:58:28 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A3D416A4CE; Mon, 26 Jul 2004 11:58:28 +0000 (GMT) Received: from lakermmtao02.cox.net (lakermmtao02.cox.net [68.230.240.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA42443D48; Mon, 26 Jul 2004 11:58:27 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.local.net ([68.11.71.51]) by lakermmtao02.cox.net (InterMail vM.6.01.03.02.01 201-2131-111-104-103-20040709) with ESMTP id <20040726115825.XOL28298.lakermmtao02.cox.net@dolphin.local.net>; Mon, 26 Jul 2004 07:58:25 -0400 Received: from dolphin.local.net (localhost.local.net [127.0.0.1]) by dolphin.local.net (8.12.11/8.12.11) with ESMTP id i6QBwNNL000815; Mon, 26 Jul 2004 06:58:23 -0500 (CDT) (envelope-from conrads@dolphin.local.net) Received: (from conrads@localhost) by dolphin.local.net (8.12.11/8.12.11/Submit) id i6QBwNfH000814; Mon, 26 Jul 2004 06:58:23 -0500 (CDT) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.5.5 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20040725035315.GA1473@green.homeunix.org> Date: Mon, 26 Jul 2004 06:58:23 -0500 (CDT) Organization: A Rag-Tag Band of Drug-Crazed Hippies From: "Conrad J. Sabatier" To: Brian Fundakowski Feldman cc: freebsd-current@freebsd.org cc: Scott Long Subject: Re: [amd64] Instability worse than ever X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: conrads@cox.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2004 11:58:28 -0000 On 25-Jul-2004 Brian Fundakowski Feldman wrote: > On Sat, Jul 24, 2004 at 08:33:57PM -0500, Conrad J. Sabatier wrote: >> >> On 25-Jul-2004 Scott Long wrote: >> > Conrad J. Sabatier wrote: >> > >> >> For the last couple of days, my amd64 box has taken to >> >> spontaneously rebooting. No panic, no coredump, nothing in >> >> logs, just reboots. >> >> >> >> These always seem to occur just as I'm clicking on something >> >> under GNOME. >> >> >> >> Very mysterious! Happened again this morning. Waking the machine up from DPMS sleep mode, it went straight into a reboot. :-( >> > Do you have INVARIANTS turned on? >> >> No, I really should do that. Don't know why I hadn't already. Duh. >> :-) >> >> > If you do, would you be able to hook up a serial console and see >> > what the kernel is saying? >> >> Been meaning to ask about that. Would a null modem connection from >> my other machine be useable as the serial console? I have all the >> kernel config options and the sio flags set to enable the serial >> console, but wasn't sure if that would work or not. If so, I could >> try that. > > Absolutely; I just set this up a few days ago, so I know this works > with -CURRENT. > First, set the sio.0.flags hint in /boot/device.hints to > "0x90" so it is a vailable for use as a serial console. Then, set up > the kernel with DDB and KDB and set /etc/sysctl.conf to turn the > debug.debugger_on_panic switch to 1. You should probably be running > with at least WITNESS and INVARIANTS, but not necessarily DIAGNOSTIC. OK, I've built a new kernel (after cvsup) with INVARIANTS and WITNESS enabled, and double-checked my serial debugging setup, however, it's just occurred to me that this probably isn't going to help very much in this particular situation, as I already had debug.debugger_on_panic enabled, and the system still just went directly to a reboot, bypassing the debugger altogether. Still, perhaps WITNESS may at least provide a clue. Let's hope so. :-) -- Conrad J. Sabatier -- "In Unix veritas"