PCIe NIC passthrough problem

vobo70

Well-Known Member
Nov 15, 2017
61
2
48
54
Warsaw, Poland
Hello again,
proxmox is working fine, but I would like to passthrough 2-port GBe NIC to VM
Code:
01:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
01:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
i did everything as stated here:
https://pve.proxmox.com/wiki/Pci_passthrough#GPU_OVMF_PCI_EXPRESS_PASSTHROUGH
but when I try to start VM 101 I get the error message:
cannot open iommu_group no such file or directory
My motherboard is Asrock AM1B-ITX
https://www.asrock.com/mb/AMD/AM1B-ITX/index.pl.asp
CPU Athon APU 5370
http://products.amd.com/en-us/searc...U/Athlon™-5370-APU-with-Radeon™-R3-Series/182
dmesg | grep -e DMAR -e IOMMU command give this output:
Code:
[    7.818938] AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
[    7.818940] AMD IOMMUv2 functionality not available on this system
my machine conf (vi /etc/pve/qemu-server/101.conf) is:
Code:
bootdisk: scsi0
cores: 4
keyboard: pl
memory: 2048
name: psfense
net0: virtio=16:92:66:6A:A5:EA,bridge=vmbr0
numa: 0
onboot: 1
ostype: l26
scsi0: local-lvm:vm-101-disk-1,size=8G
scsihw: virtio-scsi-pci
smbios1: uuid=b7eecb22-bc1f-4b25-a474-0f13fe8be9e3
sockets: 1
machine: q35
hostpci0: 01:00.0,pcie=1
hostpci1: 01:00.1,pcie=1
What I would like to do is to virtualize firewall (pfsense)

any help will be appreciated
thanks
 
it tells you right there, IOMMU is not supported on the system.
in fact it seams that the MB does not support SVN or other virtualization instructions.
without it you can not use passthrough on this setup.

check your BIOS and turn on anything related to virtualization, SVN, iommu anythign with virtualization in descirption or name.
reboot and update the system
than check iommu again.

but if not supported, you can try a different route.

instead of passing the card in.
create 2 bridges in proxmox one for each physical port.
and add the bridges to VM as NIC interfaces.
that is what I do on my test pfSense setup.
 
Thanks. I have just checked and everything in BIOS is switched on - SVN this is the only CPU settings.
I will do the second route, there's only one thing I am concern - does the card will have all the capabilities like direct passed adapter?
 
  • Like
Reactions: jim.bond.9862
Thanks. I have just checked and everything in BIOS is switched on - SVN this is the only CPU settings.
I will do the second route, there's only one thing I am concern - does the card will have all the capabilities like direct passed adapter?

well on some MB even though the settings are on the support is simply not there. I had 2 old servers a few years back.
on one of them all my research showed that virtualized instruction was not supported even though BIOS had the settings.
on the second one all show a clear path. care to take a guess which one i managed to setup with virtualization and run for 5 years straight with no issues :-) , yep , the one that was deemed unsupported.
and the second server simply would not run at all. there was a bug in the BIOS....


now for your second question, what capability exactly do you have in a network card that you are worry about?
it either works or not IMHO