2017-03-16 18:30:09 |
Ciprian Barbu |
bug |
|
|
added bug |
2017-03-16 19:24:47 |
Ciprian Barbu |
attachment added |
|
launch.sh https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1673564/+attachment/4839059/+files/launch.sh |
|
2017-03-16 19:29:17 |
Ciprian Barbu |
attachment added |
|
console.log https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1673564/+attachment/4839060/+files/console.log |
|
2017-03-16 19:35:10 |
Ciprian Barbu |
bug task added |
|
edk2 (Ubuntu) |
|
2017-03-16 19:35:32 |
Ciprian Barbu |
bug task deleted |
qemu (Ubuntu) |
|
|
2017-03-16 20:53:53 |
Alexandru Avadanii |
bug |
|
|
added subscriber Alexandru Avadanii |
2017-03-16 20:54:06 |
Launchpad Janitor |
edk2 (Ubuntu): status |
New |
Confirmed |
|
2017-03-16 20:55:40 |
Alexandru Avadanii |
bug |
|
|
added subscriber Paul Vaduva |
2017-03-21 17:46:39 |
Andrew Cloke |
bug |
|
|
added subscriber Andrew Cloke |
2017-03-27 16:40:51 |
dann frazier |
bug task added |
|
linux (Ubuntu) |
|
2017-03-27 16:40:58 |
dann frazier |
linux (Ubuntu): status |
New |
Confirmed |
|
2017-04-01 13:17:02 |
Richard |
bug |
|
|
added subscriber Richard |
2017-04-13 21:04:46 |
David Daney |
attachment added |
|
Experimental workaround https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/1673564/+attachment/4861520/+files/kvm-hang.patch |
|
2017-04-14 00:26:03 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2017-04-14 00:26:13 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2017-04-14 06:49:04 |
Chatelard Bastien |
bug |
|
|
added subscriber Chatelard Bastien |
2017-04-18 16:11:24 |
dann frazier |
bug task deleted |
edk2 (Ubuntu) |
|
|
2017-04-24 19:14:17 |
Raghuram Kota |
bug |
|
|
added subscriber Raghuram Kota |
2017-05-04 18:39:49 |
dann frazier |
nominated for series |
|
Ubuntu Xenial |
|
2017-05-04 18:39:49 |
dann frazier |
bug task added |
|
linux (Ubuntu Xenial) |
|
2017-05-04 18:39:49 |
dann frazier |
nominated for series |
|
Ubuntu Zesty |
|
2017-05-04 18:39:49 |
dann frazier |
bug task added |
|
linux (Ubuntu Zesty) |
|
2017-05-04 18:39:49 |
dann frazier |
nominated for series |
|
Ubuntu Yakkety |
|
2017-05-04 18:39:49 |
dann frazier |
bug task added |
|
linux (Ubuntu Yakkety) |
|
2017-05-04 18:39:57 |
dann frazier |
linux (Ubuntu Xenial): status |
New |
Confirmed |
|
2017-05-04 18:39:59 |
dann frazier |
linux (Ubuntu Yakkety): status |
New |
Confirmed |
|
2017-05-04 18:40:01 |
dann frazier |
linux (Ubuntu Zesty): status |
New |
Confirmed |
|
2017-05-04 18:40:06 |
dann frazier |
linux (Ubuntu): importance |
Undecided |
High |
|
2017-05-04 18:40:09 |
dann frazier |
linux (Ubuntu Xenial): importance |
Undecided |
High |
|
2017-05-04 18:40:11 |
dann frazier |
linux (Ubuntu Yakkety): importance |
Undecided |
High |
|
2017-05-04 18:40:13 |
dann frazier |
linux (Ubuntu Zesty): importance |
Undecided |
High |
|
2017-05-04 18:42:17 |
dann frazier |
description |
This is a followup of an earlier thread/bug that we have narrowed down to an incompatibility/issue with vhost support in qemu-efi. Without vhost=on qemu seems to be working fine.
I have tested several edk2 firmwares:
- xenial
- zesty
- Fedora: ftp://195.220.108.108/linux/fedora-secondary/development/rawhide/Everything/aarch64/os/Packages/e/edk2-aarch64-20170209git296153c5-2.fc26.noarch.rpm
I have also tested with different guests:
- cirros: https://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-disk.img
- ubuntu xenial: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-arm64-uefi1.img
The test steps are simple enough. A tap device is needed, qemu-kvm, qemu-efi need to be installed. The UEFI iamge is run as shown in the launch.sh script, the tap device is used in vhost=on mode.
Also note that the QEMU_EFI.fd binary needs to be padded up to 64M:
dd if=/dev/zero of=AAVMF_CODE.fd bs=1M count=64
dd if=QEMU_EFI.fd of=AAVMF_CODE.fd conv=notrunc
The result was always the same, the node crashing with soft-lockups when qemu was attempting to boot the kernel.
I will attach all the relevant information shortly. |
[Impact]
VMs can cause interrupts to be disabled on the host CPU, resulting in hangs.
[Test Case]
See Comment #1.
[Regression Risk]
(TBD, once proposed patches are finalized) |
|
2017-05-04 18:54:03 |
Igor Gayk |
bug |
|
|
added subscriber Igor Gayk |
2017-05-04 18:54:30 |
Igor Gayk |
removed subscriber Igor Gayk |
|
|
|
2017-07-14 20:05:06 |
Seth Forshee |
linux (Ubuntu): status |
Confirmed |
Fix Committed |
|
2017-07-26 15:23:18 |
Andy Whitcroft |
linux (Ubuntu Yakkety): status |
Confirmed |
Won't Fix |
|
2017-08-03 19:14:13 |
dann frazier |
attachment added |
|
vm-start-stop.tar.gz https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1673564/+attachment/4926651/+files/vm-start-stop.tar.gz |
|
2017-08-03 19:19:38 |
dann frazier |
description |
[Impact]
VMs can cause interrupts to be disabled on the host CPU, resulting in hangs.
[Test Case]
See Comment #1.
[Regression Risk]
(TBD, once proposed patches are finalized) |
[Impact]
VMs can cause interrupts to be disabled on the host CPU, resulting in hangs.
[Test Case]
Download the attached vm-start-stop.tar.gz and unpack it. Run the start.sh script within. This will start 30 parallel loops where a VM is defined, started, allowed 60s to run, then destroyed. If the bug exists, within 10 minutes you'll see qemu processes start to hang, along with soft lockup messages on the console. Note that this script is compatible with xenial libvirt syntax - it likely needs tweaks to run in newer Ubuntu releases, just due to QEMU/libvirt changes.
[Regression Risk]
The code changes are restricted to ARM - but there are a lot of them. While we've attempted to stress test the proposed changes on both impacted and non-impacted (non-ThunderX) systems, it is possible that there are issues that our test isn't finding, which would likely surface as KVM guest crashes/hangs. |
|
2017-08-03 19:20:04 |
dann frazier |
linux (Ubuntu Zesty): status |
Confirmed |
In Progress |
|
2017-08-03 19:20:06 |
dann frazier |
linux (Ubuntu Zesty): assignee |
|
dann frazier (dannf) |
|
2017-08-08 10:41:31 |
Kleber Sacilotto de Souza |
linux (Ubuntu Zesty): status |
In Progress |
Fix Committed |
|
2017-08-10 05:56:17 |
Launchpad Janitor |
linux (Ubuntu): status |
Fix Committed |
Fix Released |
|
2017-08-10 05:56:17 |
Launchpad Janitor |
cve linked |
|
2017-1000364 |
|
2017-08-10 05:56:17 |
Launchpad Janitor |
cve linked |
|
2017-10810 |
|
2017-08-10 05:56:17 |
Launchpad Janitor |
cve linked |
|
2017-7533 |
|
2017-08-16 16:34:38 |
Kleber Sacilotto de Souza |
tags |
patch |
patch verification-needed-zesty |
|
2017-08-16 20:01:38 |
dann frazier |
tags |
patch verification-needed-zesty |
verification-done-zesty |
|
2017-08-28 10:14:27 |
Launchpad Janitor |
linux (Ubuntu Zesty): status |
Fix Committed |
Fix Released |
|
2017-08-28 10:14:27 |
Launchpad Janitor |
cve linked |
|
2017-1000111 |
|
2017-08-28 10:14:27 |
Launchpad Janitor |
cve linked |
|
2017-1000112 |
|
2017-08-28 10:14:27 |
Launchpad Janitor |
cve linked |
|
2017-7487 |
|
2017-09-11 18:14:28 |
Raghuram Kota |
linux (Ubuntu Xenial): status |
Confirmed |
Fix Released |
|