raring iso not booting in kvm

Bug #1100976 reported by Matthew Mellott
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
qemu (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

EDIT: This started as a question but it was suggested that I turn it into a bug.

This is my first time trying to run a test.

I installed testdrive and virtualbox. Initially, I could not get testdrive to launch a vm, but I noticed that it was setup to use kvm by default so I installed kvm.

I then tried to boot "Ubuntu Desktop (raring-i386)", but the boots hangs before it can even get to the welcome page. Not sure if this is a bug or if their is something wrong with my setup. Here is the testdrive log:

matt@ubuntu:~$ testdrive
INFO: version passed: False
INFO: config passed: None
INFO: Trying config in /etc/testdriverc
INFO: Using configuration in /etc/testdriverc
INFO: Trying config in /home/matt/.testdriverc
INFO: Trying config in /home/matt/.config/testdrive/testdriverc
INFO: Using KVM for virtual machine hosting...
INFO: Retrieving the Ubuntu ISO list from cache...

Welcome to Testdrive!

  1. Ubuntu Desktop (raring-amd64)
  2. Ubuntu Desktop (raring-i386)
     +-cache--> [2013-01-17 01:52:26] raring-desktop-i386.iso
  3. Ubuntu Server (raring-amd64)
  4. Ubuntu Server (raring-i386)
  5. Other (prompt for ISO URL)

Select an image to testdrive [1]: 2
INFO: Syncing the specified ISO...
      rsync://cdimage.ubuntu.com/cdimage/daily-live/current/raring-desktop-i386.iso

receiving incremental file list

sent 29 bytes received 79 bytes 43.20 bytes/sec
total size is 815050752 speedup is 7546766.22
INFO: Validating Virtualization Method....
INFO: /dev/kvm does not exist
HINT: sudo modprobe kvm_intel
INFO: For more detailed results, you should run this as root
HINT: sudo /usr/sbin/kvm-ok
INFO: Setting up Virtual Machine...
Creating disk image [/home/matt/.cache/testdrive/img/testdrive-disk-ikzQqs.img]...
Formatting '/home/matt/.cache/testdrive/img/testdrive-disk-ikzQqs.img', fmt=qcow2 size=6442450944 encryption=off cluster_size=65536 lazy_refcounts=off
INFO: Launching Virtual Machine...
Running the Virtual Machine...
 kvm -uuid e2c2b9b5-fafd-48a8-8517-6a3678d7cc90 -m 1024 -smp 4 -cdrom /home/matt/.cache/testdrive/iso/ubuntu_raring-desktop-i386.iso -drive file=/home/matt/.cache/testdrive/img/testdrive-disk-ikzQqs.img,if=virtio,cache=writeback,index=0,boot=on -usb -usbdevice tablet -net nic,model=virtio -net user -soundhw es1370 -vga cirrus
Could not access KVM kernel module: No such file or directory
failed to initialize KVM: No such file or directory
Back to tcg accelerator.
qemu-kvm: boot=on|off is deprecated and will be ignored. Future versions will reject this parameter. Please update your scripts.
INFO: You may wish to clean up the cache directory...
      /home/matt/.cache/testdrive/iso and /home/matt/.cache/testdrive/img
matt@ubuntu:~$ sudo testdrive
INFO: version passed: False
INFO: config passed: None
INFO: Trying config in /etc/testdriverc
INFO: Using configuration in /etc/testdriverc
INFO: Trying config in /home/matt/.testdriverc
INFO: Trying config in /home/matt/.config/testdrive/testdriverc
INFO: Using KVM for virtual machine hosting...
INFO: Retrieving the Ubuntu ISO list from cache...

Welcome to Testdrive!

  1. Ubuntu Desktop (raring-amd64)
  2. Ubuntu Desktop (raring-i386)
     +-cache--> [2013-01-17 01:52:26] raring-desktop-i386.iso
  3. Ubuntu Server (raring-amd64)
  4. Ubuntu Server (raring-i386)
  5. Other (prompt for ISO URL)

Select an image to testdrive [1]: 2
INFO: Syncing the specified ISO...
      rsync://cdimage.ubuntu.com/cdimage/daily-live/current/raring-desktop-i386.iso

receiving incremental file list

sent 32 bytes received 82 bytes 45.60 bytes/sec
total size is 815050752 speedup is 7149568.00
INFO: Validating Virtualization Method....
INFO: /dev/kvm does not exist
HINT: sudo modprobe kvm_intel
INFO: Your CPU supports KVM extensions
INFO: KVM (vmx) is disabled by your BIOS
HINT: Enter your BIOS setup and enable Virtualization Technology (VT),
      and then hard poweroff/poweron your system
KVM acceleration can NOT be used
INFO: Setting up Virtual Machine...
Creating disk image [/home/matt/.cache/testdrive/img/testdrive-disk-muk_gp.img]...
Formatting '/home/matt/.cache/testdrive/img/testdrive-disk-muk_gp.img', fmt=qcow2 size=6442450944 encryption=off cluster_size=65536 lazy_refcounts=off
INFO: Launching Virtual Machine...
Running the Virtual Machine...
 kvm -uuid 6d7a3b30-e81c-4868-bfbe-2f3fa4df5fb1 -m 1024 -smp 4 -cdrom /home/matt/.cache/testdrive/iso/ubuntu_raring-desktop-i386.iso -drive file=/home/matt/.cache/testdrive/img/testdrive-disk-muk_gp.img,if=virtio,cache=writeback,index=0,boot=on -usb -usbdevice tablet -net nic,model=virtio -net user -soundhw es1370 -vga cirrus
Could not access KVM kernel module: No such file or directory
failed to initialize KVM: No such file or directory
Back to tcg accelerator.
qemu-kvm: boot=on|off is deprecated and will be ignored. Future versions will reject this parameter. Please update your scripts.
INFO: You may wish to clean up the cache directory...
      /home/matt/.cache/testdrive/iso and /home/matt/.cache/testdrive/img
matt@ubuntu:~$ kvm
Could not access KVM kernel module: No such file or directory
failed to initialize KVM: No such file or directory
Back to tcg accelerator.

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1100976

tags: added: iso-testing
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hallo
Please verify your bios settings:
INFO: Your CPU supports KVM extensions
INFO: KVM (vmx) is disabled by your BIOS
HINT: Enter your BIOS setup and enable Virtualization Technology (VT),
      and then hard poweroff/poweron your system
KVM acceleration can NOT be used

but is also tru kvm has some problems, hopefully fixed yesterday.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

I can confirm that KVM seems broken in raring.

ben@padfoot:~$ qemu -machine ?
Supported machines are:
none empty machine
pc Standard PC (i440FX + PIIX, 1996) (alias of pc-i440fx-1.4)
pc-i440fx-1.4 Standard PC (i440FX + PIIX, 1996) (default)
pc-1.3 Standard PC
pc-1.2 Standard PC
pc-1.1 Standard PC
pc-1.0 Standard PC
pc-0.15 Standard PC
pc-0.14 Standard PC
pc-0.13 Standard PC
pc-0.12 Standard PC
pc-0.11 Standard PC, qemu 0.11
pc-0.10 Standard PC, qemu 0.10
isapc ISA-only PC
xenfv Xen Fully-virtualized PC
q35 Standard PC (Q35 + ICH9, 2009) (alias of pc-q35-1.4)
pc-q35-1.4 Standard PC (Q35 + ICH9, 2009)
xenpv Xen Para-virtualized PC
ben@padfoot:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
stepping : 7
microcode : 0x1a
cpu MHz : 800.000
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips : 4385.65
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

Changed in ubuntu:
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Harald (hdmuell) wrote :

I have the same problem starting Ubuntu Server amd64 and Lubuntu amd64 on Virtualbox.
Hostsystem is Ubuntu 1204 64bit

Revision history for this message
Harald (hdmuell) wrote :

Looks like it was a problem with memory configuration. Memory was set to Other. I set it to 1024MB.
Boot continues without problems. (Before it stopped while detecting HW)

Mathew Hodson (mhodson)
affects: ubuntu → kvm (Ubuntu)
tags: added: raring
affects: kvm (Ubuntu) → qemu (Ubuntu)
Revision history for this message
Serge Hallyn (serge-hallyn) wrote : Re: [Bug 1100976] [NEW] raring iso not booting in kvm

Hi,

Can you show the result of doing

 sudo kvm-ok
 groups
and
 kvm -vnc :1

Changed in qemu (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

Other bug subscribers

Related questions

Remote bug watches

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