Jump to content

Kernel panic when wake from hibernation(general protection)


MacXZ
 Share

15 posts in this topic

Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

@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
Link to comment
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.

Link to comment
Share on other sites

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
Link to comment
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

 

 

Link to comment
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?

Link to comment
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.

  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...