FS#55231 - [linux][libvirt][qemu] OpenBSD running under QEMU freezes
Attached to Project:
Arch Linux
Opened by viq (viq) - Monday, 21 August 2017, 22:12 GMT
Last edited by David Thurstenson (thurstylark) - Saturday, 16 July 2022, 11:35 GMT
Opened by viq (viq) - Monday, 21 August 2017, 22:12 GMT
Last edited by David Thurstenson (thurstylark) - Saturday, 16 July 2022, 11:35 GMT
|
Details
Description:
After upgrading linux to 4.12.8-2 from 4.12.8-1 OpenBSD-current in qemu driven by libvirt freezes before or shortly after login is reached. I see the same behaviour with linux-hardened 4.12.8-2, I did not try with previous versions of it. I was seeing random freezes previously, but they were random - now, the box usually doesn't manage to fully boot before the freeze. Additional info: * package versions: $ pacmatic -Q | egrep '(^linux |qemu|virt)' libvirt 3.6.0-1 libvirt-python2 3.6.0-1 linux 4.12.8-1 qemu-headless 2.9.0-3 * config and/or log files etc. not sure what to paste here. Those are just normal OpenBSD-current amd64 machines. Some are bridged, some aren't, some have 2 CPUs, some 1, I gave them 1 or 2 GB RAM, all have LVM-backed disks. No logs are generated, VM simply stops responding to anything and qemu process uses 100% of one core. Steps to reproduce: Upgrade kernel to 4.12.8-2, try to run OpenBSD in qemu (I did not try with other systems, as that's what I have) |
This task depends upon
Closed by David Thurstenson (thurstylark)
Saturday, 16 July 2022, 11:35 GMT
Reason for closing: No response
Saturday, 16 July 2022, 11:35 GMT
Reason for closing: No response
Same symptoms, also running OpenBSD-current on KVM.
Had to go back to the -lts kernel as a workaround.
The changes between linux-4.12.8-1 and linux-4.12.8-2 are minor and are unlikely to be related to the KVM/Xen issues.
linux-4.13* kernels exhibit the same symptoms.
What they have in common is indeed the compiler version. gcc 7.2 introduced some new optimizations that may have triggered something unexpected in the compiled kernels.
$ pacman -Q linux-hardened qemu-headless
linux-hardened 4.15.17.a-1
qemu-headless 2.11.1-2