Error when using 4 IDE devices

chchia

Member
Aug 18, 2020
69
26
23
46
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
 
if you use 'q35' as machine type only ide0 and ide2 are available... this is a qemu limitation
 

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!