From owner-freebsd-current@FreeBSD.ORG Thu Nov 16 19:46:27 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8F9A16A416 for ; Thu, 16 Nov 2006 19:46:27 +0000 (UTC) (envelope-from lists@loveturtle.net) Received: from loveturtle.net (loveturtle.net [216.91.90.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id B415843D99 for ; Thu, 16 Nov 2006 19:45:32 +0000 (GMT) (envelope-from lists@loveturtle.net) Received: from localhost (localhost [127.0.0.1]) by loveturtle.net (Postfix) with ESMTP id A74551CC46 for ; Thu, 16 Nov 2006 14:45:24 -0500 (EST) X-Virus-Scanned: amavisd-new at loveturtle.net Received: from loveturtle.net ([127.0.0.1]) by localhost (loveturtle.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rZJYm1SgShcO for ; Thu, 16 Nov 2006 14:45:22 -0500 (EST) Received: from [216.89.228.114] (macpro.loveturtle.net [216.89.228.114]) by loveturtle.net (Postfix) with ESMTP id 1B8031CC2F for ; Thu, 16 Nov 2006 14:45:22 -0500 (EST) Message-ID: <455CBFD0.2020305@loveturtle.net> Date: Thu, 16 Nov 2006 14:45:20 -0500 From: Dillon User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <1163701391.00638085.1163691003@10.7.7.3> <455CB8CA.8040603@icyb.net.ua> In-Reply-To: <455CB8CA.8040603@icyb.net.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ZFS patches for FreeBSD. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2006 19:46:27 -0000 I applied the patch to todays -current a couple hours ago and got the same thing while trying to load the zfs.ko module. odd.. Andriy Gapon wrote: > on 16/11/2006 17:21 Doug Ambrisko said the following: > >> 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? >> > > Hmm, I saw errors like this with some other 3rd party kernel module when > its sources had constructs like: > > struct some_struct s = {0}; > > Changing the above initialization to explicit bzero() call helped in > that case, but I think that there should be some compiler flags or > something to handle this. > >