From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lp0Pk-0000nU-7c for mharc-grub-devel@gnu.org; Wed, 01 Apr 2009 09:23:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lp0Pi-0000jv-EQ for grub-devel@gnu.org; Wed, 01 Apr 2009 09:23:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lp0Pd-0000Zj-JU for grub-devel@gnu.org; Wed, 01 Apr 2009 09:23:29 -0400 Received: from [199.232.76.173] (port=52074 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lp0Pd-0000ZU-Ea for grub-devel@gnu.org; Wed, 01 Apr 2009 09:23:25 -0400 Received: from aybabtu.com ([69.60.117.155]:43880) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lp0Pc-0004U9-Ph for grub-devel@gnu.org; Wed, 01 Apr 2009 09:23:25 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1Lp0FL-0006ov-PC for grub-devel@gnu.org; Wed, 01 Apr 2009 15:12:48 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1Lp0Pa-0007MR-8B for grub-devel@gnu.org; Wed, 01 Apr 2009 15:23:22 +0200 Date: Wed, 1 Apr 2009 15:23:22 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090401132322.GE27958@thorin> References: <20090306195735.GA9992@thorin> <1238419927.2868.6.camel@mj> <49D0D8C8.4010801@gmail.com> <200903310106.25852.okuji@enbug.org> <1238449882.6004.50.camel@mj> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1238449882.6004.50.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 13:23:30 -0000 On Mon, Mar 30, 2009 at 05:51:22PM -0400, Pavel Roskin wrote: > On Tue, 2009-03-31 at 01:06 +0900, Yoshinori K. Okuji wrote: > > On Monday 30 March 2009 23:35:52 phcoder wrote: > > > I confirm. I suppose that this check and message is bypassed with 32-bit > > > loading mode. IMO grub2 should provide an equivlent of this check. We > > > already have cpuid code. Does anyone know how to determine if kernel is > > > i386 or amd64? > > > > I don't know any reliable way. Some candidates: > > > > - The ramdisk max value. On 32-bit, initrd may not be loaded onto over 2GB. > > This is hard to change in Linux, so we can expect that this will not change. > > 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. -- 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."