[Bug 1021271] Re: KVM "enabling virtualization on CPU0 failed"
Hong Yuan
hongyuan at homemaster.cn
Thu Oct 31 01:38:29 UTC 2013
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 at 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 at 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 at 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 at 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 at 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 at 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
More information about the Ubuntu-server-bugs
mailing list