RehabMan / OS-X-Voodoo-PS2-Controller

Contains updated Voodoo PS/2 Controller, improved Keyboard & Synaptics TouchPad
Other
489 stars 179 forks source link

Crash when installing SSDT for CapsLock swap on 10.12.6 Probook 470-G0 #156

Closed hvisage closed 6 years ago

hvisage commented 6 years ago

Good day,

With the 2018-05-06 compiled version, I'm having crashes on 10.12.6 whenever I have the SSDT-Swap-LeftControlCapsLock.aml (attached) compiled with MaciASL RM-1.31 (252.3), loaded in EFI/CLOVER/ACPI/patched

SSDT-Swap-LeftControlCapsLock.zip

The typical crash reports:

Anonymous UUID:       5851C011-790F-C560-55DE-6985E68CE50C

Mon Jun 11 12:17:51 2018

*** Panic Report ***
panic(cpu 0 caller 0xffffff80003fe085): Kernel trap at 0xffffff7f82803fdf, type 13=general protection, registers:
CR0: 0x000000008001003b, CR2: 0x00007fdf8000340c, CR3: 0x0000000427e8201a, CR4: 0x00000000001626e0
RAX: 0xdeadbeefdeadbeef, RBX: 0x0000000000000000, RCX: 0xffffff80218518a0, RDX: 0x0000000000000001
RSP: 0xffffff81bcdb9e40, RBP: 0xffffff81bcdb9e60, RSI: 0x0000000000000000, RDI: 0xffffff801f371000
R8:  0x0000000090002529, R9:  0x0000000000000003, R10: 0x00007fff9cdffca8, R11: 0x00007fa12ff234c0
R12: 0x0000000000000000, R13: 0xffffff8020bd2ce0, R14: 0xffffff801f371000, R15: 0xffffff801f371000
RFL: 0x0000000000010082, RIP: 0xffffff7f82803fdf, CS:  0x0000000000000008, SS:  0x0000000000000000
Fault CR2: 0x00007fdf8000340c, Error code: 0x0000000000000000, Fault CPU: 0x0, PL: 2, VF: 0

Backtrace (CPU 0), Frame : Return Address
0xffffff800014b450 : 0xffffff80002e850c 
0xffffff800014b4d0 : 0xffffff80003fe085 
0xffffff800014b6b0 : 0xffffff8000299543 
0xffffff800014b6d0 : 0xffffff7f82803fdf 
0xffffff81bcdb9e60 : 0xffffff7f82803dc9 
0xffffff81bcdb9e90 : 0xffffff7f827f87eb 
0xffffff81bcdb9eb0 : 0xffffff80008c0241 
0xffffff81bcdb9ef0 : 0xffffff7f80a6cd6b 
0xffffff81bcdb9f40 : 0xffffff7f82cc6d46 
0xffffff81bcdb9f50 : 0xffffff7f82ccf02f 
0xffffff81bcdb9f70 : 0xffffff80003fd47e 
0xffffff81bcdb9fd0 : 0xffffff8000299706 
      Kernel Extensions in backtrace:
         com.apple.iokit.IOPCIFamily(2.9)[B6108DD0-5CA0-3D92-B1A5-74805707226A]@0xffffff7f80a4e000->0xffffff7f80a88fff
         com.apple.driver.AppleACPIPlatform(5.0)[65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE]@0xffffff7f82cc0000->0xffffff7f82d25fff
            dependency: com.apple.iokit.IOACPIFamily(1.4)[4F7FB6AD-2498-3F71-827C-ED7AA4BF2511]@0xffffff7f80a41000
            dependency: com.apple.iokit.IOPCIFamily(2.9)[B6108DD0-5CA0-3D92-B1A5-74805707226A]@0xffffff7f80a4e000
         com.apple.driver.AppleIntelFramebufferCapri(10.2.5)[48881F7F-3362-3411-880E-3FFFB11189FF]@0xffffff7f827de000->0xffffff7f828cefff
            dependency: com.apple.iokit.IOACPIFamily(1.4)[4F7FB6AD-2498-3F71-827C-ED7AA4BF2511]@0xffffff7f80a41000
            dependency: com.apple.iokit.IOPCIFamily(2.9)[B6108DD0-5CA0-3D92-B1A5-74805707226A]@0xffffff7f80a4e000
            dependency: com.apple.iokit.IOGraphicsFamily(515.3)[5EAC4E7C-6842-3DC0-A2D7-8A8BDA842179]@0xffffff7f80adc000
            dependency: com.apple.AppleGraphicsDeviceControl(3.14.49)[FA94C7C0-04C2-3F83-9F96-0470C31E2AA3]@0xffffff7f827d2000
            dependency: com.apple.iokit.IOAcceleratorFamily2(311.16.2)[743E9A47-2CC5-361C-8CC7-ACB8231881A7]@0xffffff7f8269d000

BSD process name corresponding to current thread: configd
Boot args: kext-dev-mode=1 dart=0 -disablegfxfirmware slide=0 

Mac OS version:
16G1314

Kernel version:
Darwin Kernel Version 16.7.0: Tue Jan 30 11:27:06 PST 2018; root:xnu-3789.73.11~1/RELEASE_X86_64
Kernel UUID: 50C7E8E4-330F-3D92-B9D1-2B4900417AA8
__HIB  text base: 0xffffff8000100000
System model name: MacBookPro9,2 (Mac-6F01561E16C75D06)

System uptime in nanoseconds: 6610945695
last loaded kext at 6484278982: tw.com.mct.Trigger5Core 2.7 (addr 0xffffff7f80b24000, size 69632)
loaded kexts:
tw.com.mct.Trigger5Core 2.7
org.pqrs.driver.Karabiner.VirtualHIDDevice.v040800  4.8.0
org.tw.CodecCommander   2.6.3
org.hwsensors.driver.CPUSensors 1787
org.hwsensors.driver.LPCSensors 1787
org.hwsensors.driver.ACPISensors    1787
org.rehabman.voodoo.driver.PS2Mouse 1.8.34
org.rehabman.voodoo.driver.PS2Keyboard  1.8.34
org.rehabman.voodoo.driver.PS2Trackpad  1.8.34
com.insanelymac.RealtekRTL8111  2.2.1
org.rehabman.driver.FakePCIID.XHCIMux   1.3.12
org.rehabman.driver.FakePCIID   1.3.12
com.rehabman.driver.ACPIPoller  0.8.1
org.rehabman.voodoo.driver.PS2Controller    1.8.34
org.rehabman.driver.AppleSmartBatteryManager    1.81.4
org.netkas.driver.FakeSMC   1787
as.lvs1974.IntelGraphicsFixup   1.2.7
as.vit9696.Lilu 1.2.3
com.rehabman.driver.USBInjectAll    0.6.5
com.apple.driver.pmtelemetry    1
com.apple.iokit.IOUserEthernet  1.0.1
com.apple.iokit.IOBluetoothSerialManager    5.0.5f1
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.AppleGraphicsDevicePolicy  3.14.49
com.apple.driver.AppleHV    1
com.apple.driver.AppleOSXWatchdog   1
com.apple.driver.AppleMuxControl    3.14.49
com.apple.driver.AppleBacklight 170.9.20
com.apple.driver.AppleLPC   3.1
com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0
com.apple.driver.AppleFIVRDriver    4.1.0
com.apple.driver.AppleMCCSControl   1.3.4
com.apple.driver.AppleIntelHD4000Graphics   10.2.5
com.apple.driver.AppleSMCPDRC   1.0.0
com.apple.driver.AppleIntelFramebufferCapri 10.2.5
com.apple.driver.CoreStorageFsck    540.30.1
com.apple.driver.AppleFileSystemDriver  3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.BootCache 40
com.apple.filesystems.hfs.kext  366.70.3
com.apple.iokit.IOAHCIBlockStorage  295.20.1
com.apple.driver.AirPort.Atheros40  700.74.5
com.apple.driver.AppleAHCIPort  326.60.1
com.apple.driver.AppleRTC   2.0
com.apple.driver.AppleHPET  1.8
com.apple.driver.AppleACPIButtons   5.0
com.apple.driver.AppleACPIEC    5.0
com.apple.driver.AppleSMBIOS    2.1
com.apple.driver.AppleAPIC  1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 219.0.0
com.apple.nke.applicationfirewall   172
com.apple.security.quarantine   3
com.apple.security.TMSafetyNet  8
com.apple.driver.AppleIntelCPUPowerManagement   219.0.0
com.apple.iokit.IOSerialFamily  11
com.apple.driver.AppleSSE   1.0
com.apple.driver.AppleHDAController 279.48
com.apple.iokit.IOHDAFamily 279.48
com.apple.iokit.IOAudioFamily   205.15
com.apple.vecLib.kext   1.2.0
com.apple.driver.AppleGraphicsControl   3.14.49
com.apple.driver.AppleBacklightExpert   1.1.0
com.apple.iokit.IOBluetoothHostControllerUSBTransport   5.0.5f1
com.apple.iokit.IOBluetoothHostControllerTransport  5.0.5f1
com.apple.iokit.IOBluetoothFamily   5.0.5f1
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.driver.AppleSMC   3.1.9
com.apple.driver.AppleSMBusController   1.0.18d1
com.apple.iokit.IOSurface   159.12
com.apple.driver.IOPlatformPluginFamily 6.0.0d8
com.apple.iokit.IONDRVSupport   516.1
com.apple.iokit.IOAcceleratorFamily2    311.16.2
com.apple.AppleGraphicsDeviceControl    3.14.49
com.apple.iokit.IOGraphicsFamily    515.3
com.apple.driver.CoreStorage    540.30.1
com.apple.filesystems.hfs.encodings.kext    1
com.apple.driver.usb.cdc    5.0.0
com.apple.driver.usb.networking 5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice    1.1
com.apple.driver.usb.AppleUSBHub    1.1
com.apple.driver.AppleXsanScheme    3
com.apple.iokit.IO80211Family   1200.12.2
com.apple.driver.corecapture    1.0.4
com.apple.iokit.IONetworkingFamily  3.2
com.apple.iokit.IOAHCIFamily    288
com.apple.driver.usb.AppleUSBEHCIPCI    1.1
com.apple.driver.usb.AppleUSBEHCI   1.1
com.apple.driver.usb.AppleUSBXHCIPCI    1.1
com.apple.driver.usb.AppleUSBXHCI   1.1
com.apple.driver.usb.AppleUSBHostPacketFilter   1.0
com.apple.iokit.IOUSBFamily 900.4.1
com.apple.driver.AppleUSBHostMergeProperties    1.1
com.apple.driver.AppleEFINVRAM  2.1
com.apple.driver.AppleEFIRuntime    2.1
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.KernelRelayHost    1
com.apple.iokit.IOUSBHostFamily 1.1
com.apple.driver.AppleBusPowerController    1.0
com.apple.driver.DiskImages 444.50.17
com.apple.iokit.IOStorageFamily 2.1
com.apple.iokit.IOReportFamily  31
com.apple.driver.AppleFDEKeyStore   28.30
com.apple.driver.AppleACPIPlatform  5.0
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.pthread   1
com.apple.kec.Libm  1
com.apple.kec.corecrypto    1.0
Model: MacBookPro9,2, BootROM MBP91.00D9.B00, 2 processors, Intel Core i5, 2.59 GHz, 16 GB, SMC 2.2f44
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, Micron, 16KTF1G64HZ-1G6E1
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, Micron, 16KTF1G64HZ-1G6E1
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x1461), Atheros 9285: 4.0.74.0-P2P
Bluetooth: Version 5.0.5f1, 3 services, 26 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: TOSHIBA MQ01ABD075, 750.16 GB
Serial ATA Device: ADATA SP550, 480.1 GB
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Bluetooth HCI
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: HP HD Webcam
USB Device: USB 3.0 Bus
Thunderbolt Bus: 

black.dragon74 debug information: debug_31182.zip

RehabMan commented 6 years ago

Your configuration is invalid.
You cannot use SSDT-Swap-LeftControlCapsLock.aml in conjunction with SSDT-4x0-G0.aml.

SSDT-4x0-G0.aml and SSDT-Swap-LeftControlCapsLcok.aml both have an RMCF at _SB.PCI0.LPCB.PS2K.

Instead, you must merge those settings into the already existing PS2K.RMCF in SSDT-4x0-G0.aml.