VirtualBox Kernel driver not installed (rc=-1908) after kernel upgrade



Hi guys,

I have installed VirtualBox from rpmfusion on fedora 17. Now I have updated to kernel 3.4.3-1.fc17.x86_64 virtualbox shows this error when running a ubuntu VM:

Failed to open a session for the virtual machine Ubuntu.
The virtual machine 'Ubuntu' has terminated unexpectedly during startup with exit code 1.
Detail:
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Machine
Interface: IMachine {5eaa9319-62fc-4b0a-843c-0cb1940f8a91}

There is a second error message:

Kernel driver not installed (rc=-1908)    
The VirtualBox Linux kernel driver (vboxdrv) is probably not loaded.    
If you installed or VirtualBox OSE package recently you need to restart the computer for the driver to load.    
Alternatively, you may attempt to load the driver by issuing the following command with system administrator (root) privileges:    
'/etc/sysconfig/modules/VirtualBox-OSE.modules'

I looked at /etc/sysconfig/modules/VirtualBox-OSE.modules and it doesn't exists. There is another similar file: /etc/sysconfig/modules/VirtualBox.modules. I ran this, but it shows:

ERROR: Module vboxdrv not found.
ERROR: Module vboxnetflt not found.
ERROR: Module vboxnetadp not found.

Can anyone help?

VirtualBox: VirtualBox-4.1.16-3.fc17.x86_64

kmod-VirtualBox: kmod-VirtualBox-4.1.16-1.fc17.2.x86_64

dkms: dkms-2.2.0.3-3.fc17.noarch



Install specific kernel modules package for your kernel.

Get your version kernel:

$ uname -r

Then install the corresponding kmod-VirtualBox-* package:

$ yum search kmod-VirtualBox
$ yum install kmod-VirtualBox-???

Finally, run:

$ /etc/sysconfig/modules/VirtualBox.modules


or

$ systemctl restart systemd-modules-load.service



source - https://ask.fedoraproject.org/en/question/10040/virtualbox-kernel-driver-not-installed-rc-1908-after-kernel-upgrade/

Posted by linuxism
,