VirtualBox OSE 3.1.2 available within the Debian Squeeze repositories

Posted: December 31, 2009 in Administration, Debian, Debian package, Virtualization
Tags: , , , , , , , ,

A new release of VirtualBox is available in the Debian testing repositories.
If already installed on your system, it will be automatically upgraded if you are using Debian testing.
Unfortunately, some errors occurred concerning the modules used by VirtualBox.
During the upgrade, the modules of the previous version are not removed correctly.
The package, virtualbox-ose-dkms, is not installed because the new release seems to use the previous modules.
I failed to launch the VirtualBox application. Here is the error message I got :

RTR3Init failed with rc=-1912 (rc=-1912)
Please install the virtualbox-ose-dkms package and execute ‘modprobe vboxdrv’ as root.

So, I installed the package virtualbox-ose-dkms :

root@localhost:~# apt-get install virtualbox-ose-dkms

The installation did not complete correctly :

DKMS: install Completed.
Stopping VirtualBox kernel modules.
Starting VirtualBox kernel modulesmodprobe vboxnetflt failed. Please use ‘dmesg’ to find out why … failed!
failed!
invoke-rc.d: initscript virtualbox-ose, action “restart” failed.

It took me some time to find out what was wrong exactly. I got a first clue after checking if the vbox* modules were still loaded. There were still remaining :

root@localhost:~# lsmod |grep vbox
 vboxnetadp             65312  0
 vboxnetflt             70648  0
 vboxdrv               100992  1 vboxnetflt

In the previous version, they could be found in this repository :
/lib/modules/2.6.30-2-686/updates/dkms/

After seeking for the timestamp of the DKMS repository, I unloaded the vbox* modules and I deleted the DKMS repository contents.

root@localhost:~# modprobe -r vboxnetadp
root@localhost:~# modprobe -r vboxnetflt
root@localhost:~# modprobe -r vboxdrv
root@localhost:~# cd /lib/modules/2.6.30-2-686/updates && rm -Rf dkms

Then, I relaunch a “dpkg-reconfigure” process :

root@localhost:~#dpkg-reconfigure virtualbox-ose-dkms
DKMS: install Completed.
Stopping VirtualBox kernel modules.
Starting VirtualBox kernel modules.

root@localhost:~#lsmod |grep vbox
vboxnetflt             12660  0  
vboxnetadp              6652  0  
vboxdrv               157000  2 vboxnetflt,vboxnetadp

root@localhost:~#modinfo vboxnetflt
filename:       /lib/modules/2.6.30-2-686/misc/vboxnetflt.ko
version:        3.1.2_OSE ((0xA2CDe001U))
license:        GPL
description:    VirtualBox Network Filter Driver
author:         Sun Microsystems, Inc.
srcversion:     AC748926D77F3C073851FAD
depends:        vboxdrv
vermagic:       2.6.30-2-686 SMP mod_unload modversions 686

The new modules are located in the /lib/modules/2.6.30-2-686/misc repository.

About these ads
Comments
  1. [...] Here is the original post: VirtualBox 3.1.2 in Debian Squeeze « Linuxindetails's Blog [...]

  2. [...] installed on your system, it will be automatically upgraded if you are using Debian testing. More here Unfortunately, some errors occurred concerning the modules used by [...]

  3. notepod says:

    Do you have USB support in VirtualBox 3.1.2 ?
    I’ve just installed it on my debian squeeze, kernel 2.6.30-2-686, and i can’t even see a “USB section” in settings …

    Thanks

  4. napalmique says:

    Thanks dude! Helped me alot.

  5. Nubs says:

    thank you very much. much needed info for real.

  6. Diogo Melo says:

    I had a similar problem. But in my case it turns our the problem was the kind of kernel I was using. For some reason virtualbox gets trouble with PAE

    http://diogomelo.net/blog/11/please-install-virtualbox-ose-dkms-package-and-execute-modprobe-vboxdrv-root

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s