VirtualBox 4.0 "VM (VERR_VMX_MSR_LOCKED_OR_DISABLED)."

Discussions related to using VirtualBox on Linux hosts.

VirtualBox 4.0 "VM (VERR_VMX_MSR_LOCKED_OR_DISABLED)."

Postby tamilov_y » 6. Jan 2011, 00:24

Hi everybody.
I'm using Ubuntu 10.10 (Kernel 2.6.35-24-generic)
Notebook LG S1-P655R1
Virtualization technology Enabled in BIOS (checked twice)
When I Choose to use 2 processors the following error occur :
------------------------------------------------------------------------------
Code: Select all   Expand viewCollapse view
Failed to open a session for the virtual machine WindowsXP
Unknown error creating VM (VERR_VMX_MSR_LOCKED_OR_DISABLED).

Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Console
Interface:
IConsole {515e8e8d-f932-4d8e-9f32-79a52aead882}

------------------------------------------------------------------------------
When I put the settings to use one processor everything running fine.
Does anybody know how to fix it?
Or that is normal for my laptop?
tamilov_y
 
Posts: 4
Joined: 6. Jan 2011, 00:01
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows Xp Pro sp3

Re: VirtualBox 4.0 "VM (VERR_VMX_MSR_LOCKED_OR_DISABLED)."

Postby fixedwheel » 6. Jan 2011, 01:04

it has been reported here that some laptops need the battery to be pulled out after enabeling VT-x in BIOS

otherwise check if virtualiser modules like KVM are loaded on the host
fixedwheel
Volunteer
 
Posts: 1699
Joined: 13. Sep 2008, 02:18

Re: VirtualBox 4.0 "VM (VERR_VMX_MSR_LOCKED_OR_DISABLED)."

Postby Sasquatch » 6. Jan 2011, 21:30

And double check the CPU itself. I've seen systems with compatible motherboards (option available in BIOS), but incompatible CPUs.
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: VirtualBox 4.0 "VM (VERR_VMX_MSR_LOCKED_OR_DISABLED)."

Postby fixedwheel » 7. Jan 2011, 13:11

Sasquatch wrote:I've seen systems with compatible motherboards (option available in BIOS), but incompatible CPUs.

i guess the error then would be something like VERR_VMX_NO_VMX instead VERR_VMX_MSR_LOCKED_OR_DISABLED
fixedwheel
Volunteer
 
Posts: 1699
Joined: 13. Sep 2008, 02:18

Re: VirtualBox 4.0 "VM (VERR_VMX_MSR_LOCKED_OR_DISABLED)."

Postby mhanor » 7. Jan 2011, 20:07

If VT-x works with one virtual CPU core, check if MSR 0x3A contains the same value for each CPU core (on the host).
mhanor
 
Posts: 56
Joined: 7. Oct 2009, 12:40
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: various

Re: VirtualBox 4.0 "VM (VERR_VMX_MSR_LOCKED_OR_DISABLED)."

Postby Sasquatch » 7. Jan 2011, 22:42

fixedwheel wrote:
Sasquatch wrote:I've seen systems with compatible motherboards (option available in BIOS), but incompatible CPUs.

i guess the error then would be something like VERR_VMX_NO_VMX instead VERR_VMX_MSR_LOCKED_OR_DISABLED

Yes, it should, but we've been misled by these error messages before.
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: VirtualBox 4.0 "VM (VERR_VMX_MSR_LOCKED_OR_DISABLED)."

Postby Technologov » 8. Jan 2011, 15:58

This error is known one for certain buggy BIOSes.

Please shutdown your laptop fully. (push "power" button for 5 seconds), then power it up again. Removing laptop battery should work too.
Technologov
Site Moderator
 
Posts: 2754
Joined: 10. May 2007, 16:59
Location: Israel

Re: VirtualBox 4.0 "VM (VERR_VMX_MSR_LOCKED_OR_DISABLED)."

Postby tamilov_y » 17. Jan 2011, 16:15

Hi.
Last post help me to solve a problem.
Thank to all who have spend a little time to help me!

Pushing "power" button for more then 5 s turned off my laptop. When I've power on and start virtual machine with two processors enabled it works. But a very slowly. Virtual machine use 100% of CPU
When I put a cursor on icon of virtualization it show me "VT-x Enabled. Nested Paging is disabled"
When I check setting of machine both Setting Enabled (VT-x and Nested paging)
May it (Nested Paging is disabled) cause to 100% usage of CPU?
Should I start a new topic with this issue ?
Guest Machine is Windows Xp Pro.
Host is Ubuntu 10.10
tamilov_y
 
Posts: 4
Joined: 6. Jan 2011, 00:01
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows Xp Pro sp3

Re: VirtualBox 4.0 "VM (VERR_VMX_MSR_LOCKED_OR_DISABLED)."

Postby Sasquatch » 18. Jan 2011, 00:21

The problem with the 100% CPU usage is because the guest is not installed as multi-core aware from the start. That can cause problems such as these. The Nested Paging is just that your CPU doesn't support it, but you can still enable it in the VM settings. When you move the VM to a system that has Nested Paging, it will then be used.
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


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 13 guests