From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KHidN-0001oy-By for mharc-grub-devel@gnu.org; Sat, 12 Jul 2008 13:11:45 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KHidK-0001oe-Tf for grub-devel@gnu.org; Sat, 12 Jul 2008 13:11:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KHidI-0001oO-5c for grub-devel@gnu.org; Sat, 12 Jul 2008 13:11:41 -0400 Received: from [199.232.76.173] (port=57100 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KHidH-0001oL-U1 for grub-devel@gnu.org; Sat, 12 Jul 2008 13:11:39 -0400 Received: from aybabtu.com ([69.60.117.155]:40428) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KHidH-00009z-KS for grub-devel@gnu.org; Sat, 12 Jul 2008 13:11:39 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1KHiYP-0003qM-AL for grub-devel@gnu.org; Sat, 12 Jul 2008 19:06:39 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1KHicW-0007m8-I2 for grub-devel@gnu.org; Sat, 12 Jul 2008 19:10:52 +0200 Date: Sat, 12 Jul 2008 19:10:52 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080712171052.GA29804@thorin> References: <486820D7.2030404@isaac.cedarswampstudios.org> <486FFD84.5000607@isaac.cedarswampstudios.org> <487392C9.40208@isaac.cedarswampstudios.org> <20080712144131.GE25455@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] New x86_64 EFI patch 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: Sat, 12 Jul 2008 17:11:43 -0000 On Sat, Jul 12, 2008 at 11:26:25PM +0800, Bean wrote: > On Sat, Jul 12, 2008 at 11:16 PM, Bean wrote: > >> Can you be more specific? I thought grub was completely agnostic about Linux > >> parameters. > > > > In the parameter passed to linux kernel, there are fields for video > > adapter information, for example, frame buffer address, line length, > > etc. Normally, we don't have to worry about it, but in the case of > > efi, we must fill it in, as kernel can't detect the information > > properly. > > Hi, > > BTW, it's the real mode part of Linux kernel that takes care of such > job. It gathers video information by querying vbe. But in efi, we skip > the real mode part and jump to protected mode directly, so we must > also provide kernel with similar information that would be setup by > the real mode part. Ah, I suppose this explains why Linux crashes when we try to load it via grub-linuxbios (I reused the i386-pc loader when doing the port, unaware that this would be an issue). -- Robert Millan I know my rights; I want my phone call! What good is a phone call… if you are unable to speak? (as seen on /.)