[Pkg-virtualbox-devel] Bug#563073: virtualbox-ose-dkms: Leaves Kernel Modules After Purging Package

Dave Allen Barker Jr contact at 1.0ne.org
Wed Dec 30 15:49:58 UTC 2009


Package: virtualbox-ose-dkms
Severity: normal

I'm not sure if this is even a bug, or if it should be against the virtualbox-ose-dkms or dkms package...

I used virtualbox-ose-dkms (3.0.10) because it became the default recently, but when virtualbox-ose-source
(3.1.2) later became an option, I purged virtualbox-ose-dkms and went with virtualbox-ose-source .  After
building from virtualbox-ose-source (using module-assistant) and installing the resulting package, trying
to start virtual machines resulting in:

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

I tracked the problem down to the vbox* modules loaded in the kernel being the wrong (old, 3.0.10) version
left behind by dkms , in /lib/modules/{linux-version}/updates/dkms .

So, I:

  * 'dpkg -S /lib/modules/{linux-version}/updates' to make sure nothing claims them
  * confirmed only vbox* modules were in /lib/modules/{linux-version}/updates
  * 'sudo invoke-rc.d virtualbox-ose stop' (to unload the (old) vbox* modules)
  * delete /lib/modules/{linux-version/updates (and their contents, the dkms directory and vbox* modules)
  * maybe a 'sudo depmod' or 'sudo dpkg -i {virtualbox-ose-modules}', I forget
  * 'sudo invoke-rc.d virtualbox-ose start'

and all is well.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the Pkg-virtualbox-devel mailing list