Page 1 of 1

Problems with Kernel Driver

Posted: 4. Mar 2016, 15:58
by pthfdr
I cannot start any VMs on Debian 8.
When I start one of my VMs I get the following message:

Code: Select all

Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/sbin/rcvboxdrv setup'
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT. 

Code: Select all

Failed to open a session for the virtual machine Windoze.
The virtual machine 'Windoze' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: 
NS_ERROR_FAILURE (0x80004005)
Component: 
MachineWrap
Interface: 
IMachine {f30138d4-e5ea-4b3a-8858-a059de4c93fd}
I have DKMS installed.When I do that I get the following errors:

Code: Select all

root@VARIA ~# /sbin/rcvboxdrv setup
Failed to execute process '/sbin/rcvboxdrv'. Reason:
exec: Exec format error
The file '/sbin/rcvboxdrv' is marked as an executable but could not be run by the operating system.
root@VARIA ~# cd /dev
root@VARIA /dev# ls -Fasil vboxdrv
ls: cannot access vboxdrv: No such file or directory
The problem happened on CentOS 7 as well.
It seems that VirtalBox is not able to install the drivers.

Re: Problems with Kernel Driver

Posted: 8. Mar 2016, 13:39
by frank
It would be more interesting to find out why /sbin/rcvboxdrv cannot be run. Do a file on that command. That file is normally a symbolic link to /usr/lib/virtualbox/postinst-common.sh. Btw, there was a bug in VBox 5.0.14 where /usr/lib/virtualbox/postinst-common.sh did not contain the #!/bin/sh header. This was fixed in VBox 5.0.16.

So which version of VirtualBox are you using?

Re: Problems with Kernel Driver

Posted: 8. Mar 2016, 17:28
by pthfdr
Sorry.
I updated VirtualBox and the problem is fixed.

Re: Problems with Kernel Driver

Posted: 14. Mar 2016, 18:16
by frank
Thank you for the information.