Filesystem access from a KLD causes "vrele: negative ref cnt"
panic
Andrey Simonenko
simon at comsys.ntu-kpi.kiev.ua
Wed Sep 21 01:08:20 PDT 2005
On Tue, Sep 20, 2005 at 07:49:53PM +0200, Sebastien wrote:
>
> I have a random panic "vrele: negative ref cnt" when I shutdown the system. Am
> I double-freeing something in my code ? The fact that the panic is caused
> randomly suggests there is a synchronization problem - but the above code is
> always running under the protection of the Giant mutex.
[ please don't write such long lines ]
Should not rootvnode get reference, when fd_rdir or fd_cdir
begins to point to it? Try to VREF() it. Which vnode gets negative
reference counter?
More information about the freebsd-hackers
mailing list