From owner-freebsd-current@FreeBSD.ORG Sun Oct 23 20:08:32 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 8F46B106566B; Sun, 23 Oct 2011 20:08:32 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4DF2C8FC12; Sun, 23 Oct 2011 20:08:32 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:49e5:3d59:f85e:515a] (unknown [IPv6:2001:7b8:3a7:0:49e5:3d59:f85e:515a]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 8E6765C37; Sun, 23 Oct 2011 22:08:31 +0200 (CEST) Message-ID: <4EA47446.5060405@FreeBSD.org> Date: Sun, 23 Oct 2011 22:08:38 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111012 Thunderbird/8.0 MIME-Version: 1.0 To: Dennis Koegel References: <20111021085851.GA51368@neveragain.de> <201110211633.38764.jhb@freebsd.org> <20111023152754.GA35505@neveragain.de> <4EA455A7.2060301@FreeBSD.org> <20111023195615.GB35505@neveragain.de> In-Reply-To: <20111023195615.GB35505@neveragain.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Pavel Timofeev , freebsd-current@FreeBSD.org, John Baldwin , Andriy Gapon 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: Sun, 23 Oct 2011 20:08:32 -0000 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: Thanks. :)