Error start virtual machine

alex_13

New Member
Sep 11, 2022
5
0
1
I don't understand why my virtual machine won't start, it gives me this error

TASK ERROR: cannot prepare PCI pass-through, IOMMU not present
I am a beginner in using proxmox
 
I don't understand why my virtual machine won't start, it gives me this error

TASK ERROR: cannot prepare PCI pass-through, IOMMU not present
Did you enable IOMMU or VT-d in the motherboard BIOS? What motherboard and CPU are you using? What is the output of cat /proc/cmdline?
Did you look at the manual? There is a mistake in the manual; for Intel system you always need intel_iommu=on. Did you see any of all the other threads on the forum about enablind IOMMU?
 
Did you enable IOMMU or VT-d in the motherboard BIOS? What motherboard and CPU are you using? What is the output of cat /proc/cmdline?
Did you look at the manual? There is a mistake in the manual; for Intel system you always need intel_iommu=on. Did you see any of all the other threads on the forum about enablind IOMMU?
I don't know if it's enable in the BIOS, I'll check tomorrow. I have the motherboard Gigabyte GA-H110M-S2H, Intel i5-7400 3Ghz, Sapphire Radeon RX 560 PULSE. When I entered the command cat /proc/cmdline this appears BOOT_IMAGE=/boot/vmlinuz-5.15.53-1-pve root=/dev/mapper/pve-root ro quiet amd_iommu=on
 
I don't know if it's enable in the BIOS, I'll check tomorrow. I have the motherboard Gigabyte GA-H110M-S2H, Intel i5-7400 3Ghz, Sapphire Radeon RX 560 PULSE. When I entered the command cat /proc/cmdline this appears BOOT_IMAGE=/boot/vmlinuz-5.15.53-1-pve root=/dev/mapper/pve-root ro quiet amd_iommu=on
amd_iommu=on is nonsense because it is on by default on AMD and you have an Intel platform.
You need to put intel_iommu=on on the kernel command line and it needs to be enabled in the motherboard BIOS.
You CPU supports VT-d and your motherboard chipset also. For an RX560 you need to setup vendor-reset.
I hope those links can get you started to enable IOMMU and learn about vendor-reset to PCIe passthrough the RX560.
 
amd_iommu=on is nonsense because it is on by default on AMD and you have an Intel platform.
You need to put intel_iommu=on on the kernel command line and it needs to be enabled in the motherboard BIOS.
You CPU supports VT-d and your motherboard chipset also. For an RX560 you need to setup vendor-reset.
I hope those links can get you started to enable IOMMU and learn about vendor-reset to PCIe passthrough the RX560.
Apparently VT-d was activated and I modified in intel_iommu=on. I installed dkms in pve but now it keeps restarting when I start the VM and get this too
swtpm_setup: Not overwriting existing state file.
Use of uninitialized value $PVE::JSONSchema::pVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 169.
Use of uninitialized value $PVE::JSONSchema::pVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 204.
Use of uninitialized value $PVE::JSONSchema::pVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 204.
Use of uninitialized value $PVE::JSONSchema::pVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 230.
Use of uninitialized value $PVE::JSONSchema::pVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 230.
And this appears on the monitor directly from the PC
WhatsApp Image 2023-08-08 at 14.48.12.jpeg
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!