grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FW: grub-efi with latest mac mini


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: FW: grub-efi with latest mac mini
Date: Sat, 09 Jun 2012 13:21:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4

On 09.06.2012 13:16, John Frankish wrote:

>> -----Original Message-----
>> From: address@hidden [mailto:grub-devel-
>> address@hidden On Behalf Of Vladimir 'f-
>> coder/phcoder' Serbinenko
>> Sent: Saturday, 09 June, 2012 14:50
>> To: address@hidden
>> 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: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]