You are not logged in.
I am trying to enable PCIE Passthrough to a virtual machine. After adding the option intel_iommu=on to my grub config, I ran these commands: sudo dmesg | grep -i -e DMAR -e IOMMU which gave me an "Unkown command line parameters" error
sudo dmesg | grep -i -e DMAR -e IOMMU
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=e7054f01-50ff-4315-bc2d-e39371268425 rw quiet iommu=1 intel_iommu=on
[ 0.090649] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=e7054f01-50ff-4315-bc2d-e39371268425 rw quiet iommu=1 intel_iommu=on
[ 0.090698] DMAR: IOMMU enabled
[ 0.090701] Unknown command line parameters: BOOT_IMAGE=/boot/vmlinuz-linux intel_iommu=on
[ 0.415632] iommu: Default domain type: Translated
[ 0.415633] iommu: DMA domain TLB invalidation policy: lazy mode
[ 0.500556] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
[ 0.500557] AMD-Vi: AMD IOMMUv2 functionality not available on this system
[ 0.924791] intel_iommu=on
Here is the line which I modified in /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="quiet iommu=1 intel_iommu=on"
I also ran this bash script
#!/bin/bash
shopt -s nullglob
for g in `find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V`; do
echo "IOMMU Group ${g##*/}:"
for d in $g/devices/*; do
echo -e "\t$(lspci -nns ${d##*/})"
done;
done;
The output of this script was: IOMMU Group .:
My RIG:
CPU:Intel i9-10900k
Motherboard:ROG MAXIMUS XII FORMULA
Bootloader: GRUB
I'm trying to pass through devices to a virtual machine. Any guidance would be appreciated. I'm sorry if this is not the right section for this question.
Last edited by erikondo (2021-11-16 00:05:31)
Offline
The reporting of the option as unknown is an error in the kernel see https://github.com/torvalds/linux/commi … e5e1591619
Offline