Unable to install Oracle Virtualbox

Added the repo and installed Virtualbox.

Added user as vboxusers group

Added the following packages according to the error log

  • make gcc kernel-source dkms

Finally /etc/init.d/vboxdrv setup reports an error

Stopping VirtualBox kernel modules done
Uninstalling old VirtualBox DKMS kernel modules done
Trying to register the VirtualBox kernel modules using DKMS done
Starting VirtualBox kernel modules failed
(modprobe vboxnetflt failed. Please use ‘dmesg’ to find out why)

and dmesg reports something that I do not understand and needed help


862.268524] vboxdrv: Found 4 processor cores.
862.268752] VBoxDrv: dbg - g_abExecMemory=ffffffffa0fc8da0
862.268821] vboxdrv: fAsync=0 offMin=0xe1 offMax=0x9810
862.269179] vboxdrv: TSC mode is ‘synchronous’, kernel timer mode is ‘normal’.
862.269181] vboxdrv: Successfully loaded version 4.0.4 (interface 0x00160000).
862.476073] vboxguest: exports duplicate symbol RTMemFreeEx (owned by vboxdrv)
1015.856173] vboxdrv: Found 4 processor cores.
1015.856400] VBoxDrv: dbg - g_abExecMemory=ffffffffa1189da0
1015.856439] vboxdrv: fAsync=0 offMin=0xe1 offMax=0x1803
1015.856496] vboxdrv: TSC mode is ‘synchronous’, kernel timer mode is ‘normal’.
1015.856498] vboxdrv: Successfully loaded version 4.0.4 (interface 0x00160000).
1016.072217] vboxguest: exports duplicate symbol RTMemFreeEx (owned by vboxdrv)
1351.788007] vboxdrv: Found 4 processor cores.
1351.788095] VBoxDrv: dbg - g_abExecMemory=ffffffffa134ada0
1351.788146] vboxdrv: fAsync=0 offMin=0xbc offMax=0x2577
1351.788203] vboxdrv: TSC mode is ‘synchronous’, kernel timer mode is ‘normal’.
1351.788205] vboxdrv: Successfully loaded version 4.0.4 (interface 0x00160000).
1351.997107] vboxguest: exports duplicate symbol RTMemFreeEx (owned by vboxdrv)

Anyone knows what should be done?

Hi there,

dkms is not essential, you should be able to remove dkms and build the VBox kernel module without it. (It just makes it so it builds a new one automatically when you update the kernel.)

Otherwise, make sure that any earlier version of VirtualBox, all packages, are removed. (Did you previously have virtualbox-ose installed from the Suse repos and now you are trying to install using the Oracle Virtual Box repo, etc.?)

Lews Therin

You mean using the command /etc/init.d/vboxdrv setup

Otherwise, make sure that any earlier version of VirtualBox, all packages, are removed. (Did you previously have virtualbox-ose installed from the Suse repos and now you are trying to install using the Oracle Virtual Box repo, etc.?)

Lews Therin

You are correct, I’ve install the virtualbox default in opensuse and do not prefer it. However, I did remove all the packages … I think …

Hi there,

Let’s see what you have exactly:

rpm -qa | grep VirtualBox

VirtualBox-4.0-4.0.0_69151_openSUSE111-1.x86_64

rpm -qa | grep dkms

You might try to just remove anything you find from the above results, and then just download the VirtualBox .rpm directly from the Oracle site (or add the Oracle repo) and install it that way.

(I susepect that when you run /etc/init.d/vboxdrv setup it is trying to build the dkms modules and this is where it is going off the rails. Personally, I don’t use dkms and just build the VBox modules manually whenever I update a kernel.)

Lews Therin

Hello LewsTherinTelemon,

thanks for the info.

after much googling, found the solution in one of the blogs, hope is useful to future users who come across the same problem

insmod /lib/modules/2.6.31-20-generic/updates/vboxnetflt.ko

execute the command and VirtualBox will be usable.