From owner-freebsd-current@FreeBSD.ORG Wed Aug 10 05:41:41 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 780C016A421 for ; Wed, 10 Aug 2005 05:41:41 +0000 (GMT) (envelope-from kan@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B17D245332; Tue, 9 Aug 2005 23:55:50 +0000 (GMT) (envelope-from kan@FreeBSD.org) Received: from freefall.freebsd.org (kan@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j79NtorU008736; Tue, 9 Aug 2005 23:55:50 GMT (envelope-from kan@freefall.freebsd.org) Received: (from kan@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j79NtoJT008735; Tue, 9 Aug 2005 23:55:50 GMT (envelope-from kan) Date: Tue, 9 Aug 2005 23:55:50 +0000 From: Alexander Kabaev To: Thierry Herbelot Message-ID: <20050809235550.GA8692@freefall.freebsd.org> References: <200508092233.14912.thierry@herbelot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200508092233.14912.thierry@herbelot.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: panic: lock (sleep mutex) vnode interlock not locked X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 10 Aug 2005 05:41:41 -0000 On Tue, Aug 09, 2005 at 10:33:12PM +0200, Thierry Herbelot wrote: > Hello, > > I'm seeing the above panic on two machines (SMP BP6 and a notebook) with > recent -Current (certainly "heisenbug" : the same kernel runs happily on the > notebook). > The panic log on the SMP machine follows. > > TfH Hi, could you try an patch below? Index: vfs_subr.c =================================================================== RCS file: /home/ncvs/src/sys/kern/vfs_subr.c,v retrieving revision 1.638 diff -u -r1.638 vfs_subr.c --- vfs_subr.c 6 Aug 2005 01:42:03 -0000 1.638 +++ vfs_subr.c 9 Aug 2005 23:51:44 -0000 @@ -2333,10 +2333,8 @@ /* * Don't vgonel if we're already doomed. */ - if (vp->v_iflag & VI_DOOMED) { - VI_UNLOCK(vp); + if (vp->v_iflag & VI_DOOMED) return; - } vp->v_iflag |= VI_DOOMED; /* * Check to see if the vnode is in use. If so, we have to call