From owner-freebsd-questions@FreeBSD.ORG Tue Aug 3 17:38:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05CB31065675 for ; Tue, 3 Aug 2010 17:38:21 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.freebsd.org (Postfix) with ESMTP id 781678FC21 for ; Tue, 3 Aug 2010 17:38:20 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id o73HcDSP099594; Tue, 3 Aug 2010 19:38:18 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id DC22FBAA1; Tue, 3 Aug 2010 19:38:12 +0200 (CEST) Date: Tue, 3 Aug 2010 19:38:12 +0200 From: Roland Smith To: Joshua Coats Message-ID: <20100803173812.GA89702@slackbox.erewhon.net> References: <20100803154052.GA20157@hal.rescomp.berkeley.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline In-Reply-To: <20100803154052.GA20157@hal.rescomp.berkeley.edu> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: ipsec and zfs on FreeBSD 8.1 -- kernel problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2010 17:38:21 -0000 --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--