From owner-freebsd-current@FreeBSD.ORG Fri Aug 5 11:47:37 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 D24881065673 for ; Fri, 5 Aug 2011 11:47:36 +0000 (UTC) (envelope-from christoph_hoffmann@me.com) Received: from asmtpout022.mac.com (asmtpout022.mac.com [17.148.16.97]) by mx1.freebsd.org (Postfix) with ESMTP id B89198FC0C for ; Fri, 5 Aug 2011 11:47:36 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from tunnel2.sec101.ch ([62.2.44.114]) by asmtp022.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LPG009WLE38HY70@asmtp022.mac.com>; Fri, 05 Aug 2011 04:47:36 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813,1.0.211,0.0.0000 definitions=2011-08-05_04:2011-08-05, 2011-08-05, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=2 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1108050058 From: Christoph Hoffmann In-reply-to: <201108050737.45418.jhb@freebsd.org> Date: Fri, 05 Aug 2011 13:47:31 +0200 Message-id: <9B42BCDF-43E3-4517-9972-47A8B539880F@me.com> References: <491F5434-3EF2-40AF-B962-892046DB1D54@me.com> <201108050737.45418.jhb@freebsd.org> To: John Baldwin X-Mailer: Apple Mail (2.1244.3) Cc: freebsd-current@freebsd.org 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:47:37 -0000 Hello John, No, I and not using clang. My problem persists even I apply the patch. As a workaround I have to put OS on second LUN presented by the P410i Controller. Regards, Christoph -- Christoph Hoffmann On Aug 5, 2011, at 1:37 PM, John Baldwin wrote: > 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 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"