← Back to team overview

kernel-packages team mailing list archive

[Bug 1208455] Re: general protection fault running apt-get inside double nested kvm VM

 

To recreate:

1) Follow instructions on internal wiki (page
"InformationInfrastructure/IS/CanonicalOpenstack") to create a keypair.

2) Create an guest instance:

$ keyname="${USER}_lcy01"
$ image=$(euca-describe-images|grep saucy|head -1|awk '{print $2}')
$ euca-run-instances -k $keyname -t m1.medium $image

3) Identify IP address and instance name ("i-0000XXXX"):

$  euca-describe-instances

4) ssh into system

5) Install required packages:

$ sudo apt-get -y install genisoimage linux-image-extra-virtual bzr
qemu-kvm qemu-utils

6) Setup groups

$ usermod -G kvm -a ubuntu

7) Logout and back in again to pick up kvm group membership.

8) Checkout bzr branch:

$ bzr branch lp:auto-package-testing
$ cd auto-package-testing

9) Apply patch on this bug to disable byobu and enable kvm logging (to
/tmp/kvm.log)

10) Run the following:

bin/prepare-testbed -r saucy -d i386

11) tail -f /tmp/kvm.log and wait for massive cpu usage and kernel spew
in /tmp/kvm.log.

12) Cleanup:

$ euca-terminate-instances i-0000XXXX

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1208455

Title:
  general protection fault running apt-get inside double nested kvm VM

Status in “linux” package in Ubuntu:
  In Progress
Status in “qemu-kvm” package in Ubuntu:
  New
Status in “linux” source package in Saucy:
  In Progress
Status in “qemu-kvm” source package in Saucy:
  New

Bug description:
  Attempting to run apt-get in a nested vm hosted in OpenStack results
  in a  general protection fault in the kernel in the nested VM.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1208455/+subscriptions


References