From owner-freebsd-current@FreeBSD.ORG Tue Sep 30 23:04:46 2003 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 0DFB316A4BF for ; Tue, 30 Sep 2003 23:04:46 -0700 (PDT) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12A0443F85 for ; Tue, 30 Sep 2003 23:04:45 -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 h9164hL50675; Wed, 1 Oct 2003 02:04:43 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Wed, 1 Oct 2003 02:04:43 -0400 (EDT) From: Jeff Roberson To: Garrett Wollman In-Reply-To: <200310010436.h914aXQb052991@khavrinen.lcs.mit.edu> Message-ID: <20031001020358.L99666-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Kirk McKusick cc: current@freebsd.org Subject: Re: getdirtybuf: interlock not locked but should be 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: Wed, 01 Oct 2003 06:04:46 -0000 On Wed, 1 Oct 2003, Garrett Wollman wrote: > I'm working on getting the AFS client to work under FreeBSD. I just > compiled a -current kernel with DEBUG_VFS_LOCKS, and before I could > even load the AFS module I had the system stop with the following > locking assertion: > > getdirtybuf: 0xc2678000 interlock is not locked but should be This is my fault. YOu are safe to comment out this check for now. I need to better understand the softupdates code before it is really valid. Jeff > > Backtrace looks like: > > getdirtybuf(de17cbb4, 0, 1, c7732ba0, 1) +0xee > flush_deplist(c268ad4c, 1, de17cbdc, de17cbe0, 0) +0x43 > flush_inodedep_deps(c2670000,1ab,ffffffff,c26ed000,124) +0xa3 > softdep_sync_metadata(de17cca4, 0, c037b672, 124, 0) +0x87 > ffs_fsync(de17cca4, c03714ea, c0373416, ad8, 0) +0x3b9 > fsync(c25d7850, de17cd10, c038276b, 3ec, 1) +0x1d4 > syscall() ... > > One vnode is locked: > 0xc26ed000: tag ufs, type VREG, usecount 1, writecount 1, refcount 1, > flags (VV_OBJBUF), lock type ufs: EXCL (count 1) by thread 0xc25d7850 > ino 427, on dev ad0s1a (4, 13) > > This is repeated four times with the same vnode. Obviously, it would > help to have a solution to this problem so that I can debug what I'm > really interested in rather than worrying about UFS. > > -GAWollman > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >