Date: Fri, 05 Aug 2011 13:47:31 +0200 From: Christoph Hoffmann <christoph_hoffmann@me.com> To: John Baldwin <jhb@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: gptzfsboot error using HP Smart Array P410i Controller Message-ID: <9B42BCDF-43E3-4517-9972-47A8B539880F@me.com> In-Reply-To: <201108050737.45418.jhb@freebsd.org> References: <E040B3A9-9B62-4545-ADC9-5CE3A9217024@me.com> <491F5434-3EF2-40AF-B962-892046DB1D54@me.com> <201108050737.45418.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9B42BCDF-43E3-4517-9972-47A8B539880F>
