From owner-freebsd-arm@FreeBSD.ORG Wed Feb 20 22:25:08 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 72996970 for ; Wed, 20 Feb 2013 22:25:08 +0000 (UTC) (envelope-from matthieu.kraus@s2008.tu-chemnitz.de) Received: from nick.hrz.tu-chemnitz.de (nick.hrz.tu-chemnitz.de [134.109.228.11]) by mx1.freebsd.org (Postfix) with ESMTP id E52C4CEB for ; Wed, 20 Feb 2013 22:25:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tu-chemnitz.de; s=dkim2010; h=Content-Transfer-Encoding:Content-Type:MIME-Version:In-Reply-To:References:Subject:To:From:Date:Message-ID; bh=KYoLBnWjvXswtwWN4PyPdai3dCDxMcf8lgNK5bBJslo=; b=WUrq0+8+4IxPIoEkDV3wL4q4VjXpXIeQCUC/j2GEMVSmFzg3GnmgCnC4rfaXGfkEtkV2zH0e4V8G0i24NjWI3bowM6zQZhxWhm+uhZZLcYu30wTKHOSQGy/qByKTqjFIrfO5ejp+5TnBlRIrQy4SxoOsvREftyNtfGYXUL3haW4=; Received: from pat.hrz.tu-chemnitz.de ([134.109.133.4] helo=mailbox.hrz.tu-chemnitz.de) by nick.hrz.tu-chemnitz.de with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1U8I60-0000z5-WB for freebsd-arm@freebsd.org; Wed, 20 Feb 2013 23:25:01 +0100 Received: from woogie.hrz.tu-chemnitz.de ([134.109.133.13] helo=localhost) by mailbox.hrz.tu-chemnitz.de with esmtp (Exim 4.80.1) (envelope-from ) id 1U8I60-0001AD-Rv for freebsd-arm@freebsd.org; Wed, 20 Feb 2013 23:25:00 +0100 Received: from 77-64-182-15.dynamic.primacom.net (77-64-182-15.dynamic.primacom.net [77.64.182.15]) by mail.tu-chemnitz.de (Horde Framework) with HTTP; Wed, 20 Feb 2013 23:25:00 +0100 Message-ID: <20130220232500.23416ch2yni4pags@mail.tu-chemnitz.de> Date: Wed, 20 Feb 2013 23:25:00 +0100 From: Matthieu Kraus To: freebsd-arm@freebsd.org Subject: Re: zfs on arm References: <20130220134556.3499369c@ivory.wynn.com> <20130220202537.705decddfaa2b4a495dc5e1d@sohara.org> <20130220153519.7626984a@ivory.wynn.com> <3B5DE103-7042-4FBE-B883-2856E73BFE6E@bsdimp.com> <20130220164346.6f70c2e1@ivory.wynn.com> In-Reply-To: <20130220164346.6f70c2e1@ivory.wynn.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.9) X-Originating-IP: 77.64.182.15 X-Scan-AV: mailbox.hrz.tu-chemnitz.de; 2013-02-20 23:25:00; 0bc8de55749bdcf34d954ba2f6f922e0 X-purgate: clean X-purgate-type: clean X-purgate-ID: 154106::1361399101-000004D6-892D8396/0-0/0-0 X-Scan-SA: nick.hrz.tu-chemnitz.de; 2013-02-20 23:25:01; 249cb433cad53fa9af844e73da63df4d X-Spam-Score: -1.6 (-) X-Spam-Report: --- Textanalyse SpamAssassin 3.3.1 (-1.6 Punkte) Fragen an/questions to: Postmaster TU Chemnitz * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -0.6 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain --- Ende Textanalyse X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2013 22:25:08 -0000 > I am not sure what you are telling me to do to get the kernel to > build. I agree that it should work better than in the 7.x days. I > have brought up zfs on x86 with 512M already and gotten it stable. > > -Brett make sure your kernel config contains something along the lines of this (you'll need opensolaris and zlib in addition to zfs as it depends on those): makeoptions MODULES_OVERRIDE="zfs opensolaris zlib" if it still refuses to build, this patch may help as a quick hack (a proper fix may be more appropriate): Index: sys/cddl/compat/opensolaris/sys/cpuvar.h =================================================================== --- sys/cddl/compat/opensolaris/sys/cpuvar.h (revision 244033) +++ sys/cddl/compat/opensolaris/sys/cpuvar.h (working copy) @@ -50,6 +50,9 @@ /* Some code may choose to redefine this if pcpu_t would be more useful. */ #define cpu_t solaris_cpu_t +#ifdef cpu_id +#undef cpu_id +#endif #define cpu_id cpuid extern solaris_cpu_t solaris_cpu[];