Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2011 11:14:06 +0400
From:      Pavel Timofeev <timp87@gmail.com>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        freebsd-current@freebsd.org, Andriy Gapon <avg@freebsd.org>, Dennis Koegel <dk@neveragain.de>
Subject:   Re: Fresh installed Freebsd 9 don't boot from hd
Message-ID:  <CAAoTqfsnUWjSaR_qBvAi9qM9AqFGrNt4SqinyXsrynS%2BYW9a9w@mail.gmail.com>
In-Reply-To: <4EA47446.5060405@FreeBSD.org>
References:  <CAAoTqftvv1t214Q9uWJR-Jug4GJEZshXyOr6uB_d19h2NV89XA@mail.gmail.com> <20111021085851.GA51368@neveragain.de> <201110211633.38764.jhb@freebsd.org> <20111023152754.GA35505@neveragain.de> <4EA455A7.2060301@FreeBSD.org> <20111023195615.GB35505@neveragain.de> <4EA47446.5060405@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/10/24 Dimitry Andric <dim@freebsd.org>

> On 2011-10-23 21:56, Dennis Koegel wrote:
>
>> On Sun, Oct 23, 2011 at 08:57:59PM +0300, Andriy Gapon wrote:
>>
>>> I found a document that suggests a possibility of BIOS writing more bytes
>>> to the
>>> array than its current size of 0x42: [...]
>>> Could you please test this hypothesis by trying the following patch?
>>>
>>
>> With -O1 and this patch, it boots. Thank you!
>>
>
> If you have some time, can you also re-check the other cases you listed
> before?  E.g.:
>
>
> gcc -Os -fno-guess-branch-probability -fomit-frame-pointer
> -fno-unit-at-a-time \
>        -mno-align-long-strings -mrtd [from before r225530]:
> gcc -Os -mrtd:
> gcc -O1 -mrtd:
> gcc -O1:
> gcc -O0:
> gcc -Os:
>
> clang -O1:
> clang -Os:
> clang -Oz:
>

My 5 cents:
tested on my HP Proliant DL360 G5 with Andriy's patch
clang -O1: ok (VirtualBox with ahci boots too)
clang -Os: ok
clang -Oz: ok


>
> Thanks. :)
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAoTqfsnUWjSaR_qBvAi9qM9AqFGrNt4SqinyXsrynS%2BYW9a9w>