Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 2006 20:35:35 +0100
From:      Max Laier <max@love2party.net>
To:        freebsd-current@freebsd.org
Cc:        freebsd-fs@freebsd.org, Pawel Jakub Dawidek <pjd@freebsd.org>
Subject:   Re: ZFS patches for FreeBSD.
Message-ID:  <200611162035.41595.max@love2party.net>
In-Reply-To: <20061116191858.GF63195@garage.freebsd.pl>
References:  <20061116015908.GB63195@garage.freebsd.pl> <200611161521.kAGFLxP5069212@ambrisko.com> <20061116191858.GF63195@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart3023635.OcQkhFFqoK
Content-Type: text/plain;
  charset="iso-8859-6"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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:=20
http://lists.freebsd.org/pipermail/freebsd-stable/2005-March/thread.html#13=
132

As pointed out by Andriy "struct foo =3D { 0 }" seems to be the culprit.

=2D-=20
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

--nextPart3023635.OcQkhFFqoK
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQBFXL2NXyyEoT62BG0RAlQUAJsH0zhOk1ZQJkoNXBhj7sCn49HSDACfZRy6
hoX23Uwain7Z3W9n67tuTNs=
=haH7
-----END PGP SIGNATURE-----

--nextPart3023635.OcQkhFFqoK--



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