Re: panic: share -> excl _at_r224632

From: David Wolfskill <david_at_catwhisker.org>
Date: Thu, 4 Aug 2011 08:47:11 -0700
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
> _at__at_ -746,13 +746,15 _at__at_ 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.

Received on Thu Aug 04 2011 - 13:47:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:16 UTC