VT-x features locked or unavailable in MSR

Discussions related to using VirtualBox on Windows hosts.

VT-x features locked or unavailable in MSR

Postby rlowrance » 26. Jul 2011, 01:51

I am running in Windows 7 as the Host and trying to run Ubuntu 11.04 64-bit as a guest. VirtualBox is version 4.1.0.

When the virtual machine boots the live image disk, I get an error:

Failed to open a session for the virtual machine <guest name>

VT-x features locked or unavailable in MSR.
(VERR_VMX_MSR_LOCKED_OR_DISABLED)

The details are:

Result Code:
E_FAIL (0x80004005)
Component:
Console
Interface:
IConsole {1968b7d3-e3bf-4ceb-99e0-cb7c913317bb}

My settings for the guest (Ubuntu) include Enable VT-x/AMD-V paging.

Does anyone know a workaround?

Thanks, Roy
rlowrance
 
Posts: 4
Joined: 28. Aug 2010, 16:12
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Unbuntu 64 bit

Re: VT-x features locked or unavailable in MSR

Postby Perryg » 26. Jul 2011, 02:46

Enable hardware-v in the bios or make sure that you are not running another virtualizer that is hardware-v aware (like XP mode)
Perryg
Site Moderator
 
Posts: 25960
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: VT-x features locked or unavailable in MSR

Postby vikram » 18. Aug 2011, 13:47

Im also getting the same error. Can any1 tel me wats going wrong?
vikram
 
Posts: 1
Joined: 18. Aug 2011, 13:44
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: ubuntu-11.04-desktop-i386


Re: VT-x features locked or unavailable in MSR

Postby richard2233 » 30. Aug 2011, 16:19

Just one thing to check, if its not mission critical and your only using for testing make sure that that you only have one processor core in use. Sometimes having more than one (if your system doesnt support it) will display the same error.

/my two cents :D
richard2233
 
Posts: 1
Joined: 30. Aug 2011, 16:05
Primary OS: MS Windows 2003
VBox Version: OSE other
Guest OSses: Ubuntu

Re: VT-x features locked or unavailable in MSR

Postby Sasquatch » 30. Aug 2011, 20:16

richard2233 wrote:Just one thing to check, if its not mission critical and your only using for testing make sure that that you only have one processor core in use. Sometimes having more than one (if your system doesnt support it) will display the same error.

/my two cents :D

Even if you need VT-x for 64 bit guest support? I doubt that trimming the amount of CPUs would help with that, when it's already set for 1.
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: VT-x features locked or unavailable in MSR

Postby jesse6895 » 7. Mar 2012, 21:56

Before starting your instance on your Oracle VM VirtualBox Player, go to settings, system, acceleration, and un-check "Enable VT-x/AMD-V". Start your instance and you should no longer see this error.

Example:
Attachments
1.jpg
1.jpg (47.72 KiB) Viewed 190928 times
Last edited by jesse6895 on 7. Mar 2012, 22:12, edited 1 time in total.
jesse6895
 
Posts: 2
Joined: 7. Mar 2012, 21:55

Re: VT-x features locked or unavailable in MSR

Postby michaln » 7. Mar 2012, 22:12

jesse6895 wrote:Before starting your instance on your Oracle VM VirtualBox Player, go to settings, system, acceleration, and un-check "Enable VT-x/AMD-V".

It's called a "VM" and not an "instance", there is no such thing as a "VirtualBox Player", and disabling VT-x/AMD-V is definitely going to make sure that a 64-bit guest (which the OP wanted) can't run.

Other than those minor points, a helpful post.
michaln
Oracle Corporation
 
Posts: 1246
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all

Re: VT-x features locked or unavailable in MSR

Postby jesse6895 » 8. Mar 2012, 00:42

michaln wrote:It's called a "VM" and not an "instance", there is no such thing as a "VirtualBox Player", and disabling VT-x/AMD-V is definitely going to make sure that a 64-bit guest (which the OP wanted) can't run.

Other than those minor points, a helpful post.



I have VM that runs my Jive instance, which is why I referred to it that way, and my VM Box Manager runs a Virtual Box Player. Accordingly, I experienced the exact same error and these are my steps to fix it.
jesse6895
 
Posts: 2
Joined: 7. Mar 2012, 21:55

Re: VT-x features locked or unavailable in MSR

Postby michaln » 8. Mar 2012, 01:05

jesse6895 wrote:I have VM that runs my Jive instance, which is why I referred to it that way, and my VM Box Manager runs a Virtual Box Player. Accordingly, I experienced the exact same error and these are my steps to fix it.

You may have run into the same issue where hardware virtualization is unavailable (for whatever reason) even though the host CPU supports it. But you clearly did not run into the same problem of trying to run a 64-bit guest OS, because if you had, turning off hardware virtualization would have only made it worse.

So while your problem may well have been solved by turning off VT-x/AMD-V, that is irrelevant in this case.
michaln
Oracle Corporation
 
Posts: 1246
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all

Re: VT-x features locked or unavailable in MSR

Postby bird2010 » 27. Mar 2012, 18:39

@michaln: quit being an ass and help us instead! At least he's trying to help. Instead of being mean, why don't you give us the SOLUTION to this problem? I have tried everything suggested and I still can't get it to work. Instead of reading mean posts, I would rather read posts with SOLUTIONS. Thanks.
bird2010
 
Posts: 8
Joined: 27. Mar 2012, 18:37

Re: VT-x features locked or unavailable in MSR

Postby Martin » 27. Mar 2012, 21:16

bird2010: You just created that account to post this rant? :evil:
There are no "SOLUTIONS" if there are no problem descriptions or if they don't contain enough information to understand what's happening.
Also pointing out wrong terms for Virtualbox components helps to avoid misunderstandings.
Martin
Volunteer
 
Posts: 806
Joined: 30. May 2007, 18:05
Primary OS: Fedora 18
VBox Version: PUEL
Guest OSses: XP, Win7, Linux, OS/2

Re: VT-x features locked or unavailable in MSR

Postby michaln » 27. Mar 2012, 23:40

bird2010 wrote:Instead of being mean, why don't you give us the SOLUTION to this problem? I have tried everything suggested and I still can't get it to work. Instead of reading mean posts, I would rather read posts with SOLUTIONS. Thanks.

Well, the solution is right there in Perryg's reply (second post in the thread). Get hardware virtualization working. Without that, 64-bit guest's aren't going to run. If you have a system which doesn't support hardware virtualization or hardware virtualization can't be enabled for whatever reason, 64-bit guest's aren't going to run.

In my opinion, giving completely misleading answers is worse than giving no answers. If that makes me an ass, I can live with that.
michaln
Oracle Corporation
 
Posts: 1246
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all

Re: VT-x features locked or unavailable in MSR

Postby Singaravel » 2. May 2012, 20:13

michaln wrote:
bird2010 wrote:Instead of being mean, why don't you give us the SOLUTION to this problem? I have tried everything suggested and I still can't get it to work. Instead of reading mean posts, I would rather read posts with SOLUTIONS. Thanks.

Well, the solution is right there in Perryg's reply (second post in the thread). Get hardware virtualization working. Without that, 64-bit guest's aren't going to run. If you have a system which doesn't support hardware virtualization or hardware virtualization can't be enabled for whatever reason, 64-bit guest's aren't going to run.

In my opinion, giving completely misleading answers is worse than giving no answers. If that makes me an ass, I can live with that.


Cool buddy cool ...You may have more technical knowledge on using the VMbox, but you definitely dont have to enable hardware virtualization like what perryg said. I too faced the same issue and it was fixed by the suggestion given by jesse6895. :idea: I got a message saying that 64bit guests are not going to run where hardware virtualization is disabled but I just ignored that message and continued and it worked... not sure how/why.

Well I dont mean to snub anyone here, but just wanted to share the idea that worked for me.
Singaravel
 
Posts: 1
Joined: 2. May 2012, 20:09

Re: VT-x features locked or unavailable in MSR

Postby michaln » 2. May 2012, 20:44

Singaravel wrote:I got a message saying that 64bit guests are not going to run where hardware virtualization is disabled but I just ignored that message and continued and it worked... not sure how/why.

No, you did not run a 64-bit guest in VirtualBox without hardware virtualization. If you really think you did, please post the relevant VBox.log to prove it.
michaln
Oracle Corporation
 
Posts: 1246
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all

Next

Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: dc1011 and 47 guests