Can't boot Windows VM Error: Use of uninitialized value $tpmpid

biotecher

Member
Jul 29, 2021
4
0
6
25
I have 4 HDD scsi2-5, all 5 USB ports filled with passthroughs, and I just connected 2x nvme to the VM by passing through the PCI device.

Oct 22 11:00:31 pve pvedaemon[7306]: Use of uninitialized value $tpmpid in concatenation (.) or string at /usr/share/perl5/PVE/QemuServer.pm line 5465.
Oct 22 11:00:31 pve pvedaemon[7306]: stopping swtpm instance (pid ) due to QEMU startup error
Oct 22 11:00:31 pve systemd[1]: 100.scope: Succeeded.
Oct 22 11:00:31 pve pvedaemon[7281]: start failed: QEMU exited with code 1

It booted fine before adding the extra nvme devices, is this some kind of limitation on devices attached or what should I do?
 
Last edited:
Ran manual command line start, got more detailed error message saying an HDD could not be found.

Found out that by using the nvme slot on my motherboard, it disabled SATA 5/6. According to the diagram in the manual the numbers increase horizontally not vertically like I thought. After connecting to correct slot, Windows VM boots normally again. Needed lots of reboots.