Jayant P Saikia

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Jayant P Saikia

  1. 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.

    1308162091_Screenshot2022-11-25at3_31_20am.thumb.png.c12d0daa0ed661b5cf7eb99a8c83e97e.png

     

    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.

    640571823_Screenshot2022-11-25at3_32_42am.thumb.png.4c5c4b6a00a701e3efb24ea4fa4fbc46.png

     

    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.

    984522553_Screenshot2022-11-25at3_33_54am.thumb.png.fb232c864b310d72138c2bdcfbf91c62.png

     

    And if you see carefully, the old PCI IDS are now occupied by the SATA controllers.

    1188351911_Screenshot2022-11-25at3_36_33am.thumb.png.8deaf54115e96caea7f26cd73a8b39f2.png

     

    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.