Quote Originally Posted by LordVeovis View Post
That is specifically what DKMS is supposed to do for you. When you update you kernel DKMS recompiles all modules registered with it.
Hi LordVeovies, I had missed your comment. If this is what DKMS is supposed to do, then it is not doing it:

Code:
$ ls -lah /usr/src/vir*
/usr/src/virtualbox-4.1.2:
total 56K
drwxr-xr-x 12 root root 4.0K 2012-01-25 10:50 .
drwxrwsr-x 12 root src  4.0K 2012-01-25 10:50 ..
drwxr-xr-x 10 root root 4.0K 2012-01-25 10:50 common
-rw-r--r--  1 root root  503 2011-09-02 18:04 dkms.conf
drwxr-xr-x  2 root root 4.0K 2012-01-25 10:50 generic
drwxr-xr-x  5 root root 4.0K 2012-01-25 10:50 include
-rw-r--r--  1 root root   65 2011-08-29 17:46 Makefile
drwxr-xr-x  3 root root 4.0K 2012-01-25 10:50 math
drwxr-xr-x  4 root root 4.0K 2012-01-25 10:50 r0drv
drwxr-xr-x  2 root root 4.0K 2012-01-25 10:50 VBox
drwxr-xr-x  3 root root 4.0K 2012-01-25 10:50 vboxdrv
drwxr-xr-x  3 root root 4.0K 2012-01-25 10:50 vboxnetadp
drwxr-xr-x  3 root root 4.0K 2012-01-25 10:50 vboxnetflt
drwxr-xr-x  3 root root 4.0K 2012-01-25 10:50 vboxpci

/usr/src/virtualbox-guest-4.1.2:
total 36K
drwxr-xr-x  7 root root 4.0K 2011-10-24 10:18 .
drwxrwsr-x 12 root src  4.0K 2012-01-25 10:50 ..
-rw-r--r--  1 root root  402 2011-09-02 18:04 dkms.conf
drwxr-xr-x  5 root root 4.0K 2011-10-24 10:18 include
-rw-r--r--  1 root root   53 2011-08-29 17:46 Makefile
drwxr-xr-x  4 root root 4.0K 2011-10-24 10:18 r0drv
drwxr-xr-x  5 root root 4.0K 2011-10-24 10:18 vboxguest
drwxr-xr-x  2 root root 4.0K 2011-10-24 10:18 vboxsf
drwxr-xr-x  2 root root 4.0K 2011-10-24 10:18 vboxvideo

$ dkms add virtualbox/4.1.2
Error! DKMS tree already contains: virtualbox-4.1.2
You cannot add the same module/version combo more than once.

$ dkms add virtualbox-guest/4.1.2
Error! DKMS tree already contains: virtualbox-guest-4.1.2
You cannot add the same module/version combo more than once.
Best.