Reference: Pci passthrough - Proxmox VE
vi /etc/default/grub
amend: GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"
update-grub
root@mars:~# dmesg | grep -e DMAR -e IOMMU
[ 0.024470] ACPI: DMAR 0x000000007D3346F4 0000F0 (v01 DELL PE_SC3 00000001 DELL 00000001)
[ 1.207702] DMAR: Host address width 46
[ 1.207703] DMAR: DRHD base: 0x000000dc900000 flags: 0x1
[ 1.207707] DMAR: dmar0: reg_base_addr dc900000 ver 1:0 cap d2078c106f0462 ecap f020fe
[ 1.207708] DMAR: RMRR base: 0x0000007f458000 end: 0x0000007f46ffff
[ 1.207709] DMAR: RMRR base: 0x0000007f450000 end: 0x0000007f450fff
[ 1.207710] DMAR: RMRR base: 0x0000007f452000 end: 0x0000007f452fff
[ 1.207710] DMAR: ATSR flags: 0x0
[ 1.207712] DMAR-IR: IOAPIC id 0 under DRHD base 0xdc900000 IOMMU 0
[ 1.207713] DMAR-IR: IOAPIC id 1 under DRHD base 0xdc900000 IOMMU 0
[ 1.207714] DMAR-IR: HPET id 0 under DRHD base 0xdc900000
[ 1.207714] DMAR-IR: x2apic is disabled because BIOS sets x2apic opt out bit.
[ 1.207715] DMAR-IR: Use 'intremap=no_x2apic_optout' to override the BIOS setting.
[ 1.208001] DMAR-IR: Enabled IRQ remapping in xapic mode
root@mars:~# vi /etc/kernel/cmdline
root@mars:~# vi /etc/default/grub
root@mars:~# update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.78-2-pve
Found initrd image: /boot/initrd.img-5.4.78-2-pve
Found linux image: /boot/vmlinuz-5.4.34-1-pve
Found initrd image: /boot/initrd.img-5.4.34-1-pve
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
done
root@mars:~# pve-efiboot-tool refresh
Running hook script 'pve-auto-removal'..
Running hook script 'zz-pve-efiboot'..
Re-executing '/etc/kernel/postinst.d/zz-pve-efiboot' in new private mount namespace..
No /etc/kernel/pve-efiboot-uuids found, skipping ESP sync.
After that reboot, ran into problems... see this:
IOMMU – DMAR fault – PTE Read access is not set – Centoros (wordpress.com)
No comments:
Post a Comment