Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Aug 2006 22:44:55 -0500
From:      Eric Anderson <anderson@centtech.com>
To:        Shane Adams <adamsch1@yahoo.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Advice for hacking on ufs/ffs
Message-ID:  <44D01FB7.1020105@centtech.com>
In-Reply-To: <20060801205432.54066.qmail@web31812.mail.mud.yahoo.com>
References:  <20060801205432.54066.qmail@web31812.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/01/06 15:54, Shane Adams wrote:
> I think I found a bug in the ffs code, specifically in ffs_uninit and the uma_zcreates in ffs_vfsops.c
> 
> You need to explicitly call zdestroy on uma_inode1, uma_ufs1 and uma_ufs2 in ffs_uninit otherwise if UFS/FFS (as a kernel module) is unloaded, you get a panic if you call sysctl -a after the kldunload.
> 
> Now I'm new to freebsd, and on my system UFS/FFS is statically compiled, but I was screwing around and discovered this.  Not sure how to report this or the patch (that fixed the problem on my system).


Usually, people will post a patch somewhere for review, and/or submit a 
PR.

Eric

-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------



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