#9071 closed defect (fixed)
VTx under Linux (Ubuntu Oneiric 11.10, Linux 3.0) => Fixed in SVN
Reported by: | jaak | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.0.8 |
Keywords: | VT | Cc: | |
Guest type: | Windows | Host type: | Linux |
Description
After updating the kernel from 2.6.39-3 to 3.x the option VT broke in Virtualbox.
cpuinfo shows vmx but the option to enable VT in Virtualbox is gone.
After rebooting into kernel 2.9.39-3 and executing sudo /etc/init.d/vbixdrv setup VT came back.
(it doesn't matter what Guest OS is beiing used)
Attachments (2)
Change History (12)
comment:1 by , 13 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 by , 13 years ago
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
I am also experiencing this bug, and I have found the root cause.
In the function called "suplibOsQueryVTxSupported" on line 257 of "HostDrivers/Support/linux/SUPLib-linux.cpp" it expects a version number of format #.#.# and will return an error if receives any other format. Uname on ubuntu 11.10 currently returns the string 3.0-1-generic (note the hyphen instead of a dot between the second and third numbers).
I can verify that stubbing this function to always return true fixes the problem (in a bad way, of course).
The only mystery to me is why 3.0-rc3 vanilla (whose uname version should be 3.0-rc3) did not cause the same problem for you, Frank.
Regardless, I don't think Ubuntu's uname version is unusual, so Virtualbox should be fixed to recognize the new format.
comment:4 by , 13 years ago
Summary: | VTx under Linux (Ubuntu Oneiric 11.10) → VTx under Linux (Ubuntu Oneiric 11.10, Linux 3.0) => Fixed in SVN |
---|
That problem will be fixed in the next maintenance release.
comment:6 by , 13 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
this bug is still present with debian wheezy kernel 3.0.0-1-amd64 and Virtualbox 4.0 OSE, Virtualbox 4.0.12 and Virtualbox 4.1.
Here is my CPU flags section, to be sure that vmx is there:
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm ida dts tpr_shadow vnmi flexpriority
greetings
Christian
follow-up: 8 comment:7 by , 13 years ago
A VBox.log file is missing. Just create one with a VM which does not require VT-x.
comment:8 by , 13 years ago
Replying to frank:
A VBox.log file is missing. Just create one with a VM which does not require VT-x.
the 64bit guest produced a logfile too, so i added them both
comment:9 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
The log file shows that the VT-x extension is disabled, see VERR_VMX_MSR_LOCKED_OR_DISABLED. Reboot your PC, enter the BIOS setup and activate the VT-x extension in the BIOS. Some BIOSes deactivate it by default.
comment:10 by , 13 years ago
sorry for the late reply, VT-x was enabled, but trusted execution too. Which seems to disable the VT-x somehow.
greetings
Just tried Linux 3.0-rc3 vanilla and everything works fine here. Ubuntu Oneiric is not stable yet so I will close this ticket as worksforme.