ZFS patches for FreeBSD.
Max Laier
max at love2party.net
Thu Nov 16 11:36:00 PST 2006
On Thursday 16 November 2006 20:18, Pawel Jakub Dawidek wrote:
> On Thu, Nov 16, 2006 at 07:21:59AM -0800, Doug Ambrisko wrote:
> > I skipped the mkdir and used patch -p0. Everything looked to compile
> > okay but when I kldload zfs is fails since the kernel doesn't
> > have memset:
> > %kldload zfs
> > link_elf: symbol memset undefined
> > kldload: can't load zfs: No such file or directory
> > %
> > Is there another change required?
>
> I applied the patch before publishing on clean source and I don't see
> such problem... Interesting thing is that there is no memset() use in
> ZFS kernel source:
>
> # grep -r memset sys/ | grep -v zap_memset
> #
>
> Does anyone else seeing this problem?
There is an older thread about this problem:
http://lists.freebsd.org/pipermail/freebsd-stable/2005-March/thread.html#13132
As pointed out by Andriy "struct foo = { 0 }" seems to be the culprit.
--
/"\ Best regards, | mlaier at freebsd.org
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier at EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20061116/fd4d10a7/attachment-0001.pgp
More information about the freebsd-current
mailing list