qemu issues after upgrade (bus error)

liamj

New Member
Aug 27, 2023
1
0
1
I'm having a lot of trouble trying to get my VM's to start after a short brownout I had tonight.
After logging into my server after the brownout's my VM's were down, when I click 'start' they tick over for a second and go back to shutdown status.

Following advice I found on another thread related to this, I performed an upgrade from the updates section of the GUI (I was running 7.1-x or 7.2-x and now 7.4-16).

Now when trying to start my VM's I get the following error:
Code:
command '/usr/bin/kvm --version' failed: got signal 7

TASK ERROR: Detected old QEMU binary ('unknown', at least 3.0 is required)

If I run kvm --version in the console, I am greeted with Bus error. I haven't been able to find much more information about what's going on. This thread is probably the same as what I'm experiencing, but there doesn't seem to be a resolution:
https://forum.proxmox.com/threads/error-after-installation-segmentation-fault.102365/

As per that thread here are outputs from the following:
Code:
> qm config 102

boot: order=scsi0;ide2;net0
cores: 2
ide2: local:iso/debian-11.2.0-amd64-netinst.iso,media=cdrom
memory: 4096
meta: creation-qemu=6.1.0,ctime=1647383711
name: Portainer
net0: virtio=A2:85:0D:C2:72:EB,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: l26
scsi0: local-lvm:vm-102-disk-0,size=128G
scsihw: virtio-scsi-pci
smbios1: uuid=bddf4cd9-42e9-4743-91ab-01af773610d4
sockets: 1
vmgenid: 99283bd9-04b6-431e-8399-b0f41a666edd

Code:
> ls -la /usr/bin/kvm

lrwxrwxrwx 1 root root 18 Mar 18 01:47 /usr/bin/kvm -> qemu-system-x86_64

Code:
> file /usr/bin/kvm

/usr/bin/kvm: symbolic link to qemu-system-x86_64

Code:
> file /usr/bin/qemu-system-x86_64

/usr/bin/qemu-system-x86_64: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=ffebe8fc606882ac8fbff19b97416f6a379f94a6, for GNU/Linux 3.2.0, stripped

Code:
> ldd /usr/bin/kvm

        linux-vdso.so.1 (0x00007ffc6fbb7000)
        libpixman-1.so.0 => /lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007f88582c6000)
        libepoxy.so.0 => /lib/x86_64-linux-gnu/libepoxy.so.0 (0x00007f8858197000)
        libspice-server.so.1 => /lib/x86_64-linux-gnu/libspice-server.so.1 (0x00007f8858068000)
        libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f885802e000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f8858011000)
        libjpeg.so.62 => /lib/x86_64-linux-gnu/libjpeg.so.62 (0x00007f8857f8d000)
        libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007f8857d8b000)
        libfdt.so.1 => /lib/x86_64-linux-gnu/libfdt.so.1 (0x00007f8857d80000)
        libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f8857d58000)
        libseccomp.so.2 => /lib/x86_64-linux-gnu/libseccomp.so.2 (0x00007f8857d35000)
        libnuma.so.1 => /lib/x86_64-linux-gnu/libnuma.so.1 (0x00007f8857d27000)
        libgio-2.0.so.0 => /lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f8857b49000)
        libgobject-2.0.so.0 => /lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f8857aed000)
        libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f88579be000)
        libproxmox_backup_qemu.so.0 => /lib/libproxmox_backup_qemu.so.0 (0x00007f88573cc000)
        libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f88572f1000)
        libslirp.so.0 => /lib/x86_64-linux-gnu/libslirp.so.0 (0x00007f88572d0000)
        libgbm.so.1 => /lib/x86_64-linux-gnu/libgbm.so.1 (0x00007f88572c0000)
        libvirglrenderer.so.1 => /lib/x86_64-linux-gnu/libvirglrenderer.so.1 (0x00007f8857248000)
        libusbredirparser.so.1 => /lib/x86_64-linux-gnu/libusbredirparser.so.1 (0x00007f885723d000)
        libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0 (0x00007f885721f000)
        libasound.so.2 => /lib/x86_64-linux-gnu/libasound.so.2 (0x00007f8857122000)
        libpulse.so.0 => /lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f88570ce000)
        liburing.so.1 => /lib/x86_64-linux-gnu/liburing.so.1 (0x00007f88570c9000)
        libgmodule-2.0.so.0 => /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f88570c1000)
        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f885700c000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f8857003000)
        libiscsi.so.7 => /lib/x86_64-linux-gnu/libiscsi.so.7 (0x00007f8856fd2000)
        libaio.so.1 => /lib/x86_64-linux-gnu/libaio.so.1 (0x00007f8856fcd000)
        libcurl-gnutls.so.4 => /lib/x86_64-linux-gnu/libcurl-gnutls.so.4 (0x00007f8856f33000)
        libgfapi.so.0 => /lib/x86_64-linux-gnu/libgfapi.so.0 (0x00007f8856efd000)
        librbd.so.1 => /lib/librbd.so.1 (0x00007f8856975000)
        librados.so.2 => /lib/librados.so.2 (0x00007f8856806000)
        libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f8856801000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f88566bd000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f88566a3000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f885667f000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f88564ab000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f8859474000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f88564a5000)
        libopus.so.0 => /lib/x86_64-linux-gnu/libopus.so.0 (0x00007f885644a000)
        liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f8856427000)
        libsasl2.so.2 => /lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007f885640a000)
        libgstapp-1.0.so.0 => /lib/x86_64-linux-gnu/libgstapp-1.0.so.0 (0x00007f88563f6000)
        libgstreamer-1.0.so.0 => /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 (0x00007f88562ad000)
        libssl.so.1.1 => /lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f885621a000)
        libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f8855f26000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f8855f1c000)
        liborc-0.4.so.0 => /lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007f8855e98000)
        libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f8855d62000)
        libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x00007f8855d41000)
        libunistring.so.2 => /lib/x86_64-linux-gnu/libunistring.so.2 (0x00007f8855bbf000)
        libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f8855ba9000)
        libnettle.so.8 => /lib/x86_64-linux-gnu/libnettle.so.8 (0x00007f8855b61000)
        libhogweed.so.6 => /lib/x86_64-linux-gnu/libhogweed.so.6 (0x00007f8855b18000)
        libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f8855a95000)
        libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007f8855a38000)
        libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f8855a0c000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f88559f2000)
        libffi.so.7 => /lib/x86_64-linux-gnu/libffi.so.7 (0x00007f88559e6000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f8855971000)
        libdrm.so.2 => /lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f885595d000)
        libwayland-server.so.0 => /lib/x86_64-linux-gnu/libwayland-server.so.0 (0x00007f8855946000)
        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f8855917000)
        libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f88557d4000)
        libpulsecommon-14.2.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-14.2.so (0x00007f885574e000)
        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f88556f9000)
        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f88556d1000)
        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f88555b1000)
        libibverbs.so.1 => /lib/x86_64-linux-gnu/libibverbs.so.1 (0x00007f8855591000)
        librdmacm.so.1 => /lib/x86_64-linux-gnu/librdmacm.so.1 (0x00007f885556f000)
        libnghttp2.so.14 => /lib/x86_64-linux-gnu/libnghttp2.so.14 (0x00007f8855542000)
        librtmp.so.1 => /lib/x86_64-linux-gnu/librtmp.so.1 (0x00007f8855523000)
        libssh2.so.1 => /lib/x86_64-linux-gnu/libssh2.so.1 (0x00007f88554ee000)
        libpsl.so.5 => /lib/x86_64-linux-gnu/libpsl.so.5 (0x00007f88554da000)
        libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f8855487000)
        libldap_r-2.4.so.2 => /lib/x86_64-linux-gnu/libldap_r-2.4.so.2 (0x00007f8855431000)
        liblber-2.4.so.2 => /lib/x86_64-linux-gnu/liblber-2.4.so.2 (0x00007f885541e000)
        libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f8855410000)
        libtirpc.so.3 => /lib/x86_64-linux-gnu/libtirpc.so.3 (0x00007f88553e0000)
        libacl.so.1 => /lib/x86_64-linux-gnu/libacl.so.1 (0x00007f88553d5000)
        libglusterfs.so.0 => /lib/x86_64-linux-gnu/libglusterfs.so.0 (0x00007f88552e3000)
        libgfrpc.so.0 => /lib/x86_64-linux-gnu/libgfrpc.so.0 (0x00007f88552a7000)
        libgfxdr.so.0 => /lib/x86_64-linux-gnu/libgfxdr.so.0 (0x00007f8855291000)
        libceph-common.so.2 => /usr/lib/ceph/libceph-common.so.2 (0x00007f884c650000)
        libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f884c483000)
        libgstbase-1.0.so.0 => /lib/x86_64-linux-gnu/libgstbase-1.0.so.0 (0x00007f884c403000)
        libunwind.so.8 => /lib/x86_64-linux-gnu/libunwind.so.8 (0x00007f884c3e8000)
        libdw.so.1 => /lib/x86_64-linux-gnu/libdw.so.1 (0x00007f884c33d000)
        libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f884c2ec000)
        libpcre2-8.so.0 => /lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007f884c254000)
        libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f884c229000)
        libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f884c21d000)
        libsndfile.so.1 => /lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f884c198000)
        libasyncns.so.0 => /lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f884c190000)
        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f884c16a000)
        libnl-route-3.so.200 => /lib/x86_64-linux-gnu/libnl-route-3.so.200 (0x00007f884c0ef000)
        libnl-3.so.200 => /lib/x86_64-linux-gnu/libnl-3.so.200 (0x00007f884c0cc000)
        libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f884bff0000)
        libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f884bfc0000)
        libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f884bfba000)
        libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f884bfab000)
        libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f884bf88000)
        libelf.so.1 => /lib/x86_64-linux-gnu/libelf.so.1 (0x00007f884bf6b000)
        libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f884bf58000)
        libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f884bf53000)
        libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f884bd4d000)
        libnsl.so.2 => /lib/x86_64-linux-gnu/libnsl.so.2 (0x00007f884bd32000)
        libFLAC.so.8 => /lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f884bcf3000)
        libvorbis.so.0 => /lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f884bcc4000)
        libvorbisenc.so.2 => /lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f884bc19000)
        libogg.so.0 => /lib/x86_64-linux-gnu/libogg.so.0 (0x00007f884bc0c000)
        libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f884bc05000)
        libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f884bbee000)
        libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x00007f884bbdf000)

I have tried reinstalling pve-qemu-kvm multiple times with apt install --reinstall pve-qemu-kvm, as well as restarting (both hardware/software restarts) multiple times, but still getting the same issue consistently.

Any help on where to go from here would be greatly appreciated. Ultimately I'm okay if my proxmox install is dead and I need to reinstall it, but I have some data on one of those VM's (my partners website) I need to get off so I can host somewhere else in the mean time (also any advice on how to do this would be appreciated).
 
Last edited:
Hi,
please share the output of pveversion -v and check your system log/journal for errors. If the QEMU binary doesn't work, you unfortunately cannot create backups either (except manually). What host CPU do you have? Does downgrading the QEMU binary work?
 

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!