Public bug reported:

I have been trying to create a small i386 bootimage for mac using grub efi boot 
on my new macbook air.
With precise it was not possible to use an i386 kernel on a 64bit efi firmware 
but this has been resolved with eficross.
But after installing quantal with debootstrap on a usb stick with a small vfat 
image for holding grub-efi i cannot boot the system with kernel 3.5.18. So I 
started installing the latest mainline kernel from ppa which worked without 
problems.

After installing about 10 kernels :) i found that it had to do with the
changes between kernel 3.6.4 and 3.6.5, so i investigated the changelog
file and there is some significant change for efi cross arch.

commit 31fd7858aab67b6c4104cd7323a69f257a170572
Author: Olof Johansson <o...@lixom.net>
Date:   Wed Oct 24 10:00:44 2012 -0700

    x86: efi: Turn off efi_enabled after setup on mixed fw/kernel
    
    commit 5189c2a7c7769ee9d037d76c1a7b8550ccf3481c upstream.
    
    When 32-bit EFI is used with 64-bit kernel (or vice versa), turn off
    efi_enabled once setup is done. Beyond setup, it is normally used to
    determine if runtime services are available and we will have none.
    
    This will resolve issues stemming from efivars modprobe panicking on a
    32/64-bit setup, as well as some reboot issues on similar setups.
    
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=45991
    
    Reported-by: Marko Kohtala <marko.koht...@gmail.com>
    Reported-by: Maxim Kammerer <m...@dee.su>
    Signed-off-by: Olof Johansson <o...@lixom.net>
    Acked-by: Maarten Lankhorst <maarten.lankho...@canonical.com>
    Cc: Matthew Garrett <m...@redhat.com>
    Signed-off-by: Matt Fleming <matt.flem...@intel.com>
    Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>


I wanted to take that patch and apply it to the quantal kernel but i get
an error while patching so there are more changes for efi (duh).

If someone could help me with this patch maybe this can be added to the
quantal kernel?

Regards,

William van de Velde

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete


** Tags: quantal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1082059

Title:
  default quantal kernel does not boot my macbook air

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1082059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to