Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lp1Kq-0008A8-3S for mharc-grub-devel@gnu.org; Wed, 01 Apr 2009 10:22:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lp1Ko-00089z-GV for grub-devel@gnu.org; Wed, 01 Apr 2009 10:22:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lp1Kj-00089i-Tv for grub-devel@gnu.org; Wed, 01 Apr 2009 10:22:30 -0400 Received: from [199.232.76.173] (port=57527 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lp1Kj-00089f-OC for grub-devel@gnu.org; Wed, 01 Apr 2009 10:22:25 -0400 Received: from aybabtu.com ([69.60.117.155]:60279) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lp1Kj-00075b-Dp for grub-devel@gnu.org; Wed, 01 Apr 2009 10:22:25 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1Lp1AS-0006zB-5x for grub-devel@gnu.org; Wed, 01 Apr 2009 16:11:48 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1Lp1Kg-0007Vn-Oz for grub-devel@gnu.org; Wed, 01 Apr 2009 16:22:22 +0200 Date: Wed, 1 Apr 2009 16:22:22 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090401142222.GB28777@thorin> References: <20090306195735.GA9992@thorin> <1238419927.2868.6.camel@mj> <49D0D8C8.4010801@gmail.com> <200903310106.25852.okuji@enbug.org> <1238449882.6004.50.camel@mj> <20090401132322.GE27958@thorin> <1238594684.32385.6.camel@mj> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1238594684.32385.6.camel@mj> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] build 32-bit Linux loader as `linux', rename legacy loader to `linux16' 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: Wed, 01 Apr 2009 14:22:30 -0000 On Wed, Apr 01, 2009 at 10:04:44AM -0400, Pavel Roskin wrote: > On Wed, 2009-04-01 at 15:23 +0200, Robert Millan wrote: > > On Mon, Mar 30, 2009 at 05:51:22PM -0400, Pavel Roskin wrote: > > > > > > If we are circumventing the standard Linux bootloader, perhaps we should > > > communicate this to the Linux developers. > > > > This is not circumvention. We're using a 32-bit interface that's part of their > > boot protocol specification (i.e. they promised not to break it). The only > > caveat is that so far it's only used on EFI and on coreboot, it hasn't been > > so widespread, and therefore not so widely tested yet. > > I see. It looks like the x86_64 kernel has code for printing strings in > 16-bit mode and in 64-bit mode, but not in 32-bit mode, in which we > enter the kernel. So no easy fix, unfortunately. It's possible to find a fix for this from Linux side, but IMHO the best long-term fix would be to make whoever installed Linux _and_ GRUB figure out what GRUB should do. Not too much to ask, since we give them the tools (cpuid command) to do it. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."