I have 2 VMs with PCI Passthrough and were working fine before the update. Now they won't start and I get the following error:
When I start the VM from command line, I get the following message:
My /etc/default/grub is:
Initially, I had line 9 uncommented but reading some threads, people seem to suggest I should only use intel_iommu=on.
The output of
And here is one of the VM's conf file:
Lastly, I checked my BIOS and the VT-d is enabled.
Any help is highly appreciated! And please let me know if you need any other details. Thanks!
TASK ERROR: cannot prepare PCI pass-through, IOMMU not present
When I start the VM from command line, I get the following message:
cannot prepare PCI pass-through, IOMMU not present
My /etc/default/grub is:
Code:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Proxmox Virtual Environment"
#GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on pcie_acs_override=downstream,multifunction video=efifb:eek:ff"
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt"
GRUB_CMDLINE_LINUX=""
# Disable os-prober, it might add menu entries for each guest
GRUB_DISABLE_OS_PROBER=true
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
Initially, I had line 9 uncommented but reading some threads, people seem to suggest I should only use intel_iommu=on.
The output of
dmesg | grep -i IOMMU
is:
Code:
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.15.74-1-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on iommu=pt
[ 0.059894] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.15.74-1-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on iommu=pt
[ 0.059939] DMAR: IOMMU enabled
[ 0.335104] iommu: Default domain type: Passthrough (set via kernel command line)
And here is one of the VM's conf file:
Code:
agent: 1
bios: ovmf
bootdisk: scsi0
cores: 4
cpu: host,hidden=1,flags=+pcid
efidisk0: SSD:vm-102-disk-1,size=4M
hostpci0: 0000:01:00.0,pcie=1,x-vga=1
ide0: HDD:iso/virtio-win.iso,media=cdrom,size=402812K
ide2: none,media=cdrom
machine: pc-q35-5.1
memory: 18432
name: VM1
net0: virtio=0A:02:D6:F9:4D:2E,bridge=vmbr0,firewall=1,rate=2
numa: 0
onboot: 1
ostype: win10
scsi0: SSD:vm-102-disk-0,cache=writeback,size=500G
scsihw: virtio-scsi-pci
smbios1: uuid=3de8343d-a4a1-4ddc-8c50-6275fccae5a7
sockets: 1
startup: order=2
usb0: host=1-5,usb3=1
usb1: host=1-6,usb3=1
usb2: host=1-10
usb3: host=1-4,usb3=1
vmgenid: 28c3d350-fed9-4b81-944e-415d7d4a7fa2
Lastly, I checked my BIOS and the VT-d is enabled.
Any help is highly appreciated! And please let me know if you need any other details. Thanks!