VirtualBox can't operate in VMX root mode.

Discussions related to using VirtualBox on Windows hosts.

VirtualBox can't operate in VMX root mode.

Postby george_v_reilly » 9. Jul 2008, 01:07

Host = Vista 32-bit SP1 on a Quad-Core Intel box.
Guest = Kubuntu 8.04

This guest OS worked on this host last week.

I turned it on today and first got an error about VRDP, which I worked around by setting it to port 3391. (I don't think I changed Vista's Remote Desktop settings since last week, but, anyway...)

Now I'm getting the following error as soon as I start the guest OS:

VirtualBox can't operate in VMX root mode.
VBox status code: -4011 (VERR_VMX_IN_VMX_ROOT_MODE).

Result Code:
E_FAIL (0x80004005)
Component:
Console
Interface:
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}


Note: VTX is disabled in the Advanced Settings.


General
Name: Kubuntu Hardy
OS Type: Ubuntu
Base Memory: 512 MB
Video Memory: 8 MB
Boot Order: Floppy, CD/DVD-ROM, Hard Disk
ACPI: Enabled
IO APIC: Disabled
VT-x/AMD-V: Disabled
PAE/NX: Disabled

Hard Disks
IDE Primary Master: Kubuntu Hardy.vdi [Normal, 8.00 GB]

Remote Display
VRDP Server Port: 3391
george_v_reilly
 
Posts: 2
Joined: 9. Jul 2008, 00:51

Postby sandervl » 9. Jul 2008, 08:30

Some other piece of software has turned on VT-x. VirtualBox can't operate safely that way, hence the refusal to start.
Sander van Leeuwen
Sun Microsystems, Inc.
sandervl
Sun Microsystems, Inc.
 
Posts: 925
Joined: 10. May 2007, 10:27
Primary OS: MS Windows Vista
VBox Version: PUEL
Guest OSses: Windows, Linux, Solaris

Postby george_v_reilly » 9. Jul 2008, 20:12

Ah! The other piece of software would be Virtual PC 2007. If I have a VPC VM already running, I get the VBox VMX error.

On the other hand, if I start the VBox VM first, Virtual PC starts its VM without complaint. Based on your comment, I'm not sure if that's safe, but it hasn't fallen over yet.
george_v_reilly
 
Posts: 2
Joined: 9. Jul 2008, 00:51

Postby sandervl » 9. Jul 2008, 22:23

I would advise against running any two virtualization programs at the same time. VT-x and AMD-V complicate matters.
Sander van Leeuwen
Sun Microsystems, Inc.
sandervl
Sun Microsystems, Inc.
 
Posts: 925
Joined: 10. May 2007, 10:27
Primary OS: MS Windows Vista
VBox Version: PUEL
Guest OSses: Windows, Linux, Solaris

Postby phasemaster » 16. Sep 2008, 17:46

I had exactly the situation that George described, namely all of a sudden seeing the "VirtualBox can't operate in VMX root mode" error when starting a VM and finding out later that this was due to a running Virtual PC instance.

I think it's perfectly ok to ask for not having two virtualization programs running at the same time. All I would kindly like to request is to replace the error message with a more user friendly one, probably hinting towards closing any other running VM systems? I think this would add to one of the core values of VirtualBox, namely having a user friendly and intuitive interface.
phasemaster
 
Posts: 4
Joined: 3. Sep 2008, 07:46
Location: Zurich, Switzerland

Re: VirtualBox can't operate in VMX root mode.

Postby aryan » 14. Aug 2009, 12:33

Try disabling kvm module...
"modprobe -r kvm_intel" with root privileges. This worked for me...
aryan
 
Posts: 1
Joined: 14. Aug 2009, 12:23
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Open filer

Re: VirtualBox can't operate in VMX root mode.

Postby stinkly » 27. Nov 2009, 03:36

Thanks. That certainly worked for me on Fedora 12, 2.6.31.5-127.fc12.i686.PAE, and is a lot more pleasant option than recompiling the kernel, which I haven't had to do since I was a little girl.
stinkly
 
Posts: 1
Joined: 27. Nov 2009, 03:33
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: XPSP3, Win7Pro


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: No registered users and 14 guests