From owner-freebsd-current@FreeBSD.ORG Thu Dec 4 08:59:32 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from green.bikeshed.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6018F16A4CE; Thu, 4 Dec 2003 08:59:32 -0800 (PST) Received: from green.bikeshed.org (green@localhost [127.0.0.1]) by green.bikeshed.org (8.12.10/8.12.9) with ESMTP id hB4GxVGw006280; Thu, 4 Dec 2003 11:59:31 -0500 (EST) (envelope-from green@green.bikeshed.org) Received: from localhost (green@localhost)hB4GxUax006276; Thu, 4 Dec 2003 11:59:30 -0500 (EST) Message-Id: <200312041659.hB4GxUax006276@green.bikeshed.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Kris Kennaway In-Reply-To: Message from Kris Kennaway <20031204163551.GA85960@xor.obsecurity.org> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 04 Dec 2003 11:59:30 -0500 Sender: green@green.bikeshed.org cc: Andy Hilker cc: freebsd-current@freebsd.org Subject: Re: LOR (swap_pager.c , uma_core.c) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2003 16:59:32 -0000 Kris Kennaway wrote: > On Thu, Dec 04, 2003 at 05:30:30PM +0100, Andy Hilker wrote: > > > > Hi, > > > > one of my servers with SMP crashs every few minutes oder a few hours > > under heavy load (e.g. /usr/ports/math/mprime, mprime -t ) > > With SMP disabled, server runs very stable. > > > > kernel: lock order reversal > > kernel: 1st 0xc2113c60 vm object (vm object) @ /usr/src/sys/vm/swap_pager.c:1323 > > kernel: 2nd 0xc076ef40 swap_pager swhash (swap_pager swhash) @ /usr/src/sys/vm/swap_pager.c:1838 > > kernel: 3rd 0xc1037b58 vm object (vm object) @ /usr/src/sys/vm/uma_core.c:881 > > kernel: Stack backtrace: > > This is a known false positive, reported at least once a day. Remove > WITNESS_DDB from your kernel, or at least remove DDB_UNATTENDED so > your system won't reboot when these harmless WITNESS warnings show up. Here's all of the sysctls you should know about: debug.trace_on_panic debug.debugger_on_panic kern.sync_on_panic machdep.ddb_on_nmi debug.witness_watch debug.witness_ddb debug.witness_trace debug.witness_skipspin If you want to change debug.witness_skipspin, though, that has to be set as a tunable in /boot/loader.conf instead of /etc/sysctl.conf. If you're actually running into real crashes, there's a possibility that this might help: http://www.FreeBSD.org/~jhb/patches/turnstile.patch -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\