From owner-freebsd-current@FreeBSD.ORG Fri Aug 5 11:37:47 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA224106566B for ; Fri, 5 Aug 2011 11:37:47 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 80B2A8FC0A for ; Fri, 5 Aug 2011 11:37:47 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 9638E46B2A; Fri, 5 Aug 2011 07:37:46 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 23A328A02C; Fri, 5 Aug 2011 07:37:46 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Fri, 5 Aug 2011 07:37:45 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110617; KDE/4.5.5; amd64; ; ) References: <491F5434-3EF2-40AF-B962-892046DB1D54@me.com> In-Reply-To: <491F5434-3EF2-40AF-B962-892046DB1D54@me.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Message-Id: <201108050737.45418.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Fri, 05 Aug 2011 07:37:46 -0400 (EDT) Cc: Christoph Hoffmann Subject: Re: gptzfsboot error using HP Smart Array P410i Controller X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2011 11:37:47 -0000 On Thursday, August 04, 2011 3:26:49 pm Christoph Hoffmann wrote: > Hello Everyone, > > The system will successfully boot only if the OS installation is laying on > the second drive or higher (0x81 and more). Are you using clang? If so, you should try either using GCC or using this patch with clang as a workaround from the previous thread on zfsboot issues: Index: sys/boot/i386/zfsboot/Makefile =================================================================== --- sys/boot/i386/zfsboot/Makefile (revision 224653) +++ sys/boot/i386/zfsboot/Makefile (working copy) @@ -20,7 +20,6 @@ -fomit-frame-pointer \ -fno-unit-at-a-time \ -mno-align-long-strings \ - -mrtd \ -DBOOT2 \ -DSIOPRT=${BOOT_COMCONSOLE_PORT} \ -DSIOFMT=${B2SIOFMT} \ Index: sys/boot/i386/gptzfsboot/Makefile =================================================================== --- sys/boot/i386/gptzfsboot/Makefile (revision 224653) +++ sys/boot/i386/gptzfsboot/Makefile (working copy) @@ -22,7 +22,6 @@ -fomit-frame-pointer \ -fno-unit-at-a-time \ -mno-align-long-strings \ - -mrtd \ -DGPT -DBOOT2 \ -DSIOPRT=${BOOT_COMCONSOLE_PORT} \ -DSIOFMT=${B2SIOFMT} \ -- John Baldwin