This drives me crazy. It has been posted a bunch of times but apparently I found the 99th time that is not working. What I did so far is check the following:
First I've checked if my CPU and System can support it (according to https://www.thomas-krenn.com/de/wiki/Virtualisierungsfunktion_Intel_VT-x_aktivieren):
delivers
Now it is getting interesting, no IOMMU groups have been created
x2apic was an issue (IRQ remapping)
That's when I added nox2apic as a kernel boot parameter and additionally ensured, that i915 is blacklisted by the kernel.
Now after booting I get no message on remapping, but it is still not working, and there are still no iommu groups.
I have no more ideas. I am sure I am missing something, but no idea what it could be.
any help would be appreciated
cheers, Roland
First I've checked if my CPU and System can support it (according to https://www.thomas-krenn.com/de/wiki/Virtualisierungsfunktion_Intel_VT-x_aktivieren):
- Does the CPU support VT-d? Yes, it is a Skylake and vmx is present
- Has the BIOS enabled VT-d? Yes, rdmsr -c 0x3a delivers 5, which means the flags are set
Bash:
dmesg | grep -e DMAR -e IOMMU
delivers
Bash:
root@pve3:~# dmesg | grep -e DMAR -e IOMMU
[ 0.000000] Warning: PCIe ACS overrides enabled; This may allow non-IOMMU protected peer-to-peer DMA
[ 0.055017] DMAR: IOMMU enabled
Now it is getting interesting, no IOMMU groups have been created
Code:
root@pve3:~# ls -l /sys/kernel/iommu_groups/
total 0
x2apic was an issue (IRQ remapping)
Code:
root@pve3:~# dmesg | grep 'remapping'
[ 0.156253] x2apic: IRQ remapping doesn't support X2APIC mode
That's when I added nox2apic as a kernel boot parameter and additionally ensured, that i915 is blacklisted by the kernel.
Now after booting I get no message on remapping, but it is still not working, and there are still no iommu groups.
I have no more ideas. I am sure I am missing something, but no idea what it could be.
any help would be appreciated
cheers, Roland