VirtualBox is garbage
lkml.org
lkml.org
Enter your search termsSubmit search formWeblkml.org
Date Thu, 6 Oct 2011 15:05:27 -0400
From Dave Jones <>
Subject RFC: virtualbox tainting.
The number of bug reports we get from people with virtualbox loaded are
truly astonishing. It's GPL, but sadly that doesn't mean it's good.
Nearly all of these bugs look like random corruption. (corrupt linked lists,
corrupt page tables, and just plain 'weird' crashes).
This diff adds tainting to the module loader to treat it as we do with stuff
from staging/ (crap). With this tainting in place, automatic bug filing tools
can opt out of automatically filing kernel bugs, and inform the user to file
bugs somewhere more appropriate.
Signed-off-by: Dave Jones <davej@redhat.com>
diff --git a/kernel/module.c b/kernel/module.c
index 04379f92..d26c9a3 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -2653,6 +2653,10 @@ static int check_module_license_and_versions(struct module *mod)
if (strcmp(mod->name, "ndiswrapper") == 0)
add_taint(TAINT_PROPRIETARY_MODULE);
+ /* vbox is garbage. */
+ if (strcmp(mod->name, "vboxdrv") == 0)
+ add_taint(TAINT_CRAP);
+
/* driverloader was caught wrongly pretending to be under GPL */
if (strcmp(mod->name, "driverloader") == 0)
add_taint_module(mod, TAINT_PROPRIETARY_MODULE);I am pretty sure that in this particular case it is not passed any user input, so it's kinda safe.
Virtualbox is wonderful. Does it have bugs and need work? Of course.
What software doesn't?
I think people are misunderstanding this thread. This is a kernel developers thread, where Dave Jones is complaining that virtualbox is the source of too much random corruption and arbitrary crashes in the kernel, and he's submitting a patch that "taints" the module such the presence of virtualbox gets flagged in kernel panics (and thus automated bug reports, etc..).
It's unstable software, and that taint is important information that prevents people from wasting effort chasing non-bugs in other components. No one is flaming about it vs. vmware or whatever, or telling you what to use.
Surely you're not saying KVM is bug free? Looks like it. That's almost certainly wrong.
Well saying virtualbox is garbage is pretty much flaming. It doesn't bother me but I imagine those working on virtualbox won't exactly be happy about it.
Often just calling stuff people are giving away for free "rubbish" will lead them to simply stop giving it away.
Unfortunately i can't read the article either..
VMware Workstation, OTOH, crashed my host(!) system hard several times, which actually drove me to Virtualbox in the first place. Granted, that was three years ago, but I did not have any reason to give VMware Workstation another try, as Virtualbox works very well for me.
Otherwise, yours would be a much better title for this.
The only reason why my machine ever panicks is exactly the one cited in this mail: vboxdrv.
But no arguments if those with real data flag driver as SHIT. I am just thankful that I have never had any crashes.
But no arguments if those with real data flag driver as SHIT - a crash rate of o. I am just thankful that I have never had any crashes.
1. Copy + paste randomly breaks between host win32, client ubuntu32.
2. Random freezes every so often.
3. Seamless mode extremely unreliable, does not draw correctly.
4. Horrible issues with shared folders breaking io operations. I actually got a (trivial) patch into golang to work around this issue (!). This also completely breaks ido mode completions in emacs.
5. Occasionally shared folders get into an odd state and no files can be read from/written to them.
4 + 5 might be specific to the way I use shared folders though, as I access them via a dropbox folder sat in a truecrypt volume.
Access denied randomly when trying to overwrite files. Files renamed in the host becoming inaccessible from the guest. NTFS symlinks in the host appearing as normal folders in the guest one day and as broken links the next day. Terribly slow I/O overall. I used to bookmark and keep track of several bug reports on the official bugtracker, but I gave up because nobody seemed to care.
The only reason I still use shared folders is because it's still slightly less painful than CIFS/Samba.
I use a virtual machine each for my php and django apps, and use VboxHeadlessTray to hide them in my system bar. Works great except for painful upgrades of VirtualBox in Windows, associated having to upgrade guest additions and the shared folders.
It seems to have gotten less stable for me during the 3.x to 4.x switch, but not nearly so much as to make me want to stop using it (although there are days...) It allows me to do work I wouldn't otherwise be able to easily; I freaking love it.
so I gave up on VirtualBox and switched to QEMU, which works significantly better.
I was on 2.6.38 fedora 64bit vm and it would crash once a day
now I am on 2.6.40 and it has been stable for 50 days
Yay anecdotes.
1. Obviously, never put critical data on a VM not matter how stable it seems. Definitely have Dropbox installed.
2. Make it a good habit to pause the VM before you pack up and go or switch to a different network. When turning it back on, disconnect the network interface then reconnect.
3. When the UI freezes, you can rescue on a Mac with AppleKey+F6 (or a few other Func keys) to another tty console. Login there and reboot. After you get the VM back, VBox likes it when you do a proper reboot before you resume working.
4. Take snapshot regularly, definitely right after you just checkin a major chunk of code!
I use it all the time on Windows XP to run Ubuntu.
Initially, I did have a few problems because I didn't have Ubuntu or Virtualbox configured correctly. Also, I wasn't using 'VBOXADDITIONS,' which actually are extremely useful and important.
Some quick googling fixed my problems, in any case and I don't have any problems with it anymore.
I know I use VirtualBox all the time to try out "risky" behaviors that often end in a crash, because I know I can just roll back if it doesn't work out.
That being said, I've had severe issues with networking on older releases. Often the interface would work on the guest right after install, but would then completely fail the next time the VM was powered on.
It seems that has largely been fixed though.
Just not me: I know about a half dozen people who also use VirtualBox, and I haven'heard complaints. Perhaps the poster works for one of the commercial competitors.
Strange rant against a good, and free tool.
I bought Parallels instead, and I am happy so far
Two of my friends however lost their guest machines (Windows and Ubuntu) on the Mac version. Hope it doesn't happen on my Mac.
In my opinion, VirtualBox is an amazing piece of software, and calling it "garbage" is harsh and unprofessional.
First stop in the System menu. Start with the Motherboard
sub-menu and check Enable IO APIC to improve performance
for your virtual machine. In the Processor sub-menu check
Enable PAE/NX (again, to boost performance). Finally under
the Acceleration sub-menu make sure both of the hardware
virtualization boxes are checked—VT-x/AMD-V and Nested
Paging, respectively.
- Taken from http://www.howtogeek.com/74515/how-to-test-drive-windows-8-i... (which I know is a Windows guide, but check the same settings in OS X)http://old.nabble.com/Bug-reports-regarding-Innotek-VirtualB...
Now I'm back on linux and kvm/qemu, and I'm much happier. Why are people using vbox over kvm?
(the amount of times i've now seen the apple lightbox of death is pretty ridic)
Has someone got a copy of the text?
http://webcache.googleusercontent.com/search?q=cache:http://...
Data point is as relevant as "I keep crossing on red light for years now and nothing bad happened".