Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thunderbolt dock causes kernel panic #47

Open
niuzehao opened this issue Sep 30, 2020 · 6 comments
Open

Thunderbolt dock causes kernel panic #47

niuzehao opened this issue Sep 30, 2020 · 6 comments

Comments

@niuzehao
Copy link

niuzehao commented Sep 30, 2020

Hi Quert!

First thanks for your hard work! I've tried the latest repo with OpenCore for a while and it works out great.

Problems happen when I tried a thunderbolt 3 Dock (Model: Dell TB16) recently. Plugging in the dock, the HDMI/DP/Ethernet/USB/audio ports works fine, but the dock is recognized as a USB3.0 Controller.

屏幕快照 2020-09-30 15 23 11

屏幕快照 2020-09-30 15 31 07

However, plugging out the dock always causes a kernel panic.

Anonymous UUID:       03B1EC7C-F5BC-9EC4-5347-4F67DD2C27F2

Wed Sep 30 17:02:32 2020

*** Panic Report ***
panic(cpu 6 caller 0xffffff800aadca9d): Kernel trap at 0xffffff800b05723d, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x0000000000000000, CR3: 0x0000000020845000, CR4: 0x00000000003626e0
RAX: 0x0000000000000001, RBX: 0xffffff803d69d500, RCX: 0xffffff800b211280, RDX: 0xffffff800b211280
RSP: 0xffffff820edbbf30, RBP: 0xffffff820edbbf40, RSI: 0x00000001fdf3b646, RDI: 0x0000000000000000
R8:  0x0000000000000000, R9:  0x0000000000989680, R10: 0x0000000000000000, R11: 0xffffff800b3f2cc0
R12: 0xffffff7f8cca9a44, R13: 0xffffff800b41a3a0, R14: 0x0000000000000000, R15: 0xffffff8047c6b960
RFL: 0x0000000000010282, RIP: 0xffffff800b05723d, CS:  0x0000000000000008, SS:  0x0000000000000000
Fault CR2: 0x0000000000000000, Error code: 0x0000000000000000, Fault CPU: 0x6, PL: 0, VF: 1

Backtrace (CPU 6), Frame : Return Address
0xffffff820edbba00 : 0xffffff800a9af58d 
0xffffff820edbba50 : 0xffffff800aaeb145 
0xffffff820edbba90 : 0xffffff800aadc87a 
0xffffff820edbbb00 : 0xffffff800a95c9d0 
0xffffff820edbbb20 : 0xffffff800a9aefa7 
0xffffff820edbbc40 : 0xffffff800a9aedf3 
0xffffff820edbbcb0 : 0xffffff800aadca9d 
0xffffff820edbbe20 : 0xffffff800a95c9d0 
0xffffff820edbbe40 : 0xffffff800b05723d 
0xffffff820edbbf40 : 0xffffff7f8cc316b6 
0xffffff820edbbf80 : 0xffffff7f8cc30b8d 
0xffffff820edbbfa0 : 0xffffff800a95c0ce 
      Kernel Extensions in backtrace:
         com.apple.iokit.IOThunderboltFamily(6.8.7)[28B6DA11-7569-3D88-AA3A-6D8D75909649]@0xffffff7f8cc1f000->0xffffff7f8cd0cfff

BSD process name corresponding to current thread: kernel_task
Boot args: darkwake=4 

Mac OS version:
18G4032

Kernel version:
Darwin Kernel Version 18.7.0: Mon Feb 10 21:08:45 PST 2020; root:xnu-4903.278.28~1/RELEASE_X86_64
Kernel UUID: A52CF11D-A733-3E77-832B-D42063739C84
Kernel slide:     0x000000000a600000
Kernel text base: 0xffffff800a800000
__HIB  text base: 0xffffff800a700000
System model name: MacBookPro15,2 (Mac-827FB448E656EC26)

System uptime in nanoseconds: 235860679169
last loaded kext at 136619683094: com.apple.driver.usb.cdc.acm	5.0.0 (addr 0xffffff7f8e7ef000, size 32768)
last unloaded kext at 221509583042: ru.joedm.SMCSuperIO	1.1.5 (addr 0xffffff7f8e6bb000, size 65536)
loaded kexts:
org.pqrs.driver.Karabiner.VirtualHIDDevice.v061000	6.10.0
com.intel.driver.EnergyDriver	3.7.0
me.kishorprins.VoodooInput	1.0.6
as.acidanthera.BrcmPatchRAM3	2.5.4
com.alexandred.VoodooI2CHID	1
as.acidanthera.voodoo.driver.PS2Trackpad	2.1.6
as.acidanthera.voodoo.driver.PS2Keyboard	2.1.6
ru.joedm.SMCSuperIO	1.1.5
com.alexandred.VoodooI2C	2.4.3
org.coolstar.VoodooGPIO	1.1
as.acidanthera.voodoo.driver.PS2Controller	2.1.6
as.vit9696.SMCProcessor	1.1.5
com.alexandred.VoodooI2CServices	1
com.XPS.VerbStub	1.0.3
ru.usrsse2.SMCLightSensor	1
ru.usrsse2.SMCBatteryManager	1
as.vit9696.VirtualSMC	1.1.5
org.acidanthera.NVMeFix	1.0.3
xyz.racermaster.NoTouchID	1.0.3
org.vanilla.driver.CPUFriend	1.2.1
as.acidanthera.BrcmFirmwareStore	2.5.4
as.lvs1974.AirportBrcmFixup	2.0.8
as.vit9696.AppleALC	1.5.1
as.vit9696.WhateverGreen	1.4.1
as.vit9696.Lilu	1.4.6
com.apple.driver.usb.realtek8153patcher	5.0.0
com.apple.driver.AudioAUUC	1.70
com.apple.fileutil	20.036.15
com.apple.filesystems.autofs	3.0
com.apple.driver.AppleSmartBatteryManager	161.0.0
com.apple.driver.AGPM	110.25.11
com.apple.driver.ApplePlatformEnabler	2.7.0d0
com.apple.driver.X86PlatformShim	1.0.0
com.apple.driver.AppleUpstreamUserClient	3.6.5
com.apple.driver.AppleHDA	282.54
com.apple.driver.AppleGraphicsDevicePolicy	3.50.15
com.apple.AGDCPluginDisplayMetrics	3.50.15
com.apple.driver.AppleHV	1
com.apple.iokit.IOUserEthernet	1.0.1
com.apple.iokit.IOBluetoothSerialManager	6.0.14d6
com.apple.driver.pmtelemetry	1
com.apple.Dont_Steal_Mac_OS_X	7.0.0
com.apple.private.KextAudit	1.0
com.apple.driver.AppleOSXWatchdog	1
com.apple.driver.AppleIntelKBLGraphics	12.1.0
com.apple.driver.eficheck	1
com.apple.driver.AppleIntelSlowAdaptiveClocking	4.0.0
com.apple.driver.AppleBacklight	170.12.12
com.apple.driver.AppleMCCSControl	1.5.9
com.apple.driver.AppleIntelKBLGraphicsFramebuffer	12.1.0
com.apple.driver.AppleSMCLMU	212
com.apple.driver.AppleIntelPCHPMC	2.0.1
com.apple.driver.AppleTopCaseHIDEventDriver	138.4
com.apple.driver.AppleVirtIO	2.1.3
com.apple.filesystems.hfs.kext	407.200.4
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless	1.0.0d1
com.apple.BootCache	40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib	1.0.0
com.apple.AppleSystemPolicy	1.0
com.apple.filesystems.apfs	945.275.8
com.apple.driver.AirPort.BrcmNIC	1400.1.1
com.apple.driver.AppleACPIEC	6.1
com.apple.driver.AppleACPIButtons	6.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.nke.applicationfirewall	202
com.apple.security.TMSafetyNet	8
com.apple.driver.usb.cdc.ecm	5.0.0
com.apple.driver.AppleThunderboltNHI	4.7.9
com.apple.iokit.IOThunderboltFamily	6.8.7
com.apple.iokit.IOAVBFamily	760.6
com.apple.plugin.IOgPTPPlugin	740.2
com.apple.iokit.IOEthernetAVBController	1.1.0
com.apple.iokit.IOSkywalkFamily	1
com.apple.kext.triggers	1.0
com.apple.driver.DspFuncLib	282.54
com.apple.kext.OSvKernDSPLib	528
com.apple.driver.AppleGraphicsControl	3.50.15
com.apple.driver.AppleSSE	1.0
com.apple.driver.AppleHDAController	282.54
com.apple.iokit.IOHDAFamily	282.54
com.apple.AppleGPUWrangler	3.50.15
com.apple.iokit.IOSlowAdaptiveClockingFamily	1.0.0
com.apple.driver.AppleBacklightExpert	1.1.0
com.apple.iokit.IONDRVSupport	530.51
com.apple.driver.AppleSMBusController	1.0.18d1
com.apple.driver.AppleSMBusPCI	1.0.14d1
com.apple.AppleGraphicsDeviceControl	3.50.15
com.apple.iokit.IOAcceleratorFamily2	404.14
com.apple.iokit.IOSurface	255.6.1
com.apple.iokit.IOGraphicsFamily	530.68
com.apple.driver.X86PlatformPlugin	1.0.0
com.apple.driver.IOPlatformPluginFamily	6.0.0d8
com.apple.driver.AppleHSBluetoothDriver	138.4
com.apple.driver.IOBluetoothHIDDriver	6.0.14d6
com.apple.driver.AppleActuatorDriver	2450.1
com.apple.driver.AppleMultitouchDriver	2450.1
com.apple.driver.AppleInputDeviceSupport	2440.4
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport	6.0.14d6
com.apple.iokit.IOBluetoothHostControllerUSBTransport	6.0.14d6
com.apple.iokit.IOBluetoothHostControllerTransport	6.0.14d6
com.apple.iokit.IOBluetoothFamily	6.0.14d6
com.apple.driver.AppleUSBAudio	315.6
com.apple.driver.usb.IOUSBHostHIDDevice	1.2
com.apple.iokit.IOAudioFamily	206.5
com.apple.vecLib.kext	1.2.0
com.apple.driver.usb.cdc	5.0.0
com.apple.driver.usb.networking	5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice	1.2
com.apple.driver.usb.AppleUSBHub	1.2
com.apple.driver.AppleUSBMergeNub	900.4.2
com.apple.driver.AppleUSBHostMergeProperties	1.2
com.apple.iokit.IOSerialFamily	11
com.apple.filesystems.hfs.encodings.kext	1
com.apple.driver.usb.AppleUSBHostPacketFilter	1.0
com.apple.iokit.IOUSBFamily	900.4.2
com.apple.iokit.IO80211Family	1200.12.2
com.apple.driver.mDNSOffloadUserClient	1.0.1b8
com.apple.iokit.IONVMeFamily	2.1.0
com.apple.driver.usb.AppleUSBXHCIPCI	1.2
com.apple.driver.usb.AppleUSBXHCI	1.2
com.apple.driver.AppleEFINVRAM	2.1
com.apple.driver.AppleEFIRuntime	2.1
com.apple.iokit.IOHIDFamily	2.0.0
com.apple.security.quarantine	3
com.apple.security.sandbox	300.0
com.apple.kext.AppleMatch	1.0.0d1
com.apple.iokit.IOSMBusFamily	1.1
com.apple.driver.corecapture	1.0.4
com.apple.driver.DiskImages	493.0.0
com.apple.driver.AppleFDEKeyStore	28.30
com.apple.driver.AppleEffaceableStorage	1.0
com.apple.driver.AppleKeyStore	2
com.apple.driver.AppleUSBTDM	456.260.3
com.apple.driver.AppleMobileFileIntegrity	1.0.5
com.apple.iokit.IOUSBMassStorageDriver	145.200.2
com.apple.iokit.IOSCSIBlockCommandsDevice	408.250.3
com.apple.iokit.IOSCSIArchitectureModelFamily	408.250.3
com.apple.iokit.IOStorageFamily	2.1
com.apple.kext.CoreTrust	1
com.apple.driver.AppleCredentialManager	1.0
com.apple.driver.KernelRelayHost	1
com.apple.iokit.IOUSBHostFamily	1.2
com.apple.driver.usb.AppleUSBCommon	1.0
com.apple.driver.AppleBusPowerController	1.0
com.apple.driver.AppleSEPManager	1.0.1
com.apple.driver.IOSlaveProcessor	1
com.apple.iokit.IOReportFamily	47
com.apple.iokit.IOTimeSyncFamily	740.2
com.apple.iokit.IONetworkingFamily	3.4
com.apple.driver.AppleACPIPlatform	6.1
com.apple.driver.AppleSMC	3.1.9
com.apple.iokit.IOPCIFamily	2.9
com.apple.iokit.IOACPIFamily	1.4
com.apple.kec.pthread	1
com.apple.kec.corecrypto	1.0
com.apple.kec.Libm	1

EOF
Model: MacBookPro15,2, BootROM 1539.0.0.0.1, 4 processors, Intel Core i7, 2 GHz, 16 GB, SMC 
Graphics: Intel UHD Graphics 620, Intel UHD Graphics 620, spdisplays_builtin
Memory Module: System Board Memory, 8 GB, LPDDR3, 2133 MHz, Micron, -
Memory Module: System Board Memory, 8 GB, LPDDR3, 2133 MHz, Micron, -
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x23), Broadcom BCM43xx 1.0 (7.77.61.3 AirPortDriverBrcmNIC-1305.9)
Bluetooth: Version 6.0.14d6, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
PCI Card: Intel UHD Graphics 620, VGA compatible controller, Internal@0,2,0
PCI Card: Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem, Signal processing controller, Internal@0,4,0
PCI Card: Sunrise Point-LP USB 3.0 xHCI Controller, USB controller, Internal@0,20,0
PCI Card: Sunrise Point-LP Thermal subsystem, Signal processing controller, Internal@0,20,2
PCI Card: Sunrise Point-LP Serial IO I2C Controller #0, Signal processing controller, Internal@0,21,0
PCI Card: Sunrise Point-LP Serial IO I2C Controller #1, Signal processing controller, Internal@0,21,1
PCI Card: Sunrise Point-LP CSME HECI #1, Communication controller, Internal@0,22,0
PCI Card: Sunrise Point-LP PMC, Memory controller, Internal@0,31,2
PCI Card: Sunrise Point-LP HD Audio, Audio device, Internal@0,31,3
PCI Card: Sunrise Point-LP SMBus, SMBus, Internal@0,31,4
PCI Card: BCM4352 802.11ac Wireless Network Adapter, Network controller, Internal@0,28,4/0,0
PCI Card: WD Black 2018/PC SN720 NVMe SSD, Non-Volatile memory controller, Internal@0,29,0/0,0
USB Device: USB 3.0 Bus
USB Device: USB5742
USB Device: Integrated_Webcam_HD
USB Device: Touchscreen
USB Device: BCM2045A0
USB Device: USB2742
USB Device: Vendor-Specific Device
Thunderbolt Bus: 

I've also tried to add IOElectrify.kext that enables always-on power to Intel Thunderbolt hardware, was tested on a Dell XPS 9360 and compatible with OpenCore. This time, the express card symbol does not appear in the system tray at all, and only the HDMI/DP/charging port on the dock seems to work.

There is no issue with a USB-C dock (Model: CFORCE CF001). Plugging in and out works smoothly. Note that the USB-C dock is recognized as a thunderbolt dock in the system info.
屏幕快照 2020-09-30 17 10 57
屏幕快照 2020-09-30 17 12 51

@dvrkoo
Copy link

dvrkoo commented Jan 8, 2021

Hello did you manage to find a fix

@teeuwen
Copy link

teeuwen commented Jan 21, 2021

I can confirm that this issue is still present on Big Sur. I'm using a Pluggable TBT3-UDV.

Here's my log (with symbols included):
thunderbolt

(this is an older screenshot, but the panic message is still the same today).

The dock also shows up as USB3.0 Controller. Behavior of loading in IOElectrify.kext is also exactly the same as @niuzehao described.

@suservu123
Copy link

I can confirm that this issue is still present on Big Sur. I'm using a Pluggable TBT3-UDV.

Here's my log (with symbols included):
thunderbolt

(this is an older screenshot, but the panic message is still the same today).

The dock also shows up as USB3.0 Controller. Behavior of loading in IOElectrify.kext is also exactly the same as @niuzehao described.

https://drive.google.com/file/d/1UeWnPY8lFeTMbvghDQmQYHIY9q4ObmGU/view?usp=sharing

@suservu123
Copy link

suservu123 commented Apr 15, 2021

Can you tried this efi ??? My usb C work normally. But i dont the thunderbolt device to test thunderbolt 3

@mankot14
Copy link

Can you tried this efi ??? My usb C work normally. But i dont the thunderbolt device to test thunderbolt 3

I have an HP Thunderbolt 3 Dock that I want to try but I don't use Clover. I'm using the-darkvoid's EFI for OpenCore 0.5.8 exactly as is but The TB3 device isn't being detected. Can you see if you can create an EFI for OpenCore?

@suservu123
Copy link

suservu123 commented Apr 24, 2021

Can you tried this efi ??? My usb C work normally. But i dont the thunderbolt device to test thunderbolt 3

I have an HP Thunderbolt 3 Dock that I want to try but I don't use Clover. I'm using the-darkvoid's EFI for OpenCore 0.5.8 exactly as is but The TB3 device isn't being detected. Can you see if you can create an EFI for OpenCore?

Sure but i think we should talk in facebook. It will be more comfortable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants