From owner-freebsd-stable@FreeBSD.ORG Wed May 3 18:33:50 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A23C016A400 for ; Wed, 3 May 2006 18:33:50 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id E25EF43D4C for ; Wed, 3 May 2006 18:33:49 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k43IXgBM002767 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 May 2006 21:33:42 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6) with ESMTP id k43IXgH8057507; Wed, 3 May 2006 21:33:42 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k43IXfku057506; Wed, 3 May 2006 21:33:41 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 3 May 2006 21:33:41 +0300 From: Konstantin Belousov To: Gavin Atkinson Message-ID: <20060503183341.GB35756@deviant.kiev.zoral.com.ua> References: <1146675697.957.5.camel@buffy.york.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline In-Reply-To: <1146675697.957.5.camel@buffy.york.ac.uk> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88.1, clamav-milter version 0.88.1 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on fw.zoral.com.ua Cc: freebsd-stable@freebsd.org Subject: Re: 6.1-RC panic: mutex Giant not owned at /usr/src/sys/kern/vfs_subr.c:2037 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 18:33:50 -0000 --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 03, 2006 at 06:01:37PM +0100, Gavin Atkinson wrote: > Just had the following panic on 6.1-RC from source current as of 24 > hours ago: >=20 > db> ex/s *panicstr > buf.1: mutex Giant not owned at /usr/src/sys/kern/vfs_subr.c:2037 > db> tr > Tracing pid 6158 tid 100120 td 0xc64e4180 > kdb_enter(c089df29) at kdb_enter+0x2b > panic(c089d3c0,c08b1ac6,c08a7350,7f5,c6f8a550) at panic+0x127 > _mtx_assert(c0981140,1,c08a7350,7f5) at _mtx_assert+0x67 > vrele(c6f8a550,c6f8a550,c64e4180,eb8bc884,c64e4180) at vrele+0x4e > smbfs_reclaim(eb8bc884) at smbfs_reclaim+0xe0 > VOP_RECLAIM_APV(c922cae0,eb8bc884) at VOP_RECLAIM_APV+0x7e > vgonel(c783ecc0) at vgonel+0x12d > vtryrecycle(c783ecc0,0,2,eb8bc904,c069e9d3) at vtryrecycle+0x107 > vnlru_free(1) at vnlru_free+0x14e > getnewvnode(c08a5197,c4cf9800,c09555a0,eb8bc970,eb8bc948) at getnewvnode+= 0x33 > ffs_vget(c4cf9800,305a7,2,eb8bc9d4) at ffs_vget+0xc2 > ufs_lookup(eb8bca78) at ufs_lookup+0xaa2 > VOP_CACHEDLOOKUP_APV(c09555a0,eb8bca78) at VOP_CACHEDLOOKUP_APV+0x7e > vfs_cache_lookup(eb8bcb14,c5820880,0,eb8bcb30,c0699cca) at vfs_cache_look= up+0xb2 > VOP_LOOKUP_APV(c09555a0,eb8bcb14) at VOP_LOOKUP_APV+0x87 > lookup(eb8bcba0,0,0,c64e4180,c643a400) at lookup+0x456 > namei(eb8bcba0,86e84bc,0,0,c4e76bb0) at namei+0x37e > kern_lstat(c64e4180,86e84bc,0,eb8bcc74) at kern_lstat+0x47 > lstat(c64e4180,eb8bcd04,2,221,216) at lstat+0x1b > syscall(bfbf003b,bfbf003b,820003b,bfbfed7c,bfbfed50) at syscall+0x22f > Xint0x80_syscall() at Xint0x80_syscall+0x1f > --- syscall (190, FreeBSD ELF32, lstat), eip =3D 0x281f6f6b, esp =3D 0x81= da9c0, ebp- >=20 > I have a single filesystem mounted over smb, at the time of the panic, I > may have had a file or two open, but won't have been pulling data off it > (the SMB mount is my mp3 collection, but xmms was paused at the time) >=20 > I didn't have a serial console attached at the time (hence the need to > print the panicstr separately) and couldn't get a dump, so I hope the > above is enough to go on. >=20 This is already fixed in rev. 1.669 of sys/kern/vfs_subr.c. Please, ask re@ for MFC. --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEWPeDC3+MBN1Mb4gRAhkLAJsFduUNdMSC82GtV4/6Xd5+mBR9oACg9wv1 eIUOETF8vkzxPgUkuMq/DpU= =yEtw -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--