From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1SdJjh-0001KG-38 for mharc-grub-devel@gnu.org; Sat, 09 Jun 2012 07:21:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdJje-0001Jr-LD for grub-devel@gnu.org; Sat, 09 Jun 2012 07:21:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SdJjc-0000pF-Mu for grub-devel@gnu.org; Sat, 09 Jun 2012 07:21:38 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:48076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdJjc-0000oy-AL for grub-devel@gnu.org; Sat, 09 Jun 2012 07:21:36 -0400 Received: by wibhm14 with SMTP id hm14so1010998wib.12 for ; Sat, 09 Jun 2012 04:21:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=huqp+T3N8EDImakhadstOywF9qU+6B9QM4vez/lViWE=; b=a38m77RFjXOS/3tHK4sqGNZZvge9swBe2NOy5MphIyN9CEN6P36xAGeKmVSQK3/bkm Vl8NqiR4wbMn8KWcOwuUUyege29m/0h/doT29G1pU6B2BGfktVZbh0sQRxEghITUiJso Q4iKzXhsgGb1YLsXUsO5nxHmUPIH8NgSn0cLkKyyo1Wds+R6HnBPoextX5mu58SWhI8U JjNGm577E5F8z0LiUR/ND98o72BbbkzuHj6svj6oN8IGSwjolRLhm38NhyybbFeTkgAk SAoEjFyk3u9wVU0QSG5M+DhnQV2wLYxHselejd1HrAj0MHtKHpf2vkMlC3liSocB5tp5 1HJw== Received: by 10.180.24.39 with SMTP id r7mr7339554wif.9.1339240894190; Sat, 09 Jun 2012 04:21:34 -0700 (PDT) Received: from debian.x201.phnet (42-66.62-81.cust.bluewin.ch. [81.62.66.42]) by mx.google.com with ESMTPS id hv7sm13398959wib.0.2012.06.09.04.21.32 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 09 Jun 2012 04:21:33 -0700 (PDT) Message-ID: <4FD331BA.8090908@gmail.com> Date: Sat, 09 Jun 2012 13:21:30 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: FW: grub-efi with latest mac mini References: <654DF80AD31A344E93DBCC6280BD6DEF4ADA4F37@NL0230MBX08N1.DIR.slb.com> <4FCC8675.5050905@gmail.com> <654DF80AD31A344E93DBCC6280BD6DEF4ADA70E5@NL0230MBX08N1.DIR.slb.com> <4FD21A3E.7040901@gmail.com> <654DF80AD31A344E93DBCC6280BD6DEF4ADA7276@NL0230MBX08N1.DIR.slb.com> <4FD23A37.9010503@gmail.com> <654DF80AD31A344E93DBCC6280BD6DEF4ADA72A1@NL0230MBX08N1.DIR.slb.com> <4FD24266.105@gmail.com> <654DF80AD31A344E93DBCC6280BD6DEF4ADA74C1@NL0230MBX08N1.DIR.slb.com> <4FD2FDEC.8020102@gmail.com> <654DF80AD31A344E93DBCC6280BD6DEF4ADA74FC@NL0230MBX08N1.DIR.slb.com> <4FD312D6.1040000@gmail.com> <654DF80AD31A344E93DBCC6280BD6DEF4ADA754D@NL0230MBX08N1.DIR.slb.com> <4FD32A3B.105@gmail.com> <654DF80AD31A344E93DBCC6280BD6DEF4ADA7583@NL0230MBX08N1.DIR.slb.com> In-Reply-To: <654DF80AD31A344E93DBCC6280BD6DEF4ADA7583@NL0230MBX08N1.DIR.slb.com> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig210E48565BE015A2B6D34CA4" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.171 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 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: Sat, 09 Jun 2012 11:21:40 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig210E48565BE015A2B6D34CA4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 09.06.2012 13:16, John Frankish wrote: >> -----Original Message----- >> From: grub-devel-bounces+j-frankish=3Dslb.com@gnu.org [mailto:grub-dev= el- >> bounces+j-frankish=3Dslb.com@gnu.org] On Behalf Of Vladimir 'f- >> coder/phcoder' Serbinenko >> Sent: Saturday, 09 June, 2012 14:50 >> To: grub-devel@gnu.org >> Subject: Re: FW: grub-efi with latest mac mini >>>>>>>> What does grub-probe -t fs /boot/grub say Do you run everything >>>>>>>> as >>>>>> root? >>>>>>> >>>>>>> $ sudo grub-probe -t fs /boot/grub >>>>>>> Error: failed to get canonical path of /boot/grub $ sudo >>>>>>> grub-probe -t fs /efi/boot >>>>>>> Error: failed to get canonical path of /efi/boot >>>>>>> >>>>>> >>>>>> Do you have those directories? >>>>> >>>>> Yes: >>>>> /mnt/sda1/EFI/BOOT (fat) >>>>> /mnt/sda2/boot/grub (hfs+) >>>> >>>> /mnt/sda1/EFI/BOOT isn't /efi/boot. >>> >>> Agreed, but it didn't find /mnt/sda2/boot/grub either... >>> >> >> I don't have the exact output for those. Do you still have any problem= with >> grub-install. >=20 > I didn't try it again - I note that it did not create /mnt/sda1/EFI/BOO= T/grub/fonts, nor copy unicode.pf2 into /fonts >=20 Do you have /usr/share/grub/unicode.pf2 ? >>>>>>> Insmod videotest >>>>>>> Insmod efi_gop >>>>>>> Videotest >>>>>>> [drops down a line, but no further output] Color 0: >>>>>>> ff000000 Color 1: ffa80000 ... >>>>>>> Color 15: fffefefe >>>>>>> >>>>>>> Note that the video is output via hdmi -> dvi adapter that came >>>>>>> with the mac mini >>>>>> >>>>>> What does "videoinfo" say? Does "videotext" work if you set >>>>>> gfxmode=3D"800x600" explicitly? (try other resolutions as well) >>>>>> >>>>> videoinfo >>>>> List of supported video modes: >>>>> Legend: mask/position =3D red/green/blue/reserved >>>>> Adapter: `EFI GOP driver`: >>>>> 0x000 1280 x 1024 x 32 direct color, mask 8/8/8/8 pos: 16/8/0/24 >>>>> >>>>> gfxmode=3D1280x1024x32 >>>>> >>>> >>>> But does it make videotest work? >>> >>> No, same thing - after I get color 0, etc >>> >> >> Hm, sounds like there is a firmware bug in GOP. What a surprise. >=20 > insmod font > loadfont unicode > set debug=3Dvideo > videotest > video/efi_gop.c 388: GOP: keeping mode 0 > video/efi_gop.c 496: GOP: initializing FB @ 0x91000000 1280x1024x32 > video/efi_gop.c 521: GOP: success > > color 0... Could you try reverting r4365 ? How many graphics cards and how many outputs do you have? >=20 >>>> USB problem is on Linux side. >>> >>> A combination of rEFIt/grub classic on the 4th (ext3) partition boots= the >> same vmlinuz/initrd without problems. >> >> You probably boot in BIOS mode with GRUB Legacy which results in >> completely different hardware init and presence of BIOS tables in >> 0xa0000-0x100000 range. This probably makes difference but the issue i= s >> either Linux or Apple hardware init. >> > I note the hd controller does not start in ahci mode with grub legacy, = but otherwise OK. >=20 It's just another indication of what I told. > Should the fakebios command help with grub2-efi? Probably not. --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig210E48565BE015A2B6D34CA4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk/TMbsACgkQNak7dOguQgl5FwD+NJ5IWvmsFC3FVUPmii/j3A4o ZaVAjFWs+kQiQ6/w4ScBAL/tSrXfMzQiKFiYJUPnW67f5cAjGIYauhc9nDYGjp4n =evZ9 -----END PGP SIGNATURE----- --------------enig210E48565BE015A2B6D34CA4--