Marshalleq Posted May 23, 2022 Share Posted May 23, 2022 (edited) This page documents two parts of what is working and what is not working with Thunderbolt on Unraid. Part 1: The generic subsystems (for want of another name - perhaps someone can describe something technically more accurate here) Part 2: Specific matches of PCIe hardware to Hosts systems To date the following Thunderbolt subsystems are confirmed working on UnRaid: Storage: Working Networking: TBC Display: Passthrough Edited June 2, 2022 by Marshalleq Clarity Quote Link to comment
Marshalleq Posted May 23, 2022 Author Share Posted May 23, 2022 (edited) Card Status: Gigabyte GC-Titan Ridge 2.0 (Flashed for Mac) - Installed on Asus X399 Prime-A - Card detected with short pins trick - Devices Autodetect Gigabyte GC-Titan Ridge 2.0 (Flashed for Mac) - Installed on Lenovo P700 (Thunderbolt disabled in BIOS) - Storage Working Known Issues Reboot sometimes freezes system while thunderbolt plugged in Bolt tools are needed to properly authorise devices Devices may become deauthorized on reboot Edited June 3, 2022 by Marshalleq Quote Link to comment
Marshalleq Posted June 2, 2022 Author Share Posted June 2, 2022 (edited) This section to become the howto for how to get this going. For now I will put my experience so far, which is to say it looks like it's working but am yet to get any fruit. Jump pins 3 and 5 as outlined here , install the card and connect your devices. The card should now show up in Unraid as a PCIe device lspci shows a number of lines similar to: 03:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06) Also for your storage you should see a line similar to: [ 44.231417] thunderbolt 0-1: LaCie Rugged THB USB-C Add the following line to the /etc/udev/rules.d/99-local.rules file: ACTION=="add", SUBSYSTEM=="thunderbolt", ATTR{authorized}=="0", ATTR{authorized}="1" Navigate to /sys/bus/thunderbolt/devices/domain0/yourdevicefolder Display the contents of the authorized file: cat authorized If this is currently a 0 then: echo 1 > authorized Confirm it is now a 1: cat authorized Reboot Success, storage is now shown in the unraid GUI Note that line 4 effectively disables all thunderbolt security if you're worried about that. I've requested the bolt package be added to nerd tools as this apparently is the security manager for thunderbolt in linux. There is also a package called thunderbolt-tools that provides tbtadm that seems to do something similar. I am still to understand how much value these tools are considering this works now. Edited June 2, 2022 by Marshalleq Quote Link to comment
Dtrain Posted July 1, 2022 Share Posted July 1, 2022 hmm i am lost here got the summary (for a noob) decoded.. see the Thunderbolt Storage device itself in PCI Devices and IOMMU Groups IOMMU group 25:[1b4b:9548] 0b:00.0 RAID bus controller: Marvell Technology Group Ltd. Device 9548 (rev b3) but cant see any disk attached to it ... Device is this https://www.google.com/search?client=firefox-b-d&q=raidon+gr4670-tb3 Quote Link to comment
gentux Posted August 20, 2022 Share Posted August 20, 2022 On 7/1/2022 at 9:10 PM, Dtrain said: but cant see any disk attached to it ... I have the same issue on different hardware running unraid 6.10. I'm trying to use an OWC ThunderBay 8 with a Gigabyte Titan Ridge GC 2.0 and an Asrock motherboard which does have a TB3 connector. I did not short any pins as I can just connect them to the mainboard. I can see the Titan Ridge in lspci. I have enabled udev rules to authorize all devices but when I turn on the ThunderBay all I see in dmesg is this: [20065.354797] thunderbolt 0-1: new device found, vendor=0x5a device=0xde19 [20065.354803] thunderbolt 0-1: Other World Computing ThunderBay 8 I can see /sys/bus/thunderbolt/devices/0-0 for the Titan Ridge and 0-1 for the ThunderBay 8. Now How do I now mount the disks? Quote Link to comment
Dtrain Posted August 24, 2022 Share Posted August 24, 2022 after u attached the OWc thunderbay pls open Terminal and run this echo 1 > /sys/bus/pci/rescan Quote Link to comment
gentux Posted August 24, 2022 Share Posted August 24, 2022 4 hours ago, Dtrain said: after u attached the OWc thunderbay pls open Terminal and run this echo 1 > /sys/bus/pci/rescan Oh thanks a lot so I was just looking in the wrong directory /sys/bus/thunderbolt for such a function... I'll try out this weekend. Didn't thought about that it might be on the PCI. Quote Link to comment
Omri Posted August 31, 2022 Share Posted August 31, 2022 Regarding thunderbolt networking on 6.11rc4 it is working "native" I still need to use "ip link set thunderbolt 0 up" an of course assign static IP with ifconfig the speed is not stable when using pc as server when using unraid as server 1 Quote Link to comment
dopeytree Posted September 30, 2022 Share Posted September 30, 2022 Anyone tried a MSI thudnerbolt4 card? For me it would be cheaper & than getting a thunderbolt to 10g ethernet adapter (for macbook pro) + 10g ethernet pcie for my unraid system. Quote Link to comment
gentux Posted November 15, 2022 Share Posted November 15, 2022 (edited) So I finally tried your suggestion @Dtrain but I just got the errors seen in the image. I found out that some people with similar hardware suggested the following kernel config, would it be a bad idea to modify the append line as suggested here like so or would that break Unraid, I can always just pop the stick into my machine and fix it, right? EDIT: Got it working, I forgot to set some BIOS options, namely "Above 4G decoding", "Re-Size BAR" and in a completely different section called AMD PBS to simply enable Thunderbolt support with no security, thanks Asrock. Now I see the thunderbolt drives, yay! Don't even know if I need the boot config. append initrd=/bzroot pci=realloc,assign-busses,hpbussize=0x33 Edited November 15, 2022 by gentux Found solution Quote Link to comment
Defq0n Posted March 11, 2023 Share Posted March 11, 2023 Apologies for reviving a semi-old topic, but did you ever manage to have this happen at boot? udev rules are not persistant unless you add things to the go file on startup and still then, are iffy. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.