Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OUObs-0001rw-CW for mharc-grub-devel@gnu.org; Thu, 01 Jul 2010 14:35:40 -0400 Received: from [140.186.70.92] (port=37075 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUObl-0001rn-L3 for grub-devel@gnu.org; Thu, 01 Jul 2010 14:35:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OUObg-0006HM-75 for grub-devel@gnu.org; Thu, 01 Jul 2010 14:35:33 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:60836) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUObf-0006Gz-Vo for grub-devel@gnu.org; Thu, 01 Jul 2010 14:35:28 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o61IZNO5011381 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 1 Jul 2010 18:35:24 GMT Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o61IZL7s003476 for ; Thu, 1 Jul 2010 18:35:22 GMT Received: from abhmt007.oracle.com by acsmt353.oracle.com with ESMTP id 389351081278009283; Thu, 01 Jul 2010 11:34:43 -0700 Received: from [10.1.194.86] (/166.205.136.15) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 01 Jul 2010 11:34:43 -0700 References: <3939aba7614d81ab0dbb3b1cd5d35caa@mail.hyarros.com> <20100630094029.GN21862@riva.ucam.org> <812455549bed0694b404058d9ebde40a@mail.hyarros.com> <29469ec35f179518469146be812f293b@mail.hyarros.com> From: Seth Goldberg Content-Type: text/plain; charset=us-ascii In-Reply-To: <29469ec35f179518469146be812f293b@mail.hyarros.com> Message-Id: <06881849-C7DC-47DA-85CE-1F154C067354@oracle.com> Date: Thu, 1 Jul 2010 11:33:17 -0700 To: The development of GNU GRUB Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (iPhone Mail 8A293) X-Mailer: iPhone Mail (8A293) X-Source-IP: acsmt353.oracle.com [141.146.40.153] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4C2CDFEB.0016:SCFMA4539814,ss=1,fgs=0 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 18:35:38 -0000 Which kernel or os are you loading? Did you try setting the gfxpayload env v= ar to 1024x768? --S On Jul 1, 2010, at 10:54 AM, wrote: > Something I forgot to mention that's important -- (sorry for the spam) > -- GRUB tries to initalize with 800x600 regardless of what $gfxmode is > set to. =20 >=20 > set gfxmode=3D1024x768 >=20 > will still result in GRUB trying to initalize the video as 800x600 > after the 'boot' command is issued. >=20 > -stephen >=20 > On Thu, 01 Jul 2010 10:49:59 -0700, wrote: >> Hi everyone, >>=20 >> 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. =20 >>=20 >> 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. >>=20 >> Does anyone know why it would be trying to boot as 800x600 only and not >> the 1024? >>=20 >> I'll be looking into the code more, but thought I'd let those who are >> interested know. >>=20 >> -stephen >>=20 >> On Thu, 1 Jul 2010 08:16:34 +0200 (CEST), Reynald Lercier >> wrote: >>> Hi, >>>=20 >>> I encounter very similar problemes on a my macbook pro 15', a MBP 6,2. >>>=20 >>> (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) >>>=20 >>>=20 >>> In my case efi_video_info returns >>>=20 >>> GOP info: >>> List of video modes: >>> 0: 1680 x 1050, BGRA8, scan line 1680 >>> Current mode: 0 >>>=20 >>> Same question, what to do now with this ? >>>=20 >>> Thanks. >>>=20 >>> On Wed, 30 Jun 2010, stephen@hyarros.com wrote: >>>=20 >>>> Hi, >>>>=20 >>>> Thanks for the response. >>>>=20 >>>> After trying terminal_output, the computer screen would simply go black= >>>> and the machine would hang (the numlock key would not respond) after th= e >>>> terminal_output gfx command was executed; this would happen regardless >>>> of whether or not set gfxmode was called before. >>>>=20 >>>> I also have just tried the efi_video_info patch; the system reports: >>>>=20 >>>> GOP info: >>>> List of video modes: >>>> 0: 1024 x 768, bitonly, scan line 1024 >>>> Current mode: 0 >>>>=20 >>>> Do i need to pass this information on to the kernel somehow? >>>>=20 >>>> Thanks. >>>>=20 >>>> 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 t= he >>>>>> 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 ab= le >>>>>> to get any output yet from the acutal linux kernel; usually the syste= m >>>>>> will simply hang after the boot menu option is selected, or the 'boot= ' >>>>>> command is issued from the grub command line. >>>>>>=20 >>>>>> Currently the farthest I've gotten is using the grub command line and= >>>>>> typing in the following commands: >>>>>>=20 >>>>>> insmod efi_gop # no impact on result >>>>>> insmod ext2 >>>>>> insmod part_gpt >>>>>>=20 >>>>>> set root=3D(hd0,gpt3) >>>>>> fakeroot # optional, no impact on result >>>>>=20 >>>>> I guess that should be 'fakebios'. >>>>>=20 >>>>>> error: no suitable mode found >>>>>=20 >>>>> 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=3DMODE' (e.g. '= set >>>>> gfxmode=3D1024x768') to change its mode selection. gfxterm can help >>>>> matters here, as that way you have a working video mode that the kerne= l >>>>> can be told to inherit, rather than having to probe its own. >>>>>=20 >>>>> 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: >>>>>=20 >>>>> http://people.canonical.com/~cjwatson/tmp/grub-efivideoinfo.patch >>>>>=20 >>>>> 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. >>>>>=20 >>>>>> booting however >>>>>> _ >>>>>>=20 >>>>>> And then nothing else happens. >>>>>=20 >>>>> It's possible that the kernel may have booted successfully, but that y= ou >>>>> simply don't have a working console. It would be useful to try pingin= g >>>>> the machine to test that. >>>>>=20 >>>>>> I've also tried newreloc, but I don't think this has anything to do w= ith >>>>>> relocations. >>>>>=20 >>>>> Agreed. >>>>=20 >>>>=20 >>>>=20 >>>=20 >>>=20 >>> _______________________________________________ >>> Grub-devel mailing list >>> Grub-devel@gnu.org >>> http://lists.gnu.org/mailman/listinfo/grub-devel >>=20 >>=20 >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> http://lists.gnu.org/mailman/listinfo/grub-devel >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel