Moin in die Runde,
ich wende mich mit einem Problem an Euch, für das ich trotz Suche im Internet und im Forum keine Lösung gefunden habe.
Ich habe hier eine gebrauchte Sophos SG 125 rev. 3 mit 9 NICs von Intel, 5 davon sind igb und 4 sind ixgbe, speziell X553.
Das sind wohl abgespeckte X550. Die unterstützen SR-IOV, sind aber auf 1GBit/s begrenzt.
In einer VM soll OPNsense laufen, in die ich alle 5 igbs, 3 ixgbe per pass through und eine virtual function einer ixgbe durchreichen möchte.
Das funktioniert auch soweit.
Jetzt kommt das große aber. Das geht kommischer Weise nicht mit einer der ixgbe NICs.
Die vier ixgbe heißen enp11s0f0, enp11s0f1, enp13s0f0 und enp13s0f1. enp11s0f0 hat 4 vfs, enp11s0f1, enp13s0f0 und enp13s0f1 haben keine vfs.
Wenn ich in der VM Config eine vf von enp11s0f0 und alle anderen NICs als PCI device einrichte, startet die VM nicht. Entferne ich enp13s0f0, startet die VM.
Hier meine /etc/network/interfaces:
Die Ausgabe von lspci -nnk:
Die Ausgabe von qm start 100:
Hat jemand eine Idee, woran das liegen kann? Wenn Ihr noch Infos braucht, lasst es mich bitte wissen.
Vielen Dank schon mal für das Lesen.
ich wende mich mit einem Problem an Euch, für das ich trotz Suche im Internet und im Forum keine Lösung gefunden habe.
Ich habe hier eine gebrauchte Sophos SG 125 rev. 3 mit 9 NICs von Intel, 5 davon sind igb und 4 sind ixgbe, speziell X553.
Das sind wohl abgespeckte X550. Die unterstützen SR-IOV, sind aber auf 1GBit/s begrenzt.
In einer VM soll OPNsense laufen, in die ich alle 5 igbs, 3 ixgbe per pass through und eine virtual function einer ixgbe durchreichen möchte.
Das funktioniert auch soweit.
Jetzt kommt das große aber. Das geht kommischer Weise nicht mit einer der ixgbe NICs.
Die vier ixgbe heißen enp11s0f0, enp11s0f1, enp13s0f0 und enp13s0f1. enp11s0f0 hat 4 vfs, enp11s0f1, enp13s0f0 und enp13s0f1 haben keine vfs.
Wenn ich in der VM Config eine vf von enp11s0f0 und alle anderen NICs als PCI device einrichte, startet die VM nicht. Entferne ich enp13s0f0, startet die VM.
Hier meine /etc/network/interfaces:
Code:
auto lo
iface lo inet loopback
auto enp11s0f0
iface enp11s0f0 inet manual
post-up /usr/bin/echo 4 > /sys/class/net/$IFACE/device/sriov_numvfs
post-up /usr/sbin/ip link set $IFACE vf 0 mac 7c:5a:1c:78:e3:70 spoofchk off trust off
post-up /usr/sbin/ip link set $IFACE vf 1 mac 7c:5a:1c:78:e3:71 spoofchk off trust off
post-up /usr/sbin/ip link set $IFACE vf 2 mac 7c:5a:1c:78:e3:72 spoofchk off trust off
post-up /usr/sbin/ip link set $IFACE vf 3 mac 7c:5a:1c:78:e3:73 spoofchk off trust off
post-up echo "0000:0b:10.2" > "/sys/bus/pci/devices/0000:0b:10.2/driver/unbind"
post-up echo "0000:0b:10.4" > "/sys/bus/pci/devices/0000:0b:10.4/driver/unbind"
post-up echo "0000:0b:10.6" > "/sys/bus/pci/devices/0000:0b:10.6/driver/unbind"
auto vlan9
iface vlan9 inet static
vlan-raw-device enp11s0f0
auto vmbr0
iface vmbr0 inet static
address 10.0.9.5/28
bridge-ports vlan9
bridge-stp off
bridge-fd 0
# LAN Bridge
auto vmbr1
iface vmbr1 inet static
address 192.168.1.2/24
gateway 192.168.1.1
bridge-ports enp11s0f0v0
bridge-stp off
bridge-fd 0
hwaddress ether 7c:5a:1c:78:e3:70
post-up /usr/sbin/bridge fdb add 7c:5a:1c:78:e3:70 dev enp11s0f0
auto enp11s0f1
iface enp11s0f1 inet manual
auto enp13s0f0
iface enp13s0f0 inet manual
auto enp13s0f1
iface enp13s0f1 inet manual
auto enp2s0
iface enp2s0 inet manual
auto enp3s0
iface enp3s0 inet manual
auto enp4s0
iface enp4s0 inet manual
auto enp5s0
iface enp5s0 inet manual
auto enp10s0
iface enp10s0 inet manual
Die Ausgabe von lspci -nnk:
Code:
00:00.0 Host bridge [0600]: Intel Corporation Atom Processor C3000 Series System Agent [8086:1980] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series System Agent [8086:1999]
00:04.0 Host bridge [0600]: Intel Corporation Atom Processor C3000 Series Error Registers [8086:19a1] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series Error Registers [8086:0000]
00:05.0 Generic system peripheral [0807]: Intel Corporation Atom Processor C3000 Series Root Complex Event Collector [8086:19a2] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series Root Complex Event Collector [8086:0000]
Kernel driver in use: pcieport
00:06.0 PCI bridge [0604]: Intel Corporation Atom Processor C3000 Series Integrated QAT Root Port [8086:19a3] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series Integrated QAT Root Port [8086:0000]
Kernel driver in use: pcieport
00:09.0 PCI bridge [0604]: Intel Corporation Atom Processor C3000 Series PCI Express Root Port #0 [8086:19a4] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series PCI Express Root Port [8086:0000]
Kernel driver in use: pcieport
00:0a.0 PCI bridge [0604]: Intel Corporation Atom Processor C3000 Series PCI Express Root Port #1 [8086:19a5] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series PCI Express Root Port [8086:19a5]
Kernel driver in use: pcieport
00:0b.0 PCI bridge [0604]: Intel Corporation Atom Processor C3000 Series PCI Express Root Port #2 [8086:19a6] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series PCI Express Root Port [8086:19a6]
Kernel driver in use: pcieport
00:0c.0 PCI bridge [0604]: Intel Corporation Atom Processor C3000 Series PCI Express Root Port #3 [8086:19a7] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series PCI Express Root Port [8086:19a7]
Kernel driver in use: pcieport
00:0e.0 PCI bridge [0604]: Intel Corporation Atom Processor C3000 Series PCI Express Root Port #4 [8086:19a8] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series PCI Express Root Port [8086:19a8]
Kernel driver in use: pcieport
00:0f.0 PCI bridge [0604]: Intel Corporation Atom Processor C3000 Series PCI Express Root Port #5 [8086:19a9] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series PCI Express Root Port [8086:19a9]
Kernel driver in use: pcieport
00:10.0 PCI bridge [0604]: Intel Corporation Atom Processor C3000 Series PCI Express Root Port #6 [8086:19aa] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series PCI Express Root Port [8086:19aa]
Kernel driver in use: pcieport
00:11.0 PCI bridge [0604]: Intel Corporation Atom Processor C3000 Series PCI Express Root Port #7 [8086:19ab] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series PCI Express Root Port [8086:19ab]
Kernel driver in use: pcieport
00:12.0 System peripheral [0880]: Intel Corporation Atom Processor C3000 Series SMBus Contoller - Host [8086:19ac] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series SMBus Contoller - Host [8086:0000]
Kernel driver in use: ismt_smbus
Kernel modules: i2c_ismt
00:13.0 SATA controller [0106]: Intel Corporation Atom Processor C3000 Series SATA Controller 0 [8086:19b2] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series SATA Controller 0 [8086:7270]
Kernel driver in use: ahci
Kernel modules: ahci
00:15.0 USB controller [0c03]: Intel Corporation Atom Processor C3000 Series USB 3.0 xHCI Controller [8086:19d0] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series USB 3.0 xHCI Controller [8086:7270]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:16.0 PCI bridge [0604]: Intel Corporation Atom Processor C3000 Series Integrated LAN Root Port #0 [8086:19d1] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series Integrated LAN Root Port [8086:0000]
Kernel driver in use: pcieport
00:17.0 PCI bridge [0604]: Intel Corporation Atom Processor C3000 Series Integrated LAN Root Port #1 [8086:19d2] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series Integrated LAN Root Port [8086:0000]
Kernel driver in use: pcieport
00:18.0 Communication controller [0780]: Intel Corporation Atom Processor C3000 Series ME HECI 1 [8086:19d3] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series ME HECI 1 [8086:19d3]
00:1f.0 ISA bridge [0601]: Intel Corporation Atom Processor C3000 Series LPC or eSPI [8086:19dc] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series LPC or eSPI [8086:7270]
00:1f.2 Memory controller [0580]: Intel Corporation Atom Processor C3000 Series Power Management Controller [8086:19de] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series Power Management Controller [8086:7270]
00:1f.4 SMBus [0c05]: Intel Corporation Atom Processor C3000 Series SMBus controller [8086:19df] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series SMBus controller [8086:7270]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Atom Processor C3000 Series SPI Controller [8086:19e0] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series SPI Controller [8086:7270]
Kernel driver in use: intel-spi
Kernel modules: spi_intel_pci
01:00.0 Co-processor [0b40]: Intel Corporation Atom Processor C3000 Series QuickAssist Technology [8086:19e2] (rev 11)
Subsystem: Intel Corporation Atom Processor C3000 Series QuickAssist Technology [8086:0000]
Kernel driver in use: c3xxx
Kernel modules: qat_c3xxx
02:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
Subsystem: Intel Corporation I211 Gigabit Network Connection [8086:0000]
Kernel driver in use: vfio-pci
Kernel modules: igb
03:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
Subsystem: Intel Corporation I211 Gigabit Network Connection [8086:0000]
Kernel driver in use: vfio-pci
Kernel modules: igb
04:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
Subsystem: Intel Corporation I211 Gigabit Network Connection [8086:0000]
Kernel driver in use: vfio-pci
Kernel modules: igb
05:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
Subsystem: Intel Corporation I211 Gigabit Network Connection [8086:0000]
Kernel driver in use: vfio-pci
Kernel modules: igb
06:00.0 PCI bridge [0604]: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge [1a03:1150] (rev 03)
Subsystem: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge [1a03:1150]
07:00.0 VGA compatible controller [0300]: ASPEED Technology, Inc. ASPEED Graphics Family [1a03:2000] (rev 30)
Subsystem: ASPEED Technology, Inc. ASPEED Graphics Family [1a03:2000]
Kernel driver in use: ast
Kernel modules: ast
0a:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Fiber Network Connection [8086:1536] (rev 03)
Kernel driver in use: vfio-pci
Kernel modules: igb
0b:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection X553 1GbE [8086:15e5] (rev 11)
Subsystem: Intel Corporation Ethernet Connection X553 1GbE [8086:0000]
Kernel driver in use: ixgbe
Kernel modules: ixgbe
0b:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Connection X553 1GbE [8086:15e5] (rev 11)
Subsystem: Intel Corporation Ethernet Connection X553 1GbE [8086:0000]
Kernel driver in use: vfio-pci
Kernel modules: ixgbe
0b:10.0 Ethernet controller [0200]: Intel Corporation X553 Virtual Function [8086:15c5]
Subsystem: Intel Corporation X553 Virtual Function [8086:0000]
Kernel driver in use: ixgbevf
Kernel modules: ixgbevf
0b:10.2 Ethernet controller [0200]: Intel Corporation X553 Virtual Function [8086:15c5]
Subsystem: Intel Corporation X553 Virtual Function [8086:0000]
Kernel driver in use: vfio-pci
Kernel modules: ixgbevf
0b:10.4 Ethernet controller [0200]: Intel Corporation X553 Virtual Function [8086:15c5]
Subsystem: Intel Corporation X553 Virtual Function [8086:0000]
Kernel driver in use: ixgbevf
Kernel modules: ixgbevf
0b:10.6 Ethernet controller [0200]: Intel Corporation X553 Virtual Function [8086:15c5]
Subsystem: Intel Corporation X553 Virtual Function [8086:0000]
Kernel driver in use: ixgbevf
Kernel modules: ixgbevf
0d:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection X553 1GbE [8086:15e5] (rev 11)
Subsystem: Intel Corporation Ethernet Connection X553 1GbE [8086:0000]
Kernel driver in use: vfio-pci
Kernel modules: ixgbe
0d:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Connection X553 1GbE [8086:15e5] (rev 11)
Subsystem: Intel Corporation Ethernet Connection X553 1GbE [8086:0000]
Kernel driver in use: vfio-pci
Kernel modules: ixgbe
Die Ausgabe von qm start 100:
Code:
root@portunus:~# qm start 100
kvm: -device vfio-pci,host=0000:0d:00.0,id=hostpci7,bus=ich9-pcie-port-8,addr=0x0,rombar=0: vfio 0000:0d:00.0: Failed to set up TRIGGER eventfd signaling for interrupt INTX-0: VFIO_DEVICE_SET_IRQS failure: Transport endpoint is not connected
start failed: QEMU exited with code 1
Hat jemand eine Idee, woran das liegen kann? Wenn Ihr noch Infos braucht, lasst es mich bitte wissen.
Vielen Dank schon mal für das Lesen.