From owner-freebsd-current@FreeBSD.ORG Fri Apr 22 06:36:10 2005 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 1EC1B16A4CE for ; Fri, 22 Apr 2005 06:36:10 +0000 (GMT) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 92E0043D48 for ; Fri, 22 Apr 2005 06:36:09 +0000 (GMT) (envelope-from pho@holm.cc) Received: (qmail 90496 invoked from network); 22 Apr 2005 06:36:07 -0000 Received: from unknown (HELO peter.osted.lan) (unknown) by unknown with SMTP; 22 Apr 2005 06:36:07 -0000 X-pair-Authenticated: 80.161.118.233 Received: from peter.osted.lan (localhost.osted.lan [127.0.0.1]) by peter.osted.lan (8.13.1/8.13.1) with ESMTP id j3M6a7kf041368; Fri, 22 Apr 2005 08:36:07 +0200 (CEST) (envelope-from pho@peter.osted.lan) Received: (from pho@localhost) by peter.osted.lan (8.13.1/8.13.1/Submit) id j3M6a2wh041367; Fri, 22 Apr 2005 08:36:02 +0200 (CEST) (envelope-from pho) Date: Fri, 22 Apr 2005 08:36:02 +0200 From: Peter Holm To: Kris Kennaway Message-ID: <20050422063602.GA41322@peter.osted.lan> References: <20050420213331.GA11373@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050420213331.GA11373@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i cc: jroberson@chesapeake.net cc: current@freebsd.org Subject: Re: panic: witness_destroy: lock (sleep mutex) vnode interlock is not initialized 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: Fri, 22 Apr 2005 06:36:10 -0000 On Wed, Apr 20, 2005 at 02:33:31PM -0700, Kris Kennaway wrote: Got the same panic, but in a different context: http://www.holm.cc/stress/log/jeff84.html I have a KTR dump available. - Peter > Running 6.0 on a SMP package machine with vfs.lookup_shared=1 and > WITNESS, I hit this panic after a few hours. At boot time it hit the > vm page queue mutex/vnode interlock LOR, and it also hit a 'acquiring > duplicate lock of same type: "vnode interlock"' when mounting the > first nullfs instance, which may be related. > > panic: witness_destroy: lock (sleep mutex) vnode interlock is not initialized > cpuid = 0 > KDB: enter: panic > [thread pid 148 tid 100132 ] > Stopped at kdb_enter+0x30: leave > db> wh > Tracing pid 148 tid 100132 td 0xc572d180 > kdb_enter(c0700f44,0,c07054af,f5774c38,c572d180) at kdb_enter+0x30 > panic(c07054af,c06dff2c,c0716859,c070abdc,c7f66440) at panic+0x13e > witness_destroy(c7f66440,c0700183,360,c0700545,c06df73d,c7f66440,c0716859,c070abdc,0,0) at witness_destroy+0x5a > mtx_destroy(c7f66440,c7f663a8,8,c7f663a8,f5774cb8) at mtx_destroy+0xf2 > vdestroy(c7f663a8,0,c070aaaf,271,0) at vdestroy+0x192 > vnlru_free(c,0,c070aaaf,293,3e8) at vnlru_free+0x188 > vnlru_proc(0,f5774d38,c06fe130,30c,c572d180) at vnlru_proc+0xb1 > fork_exit(c058b9ee,0,f5774d38) at fork_exit+0x116 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0x1, eip = 0, esp = 0xf5774d6c, ebp = 0 --- > db> > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.0 (FreeBSD) > > iD8DBQFCZsqrWry0BWjoQKURAmITAKCrHDoqe6ATJRL8K6STgsuGBdRyywCgyOaw > PJJ1bL4RGXtc7RgCCe2DEPo= > =DvXN > -----END PGP SIGNATURE-----