kernel oops - kvm guest started at boot time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Daniel Axtens | ||
Xenial |
New
|
Undecided
|
Unassigned |
Bug Description
[SRU Justification]
[Impact]
ppc64le system OOPSes shortly after boot when KVM guests are started.
[Fix]
Cherry-pick patch e47057151422a67
[Testcase]
Tested at IBM - boot a machine with a KVM guest configured to start at boot. Without this patch, observe OOPS, with this patch, observe no OOPS.
[Regression Potential]
Patch is contained in arch/powerpc; so regression potential limited to that arch. Patch accepted to kernel stable trees, suggesting others also believe it to be of low risk.
[Original Report]
[ 0.000000] Linux version 4.4.0-93-generic (buildd@
...
[ 380.184554] KVM guest htab at c000007999000000 (order 29), LPID 2
[ 380.527576] Facility 'TM' unavailable, exception at 0xd00000003aad7f10, MSR=90000000000
[ 380.527717] Oops: Unexpected facility unavailable exception, sig: 6 [#2]
[ 380.527775] SMP NR_CPUS=2048 NUMA PowerNV
[ 380.527823] Modules linked in: vhost_net vhost macvtap macvlan xt_CHECKSUM iptable_mangle ipt_REJECT nf_reject_ipv4 xt_tcpudp ebtable_filter ebtables ip6table_filter ip6_tables ipt_MASQUERADE nf_nat_
[ 380.528781] CPU: 24 PID: 4277 Comm: qemu-system-ppc Tainted: G D 4.4.0-93-generic #116-Ubuntu
[ 380.528861] task: c000000003c389b0 ti: c000001fb2428000 task.ti: c000001fb2428000
[ 380.528929] NIP: d00000003aad7f10 LR: d000000037d52a14 CTR: d00000003aad7e40
[ 380.528997] REGS: c000001fb242b7b0 TRAP: 0f60 Tainted: G D (4.4.0-93-generic)
[ 380.529076] MSR: 9000000000009033 <SF,HV,
[ 380.529247] CFAR: d00000003aad7ea4 SOFTE: 1
[ 380.530119] NIP [d00000003aad7f10] kvmppc_
[ 380.530188] LR [d000000037d52a14] kvmppc_
[ 380.530245] Call Trace:
[ 380.530270] [c000001fb242ba30] [c000001fb242bab0] 0xc000001fb242bab0 (unreliable)
[ 380.530353] [c000001fb242bb70] [d000000037d52a14] kvmppc_
[ 380.530436] [c000001fb242bba0] [d000000037d4f674] kvm_arch_
[ 380.530519] [c000001fb242bbe0] [d000000037d43918] kvm_vcpu_
[ 380.530602] [c000001fb242bd40] [c0000000002fff60] do_vfs_
[ 380.530671] [c000001fb242bde0] [c000000000300384] SyS_ioctl+0xd4/0xf0
[ 380.530742] [c000001fb242be30] [c000000000009204] system_
[ 380.530837] Instruction dump:
[ 380.530904] e92d02a0 e9290a50 e9290108 792a07e3 41820058 e92d02a0 e9290a50 e9290108
[ 380.531126] 7927e8a4 78e71f87 40820ed8 e92d02a0 <7d4022a6> f9490ee8 e92d02a0 7d4122a6
[ 380.531350] ---[ end trace 8f9b3b82f9a07d76 ]---
Needs kernel patch e47057151422a67
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.4.0-93-generic ppc64le
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Sep 1 15:03 seq
crw-rw---- 1 root audio 116, 33 Sep 1 15:03 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.1-0ubuntu2.10
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: Fri Sep 1 15:34:14 2017
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
JournalErrors:
Error: command ['journalctl', '-b', '--priority=
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
No journal files were opened due to insufficient permissions.
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
PciMultimedia:
ProcFB:
ProcKernelCmdLine: root=UUID=
ProcLoadAvg: 0.19 0.09 0.09 1/1800 5980
ProcLocks:
1: POSIX ADVISORY WRITE 1772 00:13:416 0 EOF
2: POSIX ADVISORY WRITE 4082 00:13:685 0 0
3: FLOCK ADVISORY WRITE 2762 00:13:631 0 EOF
4: POSIX ADVISORY WRITE 3080 00:13:622 0 0
5: FLOCK ADVISORY WRITE 3084 09:01:1074286601 0 EOF
ProcSwaps: Filename Type Size Used Priority
ProcVersion: Linux version 4.4.0-93-generic (buildd@
RelatedPackageV
linux-
linux-
linux-firmware 1.157.11
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
WifiSyslog:
cpu_cores: Number of cores present = 24
cpu_coreson: Number of cores online = 24
cpu_smt: SMT is off
Changed in linux (Ubuntu): | |
assignee: | nobody → Daniel Axtens (daxtens) |
description: | updated |
description: | updated |
https:/ /git.kernel. org/pub/ scm/linux/ kernel/ git/torvalds/ linux.git/ commit/ ?id=e4705715142 2a67ce08747176f a21cb3b526a2c9 is the missing commit.
This is a fix to commit 46a704f8409f ( /git.kernel. org/pub/ scm/linux/ kernel/ git/torvalds/ linux.git/ commit/ ?id=46a704f8409 f), which I have validated exists in linux_4. 4.0-93. 116.diff. gz
https:/