[Solved] Virtual Box not detecting Intel VT-x

Discussions related to using VirtualBox on Linux hosts.
Post Reply
hsn2012
Posts: 2
Joined: 26. Oct 2013, 03:38

[Solved] Virtual Box not detecting Intel VT-x

Post by hsn2012 »

I have installed VirtualBox 4.3 on a server with two Intel E5506 CPUs on ASUS Z8NA-D6 motherboard.
I had confirmed that Virtualization is enabled on the BIOS.
Host Operating System: Ubuntu 64bit Server: 13.10

The flags from the following command does include vmx
root@myserver:~#cat /proc/cpuinfo | grep -E "vmx|svm"

The VirtualBox has the folllowing Acceleration features enabled

Enable VT-x/AMD-V
Enable Nested Paging (EPT)
Enable VPID

As far as I know there is no otehr setting specifically say that you want 64 bit CPU.

Now, when I try to install Ubuntu 13.10 64bit, it comes with the error message:
"This kernel requires an x86-64 CPU, but only detected an i686 CPU."

What am I missing?

According to Intel's CPU page:

Intel® Turbo Boost Technology: No
Intel® Hyper-Threading Technology: No
Intel® Virtualization Technology (VT-x): Yes
Intel® Virtualization Technology for Directed I/O (VT-d): Yes
Intel® VT-x with Extended Page Tables (EPT): Yes

Any helpful lead will be much appreciated!

Thanks in advance!

Edit: I just checked the following to confirm that Virtualization is enabled (as per various articles from other forums):

root@myserver:~# kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

root@myserver:~# uname -m
x86_64

root@myserver:~# egrep -c ' lm ' /proc/cpuinfo
8

root@myserver:~# rdmsr 0x3A
5
Last edited by hsn2012 on 26. Oct 2013, 06:23, edited 1 time in total.
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: Virtual Box not detecting Intel VT-x

Post by Ramshankar »

Set the guest OS type to 64-bit (in the GUI) OR use:

Code: Select all

VBoxManage modifyvm <vmname> --longmode on
Oracle Corp.
hsn2012
Posts: 2
Joined: 26. Oct 2013, 03:38

Re: Virtual Box not detecting Intel VT-x

Post by hsn2012 »

Thanks Ramashankar! That Worked!!!!!!

I am using RemoteBox (from LinuxMint) to create and manage my VMs and I had Ubuntu 64bit version selected for the OS while it was failing.
But the setting "--longmode on" did the trick!

Thank you so much for your help.

Edit: Now, when I create new VMs with Ubuntu64, it works even without (manually) specifying longmode!
Redsadic
Posts: 1
Joined: 6. Nov 2013, 23:05

Re: [Solved] Virtual Box not detecting Intel VT-x

Post by Redsadic »

Thanks a lot for the trick, it worked for me too! :)

I was practically convinced that it was a bug on my motherboard.

Thanks!
fervor
Posts: 4
Joined: 4. Sep 2012, 19:07

Re: [Solved] Virtual Box not detecting Intel VT-x

Post by fervor »

Thanks Ramashankar!
That worked for me as well. The host a Dell D630 running Ubuntu 12.04 workstation. The guest was a CentOS6.5 VM.
.
Iouri Chadour
Posts: 1
Joined: 17. Mar 2014, 15:23

Re: [Solved] Virtual Box not detecting Intel VT-x

Post by Iouri Chadour »

thanks a lot - this worked well
Post Reply