qemu-system-ppc64le fails with kvm acceleration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Fix Released
|
Undecided
|
Ubuntu on IBM Power Systems Bug Triage | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Frank Heimes | ||
Hirsute |
Fix Released
|
Undecided
|
Frank Heimes |
Bug Description
(Suspected glibc issue!)
qemu-system-
> qemu-system-
Illegal instruction (core dumped)
In dmesg:
Facility 'SCV' unavailable (12), exception at 0x7624f8134c0c, MSR=90000000028
Version-Release number of selected component (if applicable):
qemu 5.2.0
Linux kernel 5.11
glibc 2.33
all latest updates as of submitting the bug report
How reproducible:
Always
Steps to Reproduce:
1. Run qemu with kvm acceleration
Actual results:
Illegal instruction
Expected results:
Normal VM execution
Additional info:
The machine is a Raptor Talos II Lite with a Sforza V1 8-core, but was also observed on a Raptor Blackbird with the same processor.
This was also observed on Fedora 34 beta, which uses glibc 2.33
Also tested on ArchPOWER (unofficial port of Arch Linux for ppc64le) with glibc 2.33
Fedora 33 and Ubuntu 20.10, both using glibc 2.32 do not have this issue, and downgrading the Linux kernel from 5.11 to 5.4 LTS on ArchPOWER solved the problem. Kernel 5.9 and 5.10 have the same issue when combined with glibc2.33
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: qemu-system 1:5.2+dfsg-6ubuntu2
ProcVersionSign
Uname: Linux 5.11.0-11-generic ppc64le
.sys.firmware.
ApportVersion: 2.20.11-0ubuntu60
Architecture: ppc64el
CasperMD5CheckR
CurrentDesktop: Unity:Unity7:ubuntu
Date: Mon Mar 22 14:48:39 2021
InstallationDate: Installed on 2021-03-22 (0 days ago)
InstallationMedia: Ubuntu-Server 21.04 "Hirsute Hippo" - Alpha ppc64el (20210321)
KvmCmdLine: COMMAND STAT EUID RUID PID PPID %CPU COMMAND
ProcKernelCmdLine: root=UUID=
ProcLoadAvg: 1.20 0.73 0.46 1/1054 6071
ProcSwaps:
Filename Type Size Used Priority
/swap.img file 8388544 0 -2
ProcVersion: Linux version 5.11.0-11-generic (buildd@
SourcePackage: qemu
UpgradeStatus: No upgrade log present (probably fresh install)
VarLogDump_list: total 0
acpidump:
cpu_cores: Number of cores present = 8
cpu_coreson: Number of cores online = 8
cpu_smt: SMT=4
CVE References
no longer affects: | qemu |
Changed in ubuntu-power-systems: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
Changed in ubuntu-power-systems: | |
status: | In Progress → Fix Released |
no longer affects: | qemu (Ubuntu Hirsute) |
no longer affects: | qemu (Ubuntu) |
no longer affects: | glibc (Ubuntu Hirsute) |
no longer affects: | glibc (Ubuntu) |
Status changed to 'Confirmed' because the bug affects multiple users.