trulyspinach / SMCAMDProcessor

Power management, monitoring and VirtualSMC plugin for AMD processors
BSD 3-Clause "New" or "Revised" License
1.04k stars 90 forks source link

Kernel panic on Threadripper 1950X #38

Closed suntrix closed 4 years ago

suntrix commented 4 years ago

I'm using OpenCore 0.5.7 / MacPro7,1 & I got this kernel panic during boot:

panic(cpu 12 caller 0xffffff800e24ea44): "Attempt to re-register power management interface--AICPM present in xcpm mode? 0xffffff7f94ef4588->0xffffff7f94f45ab0"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.101.6/osfmk/i386/pmCPU.c:1047
Backtrace (CPU 12), Frame : Return Address
0xffffff83c3563ab0 : 0xffffff800e1215cd 
0xffffff83c3563b00 : 0xffffff800e25a3c5 
0xffffff83c3563b40 : 0xffffff800e24bf7e 
0xffffff83c3563b90 : 0xffffff800e0c7a40 
0xffffff83c3563bb0 : 0xffffff800e120c97 
0xffffff83c3563cb0 : 0xffffff800e121087 
0xffffff83c3563d00 : 0xffffff800e8c2c7c 
0xffffff83c3563d70 : 0xffffff800e24ea44 
0xffffff83c3563d80 : 0xffffff7f94f2cb56 
0xffffff83c3563dc0 : 0xffffff7f94f285e4 
0xffffff83c3563de0 : 0xffffff800e808c06 
0xffffff83c3563e40 : 0xffffff800e808741 
0xffffff83c3563ef0 : 0xffffff800e807ade 
0xffffff83c3563f50 : 0xffffff800e80a296 
0xffffff83c3563fa0 : 0xffffff800e0c713e 
      Kernel Extensions in backtrace:
         com.apple.driver.AppleIntelCPUPowerManagement(222.0)[26061535-11D1-3F9A-AE00-54B47B5D2607]@0xffffff7f94f27000->0xffffff7f94f50fff

BSD process name corresponding to current thread: kernel_task
Boot args: -v npci=0x2000 agdpmod=pikera 

Mac OS version:
19E287

Kernel version:
Darwin Kernel Version 19.4.0: Wed Mar  4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64
Kernel UUID: AB0AA7EE-3D03-3C21-91AD-5719D79D7AF6
Kernel slide:     0x000000000de00000
Kernel text base: 0xffffff800e000000
__HIB  text base: 0xffffff800df00000
System model name: MacPro7,1 (Mac-27AD2F918AE68F61)
System shutdown begun: NO
Panic diags file available: YES (0x0)

System uptime in nanoseconds: 24309123443

My kext order (if it helps):

trulyspinach commented 4 years ago

Hi, this problem was caused by AICPM, not this kext, you should either disable it with NullCPUPM or the kernel patch.

suntrix commented 4 years ago

I already use DummyPowerManagement

I got it to boot by shuffling kexts around & switching to iMacPro1,1.

Now my kext order is: