#9071 closed defect (fixed)
VTx under Linux (Ubuntu Oneiric 11.10, Linux 3.0) => Fixed in SVN
回報者: | jaak | 負責人: | |
---|---|---|---|
元件: | other | 版本: | VirtualBox 4.0.8 |
關鍵字: | VT | 副本: | |
Guest type: | Windows | Host type: | Linux |
描述
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)
附加檔案 (2)
更動歷史 (12)
comment:2 13 年 前 由 編輯
狀態: | closed → reopened |
---|---|
處理結果: | worksforme |
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 13 年 前 由 編輯
摘要: | 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 13 年 前 由 編輯
狀態: | closed → reopened |
---|---|
處理結果: | fixed |
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
跟進: 8 comment:7 13 年 前 由 編輯
A VBox.log file is missing. Just create one with a VM which does not require VT-x.
comment:8 13 年 前 由 編輯
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 13 年 前 由 編輯
狀態: | reopened → closed |
---|---|
處理結果: | → fixed |
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 13 年 前 由 編輯
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.