Page 1 of 1

Virtual box :kernel package linux-headers-4.5.0-040500rc4-generic is not supported

Posted: 19. May 2016, 23:39
by pachacutec
Hello everyone,
I'm trying to use Virtualbox however something is not working. I installed the last version 5.0.20 which is supposed to support the ubuntu kernel 4.5. When I try to start a virtual machine it shows :

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.

After doing that I got the following message:

Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMSERROR (dkms apport): kernel package linux-headers-4.5.0-040500rc4-generic is not supported
Error! Bad return status for module build on kernel: 4.5.0-040500rc4-generic (x86_64)
Consult /var/lib/dkms/vboxhost/5.0.20/build/make.log for more information.
...failed!
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
(Look at /var/log/vbox-install.log to find out what went wrong)

I've checked out the file var/log/vbox-install.log( attached file)
please help me to solve this problem.

Re: Virtual box :kernel package linux-headers-4.5.0-040500rc4-generic is not supported

Posted: 19. May 2016, 23:51
by Perryg
You need to upgrade your gcc to match this kernel.