Unable to start VM after updating Virtualbox

Discussions about using Linux guests in VirtualBox.
Post Reply
danno3
Posts: 4
Joined: 19. Jun 2011, 09:25
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: linux

Unable to start VM after updating Virtualbox

Post by danno3 »

I was running Virtualbox ver 4.0.6 successfully with the Guest OS Ubuntu Linux ver 11.04. After I was prompted, I installed the 4.0.8 update. Now, I'm unable to start the Guest OS Linux. I get an error msg "Failed to open a session for the virtual machine Ubuntu Linux - Unknown error creating VM (VERR_VMX_MSR_LOCKED_OR_DISABLED). Details: Result Code: E_FAIL (0x80004005), Component: Console, Interface: Iconsole

If necessary, can I uninstall, then reinstall the previous version without destroying the VM snapshot? Obviously, I'd rather solve this problem and keep the latest VB version, but I'm not too proud. I'll back up 10 yards and punt, if needed. :) Should I have created a snapshot prior to installing the VB update?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Unable to start VM after updating Virtualbox

Post by Sasquatch »

Snapshots can be a pain, but they don't save you from errors like these. You can go back to a previous version without issues. The problem here is that you had VT-x/AMD-V available, and something on your system changed, so it's now in use by something else, or it's disabled. Check your BIOS settings, maybe it reset itself and turned it off. Also check the VM settings, make sure hardware acceleration is enabled. Next is checking the Host to see if you have other virtualisation software installed that locks the CPU, like KVM. The VirtualBox FAQ has some tips on how to find and possibly fix the error.
If all fails, check for a BIOS update and install that, it might be a bug in the BIOS that's now triggered by VB. They put in various checks for BIOS bugs and such to make sure the VM runs stable. This has happened in the past before, where a new release had some BIOS checks and caused all sorts of issues for those with buggy BIOSes. They had to update their BIOS to fix 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.
danno3
Posts: 4
Joined: 19. Jun 2011, 09:25
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: linux

Re: Unable to start VM after updating Virtualbox

Post by danno3 »

Hard to explain, but after rebooting the 2nd time (I had powered off and on previously) and entering the BIOS to make sure that no changes had occurred (hw virtualization still enabled, etc.), the problem went away. I have an Dell Inspiron 530 and I have the latest BIOS update. In VB, hw acceleration has always been enabled. I also have VM Player installed, but I stopped using it since it was quite unstable compared to VB. Can it "lock the CPU" as you had described?

I did try launching VM Player with a guest OS of Ubuntu Linux 10.04 and it ran with no issues, then I shutdown the guest OS and VM Player. I started VB and the guest OS Ubuntu Linux ver 11.04 with no issues, so it appears that VM Player and VB can coexist, but probably not run simultaneously.

Still a mystery why this happened - unable to reproduce. Thanks for your help
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Unable to start VM after updating Virtualbox

Post by Sasquatch »

It is possible that when you run a different virtualiser to get the CPU 'stuck' on the VT-x feature. A reboot may solve it, but doesn't always do it. A full power cycle can help. Sometimes it's even required to completely disconnect the system from power to fix 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.
Post Reply