bugGNU GRUB - Bugs: bug #39460, xnu kernel panics

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #39460: xnu kernel panics

Submitted by:  Chris Murphy <chrismurphy>
Submitted on:  Wed 10 Jul 2013 06:37:00 PM UTC  
 
Category: BootingSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: OpenRelease: 
Release: otherReproducibility: Every Time
Planned Release: None

Sat 01 Mar 2014 11:27:29 PM UTC, comment #5:

I could reproduce some parts of this bug if trying to load 64-bit kernel ontop of 32-bit EFI. Investigating.

Vladimir Serbinenko <phcoder>
Project Administrator
Tue 07 Jan 2014 09:08:21 AM UTC, comment #4:

We both were attempting to use xnu loader on EFI which apparently does not work (was it ever supposed to in the first place?)

I just retested with 2.02 beta2 using rescue CD which I explicitly restricted to i386-pc platform only (so it boots in CSM). It boots OS X just fine on the same MacBook I had issues before.

I'll post followup discussion on grub-devel.

Andrey Borzenkov <arvidjaar>
Project Member
Wed 27 Nov 2013 10:48:07 PM UTC, comment #3:

Also, I'm only trying 64-bit kernel. There hasn't be a 32bit xnu for some time, since OS X 10.6 I think.

Chris Murphy <chrismurphy>
Wed 27 Nov 2013 10:45:58 PM UTC, comment #2:

Both photos show kp on the same hardware, a MacbookPro 4,1 (2008)
file #29720: IMG_3403.JPG, this is xnu 12.3.0
file #28532: IMG_20130710_122226-2.jpg, this is xnu 12.5.0

Chris Murphy <chrismurphy>
Wed 10 Jul 2013 06:47:26 PM UTC, comment #1:

I think it should be considered to simplify the os x specific code in os-prober and grub-mkconfig and instead chainload the Apple boot loader, unless someone can think of really good reasons why a grub xnu specific bootloader is necessary instead of the Apple one.

Chris Murphy <chrismurphy>
Wed 10 Jul 2013 06:37:00 PM UTC, original submission:

Release: grub2-efi-2.00-23.fc19.x86_64

To reproduce:
1. Updated to grub2-efi-2.00-23.fc19.x86_64
2. Clear NVRAM of all boot entries.
3. mount /dev/sda1 /boot/efi to mount the FAT32 ESP (instead of the default Fedora hfs+ ESP)
4. grub2-install
5. grub2-mkconfig -o /boot/grub2/grub.cfg
6. reboot
7. At grub menu, choose OS X 64bit entry.

Actual results:
xnu kernel panics

Expected results:
Boots normally.

Regression:
chainloading the Apple bootloader allows xnu to boot normally without kp, as does holding down the option key and choosing the firmware listed OS X volume boot option. So it's definitely some issue with the xnu module.

Also, this doesn't work with any xnu 12.x or 11.x kernel (which goes back 1 and 2 years respectively). I'm not sure which version of xnu it does work with.

Chris Murphy <chrismurphy>

 

Attached Files
file #29720:  IMG_3403.JPG added by chrismurphy (528kB - image/jpeg)
file #28531:  grub.cfg added by chrismurphy (12kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by arvidjaar (Posted a comment)
  • -unavailable- added by arvidjaar
  • -unavailable- added by chrismurphy (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 27 Nov 2013 10:44:08 PM UTCchrismurphyAttached File-=>Added IMG_3403.JPG, #29720
    Fri 19 Jul 2013 08:12:50 PM UTCarvidjaarCarbon-Copy-=>Added -unavailable-
    Wed 10 Jul 2013 06:37:00 PM UTCchrismurphyAttached File-=>Added grub.cfg, #28531
      Attached File-=>Added IMG_20130710_122226-2.jpg, #28532

    Back to the top


    Powered by Savane 3.1-cleanup