From owner-freebsd-current@FreeBSD.ORG Fri Oct 31 15:54:32 2003 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 60CD416A4CE; Fri, 31 Oct 2003 15:54:32 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-234.dsl.lsan03.pacbell.net [63.207.60.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B36043F75; Fri, 31 Oct 2003 15:54:31 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 057F066D74; Fri, 31 Oct 2003 15:54:31 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id A7AD9B25; Fri, 31 Oct 2003 15:54:30 -0800 (PST) Date: Fri, 31 Oct 2003 15:54:30 -0800 From: Kris Kennaway To: Kris Kennaway Message-ID: <20031031235430.GA39511@rot13.obsecurity.org> References: <20031030181843.GA29627@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline In-Reply-To: <20031030181843.GA29627@rot13.obsecurity.org> User-Agent: Mutt/1.4.1i cc: jeff@FreeBSD.org cc: current@FreeBSD.org Subject: Re: exclusive sleep mutex mntvnode r = 0 (0xffffffff80758220) locked @ /a/asami/portbuild/amd64/src-client/sys/ufs/ffs/ffs_vfsops.c:1172 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, 31 Oct 2003 23:54:32 -0000 --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 30, 2003 at 10:18:43AM -0800, Kris Kennaway wrote: > One of the amd64 machines died with the following. The kernel is a > few weeks old, so this might already be fixed. >=20 > Kris >=20 > malloc() of "64" with the following non-sleepable locks held: > exclusive sleep mutex mntvnode r =3D 0 (0xffffffff80758220) locked @ /a/a= sami/portbuild/amd64/src-client/sys/ufs/ffs/ffs_vfsops.c:1172 > recursed on non-recursive lock (sleep mutex) mntvnode @ /a/asami/portbuil= d/amd64/src-client/sys/kern/vfs_subr.c:1054 > first acquired @ /a/asami/portbuild/amd64/src-client/sys/ufs/ffs/ffs_vfso= ps.c:1172 > panic: recurse > Debugger("panic") > Stopped at Debugger+0x4b: xchgl %ebx,0x31599f > db> where > Debugger() at Debugger+0x4b > panic() at panic+0x169 > witness_lock() at witness_lock+0x383 > _mtx_lock_flags() at _mtx_lock_flags+0x9c > insmntque() at insmntque+0x2a > vclean() at vclean+0x35b > vgonel() at vgonel+0x51 > vrecycle() at vrecycle+0x5b > ufs_inactive() at ufs_inactive+0x22c > ufs_vnoperate() at ufs_vnoperate+0x14 > vrele() at vrele+0x11a > ffs_sync() at ffs_sync+0x24f > sync() at sync+0xdb > syscall() at syscall+0x320 > Xfast_syscall() at Xfast_syscall+0xa7 > --- syscall (36, FreeBSD ELF64, sync), rip =3D 0x402084, rsp =3D 0x7fffff= fff648, rbp =3D 0x3 --- > db> Another one: malloc() of "256" with the following non-sleepable locks held: exclusive sleep mutex mntvnode r =3D 0 (0xffffffff80758220) locked @ /a/asa= mi/portbuild/amd64/src-client/sys/ufs/ffs/ffs_vfsops.c:1172 Sleeping on "drainvp" with the following non-sleepable locks held: exclusive sleep mutex mntvnode r =3D 0 (0xffffffff80758220) locked @ /a/asa= mi/portbuild/amd64/src-client/sys/ufs/ffs/ffs_vfsops.c:1172 panic: sleeping thread (pid 12604) owns a mutex Debugger("panic") Stopped at Debugger+0x4b: xchgl %ebx,0x31599f db> where Debugger() at Debugger+0x4b panic() at panic+0x169 propagate_priority() at propagate_priority+0xdd _mtx_lock_sleep() at _mtx_lock_sleep+0x273 _mtx_lock_flags() at _mtx_lock_flags+0x86 insmntque() at insmntque+0x2a vclean() at vclean+0x35b vgonel() at vgonel+0x51 vrecycle() at vrecycle+0x5b ufs_inactive() at ufs_inactive+0x22c ufs_vnoperate() at ufs_vnoperate+0x14 vput() at vput+0x131 handle_workitem_remove() at handle_workitem_remove+0x1c9 process_worklist_item() at process_worklist_item+0x183 softdep_process_worklist() at softdep_process_worklist+0xc9 sched_sync() at sched_sync+0x35b fork_exit() at fork_exit+0xd9 fork_trampoline() at fork_trampoline+0xe --- trap 0, rip =3D 0, rsp =3D 0xffffffff98721d30, rbp =3D 0 --- db> --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/ovY2Wry0BWjoQKURApDoAKCEx+cfXbloxhgpBeVAukvA+6SQ/ACfXiwa sBC1NLydXc9oUOT6Hv1xzd0= =uwcq -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--