The VirtualBox Kernel Driver Is Tainted Crap

Written by Michael Larabel in Linux Kernel on 11 October 2011 at 10:50 AM EDT. 59 Comments
LINUX KERNEL
Linux kernel developers have marked Oracle's VirtualBox Linux kernel driver as "tainted crap" due to the overwhelming number of problems this module has caused.

When the "vboxdrv" driver for the Linux kernel is loaded, after a patch by Red Hat's Dave Jones, it will mark the kernel as tainted crap. Even though this VirtualBox driver is open-source (it's under the GPL), the quality of the driver is quite poor and continues to cause issues for many users. In particular, kernel developers have become frustrated that this virtualization driver is causing random memory corruption. Specifically cited is "corrupt linked lists, corrupt page tables, and just plain 'weird' crashes."

The code comment for the patch mentions, "vbox is garbage." The VirtualBox kernel driver is needed for providing some features to guests on this Sun/Oracle virtualization platform. While the VirtualBox kernel driver is open-source, it doesn't live within the mainline kernel tree and is distributed separately with the VirtualBox software package.

Marking this driver as "crap" puts it in the same boat as the staging drivers and select other modules that are of less quality than the fully-supported in-tree modules. With this tainting, some bug reporting tools will not report these VirtualBox problems or handle any bug reports in a different manner.

It's not hard to find Linux users having a troublesome VirtualBox experience. I for one was briefly a VirtualBox user with an Ubuntu guest from a Mac OS X host last year on a production machine, but then switched to VMware and the experience has been tremendously better than the buggy Sun/Oracle software often causing lock-ups and other problems. In the forums are many more VirtualBox stories. In addition to being more stable, another benefit of VMware is their virtual graphics driver for 2D/3D guest acceleration is superior, which utilizes Mesa's Gallium3D.

The discussion about this VirtualBox tainting can be found from this kernel mailing list thread.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week