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

2018-02-22 Thread Andika Triwidada
I got this bug on xenial 16.04.3 kernel 4.4.0-112-generic CPU model name: Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz $ sudo kvm-ok INFO: /dev/kvm exists KVM acceleration can be used $ uname -a Linux vmlab 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 x86_64 x86_64

[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

[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

[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

[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

[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

[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

[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

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

2013-10-30 Thread Hong Yuan
Doesn't seem to work: hong@vhost01:~$ sudo sh -c echo 'performance' /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor hong@vhost01:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor performance hong@vhost01:~$ sudo kvm failed to initialize KVM: Device or resource busy Back to tcg

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

2013-10-30 Thread Serge Hallyn
Thanks. I think the best course here is to try the HWE (hardware- enablement) kernel. I believe the best bet would be to install linux- image-generic-lts-raring (3.8), however someone on the kernel team can hopefully confirm. ** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed

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

2013-10-30 Thread Serge Hallyn
I'm told it should be linux-generic-lts-series to get the headers as well as the kernel. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1021271 Title: KVM enabling virtualization on CPU0 failed To

[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

[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 --

[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 --

[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

[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

[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

[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

[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

[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

[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

[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.

[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

[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 Bugs, which is subscribed to Ubuntu.

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

2012-07-17 Thread Jason Ashworth
Ok, thanks again for your help. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1021271 Title: KVM enabling virtualization on CPU0 failed To manage notifications about this bug go to:

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

2012-07-16 Thread Jason Ashworth
As this wasn't getting much attention, and because I needed KVM, I decided to install Debian Squeeze amd64 on this box instead. KVM now works perfectly. Unfortunately, this now means that I cannot test any more the problem that I had with Ubuntu 12.04. So, unless anyone else is affected by this

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

2012-07-16 Thread Serge Hallyn
(For searchability, this is a problem with 12.04 qemu-kvm on a AMD Athlon(tm) 5000 Dual-Core Processor ) Jason, could you tell us the kernel version you are successfully using in squeeze? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

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

2012-07-16 Thread Jason Ashworth
Certainly: $ uname -a Linux cube 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64 GNU/Linux $ $ cat /etc/issue.net Debian GNU/Linux 6.0 $ $ kvm --version QEMU PC emulator version 0.12.5 (qemu-kvm-0.12.5), Copyright (c) 2003-2008 Fabrice Bellard $ For clarity, this is the exact same

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

2012-07-16 Thread Serge Hallyn
The kvm_amd module has had some other regressions since 2.6.32, so i wouldn't be surprised if a newer (3.2 or 3.5) kernel produced the same problem for you with debian. Hopefully we'll get to the bottom of it. I'll go ahead and mark the bug invalid - an 'advanced search' will still bring up this

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

2012-07-16 Thread Serge Hallyn
Actually I'll mark it incomplete instead. ** Changed in: linux (Ubuntu) Status: Confirmed = Incomplete ** Changed in: qemu-kvm (Ubuntu) Status: Confirmed = Incomplete ** Changed in: linux (Ubuntu) Status: Incomplete = Invalid ** Changed in: qemu-kvm (Ubuntu) Status:

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

2012-07-06 Thread Jason Ashworth
Thanks, Serge. I'm having trouble running apport-collect, as this is a headless server install, so only browser available is lynx, which seems to fail just after allowing authorisation. However, here are the rest of the details you've requested: $ lsmod Module Size Used by

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

2012-07-06 Thread Serge Hallyn
** Changed in: qemu-kvm (Ubuntu) Status: Incomplete = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1021271 Title: KVM enabling virtualization on CPU0 failed To manage notifications

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

2012-07-06 Thread Serge Hallyn
Everything looks good. I have no problems running qemu-kvm in precise on an amd laptop. However it could be a chip-specific bug. I am adding the kernel to the list of affected packages. ** Also affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags added: kernel-kvm --

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

2012-07-06 Thread Jason Ashworth
Hi Brad, I can't run apport-collect on this system, as detailed in Comment #6. As requested, I've now set this bug to Confirmed. Many thanks. ** Changed in: qemu-kvm (Ubuntu) Status: New = Confirmed ** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed -- You received

[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

[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

[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

[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

[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

[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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1021271 Title: KVM enabling virtualization on CPU0 failed To manage notifications

[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

[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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1021271 Title: KVM enabling virtualization on CPU0 failed To manage notifications

[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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1021271 Title: KVM enabling virtualization on CPU0 failed To manage

[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