Package: qemu-system-x86 Version: 1:9.0.2+ds-1~bpo12+1 Severity: normal Hi,
I recently upgraded a bullseye physical machine to bookworm. This machine is running two virtual machines (libvirt/qemu). I was using backports for qemu with bullseye. I also use backports for qemu with bookworm. All was working without problems for several years with bullseye. After the upgrade, one of the two VM shows instabilities : - freeze, ie no reaction on the physical consol (but ping still answers) - freeze (including no ping) This occured quickly after the reboot or a few hours later. I decided to try to check my rootfs, so I tried to start with debian-12.7.0-amd64-netinst.iso I never succeded to go until rootfs mount. The VM crashed before with, sometimes, temporary freezes during the first steps of the installer. But, this time, with the crash, I got an error in libvirt log file: kvm: block/block-gen.c:1719: blk_lock_medium: Assertion `!qemu_in_coroutine()' failed. 2024-10-01 11:45:34.894+0000: shutting down, reason=crashed I did not find anything really relevant on the net, but https://gitlab.com/qemu-project/qemu/-/issues/2277 Not the same error, but "!qemu_in_coroutine()" was due to a qemu bug. So, I checked my config and saw I was using the lsilogic SCSI controler. I do not remember why I setup this controler. I tried to switch to the virtio-scsi SCSI controler (as I usually use). Changing the controler fixes my problems: - the debian installer runs without any problem (no more temporary freeze, no more crashes) - the VM is now running without problems (I will report if it freezes/crashes during the next hours) So, my current guess is that the lsilogic SCSI controler has a bug in the recent qemu. If so, it should be fixed or the lsilogic SCSI controler can be removed if not used anymore. Regards, Vincent -- System Information: Debian Release: 12.7 APT prefers stable-updates APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'stable'), (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable') Architecture: amd64 (x86_64) Kernel: Linux 6.10.11+bpo-amd64 (SMP w/32 CPU threads; PREEMPT) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages qemu-system-x86 depends on: ii ipxe-qemu 1.0.0+git-20190125.36a4c85-5.1 ii libaio1 0.3.113-4 ii libbpf1 1:1.1.0-1 ii libc6 2.36-9+deb12u8 ii libcapstone4 4.0.2-5 ii libfdt1 1.6.1-4+b1 ii libfuse3-3 3.14.0-4 ii libglib2.0-0 2.74.6-2+deb12u3 ii libgmp10 2:6.2.1+dfsg1-1.1 ii libgnutls30 3.7.9-2+deb12u3 ii libhogweed6 3.8.1-2 ii libibverbs1 44.0-2 ii libjpeg62-turbo 1:2.1.5-2 ii libnettle8 3.8.1-2 ii libnuma1 2.0.16-1 ii libpixman-1-0 0.42.2-1 ii libpmem1 1.12.1-2 ii libpng16-16 1.6.39-2 ii librdmacm1 44.0-2 ii libsasl2-2 2.1.28+dfsg-10 ii libseccomp2 2.5.4-1+deb12u1 ii libslirp0 4.7.0-1 ii libudev1 252.30-1~deb12u2 ii liburing2 2.3-3 ii libvdeplug2 4.0.1-4 ii libzstd1 1.5.4+dfsg2-5 ii qemu-system-common 1:9.0.2+ds-1~bpo12+1 ii qemu-system-data 1:9.0.2+ds-1~bpo12+1 ii seabios 1.16.3-2~bpo12+1 ii zlib1g 1:1.2.13.dfsg-1 Versions of packages qemu-system-x86 recommends: ii ovmf 2022.11-6+deb12u1 ii qemu-block-extra 1:9.0.2+ds-1~bpo12+1 ii qemu-system-gui 1:9.0.2+ds-1~bpo12+1 ii qemu-system-modules-opengl 1:9.0.2+ds-1~bpo12+1 ii qemu-system-modules-spice 1:9.0.2+ds-1~bpo12+1 ii qemu-utils 1:9.0.2+ds-1~bpo12+1 Versions of packages qemu-system-x86 suggests: ii samba 2:4.17.12+dfsg-0+deb12u1 pn vde2 <none> -- no debconf information