Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2002 04:55:08 -0700 (PDT)
From:      Don Lewis <dl-freebsd@catspoiler.org>
To:        jroberson@chesapeake.net
Cc:        current@FreeBSD.ORG
Subject:   VFS lock error in getnewvnode()
Message-ID:  <200207101155.g6ABt8wr007051@gw.catspoiler.org>
In-Reply-To: <20020707024045.J25604-100000@mail.chesapeake.net>

next in thread | previous in thread | raw e-mail | index | archive | help
A box running this morning's -current compiled with DEBUG_VFS_LOCKS
coughed up this error part way through a "cvs update" of the ports tree.

VOP_GETVOBJECT: xxxxx is not locked but should be

The stack trace is:

getnewvnode() + 0x182
ffs_vget() + 0x73
ufs_lookup() + 0x10df
vfs_vnoperate() + 0x13
ufs_cache_lookup() + 0x516
ufs_vnoperate() + 0x13
lookup() + 0x43b
namei() + 0x1e4
lstat()

I don't understand this error at all, because there is a call to
vn_lock() immediately before the call to VOP_GETVOBJECT().

Once it hit this error, I turned off the vfs_badlock_panic switch,
but the console continued to spew VFS lock errors for a variety of
different vnode addresses.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207101155.g6ABt8wr007051>