Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2005 08:36:02 +0200
From:      Peter Holm <peter@holm.cc>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        current@freebsd.org
Subject:   Re: panic: witness_destroy: lock (sleep mutex) vnode interlock is not initialized
Message-ID:  <20050422063602.GA41322@peter.osted.lan>
In-Reply-To: <20050420213331.GA11373@xor.obsecurity.org>
References:  <20050420213331.GA11373@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050422063602.GA41322>