Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KBOou-0003GJ-Jt for mharc-grub-devel@gnu.org; Wed, 25 Jun 2008 02:49:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KBOos-0003GC-Re for grub-devel@gnu.org; Wed, 25 Jun 2008 02:49:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KBOor-0003G0-Aw for grub-devel@gnu.org; Wed, 25 Jun 2008 02:49:29 -0400 Received: from [199.232.76.173] (port=53497 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBOor-0003Fu-6W for grub-devel@gnu.org; Wed, 25 Jun 2008 02:49:29 -0400 Received: from mx20.gnu.org ([199.232.41.8]:15379) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KBOoq-0003fH-NL for grub-devel@gnu.org; Wed, 25 Jun 2008 02:49:28 -0400 Received: from ag-out-0708.google.com ([72.14.246.251]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KBOop-0007zO-Sp for grub-devel@gnu.org; Wed, 25 Jun 2008 02:49:28 -0400 Received: by ag-out-0708.google.com with SMTP id 31so14206415agc.10 for ; Tue, 24 Jun 2008 23:49:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=d5POMlMPRZEyiXwZz/Qmn0+x4FIgI0MCtbEffZofi0s=; b=sgz4dNUOagVc4cqUU2xIT3WkJb01ABtQBGonL7XlCjXWCUDo2YbgMPpig5+0RBjFMB uqFktEydpU1XJkiUay3lACCZv3tudKfR06+bZh3iQJ2bCZoqOiSbaXkCb862CKhB1D1P k04FtPIXdwufPHgq+8fxIey0Np5D9HfbV+dZQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=pLf6fLCN4NkgyL6/DpCrstjL5XiUCrke7A3BhupQh6nL6DNStoQSN4RMQgYdctCJcc sjeugEaWTNhIZIOXfE36rrhS1sYa5p/7OihcukFtf/sA2aB7ro67DwynAUlrdlRt02Db 1Bx3KMADFRJXFp864tB3lP8/4hZKST0i7iuNg= Received: by 10.110.50.19 with SMTP id x19mr7970366tix.36.1214376564767; Tue, 24 Jun 2008 23:49:24 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Tue, 24 Jun 2008 23:49:24 -0700 (PDT) Message-ID: Date: Wed, 25 Jun 2008 14:49:24 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <48616E3E.5010508@isaac.cedarswampstudios.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4860EE1F.7000207@isaac.cedarswampstudios.org> <48612762.1090808@isaac.cedarswampstudios.org> <48616E3E.5010508@isaac.cedarswampstudios.org> X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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: Wed, 25 Jun 2008 06:49:31 -0000 On Wed, Jun 25, 2008 at 5:59 AM, Isaac Dupree wrote: > Bean wrote: >>>> >>>> Also, you can try adding video=efifb to the command line, does it show >>>> kernel message ? >>> >>> I'll try that soon, does it need any special customization of the kernel? >> >> You can try the kernel I extract from Fedora's efidisk: >> >> http://grub4dos.sourceforge.net/grub2/efi.rar >> >> It's 2.6.25. But there is a small problem with this kernel, the screen >> would scramble after some kernel output. This is caused by the agp >> driver, not grub's fault. > > Results: > Whatever linux kernel I pick, adding video=efifb to its commandline causes > grub to output a couple extra lines in response to `linux`: > Video mode: 1280x800-32@59 > Video framebuffer: 80000000 > > Even with video=efifb, the Ubuntu kernel works no better. But that Fedora > kernel you mentioned, does work: > - with video=efifb, the penguin and kernel messages flash onto the screen > for a moment before the screen turns into gibberish. > - without, the screen just turns into different gibberish, which is still an > improvement over the GRUB screen remaining there :-) > > Of course, that Linux kernel doesn't bring me to anything *usable*... but it > shows that we're loading Linux and it's probably possible to work in > practice by compiling a new enough Linux with the right configs (and maybe > patches) > > I'm using the 2.6.25 kernel from debian sid, it works fine. I think ubuntu can use debian packages as well. To solve the screen problem, you need the following command line: video=efifb agp=off If you're interested, you can also try amd64 kernel. You can use it on 686 linux directly, no need to install a full amd64 system. >>>>> - appleloader always tells me "Model : Core Duo/Solo" and nothing else >>>>> (no >>>>> matter whether I give it a parameter or not). If I say "boot" nothing >>>>> happens, it just stays in GRUB prompt and I can enter more commands. >>>>> (admittedly, I think I didn't *have* anything to boot in my CD drive, >>>>> USB >>>>> or MBR) >>>> >>>> The model is quite old, it's possible that it uses xom. Is there a >>>> /System/Library/CoreServices/xom.efi in the OSX partition ? >>> >>> only one year old :))) >> >> Interesting, according to refit, this should be an early 2006 model. >> Refit does work, doesn't it ? > > refit doesn't tell *me* anything about the model when I'm in refit. In case > what your appleloader says was confusing you, I actually have a 2.16 GHz > Intel Core 2 Duo CPU (yes, 64-bit capable, I've just never used it in that > way). I'm still running refit 0.9 though since I never yet bothered to > upgrade to 0.10 or 0.11, and since it works fine for me. I take a look at 0.9 source, the handling is the same. Are you sure you type the command exactly as it is ? appleloader HD boot You can also try my compiled version, see if it works. -- Bean