Contribute
Register
All these methods are experimental, for now there is no definitive solution for everyone.

In my case the hotplug works after I have removed the THB_C cable, but I have to have a device connected and turned on before the boot (Belkin TB dock) to make the TH card recognized by the system.

I also noticed that USB3 devices connected to the dock occasionally cause reboot after shutdonwn even if Fix Shutdown is selected in clover (maybe it's your case @Alexilgatto).

I think the key to solve the problem is hidden in the IOReg files that I posted some time ago: comparing the system with connected and disconnected THB_C cable, maybe you could find out the difference and consequently what you need to do to make the TH connection work correctly for PCI cards and therefore also for those with the TH port integrated in the MB.
 
Hi guys,

I have to implement a Thunderbolt.
In my IOReg Thunderbolt is at the address PCI0 - PEG1
So to modify the SSDT file I basically substitute RP05 with PEG1, correct?

Thanks for your help.
 
Would the 3 SSDT example work for a GA-Z170X UD5TH that has 2 built in Thunderbolt 3 ports?
Is the _DSM Method on DSB1/DSB2 still pertinent?
 
Would the 3 SSDT example work for a GA-Z170X UD5TH that has 2 built in Thunderbolt 3 ports?

No. Tried that, weird side-effects. TB works best(after waking it up in Windows) without any special SSDT's, but then you can't hot plug TB gear, sleep is hit and miss. And TB networking is impossible.
 
I got a system reset every time the machine goes to sleep, no matter how long it is (sleep/stand by/hibernation).

What does macOS say caused the reboot when the machine comes back up? I'm seeing a kernel panic under similar circumstances:

Code:
*** Panic Report ***
panic(cpu 4 caller 0xffffff7f88e9c275): "UPSB(iMacPro1,1): thunderbolt power on failed 0xffffffff\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/IOPCIFamily/IOPCIFamily-320.60.2/IOPCIBridge.cpp:1307
Backtrace (CPU 4), Frame : Return Address
0xffffffa75ce6ba80 : 0xffffff800866d166 mach_kernel : _handle_debugger_trap + 0x4c6
0xffffffa75ce6bad0 : 0xffffff8008795824 mach_kernel : _kdp_i386_trap + 0x114
0xffffffa75ce6bb10 : 0xffffff8008787b10 mach_kernel : _kernel_trap + 0x4d0
0xffffffa75ce6bb90 : 0xffffff800861f180 mach_kernel : _return_from_trap + 0xe0
0xffffffa75ce6bbb0 : 0xffffff800866cbdc mach_kernel : _panic_trap_to_debugger + 0x21c
0xffffffa75ce6bce0 : 0xffffff800866c99c mach_kernel : _panic + 0x5c
0xffffffa75ce6bd40 : 0xffffff7f88e9c275 com.apple.iokit.IOPCIFamily : __ZN11IOPCIBridge19_restoreDeviceStateEP11IOPCIDevicej + 0x1e9
0xffffffa75ce6bdb0 : 0xffffff7f88e9cdca com.apple.iokit.IOPCIFamily : __ZN11IOPCIBridge18restoreDeviceStateEP11IOPCIDevicej + 0x5a
0xffffffa75ce6bdd0 : 0xffffff7f88e9b0bf com.apple.iokit.IOPCIFamily : __ZN11IOPCIBridge19setDevicePowerStateEP11IOPCIDevicejmm + 0x27d
0xffffffa75ce6be20 : 0xffffff7f88ea59f1 com.apple.iokit.IOPCIFamily : __ZN11IOPCIDevice13setPowerStateEmP9IOService + 0x63
0xffffffa75ce6be40 : 0xffffff8008c7ef65 mach_kernel : __ZN9IOService19driverSetPowerStateEv + 0x185
0xffffffa75ce6beb0 : 0xffffff8008c7ed0a mach_kernel : __ZN9IOService15pmDriverCalloutEPS_ + 0x2a
0xffffffa75ce6bed0 : 0xffffff80086a67e4 mach_kernel : _thread_call_delayed_timer + 0xeb4
0xffffffa75ce6bf40 : 0xffffff80086a6345 mach_kernel : _thread_call_delayed_timer + 0xa15
0xffffffa75ce6bfa0 : 0xffffff800861e4f7 mach_kernel : _call_continuation + 0x17
      Kernel Extensions in backtrace:
         com.apple.iokit.IOPCIFamily(2.9)[1057F053-73DE-33E4-B5BE-09DA28715DB4]@0xffffff7f88e94000->0xffffff7f88ec8fff
 

Thanks a lot @zipb,
what do you suggest to make Thunderbolt work best on this board?
I don't get what you mean by saying "TB works best (after waking it up in Windows) ..."

Currently Thunderbolt devices are seen in MacOS if they're switched on at boot.
Should those devices work flawlessly once they're seen? Like external thunderbolt discs for example?
Because while copying from external Thunderbolt discs the system hung up and required a reboot.
But USB hung up too.
Thanks for your help.
 
Last edited:
If your TB devices ar seen when connected at boot, you should be OK. As of now, it doesn't get better than this for most people with TB boards. Some/most TB stuff works, and keeps working if connected at boot.

I upgraded my BIOS & TB firmware a couple of times(via Windows), without noticeable improvements.

About the hangs, make sure your Hack is properly patched. (USB etc)
 
What does macOS say caused the reboot when the machine comes back up? I'm seeing a kernel panic under similar circumstances:

Code:
*** Panic Report ***
panic(cpu 4 caller 0xffffff7f88e9c275): "UPSB(iMacPro1,1): thunderbolt power on failed 0xffffffff\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/IOPCIFamily/IOPCIFamily-320.60.2/IOPCIBridge.cpp:1307
Backtrace (CPU 4), Frame : Return Address
0xffffffa75ce6ba80 : 0xffffff800866d166 mach_kernel : _handle_debugger_trap + 0x4c6
0xffffffa75ce6bad0 : 0xffffff8008795824 mach_kernel : _kdp_i386_trap + 0x114
0xffffffa75ce6bb10 : 0xffffff8008787b10 mach_kernel : _kernel_trap + 0x4d0
0xffffffa75ce6bb90 : 0xffffff800861f180 mach_kernel : _return_from_trap + 0xe0
0xffffffa75ce6bbb0 : 0xffffff800866cbdc mach_kernel : _panic_trap_to_debugger + 0x21c
0xffffffa75ce6bce0 : 0xffffff800866c99c mach_kernel : _panic + 0x5c
0xffffffa75ce6bd40 : 0xffffff7f88e9c275 com.apple.iokit.IOPCIFamily : __ZN11IOPCIBridge19_restoreDeviceStateEP11IOPCIDevicej + 0x1e9
0xffffffa75ce6bdb0 : 0xffffff7f88e9cdca com.apple.iokit.IOPCIFamily : __ZN11IOPCIBridge18restoreDeviceStateEP11IOPCIDevicej + 0x5a
0xffffffa75ce6bdd0 : 0xffffff7f88e9b0bf com.apple.iokit.IOPCIFamily : __ZN11IOPCIBridge19setDevicePowerStateEP11IOPCIDevicejmm + 0x27d
0xffffffa75ce6be20 : 0xffffff7f88ea59f1 com.apple.iokit.IOPCIFamily : __ZN11IOPCIDevice13setPowerStateEmP9IOService + 0x63
0xffffffa75ce6be40 : 0xffffff8008c7ef65 mach_kernel : __ZN9IOService19driverSetPowerStateEv + 0x185
0xffffffa75ce6beb0 : 0xffffff8008c7ed0a mach_kernel : __ZN9IOService15pmDriverCalloutEPS_ + 0x2a
0xffffffa75ce6bed0 : 0xffffff80086a67e4 mach_kernel : _thread_call_delayed_timer + 0xeb4
0xffffffa75ce6bf40 : 0xffffff80086a6345 mach_kernel : _thread_call_delayed_timer + 0xa15
0xffffffa75ce6bfa0 : 0xffffff800861e4f7 mach_kernel : _call_continuation + 0x17
      Kernel Extensions in backtrace:
         com.apple.iokit.IOPCIFamily(2.9)[1057F053-73DE-33E4-B5BE-09DA28715DB4]@0xffffff7f88e94000->0xffffff7f88ec8fff

it means that when I wake the system up by pressing enter on the keyboard, the machine reboots and starts again...
 
Yes, I know that - I was asking you to post the contents of the Kernel Panic log so that I could see more details on why you're experiencing this crash.
 
I'm a bit confused following this thread, but can someone just verify with me - hot plugging is not working for z370 systems yet right? I was going to get a i9 7900 system (so, x299) but it was significantly more expensive and overclocking seemed more troublesome.
 
Back
Top