Power S822LC (8335-GTB) fails KVM guest cert test with kvm_init_vcpu failed: Invalid argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Canonical Kernel Team | ||
Xenial |
Fix Released
|
High
|
Unassigned | ||
qemu (Ubuntu) |
Fix Released
|
High
|
Ubuntu Server | ||
Xenial |
Fix Released
|
Medium
|
Christian Ehrhardt |
Bug Description
[Impact]
* Some newer Power8 derivates fail to work correctly e.g. Power S822LC
(8335-GTB)
* This is a toleration change (no exploitation) for those HW releases
following the SRU policy of "For Long Term Support releases we
regularly want to enable new hardware. Such changes are appropriate
provided that we can ensure not to affect upgrades on existing
hardware."
* Without the Fix that hardware won't run Xenial guests under current
Xenials Qemu version
* The fix lets processors that support it run in PowerISA 2.07
compatibility mode (plus a few no-op changes as backport
dependencies)
[Test Case]
* Run a Xenial Guest in KVM on one of the specific HW revisions being
affected.
[Regression Potential]
* I'd rate the potential to regress low for powerpc and next to
impossible for other architectures, reasons:
* Changes are PPC only, so fallout should be contained to that
* Patches and were created by IBM and in Upstream qemu since 2.6
* The effective change is rather small, only allow to saner cpu model
versions (drop some HW dev trash that was left) and add the new types.
[Other Info]
* Needed for certifying this Hardware for Ubuntu
Upon running the virtualization test from the certification test suite, the kvm guest test fails with the following error:
kvm_init_vcpu failed: Invalid argument
This same test works on multiple other IBM Power 8 and Openpower servers. kvm-ok tells us that kvm virtualization is supported. I have tried with SMT enabled and disabled. I have tried the latest cloud image as well as previous onces we had saved. I have tried running the qemu-system-ppc64 command found below manually with the same error.
The full output from the test is as follows:
Executing KVM Test
DEBUG:root:Starting KVM Test
DEBUG:root:Cloud image location specified: http://
DEBUG:root:
DEBUG:root:Creating cloud user-data
DEBUG:root:Creating cloud meta-data
I: -input-charset not specified, using utf-8 (detected in locale settings)
Total translation table size: 0
Total rockridge attributes bytes: 331
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
183 extents written (0 MB)
DEBUG:root:
DEBUG:root:
DEBUG:root:Using params:
INFO:root:Storing VM console output in /home/ubuntu/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.4.0-59-generic ppc64le
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Jan 12 22:18 seq
crw-rw---- 1 root audio 116, 33 Jan 12 22:18 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.1-0ubuntu2.4
Architecture: ppc64el
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Date: Thu Jan 12 22:45:34 2017
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lsusb:
Bus 002 Device 002: ID 125f:312b A-DATA Technology Co., Ltd. Superior S102 Pro
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 046b:ff10 American Megatrends, Inc. Virtual Keyboard and Mouse
Bus 001 Device 002: ID 046b:ff01 American Megatrends, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
PciMultimedia:
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 astdrmfb
ProcKernelCmdLine: root=UUID=
ProcLoadAvg: 0.03 0.02 0.08 1/1288 11017
ProcLocks:
1: POSIX ADVISORY WRITE 3709 00:14:665 0 EOF
2: POSIX ADVISORY WRITE 3593 00:14:655 0 EOF
3: POSIX ADVISORY WRITE 1658 00:14:376 0 EOF
4: FLOCK ADVISORY WRITE 3560 00:14:637 0 EOF
5: POSIX ADVISORY WRITE 3571 00:14:640 0 EOF
ProcSwaps:
Filename Type Size Used Priority
/swap.img file 8388544 0 -1
ProcVersion: Linux version 4.4.0-59-generic (buildd@
RelatedPackageV
linux-
linux-
linux-firmware 1.157.6
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
cpu_cores: Number of cores present = 20
cpu_coreson: Number of cores online = 20
cpu_dscr: DSCR is 0
cpu_freq:
min: 3.959 GHz (cpu 79)
max: 3.988 GHz (cpu 81)
avg: 3.974 GHz
cpu_runmode:
Could not retrieve current diagnostics mode,
No kernel interface to firmware
cpu_smt: SMT=8
Related branches
- Jeff Lane : Approve
-
Diff: 13 lines (+1/-1)1 file modifiedbin/virtualization (+1/-1)
tags: | added: architecture-ppc64le bugnameltc-150834 severity-medium targetmilestone-inin16042 |
tags: |
added: kernel-key removed: kernel-da-key |
Changed in linux (Ubuntu): | |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
Changed in qemu (Ubuntu): | |
assignee: | nobody → Jon Grimm (jgrimm) |
Changed in qemu (Ubuntu): | |
assignee: | Jon Grimm (jgrimm) → nobody |
assignee: | nobody → Ubuntu Server Team (ubuntu-server) |
Changed in linux (Ubuntu): | |
status: | Confirmed → Incomplete |
Changed in linux (Ubuntu Xenial): | |
status: | Confirmed → Incomplete |
Changed in linux (Ubuntu Xenial): | |
status: | Incomplete → Confirmed |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in qemu (Ubuntu): | |
status: | New → Triaged |
Changed in qemu (Ubuntu Xenial): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in qemu (Ubuntu): | |
importance: | Undecided → High |
tags: |
added: kernel-da-key removed: kernel-key |
Changed in qemu (Ubuntu): | |
status: | Triaged → Fix Released |
description: | updated |
summary: |
- Power S822LC (8335-GTB) failes KVM guest cert test with kvm_init_vcpu + Power S822LC (8335-GTB) fails KVM guest cert test with kvm_init_vcpu failed: Invalid argument |
Changed in qemu (Ubuntu): | |
status: | Fix Released → In Progress |
Changed in qemu (Ubuntu Xenial): | |
assignee: | nobody → ChristianEhrhardt (paelzer) |
Changed in qemu (Ubuntu): | |
status: | In Progress → Fix Released |
description: | updated |
tags: | removed: kernel-da-key |
This change was made by a bot.