panic: share -> excl @r224632

David Wolfskill david at catwhisker.org
Thu Aug 4 15:47:12 UTC 2011


On Thu, Aug 04, 2011 at 04:59:32PM +0300, Kostik Belousov wrote:
> ...
> I am sure that this is caused by r224614.

Well, see: you approached it from knowledge, while I made a
quasi-educated guess. :-}

> I forgot that vn_fullpath cannot operate on the locked vnode.

And I expect you have likely forgotten more useful stuff about the
FreeBSD kernel than I'll ever know....  :-}

> Try this.
> 
> diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
> index d601c56..54f123c 100644
> --- a/sys/kern/vfs_mount.c
> +++ b/sys/kern/vfs_mount.c
> @@ -746,13 +746,15 @@ vfs_domount_first(
> ....

After restoring r224614 back, I applied your patch, then rebuilt the
kernel, rebooted, and it's up & running with no new issues:

FreeBSD d134.dwolf.juniper.net. 9.0-BETA1 FreeBSD 9.0-BETA1 #304 r224648M: Thu Aug  4 08:38:07 PDT 2011     root at d134.dwolf.juniper.net.:/usr/obj/usr/src/sys/CANARY  i386


Thank you!  :-)

Peace,
david   (There's a reason my laptop's kernel config is called "CANARY". :-})
-- 
David H. Wolfskill				david at catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110804/b41d70b2/attachment.pgp


More information about the freebsd-current mailing list