Linuxolator panic: Lock (rw) Name Cache exclusively locked

Lucius Windschuh lwindschuh at googlemail.com
Thu Aug 6 11:31:14 UTC 2009


Hi Kostik.

2009/8/6 Kostik Belousov <kostikbel at 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


More information about the freebsd-emulation mailing list