From owner-freebsd-current Tue Oct 8 12:24: 6 2002 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 8EDD937B401; Tue, 8 Oct 2002 12:24:05 -0700 (PDT) Received: from mail.chesapeake.net (chesapeake.net [205.130.220.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2C9643E77; Tue, 8 Oct 2002 12:24:04 -0700 (PDT) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id g98JO4C47998; Tue, 8 Oct 2002 15:24:04 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Tue, 8 Oct 2002 15:24:04 -0400 (EDT) From: Jeff Roberson To: "Brian F. Feldman" Cc: "Steven G. Kargl" , Subject: Re: panic from _mutex_assert in kern_lock.c In-Reply-To: <200210051712.g95HCOLw012226@green.bikeshed.org> Message-ID: <20021008152323.F75846-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 5 Oct 2002, Brian F. Feldman wrote: > "Steven G. Kargl" wrote: > > The source tree was retrieved by cvsup > > at 21:47 (PST) on Oct 4. > > > > This is a non-GEOM and non-acpi kernel. > > > > I have the core and kernel.debug, so any > > further postmortem is possible. > > I think the problem is that in src/sys/ufs/ffs/ > ffs_snapshot.c:ffs_snapshot(), > as the mnt vnode list is traversed none of the vnodes ("xvp") would actually GET > VI_LOCK()ed in the first place, and so the LK_INTERLOCK is bogus in the > vn_lock() call. Kirk would know for sure what to do about this... > Yeah, I broke this. I didn't see the LK_INTERLOCK near by when I removed the interlocking around usecount. I will fix this. Thanks! Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message