Problems with Kernel Driver

Discussions related to using VirtualBox on Linux hosts.
Post Reply
pthfdr
Posts: 15
Joined: 6. Oct 2015, 12:15
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: FreeDOS,NetBSD,Windoze ExPee,Windoze X

Problems with Kernel Driver

Post 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.
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: Problems with Kernel Driver

Post 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?
pthfdr
Posts: 15
Joined: 6. Oct 2015, 12:15
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: FreeDOS,NetBSD,Windoze ExPee,Windoze X

Re: Problems with Kernel Driver

Post by pthfdr »

Sorry.
I updated VirtualBox and the problem is fixed.
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: Problems with Kernel Driver

Post by frank »

Thank you for the information.
Post Reply