Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OUNtw-0007Ik-7j for mharc-grub-devel@gnu.org; Thu, 01 Jul 2010 13:50:16 -0400 Received: from [140.186.70.92] (port=35963 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUNto-0007IT-G3 for grub-devel@gnu.org; Thu, 01 Jul 2010 13:50:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OUNtj-00072u-84 for grub-devel@gnu.org; Thu, 01 Jul 2010 13:50:08 -0400 Received: from caiajhbdcbhh.dreamhost.com ([208.97.132.177]:39310 helo=homiemail-a24.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUNti-00071Z-UE for grub-devel@gnu.org; Thu, 01 Jul 2010 13:50:03 -0400 Received: from homiemail-a24.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a24.g.dreamhost.com (Postfix) with ESMTP id 6F3562C8075 for ; Thu, 1 Jul 2010 10:50:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=hyarros.com; h=mime-version :content-type:content-transfer-encoding:date:from:to:subject :in-reply-to:references:message-id; q=dns; s=hyarros.com; b=DgFf V7PXnm83UWAVfEmY9cKCkRHQExdHRFe1aEVxQin5RWWR7oFbo/7avlSDVeBnwZKM bbOm3bwemjDSIfxP/7VlSc5kP6MYDGEa8bMM4+YtbhTrehGhycHU1mm7BEywzMPz iNIVQMJ5luZU9+nraDP31c6o7EMRh24PNiiFZ7g= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=hyarros.com; h= mime-version:content-type:content-transfer-encoding:date:from:to :subject:in-reply-to:references:message-id; s=hyarros.com; bh=ni /7i6nML/GzUQfuQjkP24P8NjE=; b=wqBep+G6mrMkt65s+I0vgTPc3eKqSKZOAP +g9jmdcQdfpbVczJbzeiXfL33gTd2J1ApR/EJwwTxnOc/QHzPhOIJjYhKw/6u798 XUS9rAylo8VPiwe+svzOT/TyVwdafNicZ/QutN4xlMg2JSsJSFG0Qj/iRnuVIm73 p/UHToYNM= Received: from hyarros.com (praia.dreamhost.com [69.163.187.77]) (Authenticated sender: stephen@hyarros.com) by homiemail-a24.g.dreamhost.com (Postfix) with ESMTPA id 6125D2C806D for ; Thu, 1 Jul 2010 10:50:00 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Thu, 01 Jul 2010 10:49:59 -0700 From: To: The development of GNU GRUB In-Reply-To: References: <3939aba7614d81ab0dbb3b1cd5d35caa@mail.hyarros.com> <20100630094029.GN21862@riva.ucam.org> Message-ID: <812455549bed0694b404058d9ebde40a@mail.hyarros.com> X-Sender: stephen@hyarros.com User-Agent: RoundCube Webmail/0.3-beta X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: UEFI Boot with Grub-Experimental X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2010 17:50:14 -0000 Hi everyone, I've had some interesting discoveries / success with this problem in the past couple of days. Where I am I have several machines to try out. On some of the machines, it works; while on others, it doesn't. I'm pretty sure this all has to do with the video modes now. On my laptop (which also supports UEFI), there is only one video mode supported as reported by efi_video_modes: 1024x768. However, when GRUB is booting, it calls grub_video_set_mode with the string "800x600". It then fails to initialize the GOP adapter (which reports it only supports 1024x768). Then it complains that no suitable mode is found, and tries to boot nayways without a video mode set. Does anyone know why it would be trying to boot as 800x600 only and not the 1024? I'll be looking into the code more, but thought I'd let those who are interested know. -stephen On Thu, 1 Jul 2010 08:16:34 +0200 (CEST), Reynald Lercier wrote: > Hi, > > I encounter very similar problemes on a my macbook pro 15', a MBP 6,2. > > (I need full EFI booting on this machine in order to use under linux > the INTEL graphic card, instead of the NVIDIA GT330M one, and finally > increase a lot the battery run time) > > > In my case efi_video_info returns > > GOP info: > List of video modes: > 0: 1680 x 1050, BGRA8, scan line 1680 > Current mode: 0 > > Same question, what to do now with this ? > > Thanks. > > On Wed, 30 Jun 2010, stephen@hyarros.com wrote: > >> Hi, >> >> Thanks for the response. >> >> After trying terminal_output, the computer screen would simply go black >> and the machine would hang (the numlock key would not respond) after the >> terminal_output gfx command was executed; this would happen regardless >> of whether or not set gfxmode was called before. >> >> I also have just tried the efi_video_info patch; the system reports: >> >> GOP info: >> List of video modes: >> 0: 1024 x 768, bitonly, scan line 1024 >> Current mode: 0 >> >> Do i need to pass this information on to the kernel somehow? >> >> Thanks. >> >> On Wed, 30 Jun 2010 10:40:31 +0100, Colin Watson >> wrote: >>> On Wed, Jun 30, 2010 at 01:54:36AM -0700, stephen@hyarros.com wrote: >>>> After having no luck using the grub-efi-amd64 package in ubuntu, or the >>>> grub trunk, I've started trying to compile my own grub and getting it to >>>> boot on a new Intel motherboard which supports EFI. I've not been able >>>> to get any output yet from the acutal linux kernel; usually the system >>>> will simply hang after the boot menu option is selected, or the 'boot' >>>> command is issued from the grub command line. >>>> >>>> Currently the farthest I've gotten is using the grub command line and >>>> typing in the following commands: >>>> >>>> insmod efi_gop # no impact on result >>>> insmod ext2 >>>> insmod part_gpt >>>> >>>> set root=(hd0,gpt3) >>>> fakeroot # optional, no impact on result >>> >>> I guess that should be 'fakebios'. >>> >>>> error: no suitable mode found >>> >>> After 'insmod efi_gop', could you try 'insmod gfxterm' and then >>> 'terminal_output gfxterm', and see what happens? Before the >>> terminal_output command, you can also use 'set gfxmode=MODE' (e.g. 'set >>> gfxmode=1024x768') to change its mode selection. gfxterm can help >>> matters here, as that way you have a working video mode that the kernel >>> can be told to inherit, rather than having to probe its own. >>> >>> Unfortunately right now it's hard to get debugging information on EFI >>> video modes. Since you're building your own GRUB anyway, though, you >>> could try this patch against trunk: >>> >>> http://people.canonical.com/~cjwatson/tmp/grub-efivideoinfo.patch >>> >>> That will give you an 'efi_video_info' command, which should dump out >>> the available GOP modes, and might be useful to get a slightly better >>> idea of what's going on. >>> >>>> booting however >>>> _ >>>> >>>> And then nothing else happens. >>> >>> It's possible that the kernel may have booted successfully, but that you >>> simply don't have a working console. It would be useful to try pinging >>> the machine to test that. >>> >>>> I've also tried newreloc, but I don't think this has anything to do with >>>> relocations. >>> >>> Agreed. >> >> >> > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel