IOMMU Not Present

v_2nas

New Member
Apr 7, 2019
10
0
1
41
Hi Everyone,
I am running latest version of proxmox
I have Asus H110T mother board & Intel i-6100 cpu.
Intel VT-x is enabled in the bios.

I have install Intel 7260 wireless card.

The wireless nic is listed when i run lspci
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 83)

However, I don't see it available under System>network

When I try to add it as pass through to a linux vm (pfsense). I get an error
IOMMU not Activated.

I have updated the grub settings & loaded the modules in kernel

root@pve:~#lspci -k
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 83)
Subsystem: Intel Corporation Dual Band Wireless-N 7260
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi

root@pve:~# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.0.15-1-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on

root@pve:~# lsmod | grep vfio
vfio_mdev 16384 0
mdev 24576 2 kvmgt,vfio_mdev
vfio_pci 49152 0
vfio_virqfd 16384 1 vfio_pci
irqbypass 16384 2 vfio_pci,kvm
vfio_iommu_type1 28672 0
vfio 32768 4 kvmgt,vfio_mdev,vfio_iommu_type1,vfio_pci

root@pve:~# dmesg | grep -E 'IOMMU|DMAR'
[ 0.040760] DMAR: IOMMU enabled

This command doesn't return any results
# find /sys/kernel/iommu_groups/ -type l


I am not quite sure what needs to be done next in order to present wireless nic to pfsense vm. Any help to getting this issue resolved would be appreciated.
 
did you enable vt-d/iommu in the bios ?
 
I have written to asus to confirm if vt-d is available on motherboard. On cpu vt-d feature is certainly available.

btw, would i see the wireless nic under proxmon > system > network like ethernet nic? the wireless nic doesn't show there. it only shows lspci command (refer to first post for output).

is there any otherway to present wireless nic to vm?
 
what does 'ip link' show?
also the complete output of 'dmesg' would be helpful
 
Output of ip link
Code:
root@pve:~# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master vmbr1 state DOWN mode DEFAULT group default qlen 1000
    link/ether 18:31:bf:b6:68:d0 brd ff:ff:ff:ff:ff:ff
3: enp0s31f6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master vmbr2 state DOWN mode DEFAULT group default qlen 1000
    link/ether 18:31:bf:b6:68:cf brd ff:ff:ff:ff:ff:ff
4: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether e8:2a:ea:d5:02:e1 brd ff:ff:ff:ff:ff:ff
5: enx000fc910f779: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP mode DEFAULT group default qlen 1000
    link/ether 00:0f:c9:10:f7:79 brd ff:ff:ff:ff:ff:ff
6: enx000fc910f77a: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:0f:c9:10:f7:7a brd ff:ff:ff:ff:ff:ff
7: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 00:0f:c9:10:f7:79 brd ff:ff:ff:ff:ff:ff
8: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 18:31:bf:b6:68:d0 brd ff:ff:ff:ff:ff:ff
9: vmbr2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 18:31:bf:b6:68:cf brd ff:ff:ff:ff:ff:ff
10: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr100i0 state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether c6:8b:ae:8e:7e:6c brd ff:ff:ff:ff:ff:ff
11: fwbr100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether c6:ff:20:93:41:20 brd ff:ff:ff:ff:ff:ff
12: fwpr100p0@fwln100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr1 state UP mode DEFAULT group default qlen 1000
    link/ether ba:de:6f:41:b1:7c brd ff:ff:ff:ff:ff:ff
13: fwln100i0@fwpr100p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr100i0 state UP mode DEFAULT group default qlen 1000
    link/ether c6:ff:20:93:41:20 brd ff:ff:ff:ff:ff:ff
14: tap100i1: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr100i1 state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether 3e:31:a7:e1:f2:2e brd ff:ff:ff:ff:ff:ff
15: fwbr100i1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 36:f8:9b:70:6a:37 brd ff:ff:ff:ff:ff:ff
16: fwpr100p1@fwln100i1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr2 state UP mode DEFAULT group default qlen 1000
    link/ether 96:ac:e9:c3:c7:f1 brd ff:ff:ff:ff:ff:ff
17: fwln100i1@fwpr100p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr100i1 state UP mode DEFAULT group default qlen 1000
    link/ether 36:f8:9b:70:6a:37 brd ff:ff:ff:ff:ff:ff

Output of dmesg
see the attached file
 

Attachments

the network interface does show up there 'wlp2s0' so you can use that

also, i see nothing for iommu in the dmesg except that its enabled via the kernel command line, which means it is not enabled in the bios...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!