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

Discussions related to using VirtualBox on Linux hosts.
Post Reply
pachacutec
Posts: 1
Joined: 19. May 2016, 23:26

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

Post 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.
Attachments
logfile.txt
output of /var/log/vbox-install.log
(3.46 KiB) Downloaded 14 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

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

Post by Perryg »

You need to upgrade your gcc to match this kernel.
Post Reply