From owner-freebsd-current@FreeBSD.ORG Tue Oct 25 07:14:08 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 8C3D2106564A for ; Tue, 25 Oct 2011 07:14:08 +0000 (UTC) (envelope-from timp87@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8A89F8FC17 for ; Tue, 25 Oct 2011 07:14:07 +0000 (UTC) Received: by faar19 with SMTP id r19so293139faa.13 for ; Tue, 25 Oct 2011 00:14:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6BJiUQPygvP/Eam0jxYquz4NXY65G6awLQGxiP8HG/0=; b=W80CyxnKATSt6DFRO3VhqOBPFfkvyuVyid8g1Tjm1lQqdTQO4z0DWnKTf0GjOwSJBL 72f9F876OjnhHhB8hlGXYg9icIvDf45QIf4xzyzSp3Dm2gTYpU6ERs9YKrhC84uajSGt DVg1s2M06YOGV6qq8qOQbrvAhXprYiKndhjmI= MIME-Version: 1.0 Received: by 10.223.77.77 with SMTP id f13mr41358868fak.19.1319526846274; Tue, 25 Oct 2011 00:14:06 -0700 (PDT) Received: by 10.152.24.67 with HTTP; Tue, 25 Oct 2011 00:14:06 -0700 (PDT) In-Reply-To: <4EA47446.5060405@FreeBSD.org> References: <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> Date: Tue, 25 Oct 2011 11:14:06 +0400 Message-ID: From: Pavel Timofeev To: Dimitry Andric X-Mailman-Approved-At: Tue, 25 Oct 2011 11:09:00 +0000 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, Andriy Gapon , 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: Tue, 25 Oct 2011 07:14:08 -0000 2011/10/24 Dimitry Andric > 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. :) >