16.04 LTS hangs on installer when running nested virtualization on 16.04 host.

Bug #1614209 reported by Phil Regnauld
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Physical host running 16.04 LTS on amd64 (i7):

Linux host 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

On it I'm running an am64 16.04 LTS VM:

Linux vm1 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

I have nested virtualization enabled :

vm1$ cat /sys/module/kvm_intel/parameters/nested
Y

When I try and install vm2 (tried both 16.04.1 i386 and amd64), the installer hangs on first menu, at language selection. qemu-kvm goes up to 100% cpu, and the hangs, have to virsh destroy/kill the KVM process.

Other info on vm1:

vm1$ cat /etc/modprobe.d/qemu-system-x86.conf:

options kvm_intel nested=1

Version of libvirt-bin & kvm:

on host1:

libvirt-bin:
  Installed: 1.3.1-1ubuntu10.1
  Candidate: 1.3.1-1ubuntu10.1
qemu-kvm:
  Installed: 1:2.5+dfsg-5ubuntu10.4
  Candidate: 1:2.5+dfsg-5ubuntu10.4

on vm1:

libvirt-bin:
  Installed: 1.3.1-1ubuntu10.1
  Candidate: 1.3.1-1ubuntu10.1
qemu-kvm:
  Installed: 1:2.5+dfsg-5ubuntu10.4
  Candidate: 1:2.5+dfsg-5ubuntu10.4
---
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Aug 17 20:41 seq
 crw-rw---- 1 root audio 116, 33 Aug 17 20:41 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=/dev/mapper/ganeti-swap
InstallationDate: Installed on 2016-08-16 (0 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
IwConfig: Error: [Errno 2] No such file or directory
Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
Package: linux (not installed)
PciMultimedia:

ProcFB: 0 cirrusdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-31-generic root=/dev/mapper/ganeti-root ro
ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-31-generic N/A
 linux-backports-modules-4.4.0-31-generic N/A
 linux-firmware 1.157.3
RfKill: Error: [Errno 2] No such file or directory
Tags: xenial xenial
Uname: Linux 4.4.0-31-generic x86_64
UnreportableReason: The report belongs to a package that is not installed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirtd lpadmin lxd plugdev sambashare sudo
_MarkForUpload: False
dmi.bios.date: 01/01/2011
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2011:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-trusty:cvnBochs:ct1:cvr:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.version: pc-i440fx-trusty
dmi.sys.vendor: QEMU

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1614209

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.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Phil Regnauld (regnauld-f) wrote : CRDA.txt

apport information

tags: added: apport-collected xenial
description: updated
Revision history for this message
Phil Regnauld (regnauld-f) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Phil Regnauld (regnauld-f) wrote : JournalErrors.txt

apport information

Revision history for this message
Phil Regnauld (regnauld-f) wrote : Lspci.txt

apport information

Revision history for this message
Phil Regnauld (regnauld-f) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Phil Regnauld (regnauld-f) wrote : ProcEnviron.txt

apport information

Revision history for this message
Phil Regnauld (regnauld-f) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Phil Regnauld (regnauld-f) wrote : ProcModules.txt

apport information

Revision history for this message
Phil Regnauld (regnauld-f) wrote : UdevDb.txt

apport information

Revision history for this message
Phil Regnauld (regnauld-f) wrote : WifiSyslog.txt

apport information

Revision history for this message
Phil Regnauld (regnauld-f) wrote :

Tried installing Debian 8, same problem - solid freeze on bringing up the installer inside the VM1 (named host1 in the logs above)

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Can you see if this issue also happens with the latest daily image? It can be downloaded from:
http://cdimage.ubuntu.com/daily-live/current/

Changed in linux (Ubuntu):
importance: Undecided → High
tags: added: kernel-da-key
Revision history for this message
Phil Regnauld (regnauld-f) wrote :

You mean, for the guest VM2 I'm trying to install, correct ?

Will try right away and report.

Revision history for this message
Phil Regnauld (regnauld-f) wrote :

That works - it boots into the live desktop, and it's clearly using accelerated (nested) KVM.

Revision history for this message
Phil Regnauld (regnauld-f) wrote :

... using the yakkety-desktop-amd64.iso

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Phil Regnauld (regnauld-f) wrote :

Why was this marked as incomplete ? Now it's expired ? Anything missing ? Should I test again on a recent 16.04 update ?

Changed in linux (Ubuntu):
status: Expired → Incomplete
Revision history for this message
Phil Regnauld (regnauld-f) wrote :

So I'm still not able to install 16.04 under 16.04 using KVM. I've tried with the latest 16.04 ISO, but still freezes and uses 100% CPU - this works if the guest is Yakkety.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.