Fails to create KVM context on linux-image-2.6.22-6

Bug #119254 reported by Chris Halse Rogers
18
Affects Status Importance Assigned to Milestone
kvm (Ubuntu)
Fix Released
Undecided
Chris Halse Rogers

Bug Description

Binary package hint: kvm

Using Gutsy, linux-image-2.6.22-6.13-generic.

I modprobe the kvm-intel module; this returns no errors.
Then, running "kvm Sid-VM" gives the error message:

kvm_create_vm: Invalid argument
Could not create KVM context

I am in the kvm group, and the kvm package is version 1:16-1ubuntu2

Related branches

Revision history for this message
Roland Dreier (roland.dreier) wrote :

I think the kvm version currently in gutsy (kvm 16) is far too old to work with the kvm modules from 2.6.22. I think it would be a good idea for someone to upgrade the gutsy kvm package to the latest (kvm 27).

Revision history for this message
Chris Halse Rogers (raof) wrote :

I'll work on packaging up a new upstream version to match our new kernel module.

Changed in kvm:
assignee: nobody → raof
status: Unconfirmed → In Progress
Revision history for this message
Sergey Schwartz (svschwartz) wrote :

+1

I've tested Amd Athlon64 X2 4600+ on Gusty Tribe1 i386 smp
used this howto https://help.ubuntu.com/community/KVM

user@amd1-desktop:~$ kvm -no-acpi -m 384 -cdrom /dev/cdrom -boot d windows.img
kvm_create_vm: Invalid argument
Could not create KVM context

Revision history for this message
9johnny (s.j.) wrote :

Yes, I can confirm also!
It would be great if we could have packages!

Revision history for this message
Chris Halse Rogers (raof) wrote :

I've talked to one of the Debian KVM maintainers - he will soon release a kvm-28 package, which we'll then merge to fix this bug.

Revision history for this message
Wanderlust (wanderlust) wrote :

I just checked packaged.debian.org and found kvm-28. :-)
When it will be in Ubuntu?

Revision history for this message
Wanderlust (wanderlust) wrote :

Well, I just checked my point of view :-)
I've been downloaded kvm-source_28-1_all.deb [1] and kvm_28-1_amd64.deb[2] from

[1] http://http.us.debian.org/debian/pool/main/k/kvm/kvm_28-1_amd64.deb
[2]http://http.us.debian.org/debian/pool/main/k/kvm/kvm-source_28-1_all.deb

and it works perfectly. But now Ubuntu asks me upgrade itself to it's previous versions... How remove this??? :-)

Revision history for this message
Wanderlust (wanderlust) wrote :

oops... sorry for hurring... I starts ok, but it cannot load my guest OS :-( It starts loading, but that I have just only black screen and no processing :-( I'll continue my experiments, but currently state if not perfect :-(

Revision history for this message
Chris Halse Rogers (raof) wrote :

kvm (1:28-4ubuntu1) gutsy; urgency=low

  * Merge from Debian Unstable (LP: #119254, #122113).
  * Remaining Ubuntu Changes:
    + Add epoch
    + debian/control
      - Mention that the kvm-source package is unnecessary.
  * Add epoch to the Conflicts

kvm (28-4) unstable; urgency=low

  * Divert kernel modules when installing the kvm-source modules
    (Closes: #429851)
  * kvm-ifup, even if bridge command failed continue to work, this will allow
    users who have no bridge setup and intend to setup some other method to
    get it to work without messing with the package files. (Closes: #407459)

kvm (28-3) unstable; urgency=low

  * Fix infinite loop in kvm-ifup script

kvm (28-2) unstable; urgency=low

  * We moved a file from kvm-source to kvm, to be able to properly upgrade we
    specify a conflict against older versions (Closes: #417652)
  * Fix kvm-ifup script to work in more conditions (Closes: #417151)
  * Remove old /etc/udev/kvm.rules since it's not needed (Closes: #414331)

kvm (28-1) unstable; urgency=low

  * New upstream release (Closes: #422197)
    - Should fix oops (Closes: #418928)
  * kqemu is no longer in non-free (Closes: #419152)

kvm (18-1) unstable; urgency=low

  * New upstream release (Closes: #416926)
  * Move the module-assistant script to the kvm package from kvm-source so all
    users will benefit from the integration (Closes: #416122)
  * Remove patch to add qemu-ifup and kvm initscript, they are now part of kvm directly.

 -- Christopher James Halse Rogers (RAOF) <email address hidden> Mon, 25 Jun 2007 22:49:27 +1000

Changed in kvm:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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