From owner-freebsd-fs@FreeBSD.ORG Sat Feb 13 14:30:07 2010 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AB7E106566B for ; Sat, 13 Feb 2010 14:30:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 61ABA8FC0A for ; Sat, 13 Feb 2010 14:30:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1DEU70U012668 for ; Sat, 13 Feb 2010 14:30:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1DEU7r9012664; Sat, 13 Feb 2010 14:30:07 GMT (envelope-from gnats) Date: Sat, 13 Feb 2010 14:30:07 GMT Message-Id: <201002131430.o1DEU7r9012664@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: Ruben van Staveren Cc: 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-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ruben van Staveren List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2010 14:30:07 -0000 The following reply was made to PR kern/140661; it has been noted by GNATS. From: Ruben van Staveren To: FreeBSD Stable , kvs@pil.dk 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 Date: Sat, 13 Feb 2010 15:23:37 +0100 > 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