Date: Wed, 20 Feb 2013 23:25:00 +0100 From: Matthieu Kraus <matthieu.kraus@s2008.tu-chemnitz.de> To: freebsd-arm@freebsd.org Subject: Re: zfs on arm Message-ID: <20130220232500.23416ch2yni4pags@mail.tu-chemnitz.de> In-Reply-To: <20130220164346.6f70c2e1@ivory.wynn.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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[];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130220232500.23416ch2yni4pags>