Error when using 4 IDE devices

chchia

Active Member
Aug 18, 2020
83
32
38
47
when trying to use 4 IDE devices, i get below error
Code:
root@proxmox:~# qm start 105 && qm terminal 105 -iface serial0

kvm: -device ide-hd,bus=ide.0,unit=1,drive=drive-ide1,id=ide1: Can't create IDE unit 1, bus supports only 1 units

Use of uninitialized value $tpmpid in concatenation (.) or string at /usr/share/perl5/PVE/QemuServer.pm line 5465.

stopping swtpm instance (pid ) due to QEMU startup error

start failed: QEMU exited with code 1

It can run when IDE0 and IDE2
or IDE1 and IDE3

but it will not start if IDE0 or IDE1
not IDE2 and IDE3

seems it say bus support only 1 units. although proxmox wiki said

https://pve.proxmox.com/wiki/Qemu/KVM_Virtual_Machines
Code:
the IDE controller, has a design which goes back to the 1984 PC/AT disk controller. Even if this controller has been superseded by recent designs, each and every OS you can think of has support for it, making it a great choice if you want to run an OS released before 2003. You can connect up to 4 devices on this controller.

did i missed out something?
 
Please provide the config of your VM qm config <VMID>, as well as the output of pveversion -v