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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 > zfs, but I've found a problem with the kernel: using the generic kernel > works fine, but this particular server needs ipsec enabled, and the > kernel I built with ipsec support for some reason can't mount the zfs > partitions, despite loading what I believe are the necessary kernel > 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 > modifications from the generic kernel for the ipsec kernel I'm using > are: > > options IPSEC > options IPSEC_FILTERTUNNEL > device crypto > > This specific kernel config worked fine on FreeBSD 7.3, so I'm at a > 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. Roland -- 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) [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxYVAQACgkQEnfvsMMhpyWZDACeJkjQFSRAVOKMv3XV4XqLb/mQ U3QAoIcLgcIijCScmrdALvJ+/JMjgl5x =MEJL -----END PGP SIGNATURE-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100803173812.GA89702>
