VirtualBox

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#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)

VBox.log (63.3 KB ) - added by cmichallek 13 years ago.
Vbox.log from Windows 7 64 guest which wont boot
VBox.2.log (61.5 KB ) - added by cmichallek 13 years ago.
Vbox.log from Windows XP 32bit guest

Download all attachments as: .zip

Change History (12)

comment:1 by Frank Mehnert, 13 years ago

Resolution: worksforme
Status: newclosed

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.

comment:2 by Evan, 13 years ago

Resolution: worksforme
Status: closedreopened

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:3 by Frank Mehnert, 13 years ago

3.0-rc3 vanialla returns 3.0.0-rc3 as uname.

comment:4 by Frank Mehnert, 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:5 by Frank Mehnert, 13 years ago

Resolution: fixed
Status: reopenedclosed

Fix in VBox 4.0.10.

comment:6 by cmichallek, 13 years ago

Resolution: fixed
Status: closedreopened

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

comment:7 by Frank Mehnert, 13 years ago

A VBox.log file is missing. Just create one with a VM which does not require VT-x.

by cmichallek, 13 years ago

Attachment: VBox.log added

Vbox.log from Windows 7 64 guest which wont boot

by cmichallek, 13 years ago

Attachment: VBox.2.log added

Vbox.log from Windows XP 32bit guest

in reply to:  7 comment:8 by cmichallek, 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 Frank Mehnert, 13 years ago

Resolution: fixed
Status: reopenedclosed

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 cmichallek, 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

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette