From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: FW: grub-efi with latest mac mini
Date: Sat, 09 Jun 2012 13:21:30 +0200 [thread overview]
Message-ID: <4FD331BA.8090908@gmail.com> (raw)
In-Reply-To: <654DF80AD31A344E93DBCC6280BD6DEF4ADA7583@NL0230MBX08N1.DIR.slb.com>
[-- Attachment #1: Type: text/plain, Size: 3179 bytes --]
On 09.06.2012 13:16, John Frankish wrote:
>> -----Original Message-----
>> From: grub-devel-bounces+j-frankish=slb.com@gnu.org [mailto:grub-devel-
>> bounces+j-frankish=slb.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.
>
> I didn't try it again - I note that it did not create /mnt/sda1/EFI/BOOT/grub/fonts, nor copy unicode.pf2 into /fonts
>
Do you have /usr/share/grub/unicode.pf2 ?
>>>>>>> Insmod videotest
>>>>>>> Insmod efi_gop
>>>>>>> Videotest
>>>>>>> [drops down a line, but no further output] <ctrl c> 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="800x600" explicitly? (try other resolutions as well)
>>>>>>
>>>>> videoinfo
>>>>> List of supported video modes:
>>>>> Legend: mask/position = 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=1280x1024x32
>>>>>
>>>>
>>>> But does it make videotest work?
>>>
>>> No, same thing - after <ctrl c> I get color 0, etc
>>>
>>
>> Hm, sounds like there is a firmware bug in GOP. What a surprise.
>
> insmod font
> loadfont unicode
> set debug=video
> 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
> <ctrl c>
> color 0...
Could you try reverting r4365 ? How many graphics cards and how many
outputs do you have?
>
>>>> 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 is
>> either Linux or Apple hardware init.
>>
> I note the hd controller does not start in ahci mode with grub legacy, but otherwise OK.
>
It's just another indication of what I told.
> Should the fakebios command help with grub2-efi?
Probably not.
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
next prev parent reply other threads:[~2012-06-09 11:21 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-04 8:12 grub-efi with latest mac mini John Frankish
2012-06-04 8:52 ` Georg Wicherski
2012-06-04 9:57 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-04 10:22 ` John Frankish
2012-06-08 12:58 ` FW: " John Frankish
2012-06-08 13:46 ` Georg Wicherski
2012-06-08 14:18 ` John Frankish
2012-06-08 15:29 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-08 17:35 ` John Frankish
2012-06-08 17:45 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-08 17:57 ` John Frankish
2012-06-08 18:20 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-09 7:35 ` John Frankish
2012-06-09 7:40 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-09 8:57 ` John Frankish
2012-06-09 9:09 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-09 10:29 ` John Frankish
2012-06-09 10:49 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-09 11:16 ` John Frankish
2012-06-09 11:21 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2012-06-09 11:42 ` John Frankish
2012-06-09 12:00 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-09 12:09 ` John Frankish
2012-06-09 18:05 ` Chris Murphy
2012-06-10 21:38 ` FW: " Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-11 4:42 ` John Frankish
2012-06-20 5:48 ` John Frankish
2012-06-20 7:25 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-20 7:41 ` John Frankish
2012-06-21 5:38 ` John Frankish
2012-06-22 11:24 ` John Frankish
2012-06-08 18:08 ` irrational John
2012-06-08 18:34 ` Chris Murphy
2012-06-08 18:50 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-08 18:57 ` Seth Goldberg
2012-06-08 19:06 ` Chris Murphy
2012-06-08 19:17 ` Seth Goldberg
2012-06-08 19:01 ` Chris Murphy
2012-06-08 19:18 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-06-09 0:56 ` Chris Murphy
2012-06-08 20:01 ` Georg Wicherski
2012-06-09 0:58 ` Chris Murphy
2012-06-09 12:07 ` Georg Wicherski
2012-06-09 18:02 ` Chris Murphy
2012-06-09 18:42 ` Georg Wicherski
2012-06-09 19:19 ` Chris Murphy
2012-06-09 20:52 ` Georg Wicherski
2012-06-10 19:37 ` Chris Murphy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FD331BA.8090908@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.