Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Ubuntu 10.04 and kernel: 2.6.38-11-generic-pae. While using VirtualBox, i got this error:

Kernel driver not installed (rc=-1908)

Please install the virtualbox-ose-dkms package and execute 'modprobe vboxdrv' as root.

I tried to execute the command: sudo modprobe vboxdrv and got this error:

FATAL: Module vboxdrv not found.

After that, i execute this: sudo aptitude install virtualbox-ose-guest-dkms

duongnv@duongnv-laptop:~$ sudo aptitude install virtualbox-ose-guest-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
The following partially installed packages will be configured:
  virtualbox-ose-guest-dkms 
0 packages upgraded, 0 newly installed, 0 to remove and 105 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up virtualbox-ose-guest-dkms (3.1.6-dfsg-2ubuntu2) ...
Removing old virtualbox-ose-guest-3.1.6 DKMS files...

------------------------------
Deleting module version: 3.1.6
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-ose-guest-3.1.6 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.38-11-generic-pae
Building for architecture i686
Building initial module for 2.6.38-11-generic-pae

Error! Bad return status for module build on kernel: 2.6.38-11-generic-pae (i686)
Consult the make.log in the build directory
/var/lib/dkms/virtualbox-ose-guest/3.1.6/build/ for more information.
dpkg: error processing virtualbox-ose-guest-dkms (--configure):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 virtualbox-ose-guest-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up virtualbox-ose-guest-dkms (3.1.6-dfsg-2ubuntu2) ...
Removing old virtualbox-ose-guest-3.1.6 DKMS files...

------------------------------
Deleting module version: 3.1.6
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-ose-guest-3.1.6 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.38-11-generic-pae
Building for architecture i686
Building initial module for 2.6.38-11-generic-pae

Error! Bad return status for module build on kernel: 2.6.38-11-generic-pae (i686)
Consult the make.log in the build directory
/var/lib/dkms/virtualbox-ose-guest/3.1.6/build/ for more information.
dpkg: error processing virtualbox-ose-guest-dkms (--configure):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 virtualbox-ose-guest-dkms
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initializing package states... Done
share|improve this question

migrated from stackoverflow.com Nov 19 '11 at 5:38

This question came from our site for professional and enthusiast programmers.

    
Should we move all these to the Ubuntu Stack Exchange? – Mikhail Nov 8 '12 at 8:59
    
@Mikhail NO. Linux (including Ubuntu) questions are on topic and welcome here. Unless your comment was posted on Stack Overflow before migration, in which case, sorry :). – terdon Jan 5 '14 at 11:28
    
What does the make.log in the build directory say? Also, why are you using a 3-year old operating system? – terdon Jan 5 '14 at 11:37

Update your virtualbox package..

Chech this link for more details it is somewhat match to your proeblem.

share|improve this answer
    
While this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – terdon Jan 5 '14 at 11:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .