Jayant P Saikia Posted November 24, 2022 Share Posted November 24, 2022 Hi Team, I would like to raise a concern around my VFIO passthrough experience. May be this is a bug which can be addressed. Or this experience helps someone else from this pitfall. I have a pfSense VM with 4 NIC's passthrough to the VM. The VM is set to autostart ofcourse. The four NIC's are listed as below. Now I decided to add a new Asus PCI M.2 X16 card which supports 4 M.2 drives with PCI bifurcation. When I plugged in this device. My system would boot but freeze on startup. The error thrown out is a Filesystem corruption error displayed on the screenshot below. After multiple hours of troubleshooting, I found that the PCI IDS have changed for the NIC's. The four NIC's are now listed as below. And if you see carefully, the old PCI IDS are now occupied by the SATA controllers. I disabled Autostart of array, but could not disable Autostart of VM. Had to pull out the new Asus card, go back to old config. Set the pfSense VM not to autostart. Then plugged back the Asus card in. And finally I was able to start the VM Manager. At this point, if I manually start the VM without editing the passthrough devices, the same BTRFS corruption error happens and everything is frozen. So I hard rebooted the machine and before starting the pfSense VM, I edited the passthrough devices and everything works. Yey !!! Can this be fixed in anyway ? The lockout situation is very bad, any check before starting the VM to see if the correct devices are passed through would be good. Then at least the VM manager starts and the VM config can be edited. My situation was severely bad as it was throwing out the array disks itself. Quote Link to comment
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.