Questions tagged [iommu]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

Is passing through a GPU to KVM supported when running linux in tty mode (3 grub argument)?

I am trying to set up a KVM virtual machine and pass through my single graphics card (AMD 5700XT + aorus x570 pro) but have had no success so far. I have been collecting dmesg logs via ssh on a remote ...
user avatar
0 votes
1 answer
81 views

How to isolate (reserve) GPUs with identical hardware IDs via IOMMU / dracut / kernel parameters (in VoidLinux)

I'm trying to set up pci/gpu passthrough on void. Specifically, using the vfio-pci driver to "reserve" one of the GPUs. I have been following the procedure outlined in this void-docs PR (and ...
user avatar
  • 1
0 votes
0 answers
147 views

Capturing Integrated Graphics Card for QEMU Virtual Machine Passthrough

I am currently trying to create a VM setup on an Ubuntu 20.04. Particularly, I was working on passing through the integrated GPU down to the guest. When running lspci -nnk, I get the following 00:00.0 ...
user avatar
0 votes
0 answers
83 views

On which parameters one can determine which PCI devices available on host are assignable to the KVM guests

I have the following PCI devices available on my host (centos 7): [root@sumeet-KVM ~]# lspci -kD 0000:00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02) Subsystem: Red ...
user avatar
0 votes
1 answer
101 views

ACPI and AMD GPU errors while attempting to install Ubuntu or Mint

I have been trying to dual boot windows and Linux. I am facing similar problems for both Ubuntu and Mint. The attached image shows the errors that i am getting
user avatar
4 votes
0 answers
137 views

How can I prevent USB drivers (EHCI) from loading on specific USB controller (PCIe card)?

I'm using Debian 10.8 with Linux Kernel 4.19.0-14. I'm trying to use IOMMU to passthrough an entire USB controller (PCI Express card), but I'm having problems. The kernel is loading the ohci_pci and ...
user avatar
  • 283
1 vote
2 answers
580 views

Too few IOMMU groups - split?

I bought AMD RyZEN 5 2400G, Gigabyte B450M D3SH and 16GB RAM. Some elder GPU AMD Radeon HD 6XXX I took for passing through. But I was unpleasantly surprised with the IOMMU grouping. I put the GPU in ...
user avatar
  • 918
1 vote
0 answers
778 views

How to fix AMD-Vi: Unable to read/write to IOMMU perf counter. at boot Void Linux

I am using an amd laptop. CPU: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx (8) @ 2.100GHz GPU: AMD ATI 03:00.0 Picasso While starting void I get this message on top AMD-Vi: Unable to read/write ...
user avatar
  • 11
3 votes
0 answers
1k views

What is the appropiate iommu kernel parameter for Ryzen5 1600 and multiple RX580 GPU?

Reserving all the PCIe slot for RX580 prevents my PC to boot, due to such errors AMD-VI IOTLB_INV_TIMEOUT, AER: Corrected error received or kernel panic. Adding the linux parameters with iommu=soft ...
user avatar
  • 139
0 votes
0 answers
2k views

Debian boot error: AMD-Vi: Unable to write to IOMMU perf counter

I'm booting a stable live Debian USB (with persistence) on a Windows 10 laptop with an AMD Ryzen 5 2500U processor. I should add that I've tried both the official and non-free Debian versions. The ...
user avatar
  • 253
2 votes
0 answers
137 views

Linux, at what point a device can write to the main memory through DMA?

I am trying to figure out how and when Linux gives the permission to perform direct memory access (DMA) to the peripheral devices on PCIe. I have read how DMA is initiated in the kernel's "DMA ...
user avatar
  • 1,873
2 votes
0 answers
828 views

Problem with IOMMU passthrough of i915 after Debian update

Yesterday, after six stable months I upgraded my Debian 10 box to Debian 4.19.98-1+deb10u1 (2020-04-27). I am running a KVM hypervisor and Windows 10 Pro as a VM on that box. The Win VM uses the i915 ...
user avatar
  • 121
2 votes
1 answer
3k views

VT-d support enabled but IOMMU groups are missing

On a Supermicro A2SDi-8C+-HLN4F Atom C3758 system I see that VT-d support is enabled in the BIOS but I can't find any IOMMU groups under Linux (Fedora 31): $ ls /sys/kernel/iommu_groups $ The kernel ...
user avatar
  • 52.9k
2 votes
3 answers
4k views

What are the implication of using iommu=force in the boot kernel options?

I have to follow a hardening procedure for a linux os, in this procedure it tels us that the kernel option must have iommu=force. What does it do ? What could be the difference without specifying ...
user avatar
  • 183
1 vote
0 answers
330 views

Intel CPU stepping - naming convention

I'm having trouble enabling IOMMU on Centos 8 (4.18.0-147.8.1.el8_1.x86_64) and I'm starting to think that my CPU doesn't support VT-d. On the Intel ARK page for my CPU it says "yes" for VT-x and VT-...
user avatar
3 votes
0 answers
79 views

Can't access RAM from PCIe device

I use Intel Xeon with centos8 , kernel 4.18. There is also an FPGA connected to CPU through PCIe. The FPGA try to access RAM (through DMA) using physical address in RAM, but it fails in access. ...
user avatar
  • 1,307
0 votes
1 answer
570 views

Arch Linux stuck at "Loading version 240" after modifying configs

I'm trying to get GPU passthrough to work on a VM. I've been following this video https://www.youtube.com/watch?v=6FI31QDtyy4. The differences between what I did and what he did in the video was ...
user avatar
1 vote
2 answers
696 views

Passthrough Sonnet USB-C card to Windows guest via KVM and vfio

I am trying to passthrough a USB card to a guest, but I can't seem to make the VFIO driver stick, instead it seems that the host loads and takes over the card. I have a GPU successfully passed through,...
user avatar
1 vote
0 answers
209 views

Share aarch64 page tables created by Linux with SMMU [closed]

I am currently working on creating a shared virtual address space in Linux arm64 on a Xilinx Zynq Ultrascale+ board. In the future it should be possible to share pointers/addresses between the Cortex ...
user avatar
  • 19
1 vote
1 answer
910 views

How do I translate between qemu-system arguments and virt-install arguments so I can unify partially working commands?

I am in the process of setting up VFIO with KVM. I have the VFIO itself working, in that the VFIO'd GPU displays the UEFI shell screen when I start the VM. I am also able to create a working Windows ...
user avatar
13 votes
1 answer
19k views

What are the implication of iommu=soft?

I've got new laptop at work (Lenovo A485) and there are few issues with it. It prints AMD-Vi: IOAPIC[32] not in IVRS table and kernel panic after that. So far I've figured few ways to get the system ...
user avatar
  • 861
0 votes
1 answer
126 views

Ubuntu server 17.04 PCI-DMA out of IOMMU space. Status DRDY

I'm trying to install ubuntu server 17.04 on a system running 4 disks in a RAID 10 array. I'm getting a lot of errors, see attached. Can somebody please tell me what is going on. Are these errors ...
user avatar
3 votes
0 answers
216 views

Is possible to re-add a removed iommu device?

I use pci passthrough. Unfortunately my card is sharing the same irq of an usb controller. I use this procedure: Find the sharing irq, in my case return 21 lspci -s 00:05:00 -vvv Find the irq ...
user avatar
  • 10.9k
3 votes
1 answer
2k views

Why does PCI passthrough not give my device to the guest OS?

I want to try PCI passthrough. I have passed an old capture video card to a Windows XP guest. IOMMU is enabled; vfio_pci is loaded I run this command: virsh nodedev-detach pci_0000_05_05_0 lspci ...
user avatar
  • 10.9k