From owner-freebsd-current@FreeBSD.ORG Sun Jan 18 14:36:34 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 56B9A16A4CE for ; Sun, 18 Jan 2004 14:36:34 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4120B43D1F for ; Sun, 18 Jan 2004 14:36:31 -0800 (PST) (envelope-from freebsd-current@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AiLWv-0002KQ-00 for ; Sun, 18 Jan 2004 23:36:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AiLWu-0002KI-00 for ; Sun, 18 Jan 2004 23:36:28 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AiLWu-0003qm-00 for ; Sun, 18 Jan 2004 23:36:28 +0100 From: Jesse Guardiani Date: Sun, 18 Jan 2004 17:36:27 -0500 Organization: WingNET Lines: 74 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org User-Agent: KNode/0.7.2 X-Mail-Copies-To: never Sender: news Subject: spontaneous reboot under 5.2-RELEASE (w/DEBUG kernel) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 22:36:34 -0000 Howdy list, I've got a 5.2-RELEASE machine running a debug kernel that just spontaneously rebooted as I was trying to install an openoffice package over NFS. Here's what I found in /var/log/messages upon boot: Jan 18 16:49:40 david kernel: lock order reversal Jan 18 16:49:40 david kernel: 1st 0xc4f315ac vm object (vm object) @ vm/swap_pager.c:1323 Jan 18 16:49:40 david kernel: 2nd 0xc0989e20 swap_pager swhash (swap_pager swhash) @ vm/swap_pager.c:1838 Jan 18 16:49:40 david kernel: 3rd 0xc10358c4 vm object (vm object) @ vm/uma_core.c:873 Jan 18 16:49:40 david kernel: Stack backtrace: I _know_ this is a supposedly harmless backtrace. And I found this message: http://lists.freebsd.org/pipermail/freebsd-current/2003-December/015780.html Which suggests that I remove WITNESS_DDB or DDB_UNATTENDED from my kernel, but I don't have either of those in my kernel in the first place. I've got this: makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols [...] # Debugging for use in -current options DDB #Enable the kernel debugger options INVARIANTS #Enable calls of extra sanity checking options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS options WITNESS #Enable checks to detect deadlocks and cycles options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed # To make an SMP kernel, the next two are needed #options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O options IPSEC #IP security options IPSEC_ESP #IP security (crypto; define w/ IPSEC) # BRIDGE enables bridging between ethernet cards -- see bridge(4). # You can use IPFIREWALL and DUMMYNET together with bridging. # options DUMMYNET options BRIDGE options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #enable logging to syslogd(8) options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity options IPDIVERT #divert sockets #options IPFILTER #ipfilter support #options IPFILTER_LOG #ipfilter logging #options IPFILTER_DEFAULT_BLOCK #block all packets by default options IPSTEALTH #support for stealth forwarding #options PFIL_HOOKS #required by IPFILTER Everything else is pretty stock. How do I keep my machine from rebooting? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net