qemu guest hangs on nested kvm startup with host kernel oops
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Utopic |
Fix Released
|
Medium
|
Chris J Arges |
Bug Description
[Impact]
Users of nested KVM may experience the L1 VM hanging when booting an L2 VM. Overall this seems to be due to issues with external interrupts not reaching L1 when L2 gets booted.
[Test Case]
Run a nested KVM instance:
https:/
[Fix]
commit 4fa7734c62cdd8c
commit f3380ca5d7edb5e
--
I'm creating a vivid qemu guest on a trusty host with 3.13.0-48-generic kernel. When I start a guest inside that guest, I get the oops below on the host while the first guest hangs and must be (virsh) destroyed.
Apr 24 20:40:08 sergeh2 kernel: [1575627.844208] ------------[ cut here ]------------
Apr 24 20:40:08 sergeh2 kernel: [1575627.844227] WARNING: CPU: 2 PID: 17176 at /build/
Apr 24 20:40:08 sergeh2 kernel: [1575627.844229] Modules linked in: vhost_net vhost macvtap macvlan xts gf128mul xt_conntrack ipt_REJECT ip6table_filter ip6_tables ebtable_nat ebtables veth xt_nat xt_CHECKSUM iptable_mangle ipt_MASQUERADE
iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp bridge stp llc iptable_filter ip_tables x_tables dm_crypt gpio_ich coretemp kvm_intel kvm i7core_edac edac_core lpc_ich shpchp mac_hid serio_raw lp parp
ort btrfs libcrc32c raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq raid0 multipath linear dm_snapshot raid1 nouveau mxm_wmi video i2c_algo_bit ttm drm_kms_helper drm ahci r8169 libahci mii wmi
Apr 24 20:40:08 sergeh2 kernel: [1575627.844281] CPU: 2 PID: 17176 Comm: qemu-system-x86 Not tainted 3.13.0-48-generic #80-Ubuntu
Apr 24 20:40:08 sergeh2 kernel: [1575627.844283] Hardware name: MSI MS-7522/MSI X58 Pro (MS-7522) , BIOS V8.14B8 11/09/2012
Apr 24 20:40:08 sergeh2 kernel: [1575627.844286] 0000000000000009 ffff880907561c98 ffffffff81721506 0000000000000000
Apr 24 20:40:08 sergeh2 kernel: [1575627.844290] ffff880907561cd0 ffffffff810677dd ffff880bfa808000 0000000000000014
Apr 24 20:40:08 sergeh2 kernel: [1575627.844293] ffff8806da7a7000 ffff880bfca9c800 0000000000000000 ffff880907561ce0
Apr 24 20:40:08 sergeh2 kernel: [1575627.844297] Call Trace:
Apr 24 20:40:08 sergeh2 kernel: [1575627.844305] [<ffffffff81721
Apr 24 20:40:08 sergeh2 kernel: [1575627.844310] [<ffffffff81067
Apr 24 20:40:08 sergeh2 kernel: [1575627.844314] [<ffffffff81067
Apr 24 20:40:08 sergeh2 kernel: [1575627.844321] [<ffffffffa081f
Apr 24 20:40:08 sergeh2 kernel: [1575627.844327] [<ffffffffa081f
Apr 24 20:40:08 sergeh2 kernel: [1575627.844347] [<ffffffffa03b7
Apr 24 20:40:08 sergeh2 kernel: [1575627.844364] [<ffffffffa03bb
Apr 24 20:40:08 sergeh2 kernel: [1575627.844376] [<ffffffffa03a5
Apr 24 20:40:08 sergeh2 kernel: [1575627.844381] [<ffffffff810aa
Apr 24 20:40:08 sergeh2 kernel: [1575627.844387] [<ffffffff811ff
Apr 24 20:40:08 sergeh2 kernel: [1575627.844391] [<ffffffff811d1
Apr 24 20:40:08 sergeh2 kernel: [1575627.844406] [<ffffffffa03b0
Apr 24 20:40:08 sergeh2 kernel: [1575627.844409] [<ffffffff811d1
Apr 24 20:40:08 sergeh2 kernel: [1575627.844414] [<ffffffff81731
Apr 24 20:40:08 sergeh2 kernel: [1575627.844416] ---[ end trace 351396e62b6ef224 ]---
Apr 24 20:48:29 sergeh2 dnsmasq-dhcp[1409]: DHCPREQUEST(lxcbr0) 10.0.3.104 00:16:3e:72:73:32
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.13.0-48-generic x86_64
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Apr 10 14:22 seq
crw-rw---- 1 root audio 116, 33 Apr 10 14:22 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.14.1-0ubuntu3.10
Architecture: amd64
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: Error: [Errno 2] No such file or directory: 'iw'
CurrentDmesg: Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
Date: Fri Apr 24 20:59:31 2015
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
MachineType: MSI MS-7522
PciMultimedia:
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
WifiSyslog:
dmi.bios.date: 11/09/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V8.14B8
dmi.board.
dmi.board.name: MSI X58 Pro (MS-7522)
dmi.board.vendor: MSI
dmi.board.version: 3.0
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: MS-7522
dmi.product.
dmi.sys.vendor: MSI
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: kernel-da-key |
tags: | added: bot-stop-nagging |
Changed in linux (Ubuntu): | |
status: | Incomplete → Triaged |
Changed in linux (Ubuntu): | |
status: | Triaged → In Progress |
Changed in linux (Ubuntu Utopic): | |
assignee: | nobody → Chris J Arges (arges) |
Changed in linux (Ubuntu): | |
assignee: | Chris J Arges (arges) → nobody |
status: | In Progress → Fix Released |
Changed in linux (Ubuntu Utopic): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
importance: | Medium → Undecided |
Changed in linux (Ubuntu Utopic): | |
status: | New → In Progress |
description: | updated |
Changed in linux (Ubuntu Utopic): | |
status: | In Progress → Fix Released |
status: | Fix Released → Fix Committed |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1448269
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.