Skip to main content

Questions tagged [iommu]

1 vote
0 answers
82 views

VFIO single GPU passthrough - AMD-Vi: Completion-Wait loop timed out

I am trying to pass gpu to vm with libvirt following guides: https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF#Setting_up_an_OVMF-based_guest_virtual_machine https://github.com/joeknock90/...
Hashibane's user avatar
0 votes
1 answer
5k views

How can enable iommu in AMD CPU during boot?

Motherboard info: sudo dmidecode -t baseboard | grep -B 1 Product Manufacturer: Colorful Technology And Development Co.,LTD Product Name: BATTLE-AX B450M-HD CPU info: sudo dmidecode -t ...
showkey's user avatar
  • 581
0 votes
1 answer
2k views

What is the IOMMU configuration used for the Intel machines?

In kernel boot options (https://www.kernel.org/doc/Documentation/x86/x86_64/boot-options.txt) I noticed the following option: iommu=[<size>][,noagp][,off][,force][,noforce] [,memaper[=<...
sammy17's user avatar
  • 115
4 votes
1 answer
1k views

How to disable/enable bounce-buffers in IOMMU?

I am trying to figure out how to disable bounce buffers used in IOMMU when the hardware IOMMU is used. To give more context, when IOMMU_DEFAULT_DMA_STRICT is set in the kernel it enables strict IOTLB ...
sammy17's user avatar
  • 115
0 votes
1 answer
402 views

Move SSD into the same IOMMU group as the second GPU

I have a working Qemu configuration with GPU-pass-through. Now I would like to pass also a SSD to the quest. I have read that the pass-through-devices should be in the same group. The following script:...
ceving's user avatar
  • 3,772
1 vote
0 answers
120 views

Difference between modprobe and pci files to remove add devices

I am trying to see how these two set of commands differ if I just have one nvme device. Block device ls -l /sys/block/nvme0n1 lrwxrwxrwx 1 root root 0 Apr 28 11:59 /sys/block/nvme0n1 -> ../devices/...
pointnotfoe's user avatar
4 votes
1 answer
3k views

How does mmio get routed to io devices?

I am trying to understand how IO devices are mapped into the 'regular' memory address space on modern x86 machines running Linux. Some details which I am trying to make sense of are: cat /proc/iomem ...
shafe's user avatar
  • 200
1 vote
1 answer
533 views

Gnome hangs with VFIO gpu passthrough

On my computer, I have 2 discrete GPUs. I've been using VFIO to pass the second GPU to a Windows VM to work with some programs. Now I want to pass my more powerful first GPU to the Windows VM in order ...
Emre Talha's user avatar
0 votes
0 answers
2k views

how to check if iommu is enabled?

I have a centos 7.2 linux installed. I want to check if IOMMU is enabled in the system or not. How can i figure it out? Is there any /proc or /sys entry i can check to make sure is it enabled or not?
saurin's user avatar
  • 39
2 votes
1 answer
2k views

Can a Linux Swap Partition Be Too Big?

Can a Linux swap partition be too big? I'm pretty certain the answer is, "no" but I haven't found any resources on-point, so thought I'd ask. In contrast, the main Windows swap file, ...
ebsf's user avatar
  • 399
0 votes
0 answers
55 views

Is it possible to force specific ram size in linux kernel (with unrecognized sticks)?

First of all I'm asking for an old PowerMac G5 Quad which ultimately is able to boot with 2x1GB DDR2 2x4GB DDR2 2x4GB DDR2 2x4GB DDR2 Problem is it utilizes only the first 2 gigs. The other 3 pairs ...
FISOCPP's user avatar
  • 131
0 votes
1 answer
110 views

Virtualization frameworks and containers effectiveness on hardware without iommu capability?

Is it worth installing VirtualBox with a Linux based distributed OS like Kali or Qubes if your hardware does not support iommu? Is there any benefit in regards to security if isolation is limited?
Noob needing help's user avatar
0 votes
1 answer
697 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 ...
vn-ck's user avatar
  • 1
0 votes
1 answer
331 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
Raheel Hammad's user avatar
5 votes
0 answers
539 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 ...
SofaKng's user avatar
  • 353

15 30 50 per page