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

Bug#617377: linux fails to functionally boot under EFI (using grub-efi-amd64)



On Tue, 2011-03-08 at 09:30 -0500, Daniel Kahn Gillmor wrote:
> Package: linux-image-2.6.37-2-amd64
> 
> I got grub-efi-amd64 working on a very modern macbook.  When i tried to
> use it to boot linux (using both the squeeze kernel
> (linux-image-2.6.32-5-amd64) and the unstable kernel, booting the kernel
> with no parameters resulted in a hung machine with no output on the
> video console at all.
> 
> If i supplied the "noefi" kernel parameter, the machine would boot, and
> the console messages would come up, but there would be no keyboard, and
> i'd get error messages from ehci_hcd and ohci_hcd suggesting that i try
> setting pci=biosirq.  If i set both noefi and pci=biosirq, i continue
> getting the same errors.  (sorry i don't have the exact transcript of
> the error messages -- i no longer have the machine to copy them down).
> 
> I believe modern macbook kbds are connected via USB, so the module
> failures would explain why the kbd was unresponsive.
> 
> Ultimately, i gave up on booting through EFI and booted with emulated
> BIOS mode.  The machine works OK under emulated bios, but it would be
> nice to avoid the extra layer of cruft if possible.

EFI on Macs is horrifically buggy.  The BIOS emulation isn't great, but
since it's good enough to boot Windows it will generally work for Linux
too.

> They pointed in particular to this patch for running EFI in physical
> mode:
> 
>  https://patchwork.kernel.org/patch/119823/
> 
> Sorry i don't have more details at the moment.  I can gather more
> details about the machine from its owner if that would be useful.

That was not accepted upstream, so we won't apply it.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: