PCI passthrough - stop working after VM reboot.

intonet

Cadet
Joined
Mar 12, 2021
Messages
2
Hi!
My PCI device working well in virtual machine until reboot. To work again i need to restart truenas host.
I tried to detach device by command:
virths nodedev-detach --device pci_0000_00_14_0
but devices immediately back to host system
dmesg:
[Sun Sep 11 15:15:01 2022] usb 3-1.4: USB disconnect, device number 7
[Sun Sep 11 15:15:01 2022] usb 3-1.4: new full-speed USB device number 8 using ehci-pci
[Sun Sep 11 15:15:01 2022] usb 3-1.4: New USB device found, idVendor=1cf1, idProduct=0030, bcdDevice= 1.00
[Sun Sep 11 15:15:01 2022] usb 3-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Sun Sep 11 15:15:01 2022] usb 3-1.4: Product: ConBee II
[Sun Sep 11 15:15:01 2022] usb 3-1.4: Manufacturer: dresden elektronik ingenieurtechnik GmbH
[Sun Sep 11 15:15:01 2022] usb 3-1.4: SerialNumber: DE2427223
[Sun Sep 11 15:15:01 2022] cdc_acm 3-1.4:1.0: ttyACM0: USB ACM device
any ideas ?

Best
Marek.
 

ChrisRJ

Wizard
Joined
Oct 23, 2020
Messages
1,919
You provide basically zero information on your environment. Please do that (also as per the forum rules), otherwise we are not able to help you.
 

intonet

Cadet
Joined
Mar 12, 2021
Messages
2
You provide basically zero information on your environment. Please do that (also as per the forum rules), otherwise we are not able to help you.
Sorry
I have running trunas scale on Intel pc with i5 CPU.
Version: TrueNAS-SCALE-22.02.3
Problem occurs on my all VMs. I tried on pure Debian buster and homeassistan OS. Is no matter the reboot was triggered by system or by truenas gui. Stop and start VM does not restore PCI devices on VM too. Only restart truenas host made PCI passtruough working again.
 

ChrisRJ

Wizard
Joined
Oct 23, 2020
Messages
1,919
Please read the forum rules. They even specify the level of detail for the hardware that is required (yours is far away from that). Plus a ton of other useful information, that will help you better help.
 
Top