VT-x/AMD-V enabled but is not operational

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
PeterNosko
Posts: 19
Joined: 7. Dec 2013, 02:49
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win7-64

VT-x/AMD-V enabled but is not operational

Post by PeterNosko »

I'm running OS X 10.7.5 on a late 2007 Mac Pro.

I had no issues running VirtualBox under version 4.2.8, and unwisely allowed an update to 4.3.4. That caused my Windows7-64 VM to fail (bluescreen) right after startup and unsuccessfully attempt to repair itself.

SInce I didn't have any data on the VM, I decided to start completely from scratch. I ran the uninstall script for both versions and manually deleted my VM machines folder and the ~/Library/VirtualBox folder. I then did a fresh install of 4.2.8 and created a new Win7-64 VM. But when I try to start it up to install from the Window7-64 install CD, I get this error and can't find a way around it.
VT-x/AMD-V hardware acceleration has been enabled, but is not operational. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.

Please ensure that you have enabled VT-x/AMD-V properly in the BIOS of your host computer.
Please help.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: VT-x/AMD-V enabled but is not operational

Post by mpack »

Go into VM settings and make sure the OS type is Win7-64bit, not just Win7. The old VBox didn't much care that you selected a 32bit template for a 64bit guest, but the new versions do care.
PeterNosko
Posts: 19
Joined: 7. Dec 2013, 02:49
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win7-64

Re: VT-x/AMD-V enabled but is not operational

Post by PeterNosko »

Thank you so much for the reply.

Yes, it is. I used Win7-64 for the machine name, and it automatically selected "Windows 7 (64-bit)" for the type.

I deleted everything and tried once again. The attached log is from a single attempt to start the newly-created machine.

EDIT: Min Info follows

VirtualBox 4.2.8 r83876
Host: Mac Pro (late 2007), 2xQuad Core, 16GB
Guest: Win7-64, 1 CPU, 2GB (will install GA if I can complete the setup)
Attachments
VBox.log
(83.83 KiB) Downloaded 126 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: VT-x/AMD-V enabled but is not operational

Post by mpack »

That's odd... the error I see in the log is different from the one you reported.
VBox.log wrote: 00:00:05.258488 HWACCM: VMX setup failed with rc=VERR_VMX_IN_VMX_ROOT_MODE!
00:00:05.258503 HWACCM: Last instruction error 0
This error means (I believe) that VT-x is already in use. Do you have another VM platform running, or system level debugger? Have you made sure that VT-x is enabled in the host BIOS?

As far as I know this error message is unrelated to the VBox software update.
PeterNosko
Posts: 19
Joined: 7. Dec 2013, 02:49
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win7-64

Re: VT-x/AMD-V enabled but is not operational

Post by PeterNosko »

This error means (I believe) that VT-x is already in use. Do you have another VM platform running, or system level debugger? Have you made sure that VT-x is enabled in the host BIOS?

As far as I know this error message is unrelated to the VBox software update.
I have no other VM platform and I don't even know how to access the BIOS in my Mac Pro. But you made me realize that I hadn't rebooted in months and apparently there was a process running in the background because a reboot solved this!

I decided to retry VirtualBox-4.3.4-91027-OSX, but I had a repeat of another issue (that I mentioned in my first thread) where the VM would crash during the Windows install (where it was prompting for user and machine names). So I once again deleted everything, rebooted and reinstalled VirtualBox-4.2.8-83876-OSX. I now have a working Win7-64 machine.

THANK YOU!!! :D
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VT-x/AMD-V enabled but is not operational

Post by socratis »

PeterNosko wrote:apparently there was a process running in the background because a reboot solved this!
Just out of curiosity... Which process was using VT-x? Also, you are correct, you cannot easily access the "BIOS" (actually it's called EFI) on a Mac.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Any and all
Contact:

Re: VT-x/AMD-V enabled but is not operational

Post by michaln »

PeterNosko wrote:But you made me realize that I hadn't rebooted in months and apparently there was a process running in the background because a reboot solved this!
It's not necessarily a process. It's possible for something (some process) to change the VT-x state and then exit without restoring the initial state. When that happens, rebooting (resetting the processor) is the only safe solution.
PeterNosko
Posts: 19
Joined: 7. Dec 2013, 02:49
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win7-64

Re: VT-x/AMD-V enabled but is not operational

Post by PeterNosko »

socratis wrote:
PeterNosko wrote:apparently there was a process running in the background because a reboot solved this!
Just out of curiosity... Which process was using VT-x?
Sorry, I really have no idea. All I know is that a reboot solved the issue.
PeterNosko
Posts: 19
Joined: 7. Dec 2013, 02:49
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win7-64

Re: VT-x/AMD-V enabled but is not operational

Post by PeterNosko »

michaln wrote:
PeterNosko wrote:But you made me realize that I hadn't rebooted in months and apparently there was a process running in the background because a reboot solved this!
It's not necessarily a process. It's possible for something (some process) to change the VT-x state and then exit without restoring the initial state. When that happens, rebooting (resetting the processor) is the only safe solution.
Thank you, this is good to know.
Post Reply