From owner-freebsd-current@FreeBSD.ORG Fri Oct 21 21:05:13 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 29FEB1065670; Fri, 21 Oct 2011 21:05:13 +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 004C38FC1E; Fri, 21 Oct 2011 21:05:13 +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 AAB9946B32; Fri, 21 Oct 2011 17:05:12 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 46B7C8A02F; Fri, 21 Oct 2011 17:05:12 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Fri, 21 Oct 2011 16:33:38 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110617; KDE/4.5.5; amd64; ; ) References: <20111021085851.GA51368@neveragain.de> In-Reply-To: <20111021085851.GA51368@neveragain.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201110211633.38764.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Fri, 21 Oct 2011 17:05:12 -0400 (EDT) Cc: Pavel Timofeev , avg@freebsd.org, Dennis Koegel Subject: Re: Fresh installed Freebsd 9 don't boot from hd 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, 21 Oct 2011 21:05:13 -0000 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