Hello Everyone,
1. I created a TrueNAS VM, and tried to passthrough a WD Red SN700 2TB NVMe. When I start the VM, I get the following message:
error writing '1' to '/sys/bus/pci/devices/0000:0b:00.0/reset': Inappropriate ioctl for device
failed to reset PCI device '0000:0b:00.0', but trying to continue as not all devices need a reset
kvm: -device vfio-pci,host=0000:0b:00.0,id=hostpci1,bus=ich9-pcie-port-2,addr=0x0,rombar=0: vfio /sys/bus/pci/devices/0000:0b:00.0: no such host device: No such file or directory
no PCI device found for '0000:0b:00.0'
TASK ERROR: start failed: QEMU exited with code 1
If I do 'lspci' after the error, the NVMe is not present. I have to reboot the system in order tog et the drive to reappear.
2. Thinking that it might be an issue with WD SN7xx series drive, I tried to pass through a Samsung 980 Pro NVMe and got the exact same result.
- The motherboard is an Asrock Rack W680D4U-2L2T/G5.
Here is my VM setup:
balloon: 0
boot: order=scsi0;net0
cores: 8
cpu: host
hostpci0: 0000:01:00,pcie=1,rombar=0
hostpci1: 0000:0b:00.0,pcie=1,rombar=0
machine: q35
memory: 8192
meta: creation-qemu=9.0.2,ctime=1736250759
name: TrueNAS-vm
net0: virtio=BC:24:11:7C:5A:A0,bridge=vmbr1,firewall=1,mtu=9000,tag=60
numa: 0
ostype: l26
scsi0: vm_store:vm-100-disk-0,iothread=1,size=64G
scsihw: virtio-scsi-single
smbios1: uuid=aa27ae72-bc33-4cd4-9320-68fe505c5510
sockets: 1
vmgenid: bd5a4228-5987-4e7d-b063-e430b00da720
Notes:
I've seen similar issues posted here, so hopefully this isn't a duplicate thread. I've noticed in other thread reporting similar issues, that they are related to GPU passthrough, or VMs that have already been established. I
I've attached several files for review.
Any help with this is greatly appreciated.
Thanks.
1. I created a TrueNAS VM, and tried to passthrough a WD Red SN700 2TB NVMe. When I start the VM, I get the following message:
error writing '1' to '/sys/bus/pci/devices/0000:0b:00.0/reset': Inappropriate ioctl for device
failed to reset PCI device '0000:0b:00.0', but trying to continue as not all devices need a reset
kvm: -device vfio-pci,host=0000:0b:00.0,id=hostpci1,bus=ich9-pcie-port-2,addr=0x0,rombar=0: vfio /sys/bus/pci/devices/0000:0b:00.0: no such host device: No such file or directory
no PCI device found for '0000:0b:00.0'
TASK ERROR: start failed: QEMU exited with code 1
If I do 'lspci' after the error, the NVMe is not present. I have to reboot the system in order tog et the drive to reappear.
2. Thinking that it might be an issue with WD SN7xx series drive, I tried to pass through a Samsung 980 Pro NVMe and got the exact same result.
- The motherboard is an Asrock Rack W680D4U-2L2T/G5.
- The drives are plugged into the M.2 slot (PCIe3 x4), which is attached to the Intel Alder Lake Z690 PCH.
- There is a Micron 7500 Pro NVMe connected via Oculink, which is attached to the Alder Lake CPU
Here is my VM setup:
balloon: 0
boot: order=scsi0;net0
cores: 8
cpu: host
hostpci0: 0000:01:00,pcie=1,rombar=0
hostpci1: 0000:0b:00.0,pcie=1,rombar=0
machine: q35
memory: 8192
meta: creation-qemu=9.0.2,ctime=1736250759
name: TrueNAS-vm
net0: virtio=BC:24:11:7C:5A:A0,bridge=vmbr1,firewall=1,mtu=9000,tag=60
numa: 0
ostype: l26
scsi0: vm_store:vm-100-disk-0,iothread=1,size=64G
scsihw: virtio-scsi-single
smbios1: uuid=aa27ae72-bc33-4cd4-9320-68fe505c5510
sockets: 1
vmgenid: bd5a4228-5987-4e7d-b063-e430b00da720
Notes:
- I'm running - pveversion
- pve-manager/8.3.2/3e76eec21c4a14a7 (running kernel: 6.8.12-6-pve) per the recommendations from this thread: https://forum.proxmox.com/threads/w...ckages-broke-my-pci-passthrough.156848/page-3
- I assigned the NVMe to the various-pci driver.
- I have IOMMU enabled in grub: GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on".
I've seen similar issues posted here, so hopefully this isn't a duplicate thread. I've noticed in other thread reporting similar issues, that they are related to GPU passthrough, or VMs that have already been established. I
I've attached several files for review.
Any help with this is greatly appreciated.
Thanks.