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     
r...@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                              da...@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: pgp1CvC5mK2tA.pgp
Description: PGP signature

Reply via email to