i've installed ubuntu 14.04 today. i had virtualbox 4.1 running perfectly on ubuntu 12.04. Now, when i try starting Virtualbox 4.1 on ubuntu 14.04, i see this error:

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

'/etc/init.d/vboxdrv 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.

what can i do? i saw another post but it's difficult to have clear answers..

i attached the message from Virtualbox when i try to run it: http://pastebin.ubuntu.com/8581114/

others report messages here :

http://pastebin.ubuntu.com/8581147 (report from command line "/etc/init.d/vboxdrv setup")
pastebin.ubuntu.com/8581167 (report from command line "sudo lsmod") excuse me because i can't post more than two links in the same question for reputation issues.. add http:// to the second link.. ;)

  • Welcome to AU! Can you try running sudo service vboxdrv start, lsmod, and dkms status please and edit your question to include their output? – David Foerster Oct 17 '14 at 15:45
  • first "sudo service vboxdrv start": * Starting VirtualBox kernel modules * modprobe vboxdrv failed. Please use 'dmesg' to find out why – luke23 Oct 17 '14 at 16:17
  • second , "sudo lsmod"..too long to paste here... – luke23 Oct 17 '14 at 16:21
  • third, "sudo dkms status": nvidia-173, 173.14.39, 3.13.0-38-generic, i686: installed nvidia-173, 173.14.39, 3.2.0-70-generic-pae, i686: installed vboxhost, 4.1.8: added – luke23 Oct 17 '14 at 16:23
  • You can edit your question to include additional information (like the output of multi-lined diagnostic commands) and I encourage you to do it. – David Foerster Oct 17 '14 at 16:33

Your system is missing the kernel header files necessary to compile and install the Virtual Box driver kernel module. You can install the headers and rebuild the module with:

sudo apt-get install linux-headers-generic
sudo /etc/init.d/vboxdrv setup

The reason it was working before the upgrade was, that you apparently had installed the headers for the old kernel at some point and built the kernel module with their help as we can see in the output of dkms status.

  • sudo /etc/init.d/vboxdrv setup * Stopping VirtualBox kernel modules [ OK ] * Uninstalling old VirtualBox DKMS kernel modules [ OK ] * Trying to register the VirtualBox kernel modules using DKMS Error! Bad return status for module build on kernel: 3.13.0-38-generic (i686) Consult /var/lib/dkms/vboxhost/4.1.8/build/make.log for more information. * Failed, trying without DKMS * Recompiling VirtualBox kernel modules * Look at /var/log/vbox-install.log to find out what went wrong – luke23 Oct 17 '14 at 16:56
  • I don't want to read that mess of co-joined output lines. Please put it some place that keeps the line breaks like a paste service or your question. – David Foerster Oct 17 '14 at 19:15
  • pastebin.ubuntu.com/8581147 – luke23 Oct 17 '14 at 20:52
  • pastebin.ubuntu.com/8581167 (sudo lsmod) – luke23 Oct 17 '14 at 20:56
  • Thanks. Can you add those links with descriptions to your question please, as they don't really belong to my answer? You can click the edit link below your question to modify it. – David Foerster Oct 18 '14 at 3:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.