Contribute
Register

Ivy Bridge Power Management Kernel Panic

Status
Not open for further replies.
10,2, no -xcpm, no flags:
Code:
Anonymous UUID:       D30C92AF-91F7-C45C-E54C-6C06411C2653

Tue Jul 14 09:24:33 2015

*** Panic Report ***
panic(cpu 3 caller 0xffffff7f8fb2676c): pmLock: waited too long, held by 2@0xffffff800dc21631
Backtrace (CPU 3), Frame : Return Address
0xffffff811c3abcb0 : 0xffffff800db2bda1 
0xffffff811c3abd30 : 0xffffff7f8fb2676c 
0xffffff811c3abd70 : 0xffffff7f8fb171e9 
0xffffff811c3abe60 : 0xffffff7f8fb165b4 
0xffffff811c3abf20 : 0xffffff800dc1985e 
0xffffff811c3abf40 : 0xffffff800db42e6b 
0xffffff811c3abf90 : 0xffffff800db433b0 
0xffffff811c3abfb0 : 0xffffff800dc125b7 
      Kernel Extensions in backtrace:
          com.apple.driver.AppleIntelCPUPowerManagement(218.0)[060D1763-7117-3950-B83F-5AEAAD2027DA]@0xffffff7f8fb14000->0xffffff7f8fb3efff

BSD process name corresponding to current thread: kernel_task
Boot args: -v dart=0 nv_disable=1 kext-dev-mode=1 

Mac OS version:
14E46

Kernel version:
Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64
Kernel UUID: E3C26B2F-8B97-3F1D-B193-690F7E34F830
Kernel slide:     0x000000000d800000
Kernel text base: 0xffffff800da00000
__HIB  text base: 0xffffff800d900000
System model name: MacBookPro10,2 (Mac-AFD8A9D944EA4843)

System uptime in nanoseconds: 65111057272
last loaded kext at 7227269102: com.apple.driver.ApplePlatformEnabler    2.2.0d4 (addr 0xffffff7f8fd41000, size 20480)
loaded kexts:
com.evosx86.driver.lspcidrv    1.0
com.intel.driver.EnergyDriver    2.0
at.obdev.nke.LittleSnitch    4234
org.emlydinesh.driver.ApplePS2SmartTouchPad    4.4.5
org.emlydinesh.driver.ApplePS2Keyboard    4.4.5
org.rehabman.driver.FakePCIID    1.1.2
org.emlydinesh.driver.ApplePS2Controller    4.4.5
org.netkas.driver.FakeSMC    1655
org.rehabman.driver.AppleSmartBatteryManager    1.55
com.apple.driver.ApplePlatformEnabler    2.2.0d4
com.apple.driver.X86PlatformShim    1.0.0
com.apple.driver.AGPM    110.19.6
com.apple.driver.AppleHDAHardwareConfigDriver    272.18.1
com.apple.driver.AppleHDA    999.1.1fc1
com.apple.iokit.IOBluetoothSerialManager    4.3.5f8
com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
com.apple.driver.AppleUpstreamUserClient    3.6.1
com.apple.iokit.IOUserEthernet    1.0.1
com.apple.Dont_Steal_Mac_OS_X    7.0.0
com.apple.driver.AppleHWAccess    1
com.apple.driver.AppleMuxControl    3.10.24
com.apple.driver.AppleHV    1
com.apple.driver.AppleOSXWatchdog    1
com.apple.driver.AppleSMCPDRC    1.0.0
com.apple.driver.AppleBacklight    170.7.4
com.apple.driver.AppleMCCSControl    1.2.12
com.apple.driver.AppleLPC    1.7.3
com.apple.driver.AppleIntelSlowAdaptiveClocking    4.0.0
com.apple.driver.AppleFIVRDriver    4.1.0
com.apple.driver.AppleIntelHD4000Graphics    10.0.6
com.apple.driver.AppleIntelFramebufferCapri    10.0.6
com.apple.iokit.SCSITaskUserClient    3.7.5
com.apple.driver.AppleFileSystemDriver    3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0
com.apple.BootCache    36
com.apple.driver.AppleUSBHub    705.4.2
com.apple.driver.XsanFilter    404
com.apple.driver.AirPort.Brcm4331    800.20.24
com.apple.driver.AppleSDXC    1.6.5
com.apple.iokit.IOAHCIBlockStorage    2.7.1
com.apple.iokit.IOAHCIPassThrough    1.0.3
com.apple.driver.AppleUSBXHCI    710.4.11
com.apple.driver.AppleUSBEHCI    705.4.14
com.apple.iokit.AppleBCM5701Ethernet    10.1.3
com.apple.driver.AppleAHCIPort    3.1.2
com.apple.driver.AppleACPIButtons    3.1
com.apple.driver.AppleACPIEC    3.1
com.apple.driver.AppleRTC    2.0
com.apple.driver.AppleHPET    1.8
com.apple.driver.AppleSMBIOS    2.1
com.apple.driver.AppleAPIC    1.7
com.apple.driver.AppleIntelCPUPowerManagementClient    218.0.0
com.apple.nke.applicationfirewall    161
com.apple.security.quarantine    3
com.apple.security.TMSafetyNet    8
com.apple.driver.AppleIntelCPUPowerManagement    218.0.0
com.apple.driver.DspFuncLib    272.18.1
com.apple.kext.OSvKernDSPLib    1.15
com.apple.iokit.IOSerialFamily    11
com.apple.driver.IOPlatformPluginLegacy    1.0.0
com.apple.driver.X86PlatformPlugin    1.0.0
com.apple.iokit.IOBluetoothFamily    4.3.5f8
com.apple.driver.AppleGraphicsControl    3.10.24
com.apple.driver.AppleBacklightExpert    1.1.0
com.apple.driver.AppleHDAController    272.18.1
com.apple.iokit.IOHDAFamily    272.18.1
com.apple.iokit.IOAudioFamily    203.3
com.apple.vecLib.kext    1.2.0
com.apple.driver.AppleSMBusController    1.0.13d1
com.apple.iokit.IOUSBUserClient    705.4.0
com.apple.driver.AppleSMC    3.1.9
com.apple.driver.AppleSMBusPCI    1.0.12d1
com.apple.driver.IOPlatformPluginFamily    5.9.1d7
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.iokit.IOSurface    97.4
com.apple.iokit.IONDRVSupport    2.4.1
com.apple.iokit.IOAcceleratorFamily2    156.16
com.apple.AppleGraphicsDeviceControl    3.10.24
com.apple.iokit.IOGraphicsFamily    2.4.1
com.apple.iokit.IOSCSIBlockCommandsDevice    3.7.5
com.apple.iokit.IOUSBMassStorageClass    3.7.2
com.apple.iokit.IOSCSIArchitectureModelFamily    3.7.5
com.apple.iokit.IOUSBHIDDriver    705.4.0
com.apple.driver.AppleUSBComposite    705.4.9
com.apple.iokit.IO80211Family    730.60
com.apple.iokit.IOUSBFamily    720.4.4
com.apple.iokit.IOEthernetAVBController    1.0.3b3
com.apple.driver.mDNSOffloadUserClient    1.0.1b8
com.apple.iokit.IONetworkingFamily    3.2
com.apple.iokit.IOAHCIFamily    2.7.5
com.apple.driver.AppleEFINVRAM    2.0
com.apple.driver.AppleEFIRuntime    2.0
com.apple.iokit.IOHIDFamily    2.0.0
com.apple.iokit.IOSMBusFamily    1.1
com.apple.security.sandbox    300.0
com.apple.kext.AppleMatch    1.0.0d1
com.apple.driver.AppleKeyStore    2
com.apple.driver.AppleMobileFileIntegrity    1.0.5
com.apple.driver.AppleCredentialManager    1.0
com.apple.driver.DiskImages    397
com.apple.iokit.IOStorageFamily    2.0
com.apple.iokit.IOReportFamily    31
com.apple.driver.AppleFDEKeyStore    28.30
com.apple.driver.AppleACPIPlatform    3.1
com.apple.iokit.IOPCIFamily    2.9
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.corecrypto    1.0
com.apple.kec.Libm    1
com.apple.kec.pthread    1

10,2, no -xcmp, -w 3 -x 0, & -w 1 -x 0:
Code:
Anonymous UUID:       D30C92AF-91F7-C45C-E54C-6C06411C2653

Tue Jul 14 09:18:57 2015

*** Panic Report ***
panic(cpu 2 caller 0xffffff7f83d2e2ad): P-State Stepper Error 18 at step 17 in context 2 on CPU 2
Backtrace (CPU 2), Frame : Return Address
0xffffff810ebd38d0 : 0xffffff8001d2bda1 
0xffffff810ebd3950 : 0xffffff7f83d2e2ad 
0xffffff810ebd3980 : 0xffffff7f83d2964f 
0xffffff810ebd3a50 : 0xffffff7f83d2a40b 
0xffffff810ebd3ac0 : 0xffffff7f83d2d302 
0xffffff810ebd3af0 : 0xffffff8001e21631 
0xffffff810ebd3bd0 : 0xffffff8001e20ea3 
0xffffff810ebd3bf0 : 0xffffff7f83d22e89 
0xffffff810ebd3c60 : 0xffffff7f83d2063c 
0xffffff810ebd3c90 : 0xffffff7f83f28217 
0xffffff810ebd3ce0 : 0xffffff80022d714e 
0xffffff810ebd3d40 : 0xffffff7f83f27b63 
0xffffff810ebd3d70 : 0xffffff7f83f28338 
0xffffff810ebd3db0 : 0xffffff80022b3206 
0xffffff810ebd3e00 : 0xffffff80022b5ba2 
0xffffff810ebd3e40 : 0xffffff7f83f273a7 
0xffffff810ebd3e70 : 0xffffff80022b40ed 
0xffffff810ebd3eb0 : 0xffffff80022b3bdf 
0xffffff810ebd3f30 : 0xffffff80022ae993 
0xffffff810ebd3f70 : 0xffffff80022b4883 
0xffffff810ebd3fb0 : 0xffffff8001e125b7 
      Kernel Extensions in backtrace:
          com.apple.driver.AppleIntelCPUPowerManagement(218.0)[060D1763-7117-3950-B83F-5AEAAD2027DA]@0xffffff7f83d14000->0xffffff7f83d3efff
         com.apple.driver.X86PlatformShim(1.0)[6E7D0869-089A-31FB-A6FB-43841D67BE6B]@0xffffff7f83f26000->0xffffff7f83f2cfff
            dependency:  com.apple.driver.IOPlatformPluginFamily(5.9.1d7)[CEF6D111-61F4-311B-AE76-DAECF56765D3]@0xffffff7f82dea000
            dependency: com.apple.driver.X86PlatformPlugin(1.0.0)[F6B8C381-795D-3465-BB49-3B60EE8F1466]@0xffffff7f83f0f000
            dependency: com.apple.driver.AppleSMC(3.1.9)[B6FAD2C7-02A0-3232-8C51-FFCE9DE91651]@0xffffff7f82e0d000

BSD process name corresponding to current thread: kernel_task
Boot args: -v dart=0 nv_disable=1 kext-dev-mode=1 

Mac OS version:
14E46

Kernel version:
Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64
Kernel UUID: E3C26B2F-8B97-3F1D-B193-690F7E34F830
Kernel slide:     0x0000000001a00000
Kernel text base: 0xffffff8001c00000
__HIB  text base: 0xffffff8001b00000
System model name: MacBookPro10,2 (Mac-AFD8A9D944EA4843)

System uptime in nanoseconds: 7324410241
last loaded kext at 6628440984: com.apple.driver.ApplePlatformEnabler    2.2.0d4 (addr 0xffffff7f83f2d000, size 20480)
loaded kexts:
com.evosx86.driver.lspcidrv    1.0
com.intel.driver.EnergyDriver    2.0
at.obdev.nke.LittleSnitch    4234
org.emlydinesh.driver.ApplePS2SmartTouchPad    4.4.5
org.emlydinesh.driver.ApplePS2Keyboard    4.4.5
org.rehabman.driver.FakePCIID    1.1.2
org.emlydinesh.driver.ApplePS2Controller    4.4.5
org.netkas.driver.FakeSMC    1655
org.rehabman.driver.AppleSmartBatteryManager    1.55
com.apple.driver.ApplePlatformEnabler    2.2.0d4
com.apple.driver.X86PlatformShim    1.0.0
com.apple.driver.AppleHDAHardwareConfigDriver    272.18.1
com.apple.driver.AppleHDA    999.1.1fc1
com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
com.apple.iokit.IOBluetoothSerialManager    4.3.5f8
com.apple.driver.AppleUpstreamUserClient    3.6.1
com.apple.iokit.IOUserEthernet    1.0.1
com.apple.driver.AppleOSXWatchdog    1
com.apple.Dont_Steal_Mac_OS_X    7.0.0
com.apple.driver.AppleHWAccess    1
com.apple.driver.AppleLPC    1.7.3
com.apple.driver.AppleIntelHD4000Graphics    10.0.6
com.apple.driver.AppleMuxControl    3.10.24
com.apple.driver.AppleBacklight    170.7.4
com.apple.driver.AppleSMCPDRC    1.0.0
com.apple.driver.AppleHV    1
com.apple.driver.AppleIntelSlowAdaptiveClocking    4.0.0
com.apple.driver.AppleFIVRDriver    4.1.0
com.apple.driver.AppleMCCSControl    1.2.12
com.apple.driver.AppleIntelFramebufferCapri    10.0.6
com.apple.iokit.SCSITaskUserClient    3.7.5
com.apple.driver.AppleFileSystemDriver    3.0.1
com.apple.driver.AppleUSBHub    705.4.2
com.apple.driver.XsanFilter    404
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0
com.apple.BootCache    36
com.apple.iokit.IOAHCIBlockStorage    2.7.1
com.apple.iokit.IOAHCIPassThrough    1.0.3
com.apple.iokit.AppleBCM5701Ethernet    10.1.3
com.apple.driver.AppleSDXC    1.6.5
com.apple.driver.AirPort.Brcm4331    800.20.24
com.apple.driver.AppleAHCIPort    3.1.2
com.apple.driver.AppleUSBXHCI    710.4.11
com.apple.driver.AppleUSBEHCI    705.4.14
com.apple.driver.AppleACPIButtons    3.1
com.apple.driver.AppleACPIEC    3.1
com.apple.driver.AppleRTC    2.0
com.apple.driver.AppleHPET    1.8
com.apple.driver.AppleSMBIOS    2.1
com.apple.driver.AppleAPIC    1.7
com.apple.driver.AppleIntelCPUPowerManagementClient    218.0.0
com.apple.nke.applicationfirewall    161
com.apple.security.quarantine    3
com.apple.security.TMSafetyNet    8
com.apple.driver.AppleIntelCPUPowerManagement    218.0.0
com.apple.driver.DspFuncLib    272.18.1
com.apple.kext.OSvKernDSPLib    1.15
com.apple.driver.IOPlatformPluginLegacy    1.0.0
com.apple.driver.X86PlatformPlugin    1.0.0
com.apple.iokit.IOSerialFamily    11
com.apple.iokit.IOBluetoothFamily    4.3.5f8
com.apple.iokit.IOSurface    97.4
com.apple.driver.AppleGraphicsControl    3.10.24
com.apple.driver.AppleBacklightExpert    1.1.0
com.apple.iokit.IONDRVSupport    2.4.1
com.apple.driver.AppleSMC    3.1.9
com.apple.driver.IOPlatformPluginFamily    5.9.1d7
com.apple.driver.AppleHDAController    272.18.1
com.apple.iokit.IOHDAFamily    272.18.1
com.apple.iokit.IOAudioFamily    203.3
com.apple.vecLib.kext    1.2.0
com.apple.iokit.IOUSBUserClient    705.4.0
com.apple.driver.AppleSMBusPCI    1.0.12d1
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.driver.AppleSMBusController    1.0.13d1
com.apple.iokit.IOAcceleratorFamily2    156.16
com.apple.AppleGraphicsDeviceControl    3.10.24
com.apple.iokit.IOGraphicsFamily    2.4.1
com.apple.iokit.IOSCSIBlockCommandsDevice    3.7.5
com.apple.iokit.IOUSBMassStorageClass    3.7.2
com.apple.iokit.IOSCSIArchitectureModelFamily    3.7.5
com.apple.iokit.IOUSBHIDDriver    705.4.0
com.apple.driver.AppleUSBComposite    705.4.9
com.apple.iokit.IOEthernetAVBController    1.0.3b3
com.apple.driver.mDNSOffloadUserClient    1.0.1b8
com.apple.iokit.IO80211Family    730.60
com.apple.iokit.IONetworkingFamily    3.2
com.apple.driver.AppleEFINVRAM    2.0
com.apple.iokit.IOAHCIFamily    2.7.5
com.apple.iokit.IOUSBFamily    720.4.4
com.apple.driver.AppleEFIRuntime    2.0
com.apple.iokit.IOHIDFamily    2.0.0
com.apple.iokit.IOSMBusFamily    1.1
com.apple.security.sandbox    300.0
com.apple.kext.AppleMatch    1.0.0d1
com.apple.driver.AppleKeyStore    2
com.apple.driver.AppleMobileFileIntegrity    1.0.5
com.apple.driver.AppleCredentialManager    1.0
com.apple.driver.DiskImages    397
com.apple.iokit.IOStorageFamily    2.0
com.apple.iokit.IOReportFamily    31
com.apple.driver.AppleFDEKeyStore    28.30
com.apple.driver.AppleACPIPlatform    3.1
com.apple.iokit.IOPCIFamily    2.9
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.corecrypto    1.0
com.apple.kec.Libm    1
com.apple.kec.pthread    1

ASUS AICPUPM is enabled in Clover.

What is the status of OEM SSDTs? Post EFI/Clover folder.

Did you download Yosemite from the Mac App Store?
 
What is the status of OEM SSDTs? Post EFI/Clover folder.

Did you download Yosemite from the Mac App Store?

Yosemite was downloaded from the Mac App Store, and the USB was created using the createinstallmedia method.

OEM SSDTs were dropped for these tests and for ssdt generation. My machine only has a single non-cpu related SSDT, which I include manually.

Clover Folder is attached. The ssdt generated with no flags is included as SSDT2.aml in the patched folder.
 

Attachments

  • CLOVER.zip
    7.9 MB · Views: 80
Yosemite was downloaded from the Mac App Store, and the USB was created using the createinstallmedia method.

OEM SSDTs were dropped for these tests and for ssdt generation. My machine only has a single non-cpu related SSDT, which I include manually.

Clover Folder is attached. The ssdt generated with no flags is included as SSDT2.aml in the patched folder.

I recommend not dropping OEM SSDTs.
 
I'll give it a shot. That wont conflict with the generated SSDT?

Not (usually) with the generated SSDT from ssdtPRgen.sh. I say usually, since with older machines (that define APSS and ACST, there can be issues (but those usually appear in DSDT).

The only conflict comes from SSDTs generated from Clover (config.plist/ACPI/SSDT/Generate).
 
Not (usually) with the generated SSDT from ssdtPRgen.sh. I say usually, since with older machines (that define APSS and ACST, there can be issues (but those usually appear in DSDT).

The only conflict comes from SSDTs generated from Clover (config.plist/ACPI/SSDT/Generate).

Fair enough, makes sense; thanks for that info.

I did some tests with stock SSDTs included:

MacBookAir5,1, no -xcpm
No flags: KP
-w 1 -x 0: KP
-w 2 -x 0: Success, but stuck @ 800mhz
Code:
7/14/15 10:36:08.000 AM kernel[0]: X86PlatformShim::sendPStates - Success!
7/14/15 10:36:08.000 AM kernel[0]: X86PlatformShim::sendPStates - Success!
7/14/15 10:36:08.000 AM kernel[0]: X86PlatformShim::sendPStates - Success!
7/14/15 10:36:08.000 AM kernel[0]: X86PlatformShim::sendPStates - Success!
7/14/15 10:36:08.000 AM kernel[0]: X86PlatformShim::sendStepper - Done!
-w 3 -x 0: KP

MacBookAir10,2, no -xcpm
No flags: KP
-w 1 -x 0: KP
-w 2 -x 0: Success, but stuck @ 800mhz
-w 3 -x 0: KP

All kernel panics were a variation of this:

Code:
 Anonymous UUID:       D30C92AF-91F7-C45C-E54C-6C06411C2653

Tue Jul 14 09:18:57 2015

*** Panic Report ***
panic(cpu 2 caller 0xffffff7f83d2e2ad): P-State Stepper Error 18 at step 17 in context 2 on CPU 2
Backtrace (CPU 2), Frame : Return Address
0xffffff810ebd38d0 : 0xffffff8001d2bda1 
0xffffff810ebd3950 : 0xffffff7f83d2e2ad 
0xffffff810ebd3980 : 0xffffff7f83d2964f 
0xffffff810ebd3a50 : 0xffffff7f83d2a40b 
0xffffff810ebd3ac0 : 0xffffff7f83d2d302 
0xffffff810ebd3af0 : 0xffffff8001e21631 
0xffffff810ebd3bd0 : 0xffffff8001e20ea3 
0xffffff810ebd3bf0 : 0xffffff7f83d22e89 
0xffffff810ebd3c60 : 0xffffff7f83d2063c 
0xffffff810ebd3c90 : 0xffffff7f83f28217 
0xffffff810ebd3ce0 : 0xffffff80022d714e 
0xffffff810ebd3d40 : 0xffffff7f83f27b63 
0xffffff810ebd3d70 : 0xffffff7f83f28338 
0xffffff810ebd3db0 : 0xffffff80022b3206 
0xffffff810ebd3e00 : 0xffffff80022b5ba2 
0xffffff810ebd3e40 : 0xffffff7f83f273a7 
0xffffff810ebd3e70 : 0xffffff80022b40ed 
0xffffff810ebd3eb0 : 0xffffff80022b3bdf 
0xffffff810ebd3f30 : 0xffffff80022ae993 
0xffffff810ebd3f70 : 0xffffff80022b4883 
0xffffff810ebd3fb0 : 0xffffff8001e125b7 
      Kernel Extensions in backtrace:
          com.apple.driver.AppleIntelCPUPowerManagement(218.0)[060D1763-7117-3950-B83F-5AEAAD2027DA]@0xffffff7f83d14000->0xffffff7f83d3efff
         com.apple.driver.X86PlatformShim(1.0)[6E7D0869-089A-31FB-A6FB-43841D67BE6B]@0xffffff7f83f26000->0xffffff7f83f2cfff
            dependency:  com.apple.driver.IOPlatformPluginFamily(5.9.1d7)[CEF6D111-61F4-311B-AE76-DAECF56765D3]@0xffffff7f82dea000
            dependency: com.apple.driver.X86PlatformPlugin(1.0.0)[F6B8C381-795D-3465-BB49-3B60EE8F1466]@0xffffff7f83f0f000
            dependency: com.apple.driver.AppleSMC(3.1.9)[B6FAD2C7-02A0-3232-8C51-FFCE9DE91651]@0xffffff7f82e0d000

BSD process name corresponding to current thread: kernel_task
Boot args: -v dart=0 nv_disable=1 kext-dev-mode=1 

Mac OS version:
14E46

Kernel version:
Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64
Kernel UUID: E3C26B2F-8B97-3F1D-B193-690F7E34F830
Kernel slide:     0x0000000001a00000
Kernel text base: 0xffffff8001c00000
__HIB  text base: 0xffffff8001b00000
System model name: MacBookPro10,2 (Mac-AFD8A9D944EA4843)

System uptime in nanoseconds: 7324410241
last loaded kext at 6628440984: com.apple.driver.ApplePlatformEnabler    2.2.0d4 (addr 0xffffff7f83f2d000, size 20480)
loaded kexts:
com.evosx86.driver.lspcidrv    1.0
com.intel.driver.EnergyDriver    2.0
at.obdev.nke.LittleSnitch    4234
org.emlydinesh.driver.ApplePS2SmartTouchPad    4.4.5
org.emlydinesh.driver.ApplePS2Keyboard    4.4.5
org.rehabman.driver.FakePCIID    1.1.2
org.emlydinesh.driver.ApplePS2Controller    4.4.5
org.netkas.driver.FakeSMC    1655
org.rehabman.driver.AppleSmartBatteryManager    1.55
com.apple.driver.ApplePlatformEnabler    2.2.0d4
com.apple.driver.X86PlatformShim    1.0.0
com.apple.driver.AppleHDAHardwareConfigDriver    272.18.1
com.apple.driver.AppleHDA    999.1.1fc1
com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
com.apple.iokit.IOBluetoothSerialManager    4.3.5f8
com.apple.driver.AppleUpstreamUserClient    3.6.1
com.apple.iokit.IOUserEthernet    1.0.1
com.apple.driver.AppleOSXWatchdog    1
com.apple.Dont_Steal_Mac_OS_X    7.0.0
com.apple.driver.AppleHWAccess    1
com.apple.driver.AppleLPC    1.7.3
com.apple.driver.AppleIntelHD4000Graphics    10.0.6
com.apple.driver.AppleMuxControl    3.10.24
com.apple.driver.AppleBacklight    170.7.4
com.apple.driver.AppleSMCPDRC    1.0.0
com.apple.driver.AppleHV    1
com.apple.driver.AppleIntelSlowAdaptiveClocking    4.0.0
com.apple.driver.AppleFIVRDriver    4.1.0
com.apple.driver.AppleMCCSControl    1.2.12
com.apple.driver.AppleIntelFramebufferCapri    10.0.6
com.apple.iokit.SCSITaskUserClient    3.7.5
com.apple.driver.AppleFileSystemDriver    3.0.1
com.apple.driver.AppleUSBHub    705.4.2
com.apple.driver.XsanFilter    404
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0
com.apple.BootCache    36
com.apple.iokit.IOAHCIBlockStorage    2.7.1
com.apple.iokit.IOAHCIPassThrough    1.0.3
com.apple.iokit.AppleBCM5701Ethernet    10.1.3
com.apple.driver.AppleSDXC    1.6.5
com.apple.driver.AirPort.Brcm4331    800.20.24
com.apple.driver.AppleAHCIPort    3.1.2
com.apple.driver.AppleUSBXHCI    710.4.11
com.apple.driver.AppleUSBEHCI    705.4.14
com.apple.driver.AppleACPIButtons    3.1
com.apple.driver.AppleACPIEC    3.1
com.apple.driver.AppleRTC    2.0
com.apple.driver.AppleHPET    1.8
com.apple.driver.AppleSMBIOS    2.1
com.apple.driver.AppleAPIC    1.7
com.apple.driver.AppleIntelCPUPowerManagementClient    218.0.0
com.apple.nke.applicationfirewall    161
com.apple.security.quarantine    3
com.apple.security.TMSafetyNet    8
com.apple.driver.AppleIntelCPUPowerManagement    218.0.0
com.apple.driver.DspFuncLib    272.18.1
com.apple.kext.OSvKernDSPLib    1.15
com.apple.driver.IOPlatformPluginLegacy    1.0.0
com.apple.driver.X86PlatformPlugin    1.0.0
com.apple.iokit.IOSerialFamily    11
com.apple.iokit.IOBluetoothFamily    4.3.5f8
com.apple.iokit.IOSurface    97.4
com.apple.driver.AppleGraphicsControl    3.10.24
com.apple.driver.AppleBacklightExpert    1.1.0
com.apple.iokit.IONDRVSupport    2.4.1
com.apple.driver.AppleSMC    3.1.9
com.apple.driver.IOPlatformPluginFamily    5.9.1d7
com.apple.driver.AppleHDAController    272.18.1
com.apple.iokit.IOHDAFamily    272.18.1
com.apple.iokit.IOAudioFamily    203.3
com.apple.vecLib.kext    1.2.0
com.apple.iokit.IOUSBUserClient    705.4.0
com.apple.driver.AppleSMBusPCI    1.0.12d1
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.driver.AppleSMBusController    1.0.13d1
com.apple.iokit.IOAcceleratorFamily2    156.16
com.apple.AppleGraphicsDeviceControl    3.10.24
com.apple.iokit.IOGraphicsFamily    2.4.1
com.apple.iokit.IOSCSIBlockCommandsDevice    3.7.5
com.apple.iokit.IOUSBMassStorageClass    3.7.2
com.apple.iokit.IOSCSIArchitectureModelFamily    3.7.5
com.apple.iokit.IOUSBHIDDriver    705.4.0
com.apple.driver.AppleUSBComposite    705.4.9
com.apple.iokit.IOEthernetAVBController    1.0.3b3
com.apple.driver.mDNSOffloadUserClient    1.0.1b8
com.apple.iokit.IO80211Family    730.60
com.apple.iokit.IONetworkingFamily    3.2
com.apple.driver.AppleEFINVRAM    2.0
com.apple.iokit.IOAHCIFamily    2.7.5
com.apple.iokit.IOUSBFamily    720.4.4
com.apple.driver.AppleEFIRuntime    2.0
com.apple.iokit.IOHIDFamily    2.0.0
com.apple.iokit.IOSMBusFamily    1.1
com.apple.security.sandbox    300.0
com.apple.kext.AppleMatch    1.0.0d1
com.apple.driver.AppleKeyStore    2
com.apple.driver.AppleMobileFileIntegrity    1.0.5
com.apple.driver.AppleCredentialManager    1.0
com.apple.driver.DiskImages    397
com.apple.iokit.IOStorageFamily    2.0
com.apple.iokit.IOReportFamily    31
com.apple.driver.AppleFDEKeyStore    28.30
com.apple.driver.AppleACPIPlatform    3.1
com.apple.iokit.IOPCIFamily    2.9
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.corecrypto    1.0
com.apple.kec.Libm    1
com.apple.kec.pthread    1

Diffing the no flag ssdt that kernel panics, and the -w 2 ssdt that reports success but is stuck at 800, only change is the addition of a top turbo state in the -w 2 ssdt. The step 17 referenced in the kernel panic is the same between the working and non-working file. Strange, strange, strange.

edit: even stranger is that step 17 exists in the stock ssdts...:

Code:
Package (0x06) { 0x0960, 0x004268, 0x0A, 0x0A, 0x1800, 0x1800 }, ssdtPRGen
Package (0x06) { 0x0960, 0x004268, 0x0A, 0x0A, 0x1800, 0x1800 }, stock
 
Fair enough, makes sense; thanks for that info.

I did some tests with stock SSDTs included:

MacBookAir5,1, no -xcpm
No flags: KP
-w 1 -x 0: KP
-w 2 -x 0: Success, but stuck @ 800mhz
Code:
7/14/15 10:36:08.000 AM kernel[0]: X86PlatformShim::sendPStates - Success!
7/14/15 10:36:08.000 AM kernel[0]: X86PlatformShim::sendPStates - Success!
7/14/15 10:36:08.000 AM kernel[0]: X86PlatformShim::sendPStates - Success!
7/14/15 10:36:08.000 AM kernel[0]: X86PlatformShim::sendPStates - Success!
7/14/15 10:36:08.000 AM kernel[0]: X86PlatformShim::sendStepper - Done!
-w 3 -x 0: KP

MacBookAir10,2, no -xcpm
No flags: KP
-w 1 -x 0: KP
-w 2 -x 0: Success, but stuck @ 800mhz
-w 3 -x 0: KP

All kernel panics were a variation of this:

Code:
 Anonymous UUID:       D30C92AF-91F7-C45C-E54C-6C06411C2653

Tue Jul 14 09:18:57 2015

*** Panic Report ***
panic(cpu 2 caller 0xffffff7f83d2e2ad): P-State Stepper Error 18 at step 17 in context 2 on CPU 2
Backtrace (CPU 2), Frame : Return Address
0xffffff810ebd38d0 : 0xffffff8001d2bda1 
0xffffff810ebd3950 : 0xffffff7f83d2e2ad 
0xffffff810ebd3980 : 0xffffff7f83d2964f 
0xffffff810ebd3a50 : 0xffffff7f83d2a40b 
0xffffff810ebd3ac0 : 0xffffff7f83d2d302 
0xffffff810ebd3af0 : 0xffffff8001e21631 
0xffffff810ebd3bd0 : 0xffffff8001e20ea3 
0xffffff810ebd3bf0 : 0xffffff7f83d22e89 
0xffffff810ebd3c60 : 0xffffff7f83d2063c 
0xffffff810ebd3c90 : 0xffffff7f83f28217 
0xffffff810ebd3ce0 : 0xffffff80022d714e 
0xffffff810ebd3d40 : 0xffffff7f83f27b63 
0xffffff810ebd3d70 : 0xffffff7f83f28338 
0xffffff810ebd3db0 : 0xffffff80022b3206 
0xffffff810ebd3e00 : 0xffffff80022b5ba2 
0xffffff810ebd3e40 : 0xffffff7f83f273a7 
0xffffff810ebd3e70 : 0xffffff80022b40ed 
0xffffff810ebd3eb0 : 0xffffff80022b3bdf 
0xffffff810ebd3f30 : 0xffffff80022ae993 
0xffffff810ebd3f70 : 0xffffff80022b4883 
0xffffff810ebd3fb0 : 0xffffff8001e125b7 
      Kernel Extensions in backtrace:
          com.apple.driver.AppleIntelCPUPowerManagement(218.0)[060D1763-7117-3950-B83F-5AEAAD2027DA]@0xffffff7f83d14000->0xffffff7f83d3efff
         com.apple.driver.X86PlatformShim(1.0)[6E7D0869-089A-31FB-A6FB-43841D67BE6B]@0xffffff7f83f26000->0xffffff7f83f2cfff
            dependency:  com.apple.driver.IOPlatformPluginFamily(5.9.1d7)[CEF6D111-61F4-311B-AE76-DAECF56765D3]@0xffffff7f82dea000
            dependency: com.apple.driver.X86PlatformPlugin(1.0.0)[F6B8C381-795D-3465-BB49-3B60EE8F1466]@0xffffff7f83f0f000
            dependency: com.apple.driver.AppleSMC(3.1.9)[B6FAD2C7-02A0-3232-8C51-FFCE9DE91651]@0xffffff7f82e0d000

BSD process name corresponding to current thread: kernel_task
Boot args: -v dart=0 nv_disable=1 kext-dev-mode=1 

Mac OS version:
14E46

Kernel version:
Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64
Kernel UUID: E3C26B2F-8B97-3F1D-B193-690F7E34F830
Kernel slide:     0x0000000001a00000
Kernel text base: 0xffffff8001c00000
__HIB  text base: 0xffffff8001b00000
System model name: MacBookPro10,2 (Mac-AFD8A9D944EA4843)

System uptime in nanoseconds: 7324410241
last loaded kext at 6628440984: com.apple.driver.ApplePlatformEnabler    2.2.0d4 (addr 0xffffff7f83f2d000, size 20480)
loaded kexts:
com.evosx86.driver.lspcidrv    1.0
com.intel.driver.EnergyDriver    2.0
at.obdev.nke.LittleSnitch    4234
org.emlydinesh.driver.ApplePS2SmartTouchPad    4.4.5
org.emlydinesh.driver.ApplePS2Keyboard    4.4.5
org.rehabman.driver.FakePCIID    1.1.2
org.emlydinesh.driver.ApplePS2Controller    4.4.5
org.netkas.driver.FakeSMC    1655
org.rehabman.driver.AppleSmartBatteryManager    1.55
com.apple.driver.ApplePlatformEnabler    2.2.0d4
com.apple.driver.X86PlatformShim    1.0.0
com.apple.driver.AppleHDAHardwareConfigDriver    272.18.1
com.apple.driver.AppleHDA    999.1.1fc1
com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
com.apple.iokit.IOBluetoothSerialManager    4.3.5f8
com.apple.driver.AppleUpstreamUserClient    3.6.1
com.apple.iokit.IOUserEthernet    1.0.1
com.apple.driver.AppleOSXWatchdog    1
com.apple.Dont_Steal_Mac_OS_X    7.0.0
com.apple.driver.AppleHWAccess    1
com.apple.driver.AppleLPC    1.7.3
com.apple.driver.AppleIntelHD4000Graphics    10.0.6
com.apple.driver.AppleMuxControl    3.10.24
com.apple.driver.AppleBacklight    170.7.4
com.apple.driver.AppleSMCPDRC    1.0.0
com.apple.driver.AppleHV    1
com.apple.driver.AppleIntelSlowAdaptiveClocking    4.0.0
com.apple.driver.AppleFIVRDriver    4.1.0
com.apple.driver.AppleMCCSControl    1.2.12
com.apple.driver.AppleIntelFramebufferCapri    10.0.6
com.apple.iokit.SCSITaskUserClient    3.7.5
com.apple.driver.AppleFileSystemDriver    3.0.1
com.apple.driver.AppleUSBHub    705.4.2
com.apple.driver.XsanFilter    404
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0
com.apple.BootCache    36
com.apple.iokit.IOAHCIBlockStorage    2.7.1
com.apple.iokit.IOAHCIPassThrough    1.0.3
com.apple.iokit.AppleBCM5701Ethernet    10.1.3
com.apple.driver.AppleSDXC    1.6.5
com.apple.driver.AirPort.Brcm4331    800.20.24
com.apple.driver.AppleAHCIPort    3.1.2
com.apple.driver.AppleUSBXHCI    710.4.11
com.apple.driver.AppleUSBEHCI    705.4.14
com.apple.driver.AppleACPIButtons    3.1
com.apple.driver.AppleACPIEC    3.1
com.apple.driver.AppleRTC    2.0
com.apple.driver.AppleHPET    1.8
com.apple.driver.AppleSMBIOS    2.1
com.apple.driver.AppleAPIC    1.7
com.apple.driver.AppleIntelCPUPowerManagementClient    218.0.0
com.apple.nke.applicationfirewall    161
com.apple.security.quarantine    3
com.apple.security.TMSafetyNet    8
com.apple.driver.AppleIntelCPUPowerManagement    218.0.0
com.apple.driver.DspFuncLib    272.18.1
com.apple.kext.OSvKernDSPLib    1.15
com.apple.driver.IOPlatformPluginLegacy    1.0.0
com.apple.driver.X86PlatformPlugin    1.0.0
com.apple.iokit.IOSerialFamily    11
com.apple.iokit.IOBluetoothFamily    4.3.5f8
com.apple.iokit.IOSurface    97.4
com.apple.driver.AppleGraphicsControl    3.10.24
com.apple.driver.AppleBacklightExpert    1.1.0
com.apple.iokit.IONDRVSupport    2.4.1
com.apple.driver.AppleSMC    3.1.9
com.apple.driver.IOPlatformPluginFamily    5.9.1d7
com.apple.driver.AppleHDAController    272.18.1
com.apple.iokit.IOHDAFamily    272.18.1
com.apple.iokit.IOAudioFamily    203.3
com.apple.vecLib.kext    1.2.0
com.apple.iokit.IOUSBUserClient    705.4.0
com.apple.driver.AppleSMBusPCI    1.0.12d1
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.driver.AppleSMBusController    1.0.13d1
com.apple.iokit.IOAcceleratorFamily2    156.16
com.apple.AppleGraphicsDeviceControl    3.10.24
com.apple.iokit.IOGraphicsFamily    2.4.1
com.apple.iokit.IOSCSIBlockCommandsDevice    3.7.5
com.apple.iokit.IOUSBMassStorageClass    3.7.2
com.apple.iokit.IOSCSIArchitectureModelFamily    3.7.5
com.apple.iokit.IOUSBHIDDriver    705.4.0
com.apple.driver.AppleUSBComposite    705.4.9
com.apple.iokit.IOEthernetAVBController    1.0.3b3
com.apple.driver.mDNSOffloadUserClient    1.0.1b8
com.apple.iokit.IO80211Family    730.60
com.apple.iokit.IONetworkingFamily    3.2
com.apple.driver.AppleEFINVRAM    2.0
com.apple.iokit.IOAHCIFamily    2.7.5
com.apple.iokit.IOUSBFamily    720.4.4
com.apple.driver.AppleEFIRuntime    2.0
com.apple.iokit.IOHIDFamily    2.0.0
com.apple.iokit.IOSMBusFamily    1.1
com.apple.security.sandbox    300.0
com.apple.kext.AppleMatch    1.0.0d1
com.apple.driver.AppleKeyStore    2
com.apple.driver.AppleMobileFileIntegrity    1.0.5
com.apple.driver.AppleCredentialManager    1.0
com.apple.driver.DiskImages    397
com.apple.iokit.IOStorageFamily    2.0
com.apple.iokit.IOReportFamily    31
com.apple.driver.AppleFDEKeyStore    28.30
com.apple.driver.AppleACPIPlatform    3.1
com.apple.iokit.IOPCIFamily    2.9
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.corecrypto    1.0
com.apple.kec.Libm    1
com.apple.kec.pthread    1

Diffing the no flag ssdt that kernel panics, and the -w 2 ssdt that reports success but is stuck at 800, only change is the addition of a top turbo state in the -w 2 ssdt. The step 17 referenced in the kernel panic is the same between the working and non-working file. Strange, strange, strange.

edit: even stranger is that step 17 exists in the stock ssdts...:

Code:
Package (0x06) { 0x0960, 0x004268, 0x0A, 0x0A, 0x1800, 0x1800 }, ssdtPRGen
Package (0x06) { 0x0960, 0x004268, 0x0A, 0x0A, 0x1800, 0x1800 }, stock

Generally, the solution for stepper error is -xcpm...
 
Generally, the solution for stepper error is -xcpm...

I only get the ring table and stepper errors with -xcpm.

Without it, if I use a ssdt generated -w 2 -x 0 I can boot but I'm locked at 800mhz, and if I use a ssdt generated with any other flags I get:
Code:
7/14/15 10:36:08.000 AM kernel[0]: X86PlatformShim::sendPStates - Success!
7/14/15 10:36:08.000 AM kernel[0]: X86PlatformShim::sendPStates - Success!
7/14/15 10:36:08.000 AM kernel[0]: X86PlatformShim::sendPStates - Success!
7/14/15 10:36:08.000 AM kernel[0]: X86PlatformShim::sendPStates - Success!
7/14/15 10:36:08.000 AM kernel[0]: X86PlatformShim::sendStepper - Done!
followed by an immediate kernel panic.

Looking at my stock pstates, and comparing them to a real MacBookPro5,1, it looks like Acer applied the equivalent of -w 3, they added a top p-state xxx1 above the maximum non-turbo state, and added a state below 800, 768.

Diffing the generated ssdtPRGen ssdts, I notice no difference between -w1 -w2 and -w3 other than -w2 not including a top state above the maximum turbo state, but it's not generating a bottom state like it should. I think the script might be bugged.
 
...
Diffing the generated ssdtPRGen ssdts, I notice no difference between -w1 -w2 and -w3 other than -w2 not including a top state above the maximum turbo state, but it's not generating a bottom state like it should. I think the script might be bugged.

That's possible. Add manually.
 
That's possible. Add manually.
The script is indeed bugged. Studying the source, I noticed that it should be setting Name (APLF, 0x02), not Zero. I changed that in my generated SSDT, added the lower state to make it equivalent to -w 2 and now power management loads successfully in AICPUPM mode.

The only thing I notice is that XCPM seems to be much more aggressive setting my clockspeed to minimum. With AICPUPM, it seems to run average about 20% higher.

As for XCPM mode, I found a post by Piker-Alpha claiming that some real Ivy Bridge Mac's get the ring table error with it enabled.

It would seem the stepper error is the only thing that would need fixing to sort out XCPM.

Code:
7/14/15 7:18:27.000 PM kernel[0]: X86PlatformPlugin::setRingTable - AICPM failed to load ring table with status 0x0: Get=0, Load=0, Install=0
7/14/15 7:18:27.000 PM kernel[0]: X86PlatformPlugin::configResourceHandler - Failed to set ring table!
7/14/15 7:18:27.000 PM kernel[0]: X86PlatformShim::sendPStates - Success!
7/14/15 7:18:27.000 PM kernel[0]: X86PlatformShim::sendPStates - Success!
7/14/15 7:18:27.000 PM kernel[0]: X86PlatformShim::sendPStates - Success!
7/14/15 7:18:27.000 PM kernel[0]: X86PlatformShim::sendPStates - Success!
7/14/15 7:18:27.000 PM kernel[0]: X86PlatformShim::start - Failed to send stepper
 
Status
Not open for further replies.
Back
Top