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

 
 

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

bug #39460: xnu kernel panics

Submitter:  Chris Murphy <chrismurphy>
Submitted:  Wed 10 Jul 2013 06:37:00 PM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  other
Release:  Reproducibility:  Every Time
Planned Release:  None

Jump to the original submission

Fri 12 Feb 2016 02:38:07 PM UTC, comment #7: 

I've just pushed several xnu patches which have fixed several xnu crashes. I suppose this was one of them.

Vladimir Serbinenko <phcoder>
Group administrator
Fri 12 Feb 2016 02:33:02 PM UTC, comment #6: 

Was it really fixed? It would be helpful to know in which commit then.

Andrei Borzenkov <arvidjaar>
Group Member
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>
Group 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.

Andrei Borzenkov <arvidjaar>
Group 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)
:&nbsp; IMG_3403.JPG this is xnu 12.3.0
:&nbsp; 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-02-12 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
    2013-11-27 chrismurphy Attached File- Added IMG_3403.JPG, #29720
    2013-07-19 arvidjaar Carbon-Copy- Added -email is unavailable-
    2013-07-10 chrismurphy Attached File- Added grub.cfg, #28531
        Attached File- Added IMG_20130710_122226-2.jpg, #28532

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code