How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Discussions related to using VirtualBox on Linux hosts.

How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Postby dcipher » 13. Mar 2011, 01:50

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
dcipher
 
Posts: 4
Joined: 13. Mar 2011, 01:45
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows7

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Postby Perryg » 13. Mar 2011, 02:03

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.
Perryg
Site Moderator
 
Posts: 25941
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Postby dcipher » 13. Mar 2011, 22:13

Hi

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

Simon
dcipher
 
Posts: 4
Joined: 13. Mar 2011, 01:45
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows7

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Postby Sasquatch » 13. Mar 2011, 23:42

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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Postby dcipher » 14. Mar 2011, 18:15

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
dcipher
 
Posts: 4
Joined: 13. Mar 2011, 01:45
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows7

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Postby Perryg » 14. Mar 2011, 18:17

Intel® Trusted Execution Technology Yes

Make sure that this is not enabled in the bios. It stops VBox from using the VT-x
Perryg
Site Moderator
 
Posts: 25941
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Postby dcipher » 17. Mar 2011, 03:06

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
dcipher
 
Posts: 4
Joined: 13. Mar 2011, 01:45
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows7

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Postby Sasquatch » 19. Mar 2011, 13:00

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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Postby opensuse-717 » 22. Apr 2011, 02:34

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
opensuse-717
 
Posts: 9
Joined: 26. Jan 2009, 23:42

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Postby mhanor » 24. Apr 2011, 08:24

attach the logs for each case
mhanor
 
Posts: 56
Joined: 7. Oct 2009, 12:40
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: various

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Postby JamesTalbot » 16. Jun 2011, 17:28

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.
Attachments
jatalbot-w7-2011-06-16-09-23-40.log
fails with 2 virtual cpus
(62.64 KiB) Downloaded 54 times
JamesTalbot
 
Posts: 1
Joined: 16. Jun 2011, 17:20
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows 7

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Postby Sasquatch » 16. Jun 2011, 22:18

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   Expand viewCollapse view
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?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Postby petten » 28. Jun 2011, 21:14

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.
petten
 
Posts: 1
Joined: 28. Jun 2011, 21:09
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 11.04

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Postby nick17 » 11. Nov 2011, 15:19

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?
nick17
 
Posts: 1
Joined: 11. Nov 2011, 15:17
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Server 11.10

Re: How to fix VERR_VMX_MSR_LOCKED_OR_DISABLED?

Postby Perryg » 11. Nov 2011, 15:34

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.
Perryg
Site Moderator
 
Posts: 25941
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 10 guests