Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

Broken IOMMU ?

$
0
0
Hello,

I was very happy with my fully working Windows 10 VM under KVM using a dedicated Radeon graphic card (PCI passthrough) since months. Yesterday, I was playing a game then I normally shut down Windows 10. After 20 minutes, the shut down process was stuck. Anyway I forced the VM to shut down, then I shut down Ubuntu. Today, I turn on my computer and I am surprised to see my second graphic card up on Ubuntu (22.04, kernel 5.19) since it is reserved for my VM (I did not process any update at that time).

I checked the vfio-pci drivers in use :

Code:

lspci -nnv | grep vfio
but no output.

Also in the grub file:

Code:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=on kvm.ignore_msrs=1 vfio-pci.ids=1002:6985,1002:aae0"
the parameters are ok.

Code:

sudo dmesg | grep "Virtualization Technology for Directed I/O"
[    2.253556] DMAR: Intel(R) Virtualization Technology for Directed I/O

Code:

sudo dmesg | grep -i iommu
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.0-26-generic root=UUID=d4f0846c-16f0-4562-b0fc-232b42ec0005 ro quiet splash intel_iommu=on kvm.ignore_msrs=1 vfio-pci.ids=10de:102d vt.handoff=7
[    0.710282] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.2.0-26-generic root=UUID=d4f0846c-16f0-4562-b0fc-232b42ec0005 ro quiet splash intel_iommu=on kvm.ignore_msrs=1 vfio-pci.ids=10de:102d vt.handoff=7
[    0.710386] DMAR: IOMMU enabled
[    1.637402] DMAR-IR: IOAPIC id 3 under DRHD base  0xf7ffc000 IOMMU 0
[    1.637404] DMAR-IR: IOAPIC id 1 under DRHD base  0xf3ffc000 IOMMU 2
[    1.637405] DMAR-IR: IOAPIC id 2 under DRHD base  0xf3ffc000 IOMMU 2
[    2.135408] iommu: Default domain type: Translated
[    2.135408] iommu: DMA domain TLB invalidation policy: lazy mode
[    2.214090] DMAR: IOMMU feature sc_support inconsistent
[    2.214092] DMAR: IOMMU feature dev_iotlb_support inconsistent
[    2.214216] pci 0000:00:1b.0: Adding to iommu group 0
...

I do not know if the lines in bold were there before the trouble.

I tried again :
Code:

sudo update-grub
then reboot.
But vfio-pci drivers do not show up anymore.

Finally, I updated Ubuntu loading kernel 6.2. Reboot. But same issue.
I tried to declare another device using the grub, but same issue.
Something is broken, but I did not get clue to understand where.

Any idea ?

Thank you.

Dell Precision T7810
nVidia Quadro K6000 (main)
AMD Radeon WX3100 (for VM)
Ubuntu 22.04
KVM
Windows 10

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>