Hello!
I am fighting since many days with my Intel x520-DA2 NIC to passtrough it in a VM.
As im not able to find a solution, i want to try to ask you for help.
Important context:
This is a new machine and i use proxmox the first time. The installation was around 2-3 weeks ago.
Proxmox is updated. The Kernel as of now is: proxmox-kernel-6.8.4-3-pve-signed (6.8.4-3)
My System has a built-in 2.5GB Lan-Port from the motherboard. I added 1x Intel XXV710-AM2 (fs.com branded) & 1x Intel x520-DA2.
I can passtrough the XXV710-AM2 without any problems, it worked directly and has no problems so far.
However when trying to passtrough the x520-DA2 i get following errors when trying to startup the vm.
The VM will not start but stop instantly after trying to start it. (This is a list with all errors, when switching PCI settings):
VM Settings:
Ram: 8GB
Processors: 6 (host)
Machine: q35
SCSI Controller: VirtIO SCSI single
I have also tried several VM-Types but the error stays. So this seems to be not Vm-Type related.
There are many wikis and tutorials i read and i tried basicly everything, but the error just stays.
I don't know where to look and what further steps i can take to solve this.
It would make my day if someone could have a look and maybe give me some hints.
Here are the relevant configs:
Edit:
I just found following entries in dmesg, maybe this has soemthing to do with the problem:
[ 0.285354] pci 0000:03:00.0: BAR 0 [mem size 0x00100000 pref]: can't assign; no space
[ 0.285355] pci 0000:03:00.0: BAR 0 [mem size 0x00100000 pref]: failed to assign
[ 0.285356] pci 0000:03:00.1: BAR 0 [mem size 0x00100000 pref]: can't assign; no space
[ 0.285357] pci 0000:03:00.1: BAR 0 [mem size 0x00100000 pref]: failed to assign
[ 0.285358] pci 0000:03:00.0: BAR 3 [mem size 0x00004000 pref]: can't assign; no space
[ 0.285358] pci 0000:03:00.0: BAR 3 [mem size 0x00004000 pref]: failed to assign
[ 0.285359] pci 0000:03:00.0: VF BAR 0 [mem 0x4017100000-0x40171fffff 64bit pref]: assigned
[ 0.285370] pci 0000:03:00.0: VF BAR 3 [mem 0x4017200000-0x40172fffff 64bit pref]: assigned
[ 0.285374] pci 0000:03:00.1: BAR 3 [mem size 0x00004000 pref]: can't assign; no space
[ 0.285375] pci 0000:03:00.1: BAR 3 [mem size 0x00004000 pref]: failed to assign
[ 0.285376] pci 0000:03:00.1: VF BAR 0 [mem 0x4017300000-0x40173fffff 64bit pref]: assigned
[ 0.285380] pci 0000:03:00.1: VF BAR 3 [mem 0x4017400000-0x40174fffff 64bit pref]: assigned
[ 0.285385] pci 0000:03:00.0: BAR 0 [mem size 0x00100000 pref]: can't assign; no space
[ 0.285385] pci 0000:03:00.0: BAR 0 [mem size 0x00100000 pref]: failed to assign
[ 0.285386] pci 0000:03:00.1: BAR 0 [mem size 0x00100000 pref]: can't assign; no space
[ 0.285387] pci 0000:03:00.1: BAR 0 [mem size 0x00100000 pref]: failed to assign
[ 0.285387] pci 0000:03:00.0: BAR 3 [mem size 0x00004000 pref]: can't assign; no space
[ 0.285388] pci 0000:03:00.0: BAR 3 [mem size 0x00004000 pref]: failed to assign
[ 0.285389] pci 0000:03:00.1: BAR 3 [mem size 0x00004000 pref]: can't assign; no space
[ 0.285390] pci 0000:03:00.1: BAR 3 [mem size 0x00004000 pref]: failed to assign
[ 0.285390] pci 0000:03:00.1: VF BAR 3 [mem 0x4017100000-0x40171fffff 64bit pref]: assigned
[ 0.285395] pci 0000:03:00.1: VF BAR 0 [mem 0x4017200000-0x40172fffff 64bit pref]: assigned
[ 0.285399] pci 0000:03:00.0: VF BAR 3 [mem 0x4017300000-0x40173fffff 64bit pref]: assigned
[ 0.285403] pci 0000:03:00.0: VF BAR 0 [mem 0x4017400000-0x40174fffff 64bit pref]: assigned
I am fighting since many days with my Intel x520-DA2 NIC to passtrough it in a VM.
As im not able to find a solution, i want to try to ask you for help.
Important context:
This is a new machine and i use proxmox the first time. The installation was around 2-3 weeks ago.
Proxmox is updated. The Kernel as of now is: proxmox-kernel-6.8.4-3-pve-signed (6.8.4-3)
My System has a built-in 2.5GB Lan-Port from the motherboard. I added 1x Intel XXV710-AM2 (fs.com branded) & 1x Intel x520-DA2.
I can passtrough the XXV710-AM2 without any problems, it worked directly and has no problems so far.
However when trying to passtrough the x520-DA2 i get following errors when trying to startup the vm.
The VM will not start but stop instantly after trying to start it. (This is a list with all errors, when switching PCI settings):
VM Settings:
Ram: 8GB
Processors: 6 (host)
Machine: q35
SCSI Controller: VirtIO SCSI single
Code:
All Functions: Y, ROM-Bar: Y, PCI-Express: Y
kvm: -device vfio-pci,host=0000:03:00.0,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,multifunction=on: vfio 0000:03:00.0: hardware reports invalid configuration, MSIX PBA outside of specified BAR
TASK ERROR: start failed: QEMU exited with code 1
All Functions: Y, ROM-Bar: Y, PCI-Express: N
kvm: -device vfio-pci,host=0000:03:00.0,id=hostpci0.0,bus=pci.0,addr=0x10.0,multifunction=on: vfio 0000:03:00.0: hardware reports invalid configuration, MSIX PBA outside of specified BAR
TASK ERROR: start failed: QEMU exited with code 1
All Functions: Y, ROM-Bar: N, PCI-Express: N
kvm: -device vfio-pci,host=0000:03:00.0,id=hostpci0.0,bus=pci.0,addr=0x10.0,rombar=0,multifunction=on: vfio 0000:03:00.0: hardware reports invalid configuration, MSIX PBA outside of specified BAR
TASK ERROR: start failed: QEMU exited with code 1
All Functions: Y, ROM-Bar: N, PCI-Express: Y
kvm: -device vfio-pci,host=0000:03:00.0,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,rombar=0,multifunction=on: vfio 0000:03:00.0: hardware reports invalid configuration, MSIX PBA outside of specified BAR
TASK ERROR: start failed: QEMU exited with code 1
All Functions: N, ROM-Bar: Y, PCI-Express: Y
kvm: -device vfio-pci,host=0000:03:00.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0: vfio 0000:03:00.0: hardware reports invalid configuration, MSIX PBA outside of specified BAR
TASK ERROR: start failed: QEMU exited with code 1
All Functions: N, ROM-Bar: Y, PCI-Express: N
kvm: -device vfio-pci,host=0000:03:00.0,id=hostpci0,bus=pci.0,addr=0x10: vfio 0000:03:00.0: hardware reports invalid configuration, MSIX PBA outside of specified BAR
TASK ERROR: start failed: QEMU exited with code 1
All Functions: N, ROM-Bar: N, PCI-Express: Y
kvm: -device vfio-pci,host=0000:03:00.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0,rombar=0: vfio 0000:03:00.0: hardware reports invalid configuration, MSIX PBA outside of specified BAR
TASK ERROR: start failed: QEMU exited with code 1
All Functions: N, ROM-Bar: N, PCI-Express: N
kvm: -device vfio-pci,host=0000:03:00.0,id=hostpci0,bus=pci.0,addr=0x10,rombar=0: vfio 0000:03:00.0: hardware reports invalid configuration, MSIX PBA outside of specified BAR
TASK ERROR: start failed: QEMU exited with code 1
I have also tried several VM-Types but the error stays. So this seems to be not Vm-Type related.
There are many wikis and tutorials i read and i tried basicly everything, but the error just stays.
I don't know where to look and what further steps i can take to solve this.
It would make my day if someone could have a look and maybe give me some hints.
Here are the relevant configs:
Code:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"
GRUB_CMDLINE_LINUX="intel_iommu=on"
Code:
/etc/modules:
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
Code:
/etc/modprobe.d/pve-blacklist.conf:
blacklist nvidiafb
blacklist ixgbe
/etc/modprobe.d/vfio-pci.conf :
options vfio-pci ids=8086:158b,8086:10fb
Edit:
I just found following entries in dmesg, maybe this has soemthing to do with the problem:
[ 0.285354] pci 0000:03:00.0: BAR 0 [mem size 0x00100000 pref]: can't assign; no space
[ 0.285355] pci 0000:03:00.0: BAR 0 [mem size 0x00100000 pref]: failed to assign
[ 0.285356] pci 0000:03:00.1: BAR 0 [mem size 0x00100000 pref]: can't assign; no space
[ 0.285357] pci 0000:03:00.1: BAR 0 [mem size 0x00100000 pref]: failed to assign
[ 0.285358] pci 0000:03:00.0: BAR 3 [mem size 0x00004000 pref]: can't assign; no space
[ 0.285358] pci 0000:03:00.0: BAR 3 [mem size 0x00004000 pref]: failed to assign
[ 0.285359] pci 0000:03:00.0: VF BAR 0 [mem 0x4017100000-0x40171fffff 64bit pref]: assigned
[ 0.285370] pci 0000:03:00.0: VF BAR 3 [mem 0x4017200000-0x40172fffff 64bit pref]: assigned
[ 0.285374] pci 0000:03:00.1: BAR 3 [mem size 0x00004000 pref]: can't assign; no space
[ 0.285375] pci 0000:03:00.1: BAR 3 [mem size 0x00004000 pref]: failed to assign
[ 0.285376] pci 0000:03:00.1: VF BAR 0 [mem 0x4017300000-0x40173fffff 64bit pref]: assigned
[ 0.285380] pci 0000:03:00.1: VF BAR 3 [mem 0x4017400000-0x40174fffff 64bit pref]: assigned
[ 0.285385] pci 0000:03:00.0: BAR 0 [mem size 0x00100000 pref]: can't assign; no space
[ 0.285385] pci 0000:03:00.0: BAR 0 [mem size 0x00100000 pref]: failed to assign
[ 0.285386] pci 0000:03:00.1: BAR 0 [mem size 0x00100000 pref]: can't assign; no space
[ 0.285387] pci 0000:03:00.1: BAR 0 [mem size 0x00100000 pref]: failed to assign
[ 0.285387] pci 0000:03:00.0: BAR 3 [mem size 0x00004000 pref]: can't assign; no space
[ 0.285388] pci 0000:03:00.0: BAR 3 [mem size 0x00004000 pref]: failed to assign
[ 0.285389] pci 0000:03:00.1: BAR 3 [mem size 0x00004000 pref]: can't assign; no space
[ 0.285390] pci 0000:03:00.1: BAR 3 [mem size 0x00004000 pref]: failed to assign
[ 0.285390] pci 0000:03:00.1: VF BAR 3 [mem 0x4017100000-0x40171fffff 64bit pref]: assigned
[ 0.285395] pci 0000:03:00.1: VF BAR 0 [mem 0x4017200000-0x40172fffff 64bit pref]: assigned
[ 0.285399] pci 0000:03:00.0: VF BAR 3 [mem 0x4017300000-0x40173fffff 64bit pref]: assigned
[ 0.285403] pci 0000:03:00.0: VF BAR 0 [mem 0x4017400000-0x40174fffff 64bit pref]: assigned
Last edited: