Kernel Bug Tracker – Bug 23202
efi: need physical mode to boot in EFI mode properly on new macbook airs
Last modified: 2012-08-14 13:06:50 UTC
Created attachment 37432 [details]
run EFI in physical mode
I'm unable to boot without 'noefi' on the new MacBookAir3,1 model. I found a patch from Takao Indoh that allows booting in physical mode instead of virtual. Updated it for 2.6.37-rc2 and gave it a shot, and now everything's working without 'noefi', which fixes some IRQ assignment problems with the USB and SATA controllers.
Not sure if this should be enabled by default; if requested I can rework the patch to default to virtual mode, with a cmdline param for physical.
We have had some serious discussion about always doing physical mode, and this would sort of confirm that physical mode should at least be the default, if not the only mode.
Could you post this patch to LKML for review (and Cc: me, please?)
This patch also works on intel dp55wg motherboard with intel uefi. Without it it can only boot in uniprocessor mode and noefi kernel cmdline
PS but kernel still hangs on usb initialization
That patch does wonders on iMac12,2 27" (latest with sandy bridge), applied on kernel 2.6.38, booted through grub-efi in debian/wheezy
* only kernel option needed is radeon.modeset=0,
(because of https://bugs.freedesktop.org/show_bug.cgi?id=27314)
* usb, reboot, halt work
Update : a set of patches from Matthew Garrett fixes virtual mode efi for imac12,2 (and maybe other models) :
It is fixed on imac12,2 at least since kernel 3.2