[Bug 1021271] Re: KVM enabling virtualization on CPU0 failed

2014-01-03 Thread Jason Ashworth
Hi Christopher,
Unfortunately, I went back to Debian (which didn't have the bug) on this 
hardware, but now I no longer have access to this machine, so I can't do any 
further testing.
Unless someone else watching this thread can reproduce the problem, there's no 
further testing/troubleshooting that can be done.
Many thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1021271

Title:
  KVM enabling virtualization on CPU0 failed

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1021271] Re: KVM enabling virtualization on CPU0 failed

2014-01-03 Thread Christopher M. Penalver
Jason Ashworth, this bug report is being closed due to your last comment
https://bugs.launchpad.net/ubuntu/+source/qemu-
kvm/+bug/1021271/comments/27 regarding you no longer have access to the
machine. For future reference you can manage the status of your own bugs
by clicking on the current status in the yellow line and then choosing a
new status in the revealed drop down box. You can learn more about bug
statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for
taking the time to report this bug and helping to make Ubuntu better.
Please submit any future bugs you may find.

** Changed in: linux (Ubuntu)
   Status: Incomplete = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1021271

Title:
  KVM enabling virtualization on CPU0 failed

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1021271] Re: KVM enabling virtualization on CPU0 failed

2013-12-30 Thread Christopher M. Penalver
Jason Ashworth, this bug was reported a while ago and there hasn't been
any activity in it recently. We were wondering if this is still an
issue? If so, could you please test for this with the latest development
release of Ubuntu server? ISO images are available from
http://cdimage.ubuntu.com/ubuntu-server/daily/current/ .

If it remains an issue, could you please attach your apport-collect
following https://help.ubuntu.com/community/ReportingBugs
#Filing_bugs_when_off-line ?

** Changed in: linux (Ubuntu)
   Status: Confirmed = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1021271

Title:
  KVM enabling virtualization on CPU0 failed

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1021271] Re: KVM enabling virtualization on CPU0 failed

2013-10-30 Thread Hong Yuan
Thanks for the help but alas it does not work this time either.

I have installed and tried both linux-generic-lts-quantal and linux-
generic-lts-raring:

$ sudo wajig install linux-generic-lts-*

Result with quantal:

hong@vhost01:~$ uname -a
Linux vhost01 3.5.0-42-generic #65~precise1-Ubuntu SMP Wed Oct 2 20:57:18 UTC 
2013 x86_64 x86_64 x86_64 GNU/Linux
hong@vhost01:~$ sudo kvm
failed to initialize KVM: Device or resource busy
Back to tcg accelerator.
Could not initialize SDL(No available video device) - exiting
hong@vhost01:~$ dmesg | grep kvm | tail
[   14.381796] kvm: enabling virtualization on CPU2 failed
[   14.381805] kvm: enabling virtualization on CPU0 failed
[   14.438460] kvm: enabling virtualization on CPU0 failed
[   14.438462] kvm: enabling virtualization on CPU1 failed
[   14.438466] kvm: enabling virtualization on CPU2 failed
[   14.438474] kvm: enabling virtualization on CPU3 failed
[   33.561382] kvm: enabling virtualization on CPU0 failed
[   33.561385] kvm: enabling virtualization on CPU1 failed
[   33.561387] kvm: enabling virtualization on CPU3 failed
[   33.561396] kvm: enabling virtualization on CPU2 failed

Then I boot into each one. Result with raring:

hong@vhost01:~$ uname -a
Linux vhost01 3.8.0-32-generic #47~precise1-Ubuntu SMP Wed Oct 2 16:19:35 UTC 
2013 x86_64 x86_64 x86_64 GNU/Linux
hong@vhost01:~$ sudo kvm
failed to initialize KVM: Device or resource busy
Back to tcg accelerator.
Could not initialize SDL(No available video device) - exiting
hong@vhost01:~$ dmesg | grep kvm | tail 
[   14.255276] kvm: enabling virtualization on CPU2 failed
[   14.255284] kvm: enabling virtualization on CPU0 failed
[   64.876582] kvm: enabling virtualization on CPU0 failed
[   64.876584] kvm: enabling virtualization on CPU3 failed
[   64.876587] kvm: enabling virtualization on CPU2 failed
[   64.876595] kvm: enabling virtualization on CPU1 failed
[  290.615655] kvm: enabling virtualization on CPU0 failed
[  290.615660] kvm: enabling virtualization on CPU1 failed
[  290.615666] kvm: enabling virtualization on CPU3 failed
[  290.615685] kvm: enabling virtualization on CPU2 failed

While with precies the error is only seen with CPU0, with the new
kernels it is repeated on all CPU's.

With further Googling I stumled upon a post:

https://bbs.archlinux.org/viewtopic.php?id=148163

which suggests a BIOS upgrade might work. But since kvm worked perfectly
under 10.04LTS, it should be software related and a BIOS upgrade would
be a last resort as a workaround rather than a solution.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1021271

Title:
  KVM enabling virtualization on CPU0 failed

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1021271] Re: KVM enabling virtualization on CPU0 failed

2013-10-29 Thread Serge Hallyn
Could you try setting

devices/system/cpu/cpu0/cpufreq/scaling_governor = performance
in /etc/sysfs.conf?

http://etbe.coker.com.au/2010/03/17/starting-with-kvm/ suggests that kvm
may not like frequency scaling on on that cpu.

** Changed in: linux (Ubuntu)
   Status: Invalid = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1021271

Title:
  KVM enabling virtualization on CPU0 failed

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1021271] Re: KVM enabling virtualization on CPU0 failed

2013-10-28 Thread Hong Yuan
hong@vhost01:~$ uname -a
Linux vhost01 3.2.0-54-generic #82-Ubuntu SMP Tue Sep 10 20:08:42 UTC 2013 
x86_64 x86_64 x86_64 GNU/Linux

The result with saucy is the same as with precise:

ubuntu@s1:~$ sudo kvm
W: kvm binary is deprecated, please use qemu-system-x86_64 instead
failed to initialize KVM: Device or resource busy
Back to tcg accelerator.

(qemu-system-x86_64:4607): Gtk-WARNING **: cannot open display:

ubuntu@s1:~$ dmesg | tail -n1
[43436.367067] kvm: enabling virtualization on CPU0 failed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1021271

Title:
  KVM enabling virtualization on CPU0 failed

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1021271] Re: KVM enabling virtualization on CPU0 failed

2013-10-25 Thread Serge Hallyn
Which kernel are you running?  (Please show uname -a output)

To figure out whether this is a kernel or qemu problem, it would be
useful to test kvm in a saucy chroot or container.  Basically, you would

sudo apt-get -y install lxc
sudo lxc-create -t ubuntu -n s1 -- -r saucy
sudo lxc-start -n s1
   # log in as user ubuntu password ubuntu, then
   sudo apt-get -y install qemu-system-x86
   sudo mknod /dev/kvm c 10 232
   kvm

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1021271

Title:
  KVM enabling virtualization on CPU0 failed

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1021271] Re: KVM enabling virtualization on CPU0 failed

2013-10-18 Thread Hong Yuan
$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

BIOS is OK. I haven't change anything during the upgrade to 12.04. And
now I installed a parallel installation of 10.04 on another partition.
When the machine is booted into that distribution, all VM's run as
usual. It's just with 12.04 that the error occur:

$ dmesg | grep kvm
[   16.662398] kvm: Nested Virtualization enabled
[   16.662402] kvm: Nested Paging enabled
[   18.496106] kvm: enabling virtualization on CPU0 failed
[   18.556637] kvm: enabling virtualization on CPU0 failed
[  212.738592] kvm: enabling virtualization on CPU0 failed
[  213.179775] kvm: enabling virtualization on CPU0 failed
[  213.540391] kvm: enabling virtualization on CPU0 failed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1021271

Title:
  KVM enabling virtualization on CPU0 failed

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1021271] Re: KVM enabling virtualization on CPU0 failed

2013-10-17 Thread Hong Yuan
Any progress with the bug?

I encouter the same problem now when upgrading from 10.04 to 12.04.3LTS.
I am also using amd CPU, AMD Phenom(tm) II X4 940 to be precise.

After the upgrade, no virtual machine can be started with exactly the
same error. I am considering a distribution downgrade if there is no
progress with this bug.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1021271

Title:
  KVM enabling virtualization on CPU0 failed

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1021271] Re: KVM enabling virtualization on CPU0 failed

2013-10-17 Thread Serge Hallyn
Please run
   sudo kvm-ok

and show the results here.  Please reboot and enter your bios setup and
make sure that 'virtualization extensions' are on.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1021271

Title:
  KVM enabling virtualization on CPU0 failed

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1021271] Re: KVM enabling virtualization on CPU0 failed

2012-07-05 Thread Soren Hansen
Do you perhaps have Virtualbox and/or VMWare installed as well?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1021271

Title:
  KVM enabling virtualization on CPU0 failed

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1021271] Re: KVM enabling virtualization on CPU0 failed

2012-07-05 Thread Jason Ashworth
Hi Soren.  No, I do not have any other virtualisation technologies
installed.  This is a fresh install (installed first time with base
server install only, followed by apt-get install kvm, and then a
second fresh install choosing Virtual server host (or whatever the
exact wording is) in the server roles selection screen at the end of the
install.

Both methods of installation end with the same result.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1021271

Title:
  KVM enabling virtualization on CPU0 failed

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1021271] Re: KVM enabling virtualization on CPU0 failed

2012-07-05 Thread Dave Walker
Can you provide the output of the command kvm-ok please?

Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1021271

Title:
  KVM enabling virtualization on CPU0 failed

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1021271] Re: KVM enabling virtualization on CPU0 failed

2012-07-05 Thread Jason Ashworth
Sure:

$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
$

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1021271

Title:
  KVM enabling virtualization on CPU0 failed

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1021271] Re: KVM enabling virtualization on CPU0 failed

2012-07-05 Thread Serge Hallyn
Hi Jason,

could you please run 'apport-collect 1021271' to have apport submit some
extra debugging information?

In addition, please show the result of:

lsmod
grep -i kvm /var/log/boot.log
ls -l /dev/kvm
dpkg -l | grep kvm

Finally, the only time I've seen symptoms like this so far has been when
the bios reset itself to disable virtualization.  Despite what kvm-ok
says, could you please boot into bios and check for the hardware
virtualization options?

** Package changed: kvm (Ubuntu) = qemu-kvm (Ubuntu)

** Changed in: qemu-kvm (Ubuntu)
   Importance: Undecided = High

** Changed in: qemu-kvm (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1021271

Title:
  KVM enabling virtualization on CPU0 failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1021271/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs