From owner-freebsd-current Tue Oct 8 12:28:21 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 05B4A37B401; Tue, 8 Oct 2002 12:28:20 -0700 (PDT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B1FE43E6A; Tue, 8 Oct 2002 12:28:19 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.6/8.12.5) with ESMTP id g98JSH4G039965; Tue, 8 Oct 2002 12:28:17 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: (from kargl@localhost) by troutmask.apl.washington.edu (8.12.6/8.12.6/Submit) id g98JSHJ0039964; Tue, 8 Oct 2002 12:28:17 -0700 (PDT) From: "Steven G. Kargl" Message-Id: <200210081928.g98JSHJ0039964@troutmask.apl.washington.edu> Subject: Re: panic from _mutex_assert in kern_lock.c In-Reply-To: <20021008152323.F75846-100000@mail.chesapeake.net> "from Jeff Roberson at Oct 8, 2002 03:24:04 pm" To: Jeff Roberson Date: Tue, 8 Oct 2002 12:28:17 -0700 (PDT) Cc: "Brian F. Feldman" , freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 Jeff Roberson said: > > 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. > I sent Kirk a private email, but I haven't heard back from him. Hopefully, he is watching the freebsd-current mailing list. I'm actually surprise that more people haven't reported this problem. -- Steve http://troutmask.apl.washington.edu/~kargl/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message