From owner-freebsd-current@FreeBSD.ORG Sat Nov 29 13:29:49 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 C534816A4CE; Sat, 29 Nov 2003 13:29:49 -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 C494F43F85; Sat, 29 Nov 2003 13:29:47 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 5D84566D26; Sat, 29 Nov 2003 13:29:47 -0800 (PST) Date: Sat, 29 Nov 2003 13:29:46 -0800 From: Kris Kennaway To: Kris Kennaway Message-ID: <20031129212946.GA8894@xor.obsecurity.org> References: <20031124205800.GA20935@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline In-Reply-To: <20031124205800.GA20935@xor.obsecurity.org> User-Agent: Mutt/1.4.1i cc: re@FreeBSD.org cc: current@FreeBSD.org cc: fs@FreeBSD.org Subject: Re: recursed on non-recursive lock (sleep mutex) vnode interlock @ /var/portbuild/sparc64/src-client/sys/ufs/ufs/ufs_ihash.c:128 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: Sat, 29 Nov 2003 21:29:50 -0000 --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I got this on an alpha machine as well. Can someone track it down? msgbufp =3D 0xfffffc0023f85fe0 magic =3D 63062, size =3D 32736, r=3D 59046, w =3D 59565, ptr =3D 0xfffffc0= 023f7e000, cksum=3D 2511626 lock order reversal 1st 0xfffffc001a793d80 vnode interlock (vnode interlock) @ /a/asami/portbu= ild/alpha/src-client/sys/ufs/ufs/ufs_ihash.c:128 2nd 0xfffffc00006feda0 ufs ihash (ufs ihash) @ /a/asami/portbuild/alpha/sr= c-client/sys/ufs/ufs/ufs_ihash.c:124 Stack backtrace: recursed on non-recursive lock (sleep mutex) vnode interlock @ /a/asami/por= tbuild/alpha/src-client/sys/ufs/ufs/ufs_ihash.c:128 first acquired @ /a/asami/portbuild/alpha/src-client/sys/ufs/ufs/ufs_ihash.= c:128 Debugger() at Debugger+0x38 panic() at panic+0x168 witness_lock() at witness_lock+0x408 _mtx_lock_flags() at _mtx_lock_flags+0xc8 ufs_ihashget() at ufs_ihashget+0xec ffs_vget() at ffs_vget+0x54 ufs_lookup() at ufs_lookup+0xc9c ufs_vnoperate() at ufs_vnoperate+0x2c vfs_cache_lookup() at vfs_cache_lookup+0x37c ufs_vnoperate() at ufs_vnoperate+0x2c lookup() at lookup+0x4dc namei() at namei+0x310 stat() at stat+0x4c syscall() at syscall+0x39c XentSys() at XentSys+0x64 --- syscall (188, FreeBSD ELF64, stat) --- --- user mode --- db> Kris On Mon, Nov 24, 2003 at 12:58:01PM -0800, Kris Kennaway wrote: > One of my sparc64 package machines (running -current from Nov 21) died > overnight with the following: >=20 > recursed on non-recursive lock (sleep mutex) vnode interlock @ /var/portb= uild/sparc64/src-client/sys/ufs/ufs/ufs_ihash.c:128 > first acquired @ /var/portbuild/sparc64/src-client/sys/ufs/ufs/ufs_ihash.= c:128 > panic: recurse > cpuid =3D 0; > Debugger("panic") > Stopped at Debugger+0x1c: ta %xcc, 1 > db> trace > panic() at panic+0x174 > witness_lock() at witness_lock+0x3b4 > _mtx_lock_flags() at _mtx_lock_flags+0x9c > ufs_ihashget() at ufs_ihashget+0x94 > ffs_vget() at ffs_vget+0x20 > ufs_lookup() at ufs_lookup+0xb2c > ufs_vnoperate() at ufs_vnoperate+0x1c > vfs_cache_lookup() at vfs_cache_lookup+0x330 > ufs_vnoperate() at ufs_vnoperate+0x1c > lookup() at lookup+0x408 > namei() at namei+0x254 > vn_open_cred() at vn_open_cred+0x208 > vn_open() at vn_open+0x18 > kern_open() at kern_open+0x84 > open() at open+0x14 > syscall() at syscall+0x308 > -- syscall (5, FreeBSD ELF64, open) %o7=3D0x4038c2b0 -- > userland() at 0x40395948 > user trace: trap %o7=3D0x4038c2b0 > pc 0x40395948, sp 0x7fdffffdaf1 > pc 0x4038b47c, sp 0x7fdffffdc31 > pc 0x101778, sp 0x7fdffffdcf1 > pc 0x101378, sp 0x7fdffffddb1 > pc 0x100f80, sp 0x7fdffffde71 > pc 0x4020a234, sp 0x7fdffffdf31 > done --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/yQ/KWry0BWjoQKURAppsAKCEE93XMKCRNO6qyOD046BVWKM8NACgyhDL CHFrv87wA0gG5JnXURXqZIQ= =mPQe -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA--