From owner-freebsd-current@FreeBSD.ORG Sat Mar 12 00:30:38 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 972AD16A4CE for ; Sat, 12 Mar 2005 00:30:38 +0000 (GMT) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id F03D443D39 for ; Sat, 12 Mar 2005 00:30:37 +0000 (GMT) (envelope-from jroberson@chesapeake.net) Received: from mail.chesapeake.net (localhost [127.0.0.1]) by mail.chesapeake.net (8.12.10/8.12.10) with ESMTP id j2C0UZd4079082; Fri, 11 Mar 2005 19:30:35 -0500 (EST) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost)j2C0UZff079078; Fri, 11 Mar 2005 19:30:35 -0500 (EST) (envelope-from jroberson@chesapeake.net) X-Authentication-Warning: mail.chesapeake.net: jroberson owned process doing -bs Date: Fri, 11 Mar 2005 19:30:34 -0500 (EST) From: Jeff Roberson To: Jeremie Le Hen In-Reply-To: <20050311102948.GS34822@obiwan.tataz.chchile.org> Message-ID: <20050311192954.N20708@mail.chesapeake.net> References: <20050310035819.O20708@mail.chesapeake.net> <20050311102948.GS34822@obiwan.tataz.chchile.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE cc: current@freebsd.org Subject: Re: Call for testers, vfs changes. 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, 12 Mar 2005 00:30:38 -0000 On Fri, 11 Mar 2005, Jeremie Le Hen wrote: > Hi Jeff, > > > I have a patch at http://www.chesapeake.net/~jroberson/vgone.diff that > > greatly simplifies the vnode teardown code, and should fix some of the > > races that have been seen with smp vfs enabled. I would appreciate any > > testing people can offer. See the thread on arch@ for details. > > I applied your patch yesterday, and I got a panic during the night. My > ssh session froze at about 3:02am, so I guess it's happened during daily > periodic(8). > > This is hand written: > > %%% > panic: lockmgr: unknown locktype request 0 Thanks, I eventually ran into the same thing myself. I just left a flag off of the lockmgr call. I'll post an updated patch later today. Thanks, Jeff > KDB: stack backtrace: > kdb_backtrace(c0707071,c0763000,c0705327,d50d2c0c,100) at kdb_backtrace= +0x2e > panic(c0705327,0,c07051f4,1d2,c18fc320) > lockmgr(c1928164,10000,c1928188,c18fc320,d50d2c5c) at lockmgr+0x563 > vop_stdlock(d50d2cc4,0,d50d2c94,c1928110,d50d2c7c) at vop_stdlock+0x2f > VOP_LOCK_APV(c074d780,d50d2cc4,c070df3b,d50d2c94,d50d2cc4) at VOP_LOCK_= APV+0xbc > ffs_lock(d50d2cc4,c1928110,28,c1928110,d50d2ce0) at ffs_lock+0x90 > VOP_LOCK_APV(c074d180,d50d2cc4,c070df3b,235,c18fc320) at VOP_LOCK_APV+= 0xbc > vlrureclaim(c184e800,10,c0768ce0,c18fc320,3e8) at vlrureclaim+0x1c1 > vnlru_proc(0,d50d2d48,c0704615,30e,0) at vnlru_proc+0x19f > fork_exit(c0599db0,0,d50d2d48) at fork_exit+0xc6 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0x1, eip =3D 0, esp =3D 0xd50d2d7c, ebp =3D 0 --- > KDB: enter: panic > [thread pid 45 tid 100062 ] > Stopped at kdb_enter+X=E030: leave > db> show lockedvnods > Locked vnodes > > 0xc348880: tag ufs, type VDIR > usecount 2, writecount 0, refcount 1 mountedhere 0 > flags () > v_object 0xc34b3ce4 ref 0 pages 1 > lock type ufs: EXCL (count 1) by thread 0xc2056000 (pid 2137) > ino 34539, on dev ad0s1e > db> show all procs > [ pid 2137 is find(1) ] > %%% > > A dump is available, please contact me off-list to get it. > > I hope this will help. Thanks for your work. > > Regards, > -- > Jeremie Le Hen > < jeremie at le-hen dot org >< ttz at chchile dot org > >