I am creating new VMs using the command line interface. They default to using the
Common Linux cloud images boot, but don't make it all the way to a login screen. I've tried CentOS and Ubuntu.
I am not posting to ask for help, because I discovered that changing the to the
Steps to Recreate: Assumes Proxmox node name is
VMs will boot, but freeze during the startup process:
I saw another post related to VM IO erros and the
Does anyone have any thoughts on how to avoid such a difficult-to-identify bug for (what seems to me) a common use case when using all defaults?
LSI 53C895A
SCSI Controller.Common Linux cloud images boot, but don't make it all the way to a login screen. I've tried CentOS and Ubuntu.
I am not posting to ask for help, because I discovered that changing the to the
VirtIO SCSI
Controller resolves the problem.- I am posting so that the Proxmox Team and Community are aware of the issue, because it took me a long time to troubleshoot the root cause.
- I am also hoping that something can be done, so that using all defaults will work, instead of causing mysterious VM freezes.
Steps to Recreate: Assumes Proxmox node name is
pve3
and target storage is local
.
Bash:
#download cloud image of your choice
curl -o ~/cloud.img https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
curl -o ~/cloud.img https://cloud-images.ubuntu.com/releases/focal/release/ubuntu-20.04-server-cloudimg-amd64.img
#create VM and attach cloud disk image
pvesh create /nodes/pve3/qemu --vmid 2929
qm importdisk 2929 ~/cloud.img local
qm set 2929 --scsi0 local:2929/vm-2929-disk-0.raw
qm set 2929 --boot order=scsi0
VMs will boot, but freeze during the startup process:
Bash:
#ubuntu stopping point
Btrfs loaded, crc32c=crc32c-generic
random: fast init done #...after about 5 minutes
random: crng init done #..after about 10 minutes
#centos stopping point
ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xe160 irq14
ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xe168 irq15
tsc: Refined TSC clocksource calibration: 3191.957 MHz
I saw another post related to VM IO erros and the
LSI 53C895A
controller on the forum.- However, the solution proposed doesn't seem to work for me.
- I have the version of
pve-qemu-kvm
that was recommended to fix the issue.
Bash:
#using Proxmox 7.1-8 with pve-no-subscription repo
dpkg -s pve-qemu-kvm | grep Version
Version: 6.1.0-3
uname -rv
5.13.19-2-pve #1 SMP PVE 5.13.19-4 (Mon, 29 Nov 2021 12:10:09 +0100)
Does anyone have any thoughts on how to avoid such a difficult-to-identify bug for (what seems to me) a common use case when using all defaults?