Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Aug 2009 13:31:12 +0200
From:      Lucius Windschuh <lwindschuh@googlemail.com>
To:        Kostik Belousov <kostikbel@gmail.com>, freebsd-emulation@freebsd.org
Subject:   Re: Linuxolator panic: Lock (rw) Name Cache exclusively locked
Message-ID:  <90a5caac0908060431p3a18c5b7ra675a87f36473fe0@mail.gmail.com>
In-Reply-To: <20090806110335.GP1884@deviant.kiev.zoral.com.ua>
References:  <90a5caac0908051556j27e721e2m25a949ade16848c1@mail.gmail.com> <20090806110335.GP1884@deviant.kiev.zoral.com.ua>

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

Hi Kostik.

2009/8/6 Kostik Belousov <kostikbel@gmail.com>:
> On Thu, Aug 06, 2009 at 12:56:08AM +0200, Lucius Windschuh wrote:
>> Hi.
>> I tried to install CA Wily Introscope 8.1, an enterprise application
>> performance monitoring framework, on FreeBSD.
>> It is Java-based and works, if installed.
>> Unfortunately, the installer panics my machine reproducably when it
>> exits after the installation:
>> panic: Lock (rw) Name Cache exclusively locked @
>> /usr/src/sys/kern/vfs_cache.c:589
>>
[...]
> Please try this patch.
>
> diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
> index f21f4af..7854803 100644
> --- a/sys/kern/vfs_cache.c
> +++ b/sys/kern/vfs_cache.c
> @@ -416,7 +416,8 @@ retry_wlocked:
>                                if (dvp->v_cache_dd->nc_flag & NCF_ISDOTDOT)
>                                        cache_zap(dvp->v_cache_dd);
>                                dvp->v_cache_dd = NULL;
> -                               goto unlock;
> +                               CACHE_WUNLOCK();
> +                               return (0);
>                        }
>                        if (dvp->v_cache_dd->nc_flag & NCF_ISDOTDOT)
>                                *vpp = dvp->v_cache_dd->nc_vp;
>

This lets me install Introscope without a panic. Thank you for the
fast response.

Lucius


help

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