Re: Fresh installed Freebsd 9 don't boot from hd

From: John Baldwin <jhb_at_freebsd.org>
Date: Fri, 21 Oct 2011 16:33:38 -0400
On Friday, October 21, 2011 4:58:51 am Dennis Koegel wrote:
> On Thu, Oct 20, 2011 at 11:28:08AM +0400, Pavel Timofeev wrote:
> > I used FreeBSD 9 amd64 on my HP Proliant DL360 G5 (smart array p400i 
mirror)
> > as test. [...]
> > It was fresh install and I choose guided partitioning (GPT)
> > But after reboot my server don't boot from hd.
> 
> We have the same issue on a DL580 G7. Install runs fine, but when it's
> time for the first boot, the bootcode emits a single '-' (where usually
> it would be "spinning" for a moment while loading), hangs for about two
> seconds, and then reboots.

Working offline with Dennis, we found that changing the CFLAGS in 
sys/boot/i386/gptboot/Makefile from "-O1" to "-Os -mrtd" (partially reverting 
an earlier commit) fixed gptboot.  The next test for someone to do would be to 
try just adding "-mrtd" and leaving "-O1" as-is to see if that fixes it.

-- 
John Baldwin
Received on Fri Oct 21 2011 - 19:05:13 UTC

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