Re: gptzfsboot error using HP Smart Array P410i Controller

From: John Baldwin <jhb_at_freebsd.org>
Date: Fri, 5 Aug 2011 07:37:45 -0400
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)
_at__at_ -20,7 +20,6 _at__at_
        -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)
_at__at_ -22,7 +22,6 _at__at_
        -fomit-frame-pointer \
        -fno-unit-at-a-time \
        -mno-align-long-strings \
-       -mrtd \
        -DGPT -DBOOT2 \
        -DSIOPRT=${BOOT_COMCONSOLE_PORT} \
        -DSIOFMT=${B2SIOFMT} \

-- 
John Baldwin
Received on Fri Aug 05 2011 - 09:37:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:16 UTC