Solved random crashes

This is for discussing general topics about how to use VirtualBox.
Post Reply
Thomasio
Posts: 27
Joined: 7. Apr 2010, 17:39
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP / Vista

Solved random crashes

Post by Thomasio »

I´ve had quite some problems running VB on whatever host with whatever guest.
After a lot of experimenting, I narrowed down the problem to 2 details and I solved both of them.
So I´m sharing my findings here.

1) MultiCore CPU and threaded optimization.
If you have a MultiCore CPU, VB has some conflicts, especially with the graphics drivers on the host machine (not sure whether that´s a problem of VB or the graphics drivers).
If you have an NVidia graphics card and Windows OS, you can solve this in the NVidia Control Panel.
Go to "Manage 3D settings", scroll down to "Threaded Optimization" and set it to "On".
If you have some other graphics card, like ATI or Intel CPU internal (as far as I know) there is no such setting.
In this case do NOT give your guests more than 1 CPU.

2) USB settings.
Most BIOS have a setting for "USB EHCI Hand-Off" (or similar).
This is a workaround for OS without EHCI support and it´s usually enabled by default.
If your OS supports EHCI this MUST be set to disabled, else VB will have all kinds of problems, up to crashes as soon as you enable the USB controller for a guest.
If your BIOS has no setting for this, it will most likely be enabled without an option to disable it, in such case a BIOS update might add the option.
If your OS does not support EHCI and/or you can´t disable this, do NOT enable USB for your guests.
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: Solved random crashes

Post by Sasquatch »

Thanks for finding this. We are already aware of issue 1), it's caused by the nVidia driver. If you install the latest version, you should not have this problem any more. It was a problem with version 275 and above until it got fixed. I don't know which version it was fixed in, as I never had this problem and run Linux as Host (so far, I've only heard reports from Windows Hosts).
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