RenatoEurope Posted January 15, 2021 Share Posted January 15, 2021 Hello, I have a TRX40 designare but I am struggling to pass USB controllers to VMs. Can somebody help me pls, I would really appreciate. So far I managed to make some USB controllers selectable in the VM configuration template and to select them (see attachment USBControllers) . For new profiles, I could save the profile ok, but the VM would not start and the server would become non responsive when trying to access it from the browser in another machine. The machine template can be found in the attachment VMtemplate.jpg the system DMESG can be found at: https://pastebin.com/8yHgR2rQ Unraid Info: https://pastebin.com/na8EwmKk I tried two ways to make the USB controllers selectable, both lead to the same result unfortunately: Method #1 By using the guide "https://www.youtube.com/watch?v=UilWLtMYd-U&pbjreload=101" . This is a manual process which would require to: Controlling the USB controller port and whether it was one that was in a IOMMU group by itself Could it be reset Identify it and passed it to the kernel in the dorm of vfio-pci.ids=whatever_id. the whole setting would become: append pcie_acs_override=downstream vfio-pci.ids=whatever_id initrd=/bzroot The IMMO group of my motherboard would than be: https://pastebin.com/2FEURvEu in that group I would chose the controller with ID 03:00.3 which would lead to the USB device address: 1022:148c (exporting the the controller 1022:148c would also expose the bus 25:00.3). The configuration line would than become: append pcie_acs_override=downstream vfio-pci.ids=1022:148c initrd=/bzroot see attachment Boot.jpg The full list of devices, by selecting tools -> devices is: https://pastebin.com/r2pyiyY8 Method #2 use the plugin VFIO-PCI Config if I select Group 15, I end up with the same controllers of the image USBControllers, On a new VM I can select them and save the template but the VM would not start and freeze the server. I am a newbi to Unraid and this is the server I need to work from home. Any help would be appreciated. Quote Link to comment
runamuk Posted January 16, 2021 Share Posted January 16, 2021 (edited) First thing make sure you have IOMMU override turn on in your BIOS Second change your USB controller What do you currently have your PCIe ACS override set as. Go to Settings - VM - Manger - Advanced View: (try switching it to both- always had the most luck) and editing VFIO - Are you running Version: 6.9.0-rc2 of unraid? Edit the VFIO under -- Tools - System Devices and pass though the correct usb controller If you are not using 6.9.0-rc2 download the VFIO addon under Community Applications and add the USB controller this way Also I'm sure you made sure the USB controller you are trying to use is not the one that has the UNRAID usb; if you try passing though the same usb controller that has Unraid USB your system will halt. 19 hours ago, RenatoEurope said: Method #1 By using the guide "https://www.youtube.com/watch?v=UilWLtMYd-U&pbjreload=101" . This is a manual process which would require to: This is super old and the hard way of doing it. == Use this "https://www.youtube.com/watch?v=xsuRFeyqbt4" Edited January 16, 2021 by runamuk Quote Link to comment
RenatoEurope Posted January 16, 2021 Author Share Posted January 16, 2021 HI, I agree, I used the video you suggest to what I defined Method #2 unfortunately with the same result: a VM with an USB passed through, would just not start at all. Quote Link to comment
sprange Posted January 16, 2021 Share Posted January 16, 2021 I have the TRX40 Aorus Xtreme and have similar results. One of the controllers can be passed through fine. Another one results in the VM hanging at the boot screen for about five minutes before resuming. I haven't tried the Asmedia USB c port--I can always try that and use a hub. Quote Link to comment
runamuk Posted January 17, 2021 Share Posted January 17, 2021 (edited) 17 hours ago, RenatoEurope said: HI, I agree, I used the video you suggest to what I defined Method #2 unfortunately with the same result: a VM with an USB passed through, would just not start at all. What override method are you trying? What controller is your Unraid USB on? Lets start with getting one controller working before turning on the second. When looking at your IOMMU group it should look similar to this Can you post your System Diagnostics On 1/15/2021 at 3:46 PM, RenatoEurope said: if I select Group 15, I end up with the same controllers of the image USBControllers, On a new VM I can select them and save the template but the VM would not start and freeze the server. This is telling me what ever controller you are trying to use has the unraid USB connect in someway Edited January 17, 2021 by runamuk Quote Link to comment
RenatoEurope Posted January 17, 2021 Author Share Posted January 17, 2021 I eventually managed to pass through USB controllers when I installed Unraid 6.9. Looking at Tools - > Devices, it now tells you what USB Controllers you can pass through because they are not used by Unraid, it turned out that was my problem, meaning the USB controller(s) I was trying to pass were used by Unraid. At the moment I have not used any override. I may try the override way still, because I cannot pass the DVD RW to any system. and my CDRW is not in a ingle IOMMU. Everybody, thank you for your help. 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.