Page 1 of 1

How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Posted: 13. Mar 2011, 01:50
by dcipher
Hi

I have Linux Mint "Julia" 64 bit and the latest version of Virtual Box 4.0.4 and Intel VT is turned on in the bios but I get the error mentioned in the subject line when I try to start a Windows 7 64bit guest. The cpu is the i7-620 mobile cpu with the QM57 chipset with 8gig of ram. As a result I never get to the point of installing the Windows software. Any clues as to what might be the problem?

Simon

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Posted: 13. Mar 2011, 02:03
by Perryg
Make sure that you have not installed the KMV kernel on the host.
https://help.ubuntu.com/community/KVM/FAQ
Or that have downloaded LinuxMint 9 with VMWare included. If so you have to disable it as well.

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Posted: 13. Mar 2011, 22:13
by dcipher
Hi

KVM does not appear to be installed but the problem persists.

Simon

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Posted: 13. Mar 2011, 23:42
by Sasquatch
It's also possible something else is wrong. E.g. KVM modules are loaded, VT-x/AMD-V is disabled in BIOS or the CPU does not have the feature even though the BIOS has the option for it.

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Posted: 14. Mar 2011, 18:15
by dcipher
Sasquatch wrote:It's also possible something else is wrong. E.g. KVM modules are loaded, VT-x/AMD-V is disabled in BIOS or the CPU does not have the feature even though the BIOS has the option for it.
Advanced Technologies
Intel® Turbo Boost Technology Yes
Intel® Hyper-Threading Technology Yes
Intel® Virtualization Technology (VT-x) Yes
Intel® Virtualization Technology for Directed I/O (VT-d) Yes
Intel® Trusted Execution Technology Yes
AES New Instructions Yes
Intel® 64 Yes
Idle States Yes
Enhanced Intel SpeedStep® Technology Yes
Thermal Monitoring Technologies Yes
Intel® Fast Memory Access Yes
Intel® Flex Memory Access Yes
Execute Disable Bit Yes
These were all taken off the Intel website which shows these chips all support the required items. The BIOS also has VT enabled.

I used the scripts suggested by Perryg on the Ubuntu website to remove KVM but the Terminal reports that the scripts do not exist so I am assuming they do not exist because KVM was not loaded.

Simon


Simon

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Posted: 14. Mar 2011, 18:17
by Perryg
Intel® Trusted Execution Technology Yes
Make sure that this is not enabled in the bios. It stops VBox from using the VT-x

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Posted: 17. Mar 2011, 03:06
by dcipher
Perryg wrote:
Intel® Trusted Execution Technology Yes
Make sure that this is not enabled in the bios. It stops VBox from using the VT-x
I turned it off in the BIOS but it made not difference. As long as I turn of the VT-x in VirtualBox I can start Windows 7 but if I enabled I cannot.

Simon

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Posted: 19. Mar 2011, 13:00
by Sasquatch
Wait a minute. You have VT-x enabled and you get the above error for your 64 bit VM. When you turn it OFF, you don't get any error and the VM just boots fine? Then it's one of the classic BIOS bugs that turning something on actually turns it off and vice versa.

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Posted: 22. Apr 2011, 02:34
by opensuse-717
well, let me share my experience:

I started getting the VER_VMX_ ... error when I decided to increase the memory of my virtual machine over 4000 MB (the total of my PC is 12 GB). When I got it back to less than 3700MB the problem disappeared !

mimis

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Posted: 24. Apr 2011, 08:24
by mhanor
attach the logs for each case

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Posted: 16. Jun 2011, 17:28
by JamesTalbot
I had the same error message when I attempt to start my Windows 7 guest. I eventually figured out that I could start it if I reduced the number of virtual CPUs to 1. Any setting above one still causes that error.

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Posted: 16. Jun 2011, 22:18
by Sasquatch
JamesTalbot wrote:I had the same error message when I attempt to start my Windows 7 guest. I eventually figured out that I could start it if I reduced the number of virtual CPUs to 1. Any setting above one still causes that error.
Well, this doesn't look right:

Code: Select all

00:00:01.120 VMX - Virtual Machine Technology       = 0 (1)
Why did you not enable VT-x/AMD-V in the VM settings when the Host has that option?

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Posted: 28. Jun 2011, 21:14
by petten
I encountered this error after I tried to increase the CPU count from 1 to 4 (a VM Manager setting). The PM has 8 cores/CPUs. The error went away after I reverted the change.

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Posted: 11. Nov 2011, 15:19
by nick17
I'm having the same problem, but only intermittently. After a reboot to double check my bios settings, the problem went away. Today it is back (same settings). Anyone have any luck here?

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Posted: 11. Nov 2011, 15:34
by Perryg
nick17 wrote:I'm having the same problem, but only intermittently. After a reboot to double check my bios settings, the problem went away. Today it is back (same settings). Anyone have any luck here?
The warning usually means that VirtualBox can see the VT-x/AMD-v feature but can not use it because it is either locked in bios or by some other program that is using it, like XP mode, hyper-v, or other virtualizer.