Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Aug 2011 08:47:11 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        current@freebsd.org
Subject:   Re: panic: share -> excl @r224632
Message-ID:  <20110804154711.GL29364@albert.catwhisker.org>
In-Reply-To: <20110804135932.GG17489@deviant.kiev.zoral.com.ua>
References:  <20110804125454.GI29364@albert.catwhisker.org> <20110804135932.GG17489@deviant.kiev.zoral.com.ua>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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@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@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.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iEYEARECAAYFAk46vv4ACgkQmprOCmdXAD1nUQCeNgNoFbstH/u2mlwdk3L8BH7+
W3IAoIgoKZByjXlHlCWRjOkNuyZyMGQR
=JkRu
-----END PGP SIGNATURE-----
help

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