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?)
Sure, done.
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 thanks !
Update : a set of patches from Matthew Garrett fixes virtual mode efi for imac12,2 (and maybe other models) : http://git.kernel.org/?p=linux/kernel/git/x86/linux-2.6-tip.git;a=shortlog;h=935a638241b0658b9749edd060f972575f9d4a78 and https://lkml.org/lkml/2011/5/19/377
It is fixed on imac12,2 at least since kernel 3.2