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.

from http://linuxindetails.wordpress.com/2009/12/31/virtualbox-3-1-2-in-debian-squeeze/

Advertisements