Date: Tue, 3 Aug 2010 19:38:12 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Joshua Coats <joshu@rescomp.berkeley.edu> Cc: freebsd-questions@freebsd.org Subject: Re: ipsec and zfs on FreeBSD 8.1 -- kernel problem Message-ID: <20100803173812.GA89702@slackbox.erewhon.net> In-Reply-To: <20100803154052.GA20157@hal.rescomp.berkeley.edu> References: <20100803154052.GA20157@hal.rescomp.berkeley.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 03, 2010 at 08:40:52AM -0700, Joshua Coats wrote: > I've been experimenting with a FreeBSD 8.1 build, booting with a root in= =20 > zfs, but I've found a problem with the kernel: using the generic kernel= =20 > works fine, but this particular server needs ipsec enabled, and the=20 > kernel I built with ipsec support for some reason can't mount the zfs=20 > partitions, despite loading what I believe are the necessary kernel=20 > modules (zfs.ko, opensolaris.ko) at startup. I'm assuming you're booting from a UFS /boot? Otherwise you'd need to build the required modules into the kernel. Maybe you need to build/install a zfs-enabled bootloader? I see some code in /usr/src/sys/boot/i386/zfsboot/ and /usr/src/sys/boot/i386/zfsloader/, but = I'm not a ZFS user. > Does special zfs support need to be built into the kernel? The only=20 > modifications from the generic kernel for the ipsec kernel I'm using=20 > are: >=20 > options IPSEC > options IPSEC_FILTERTUNNEL > device crypto >=20 > This specific kernel config worked fine on FreeBSD 7.3, so I'm at a=20 > loss. When building a custom kernel, _always_ start from a GENERIC kernel from the release you're using. There have been changes between 7.3 and 8.1 that you = are probably missing.=20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxYVAQACgkQEnfvsMMhpyWZDACeJkjQFSRAVOKMv3XV4XqLb/mQ U3QAoIcLgcIijCScmrdALvJ+/JMjgl5x =MEJL -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100803173812.GA89702>