December 19, 20223 yr So I am trying to setup a TrueNAS Scale VM. I have it all setup and can remote into it but if I pass through a sata controller Unriad locks up and I need to reboot Does anyone have expereince passing through onboard controllers. (in other words not pcie cards) I have an AsRock ROMED8-2T, this baord has 2x mini sas HD connectors and came with 2X mini SAS HD to x4 sata connectors. in my iommu groups. I have group 59 this is where I see the 5TB drive that unriad uses (im owrking in getting a drive for parity so lets put that aside) At group 58 I have two 4TB drives that I want TrueNAS to use I will attatch a screen grab (I unbound the controller from vfio so you can see the devices) I believe one m.2 also falls into this IOMMU group I have tried booting the VM with the sata controller passed through both with and without the drives connected to it and no change Still crashes But as soon as I start the VM with no sata controller its fine Is it worth swapping the drives and their controllers with each other to see if the other controller behaves the same? Has anyone tried to pass a onboard sata controller to a VM? And because it is a hard freeze there is no log There is a pick of my TrueNAS VM setup attached, it depicts the sata controller I wish to pass through Any insight would be greatly appreciated.
December 19, 20223 yr Author I have also read about this "stub"ing which I think involves doing something with the syslinux.cfg file (where you set your default boot mode) maybe I will try that not really sure how to go about it but I'm sure I can figure it out.
December 19, 20223 yr Author 2 hours ago, BAZOOKAPANDA said: I have also read about this "stub"ing which I think involves doing something with the syslinux.cfg file (where you set your default boot mode) maybe I will try that not really sure how to go about it but I'm sure I can figure it out. I believe that would basically be the same as ticking the little box in the vfio menu in settings > system devices
December 19, 20223 yr Author Solution I have news! So I found this on the Proxmox forums. https://forum.proxmox.com/threads/passthrough-of-onboard-sata-controller-locks-up-system.115569/ https://forum.proxmox.com/threads/amd-epyc-pcie-passthrough-flr-error.106070/#post-456481 I punched this line of code into the Unriad terminal echo bus >'/sys/bus/pci/devices/0000:83:00.0/reset_method' Except I substituted their IOMMU group with my own, like so echo bus >'/sys/bus/pci/devices/0000:47:00.0/reset_method' Anyway the VM started and I seem my two 4TB drives in TrueNAS To be honest I'm not really sure what any of this means but I do know that my TrueNAS Scale VM would not start and would crash Unraid if I had the sata controller passed trough Is the command the same as the function level reset I see in the vfio menu? Because I clicked that and nothing appeared to happen, I don't think it is a interactive button Do people know about this because I saw two threads on the Proxmox forums discussing this? Will there be a patch? Must I like the GIGA-chads below write a script to do this everytime before starting my VM? Would love some insight from people who actually know what any of this means Thank you Edited December 19, 20223 yr by BAZOOKAPANDA
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.