kvm_unit_test failed on ThunderX but passed on Moonshot ARM64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Po-Hsu Lin |
Bug Description
With Xenial kernel + QEMU emulator version 2.5.0, the kvm_unit_test failed on ThunderX system, but passed on the m400 moonshot system.
starmie-kernel PASSED: 2 FAILED: 4
ms10-34-
Passed setup.all
Failed selftest-setup
Failed selftest-
Failed selftest-
Passed selftest-smp
Failed pci-test
They all failed with "Failed to set device address: No such device"
Ran these job manually it will print:
$ sudo ./arm/run arm/selftest.flat -smp 2 -m 256 -append 'setup smp=2 mem=256'
qemu-system-aarch64 -machine virt,accel=kvm -cpu host -device virtio-
Failed to set device address: No such device
So the qemu-system-aarch64 output looks like the real command it uses, execute it manually:
$ sudo ./qemu-
qemu-system-
I found a discussion thread similar to this https:/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.4.0-93-generic aarch64
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Sep 7 07:55 seq
crw-rw---- 1 root audio 116, 33 Sep 7 07:55 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: arm64
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:
CRDA: N/A
Date: Thu Sep 7 10:45:15 2017
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
MachineType: Cavium ThunderX CRB
PciMultimedia:
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 astdrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.157.12
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/12/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 5.11
dmi.board.
dmi.board.name: To be filled by O.E.M.
dmi.board.vendor: To be filled by O.E.M.
dmi.board.version: To be filled by O.E.M.
dmi.chassis.
dmi.chassis.type: 0
dmi.chassis.vendor: Cavium
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: ThunderX CRB
dmi.product.
dmi.sys.vendor: Cavium
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: kernel-da-key |
Next is to build QEMU 2.10.0 to see if this is QEMU related.
(The setup.all test has crashed on ThunderX with zesty kernel.)