From owner-freebsd-stable@FreeBSD.ORG Sat Feb 13 14:23:51 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96271106568D; Sat, 13 Feb 2010 14:23:51 +0000 (UTC) (envelope-from ruben@verweg.com) Received: from erg.verweg.com (erg.verweg.com [IPv6:2a02:898:96::5e8e:f508]) by mx1.freebsd.org (Postfix) with ESMTP id 2EB8A8FC0A; Sat, 13 Feb 2010 14:23:51 +0000 (UTC) Received: from neon.fritz.box (helium.xs4all.nl [83.163.52.241]) (authenticated bits=0) by erg.verweg.com (8.14.4/8.14.3) with ESMTP id o1DENgwN077668 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sat, 13 Feb 2010 14:23:48 GMT (envelope-from ruben@verweg.com) X-Authentication-Warning: erg.verweg.com: Host helium.xs4all.nl [83.163.52.241] claimed to be neon.fritz.box From: Ruben van Staveren Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sat, 13 Feb 2010 15:23:37 +0100 Message-Id: <0E158D8A-8170-4306-9DA8-6BA993DC18FB@verweg.com> To: FreeBSD Stable , kvs@pil.dk Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) X-Spam-Status: No, score=3.1 required=5.0 tests=DATE_IN_FUTURE_06_12 autolearn=no version=3.2.5 X-Spam-Level: *** X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on erg.verweg.com X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (erg.verweg.com [94.142.245.8]); Sat, 13 Feb 2010 14:23:49 +0000 (UTC) Cc: bug-followup@FreeBSD.org Subject: Re: kern/140661: [zfs] /boot/loader fails to work on a GPT/ZFS-only system on both 8.0-RC2 and RC3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2010 14:23:51 -0000 > On Nov 18, 2009, at 21:57 , Scot Hetzel wrote: > > Make sure you have LOADER_ZFS_SUPPORT in your /etc/src.conf: > >=20 > > dv8t01# cat /etc/src.conf > > LOADER_ZFS_SUPPORT=3DYES >=20 > Ah! I also have LOADER_TFTP_SUPPORT=3DYES. Removing that, and = everything works. > I don't know why I didn't think of that in the first place, but maybe = this > is either a bug, or something that should be warned about when = building > loader(8)? >=20 > /Kenneth I had the same problem which went away after removing TFTP support and = reinstalling the bootcode.=20 For now I suggest to add the following patch: --- sys/boot/i386/loader/conf.c.orig 2010-02-13 14:08:31.154391969 = +0000 +++ sys/boot/i386/loader/conf.c 2010-02-13 14:11:11.119255786 +0000 @@ -46,6 +46,10 @@ #error "Cannot have both tftp and nfs support yet." #endif =20 +#if defined(LOADER_ZFS_SUPPORT) && defined(LOADER_TFTP_SUPPORT) +#error "Cannot have both tftp and zfs support yet." +#endif + #if defined(LOADER_FIREWIRE_SUPPORT) extern struct devsw fwohci; #endif I think having both options corrupt each other's environment=20 system: FreeBSD freebsd-master 8.0-STABLE FreeBSD 8.0-STABLE #2: Mon Jan 18 = 16:14:24 UTC 2010 = root@freebsd-master:/usr/obj/usr/cvsup/8-stable/src/sys/VMWARE amd64 Regards, Ruben