Jump to content
Sign in to follow this  
Followers 0
MacXZ

Kernel panic when wake from hibernation(general protection)

15 posts in this topic

Recommended Posts

Advertisement
Posted (edited)

Hi, @MacXZ

Do your BIOS has option "EIST Coordination" or "P-State Coordination"  or "P-State Control" or something similar(please see in CPU --> CPU Power Management) ? For example "P-STATE Coordination" on attached picture

Spoiler

21299449_Screenshot2020-08-01at18_16_41.png.c532040ee9b94146e9f7fde20bc8c51e.png

 

Edited by yapan4

Share this post


Link to post
Share on other sites
Posted (edited)
10 hours ago, yapan4 said:

Hi, @MacXZ

Do your BIOS has option "EIST Coordination" or "P-State Coordination"  or "P-State Control" or something similar(please see in CPU --> CPU Power Management) ? For example "P-STATE Coordination" on attached picture

  Reveal hidden contents

21299449_Screenshot2020-08-01at18_16_41.png.c532040ee9b94146e9f7fde20bc8c51e.png

 

Yes! Did u mean hardware P-states?

Quote

Hardware P-States

Disable: Hardware chooses a P-state based on OS Request (Legacy P-States)

Native Mode: Hardware chooses a P-state based on OS guidance
Out of Band Mode: Hardware autonomously chooses a P-state (no OS guidance)

A panic log with stack info.https://pastebin.com/qpyBjZnCimage.png.42ea5349774d26f54dd3a0a6b2328a3b.png

Edited by MacXZ

Share this post


Link to post
Share on other sites
Posted (edited)

@MacXZ

First of all, I want to explain: I am the same user who has the same or a similar problem. I don't know the solution and I'm just trying to make the discussion of this problem more active.

 

The same or similar KP noticed on ASUS C422 https://www.insanelymac.com/forum/topic/335193-help-installing-mojave-on-xeon-w-2175-and-asus-ws-c422-mobo/ , ASUS C621 https://www.insanelymac.com/forum/topic/344144-xeon-w-3275-and-c621-installation/ and now on your ASrock. Motherboards Supermicro do not have this problem.

 

Experts are still silent, so I try to find some solutions on our own.

 

I think the reason lies in the missing BIOS settings on ASUS/ASrock motherboards. The required options can be hidden and simply have default values that are not suitable for macOS.

 

The AppleIntelInfo report dumped from the original McPro 2019 is taken as a sample.

 

I'm not sure about your BIOS settings(probably are the same as yours), but have you tried different options Hardware P-States? Always KP? Something is changing in AppleIntelInfo report, in particular 1AA MSR?

Screenshot 2020-08-02 at 11.52.17.png

AppleIntelInfoMP71.txt

AppleIntelInfoASUS_C422.rtf

Edited by yapan4

Share this post


Link to post
Share on other sites
13 minutes ago, yapan4 said:

@MacXZ

First of all, I want to explain: I am the same user who has the same or a similar problem. I don't know the solution and I'm just trying to make the discussion of this problem more active.

 

The same or similar KP noticed on ASUS C422 https://www.insanelymac.com/forum/topic/335193-help-installing-mojave-on-xeon-w-2175-and-asus-ws-c422-mobo/ , ASUS C621 https://www.insanelymac.com/forum/topic/344144-xeon-w-3275-and-c621-installation/ and now on your ASrock. Motherboards Supermicro do not have this problem.

 

Experts are still silent, so I try to find some solutions on our own.

 

I think the reason lies in the missing BIOS settings on ASUS/ASrock motherboards. The required options can be hidden and simply have default values that are not suitable for macOS.

 

The AppleIntelInfo report dumped from the original McPro 2019 is taken as a sample.

 

I'm not sure about your BIOS settings(probably are the same as yours), but have you tried different options Hardware P-States? Always KP? Something is changing in AppleIntelInfo report, in particular 1AA MSR?

Screenshot 2020-08-02 at 11.52.17.png

AppleIntelInfoMP71.txt

AppleIntelInfoASUS_C422.rtf

Did u use AppleXcpmExtraMsrs? I doubt it cause sleep issues.

Share this post


Link to post
Share on other sites
Posted (edited)

In Open Core Quirk AppleXcpmExtraMsrs must be until your BIOS has locked MSR 0x1AA. Otherwise you will not be able to boot macOS at all.

 

I have patched BIOS with unlocked MSR 0x1AA so I do not need this Quirk in OC or analogical kernel patch for Clover.

 

But you're right - KP during wake from sleep is somehow related to this patch.

Edited by yapan4

Share this post


Link to post
Share on other sites
Posted (edited)

Please post your AppleIntelInfo (Hackintool.app-->Utilities-->AppleIntelInfo)

 

Spoiler

691849773_Screenshot2020-08-02at13_17_04.thumb.png.1fbff7cae43f633c3d1fae149c01effb.png

 

 

 

Edited by yapan4

Share this post


Link to post
Share on other sites
22 minutes ago, yapan4 said:

In Open Core Quirk AppleXcpmExtraMsrs must be until your BIOS has locked MSR 0x1AA. Otherwise you will not be able to boot macOS at all.

 

I have patched BIOS with unlocked MSR 0x1AA so I do not need this Quirk in OC or analogical kernel patch for Clover.

 

But you're right - KP during wake from sleep is somehow related to this patch.

Okay... How to unlock MSR 0x1AA? I think I need a BIOS patch first.

12 minutes ago, yapan4 said:

Please post your AppleIntelInfo (Hackintool.app-->Utilities-->AppleIntelInfo)

 

  Reveal hidden contents

691849773_Screenshot2020-08-02at13_17_04.thumb.png.1fbff7cae43f633c3d1fae149c01effb.png

 

I have tried hackintosh, but nothing happened.

Maybe I need disable SIP first.  Then I use AppleIntelInfo.kext directly, but an panic occured.

https://pastebin.com/P81CCb0G

 

 

Share this post


Link to post
Share on other sites
2 hours ago, yapan4 said:

Or ask @Balamut, may be he solved this issue on ASUS C621 

UEFIPatch have a patch on C620, may not fit to C621.
Did u patch BIOS with UEFIPatch?

Share this post


Link to post
Share on other sites
3 hours ago, yapan4 said:

Yes, SIP must be disabled.

The same KP occured.

Quote

➜  ~ csrutil status
System Integrity Protection status: unknown (Custom Configuration).

Configuration:
    Apple Internal: disabled
    Kext Signing: disabled
    Filesystem Protections: disabled
    Debugging Restrictions: disabled
    DTrace Restrictions: disabled
    NVRAM Protections: disabled
    BaseSystem Verification: disabled

Maybe I must unlock  MSR 0x1AA first?

Share this post


Link to post
Share on other sites
Posted (edited)

@MacXZ

I patched by @metacollin's method, it's OK for my MoBo. But, as you see in topic on another forum, two ASrock users have NO success.  So possibly this method not suitable for ASRock!?

Edited by yapan4

Share this post


Link to post
Share on other sites
11 hours ago, yapan4 said:

@MacXZ

I patched by @metacollin's method, it's OK for my MoBo. But, as you see in topic on another forum, two ASrock users have NO success.  So possibly this method not suitable for ASRock!?

In fact, I have flash a BIOS which unlock MSR 0xE2, then I can not boot Mac OS.

I compare BIOS, some funtions and keyword changes.  It works after I do some SSDT patch.

UEFEPatch may have different case...

 

Okay.. I try to give a discuss on github to find a solution.

Share this post


Link to post
Share on other sites
15 hours ago, MacXZ said:

Okay.. I try to give a discuss on github to find a solution.

Please, share link(when be available).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

Announcements

×