From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1Cl6CP-0006OM-Ep for mharc-grub-devel@gnu.org; Sun, 02 Jan 2005 08:55:13 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cl6CO-0006N3-1o for grub-devel@gnu.org; Sun, 02 Jan 2005 08:55:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cl6CM-0006Lq-L5 for grub-devel@gnu.org; Sun, 02 Jan 2005 08:55:10 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cl6CM-0006Kv-Av for grub-devel@gnu.org; Sun, 02 Jan 2005 08:55:10 -0500 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cl608-0002Fh-Jw for grub-devel@gnu.org; Sun, 02 Jan 2005 08:42:33 -0500 Received: from vscan-ca.han.nl (mars.han.nl [145.74.129.116]) by mail-cn.han.nl (Postfix) with ESMTP id D79538AAA for ; Sun, 2 Jan 2005 14:40:39 +0100 (CET) Received: from mail-cn.han.nl ([145.74.66.51]) by vscan-ca.han.nl (mars.han.nl [145.74.129.116]) (amavisd-new, port 10024) with LMTP id 28905-01-44 for ; Sun, 2 Jan 2005 14:40:37 +0100 (CET) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 1237F83A7 for ; Sun, 2 Jan 2005 14:40:37 +0100 (CET) Received: from marco.marco-g.com (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id C6755C064 for ; Sun, 2 Jan 2005 14:40:36 +0100 (CET) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <87brceni14.fsf@marco.marco-g.com> <19294A70-595C-11D9-842B-000A95A0560C@penguinppc.org> <87acrxjqq2.fsf@marco.marco-g.com> <94D2F302-5C36-11D9-96F9-000A95A0560C@penguinppc.org> From: Marco Gerards Date: Sun, 02 Jan 2005 13:40:04 +0000 In-Reply-To: (Hollis Blanchard's message of "Sat, 1 Jan 2005 19:36:30 -0600") Message-ID: <87mzvsq79n.fsf@marco.marco-g.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new (2.2.0) at vscan-ca.han.nl Subject: Re: Claim on IEEE1275 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jan 2005 13:55:12 -0000 Hollis Blanchard writes: > It has been pointed out to me that a simpler fix would just be to > ignore map failures. That sounds better to me... we *are* supposed to > use map, but the first 32 MB or so are probably already mapped anyways > on most systems. > > Likely the error occurs because "map" is meaningless in real-mode, and > Codegen chose to return an error in this case. I was told an > implementation in real-mode *may* provide an mmu node, so things seem > rather open-ended in this situation. > > The patch I sent earlier may get us into trouble if we want to load > things on New World that happen to fall outside the already-mapped > region (like large ramdisks). I think a better plan would be: > 1) only call map in virtual mode Right. > 2) *and* ignore map errors. We could report them as warnings in a > verbose mode for remote debugging. Ignore them in claimmap you mean, right? But doesn't #1 fix the problem already? -- Marco