Kernel driver not installed (rc=1908)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
baderjasim
Posts: 7
Joined: 11. Jun 2013, 11:35

Kernel driver not installed (rc=1908)

Post by baderjasim »

Hi.

im using Ubuntu Desktop 12.04 precise 64bit from OVH / VB 4.2.12

after I have setup windows XP VM, when i click on Start i get the pop-up error message:

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' ..etc.

i run /etc/init.d/vboxdrv setup
---------------------------------------

/etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel modules Opening /proc/modules: No such file or directory
Opening /proc/modules: No such file or directory
Opening /proc/modules: No such file or directory
[ OK ]
* Uninstalling old VirtualBox DKMS kernel modules [ OK ]
* Trying to register the VirtualBox kernel modules using DKMS Error! Your kernel headers for kernel 3.8.13-xxxx-std-ipv6-64 cannot be found.
Please install the linux-headers-3.8.13-xxxx-std-ipv6-64 package,
or use the --kernelsourcedir option to tell DKMS where it's located

* Failed, trying without DKMS
* Recompiling VirtualBox kernel modules
* Look at /var/log/vbox-install.log to find out what went wrong


vbox-install.log
--------------


Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.2.12

------------------------------
Deleting module version: 4.2.12
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/4.2.12/source ->
/usr/src/vboxhost-4.2.12

DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.



i have googled for Kernel Compilation Guide and found one but without no success.


Please help me to fix the issue. Thank you.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Kernel driver not installed (rc=1908)

Post by Perryg »

Install the (missing) kernel headers that match your running kernel and run the /etc/init.d/vboxdrv setup again.
baderjasim
Posts: 7
Joined: 11. Jun 2013, 11:35

Re: Kernel driver not installed (rc=1908)

Post by baderjasim »

current kernel version:-

Linux ks4003431 ip 142 4 210 net 3.8.13-xxxx-std-ipv6-64


current installed headers:-

linux-headers-3.2.0-45
linux-headers-3.2.0-45-generic
linux-headers-3.8.0-23
linux-headers-3.8.0-23-generic


i am unable to find kernel headers that match my current version 3.8.13
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Kernel driver not installed (rc=1908)

Post by Perryg »

You mentioned "OVH" which I assume is a hosting company, and it appears they are using a custom kernel. You would need to contact them for a resolution. Without the matching headers you will not be able to compile external modules which are needed.
baderjasim
Posts: 7
Joined: 11. Jun 2013, 11:35

Re: Kernel driver not installed (rc=1908)

Post by baderjasim »

is it possible to upgrade to a new kernel to get rid of the custom kernel ?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Kernel driver not installed (rc=1908)

Post by Perryg »

You should be able to hold the shift key down at boot and start grub. Select advanced and see if there is an older kernel and boot to that. Then see if it works, before you trash the custom kernel. If it does then you should be able to install the proper Ubuntu kernel.
baderjasim
Posts: 7
Joined: 11. Jun 2013, 11:35

Re: Kernel driver not installed (rc=1908)

Post by baderjasim »

Perryg wrote:You should be able to hold the shift key down at boot and start grub. Select advanced and see if there is an older kernel and boot to that. Then see if it works, before you trash the custom kernel. If it does then you should be able to install the proper Ubuntu kernel.

i am accessing the server through windows RDC i dont access it locally. still i am able to do that?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Kernel driver not installed (rc=1908)

Post by Perryg »

I think you would be better off asking your provider what to do. This really has nothing to do with VirtualBox except the fact that you need to have the headers installed to match the running kernel and that would still come from them.
baderjasim
Posts: 7
Joined: 11. Jun 2013, 11:35

Re: Kernel driver not installed (rc=1908)

Post by baderjasim »

i have contacted them . waiting for a reply.

one thing i want to say

i have made some tests .i am trying to rebuild the kernel version 3.8.13 based on OVH by following some guide

i had run some patches and rebuilding the kernel but when trying to Install the modules and headers that required for external modules i get his result

desktop@ks4003431:~/kernel/linux-3.8.13$ sudo make modules_install
INSTALL net/ipv4/netfilter/ipt_MASQUERADE.ko
cp: cannot stat `net/ipv4/netfilter/ipt_MASQUERADE.ko': No such file or directory
INSTALL net/ipv4/netfilter/iptable_nat.ko
cp: cannot stat `net/ipv4/netfilter/iptable_nat.ko': No such file or directory
INSTALL net/ipv4/netfilter/nf_nat_ipv4.ko
cp: cannot stat `net/ipv4/netfilter/nf_nat_ipv4.ko': No such file or directory
INSTALL net/netfilter/nf_nat.ko
cp: cannot stat `net/netfilter/nf_nat.ko': No such file or directory
INSTALL net/netfilter/nf_nat_ftp.ko
cp: cannot stat `net/netfilter/nf_nat_ftp.ko': No such file or directory
INSTALL net/netfilter/nf_nat_irc.ko
cp: cannot stat `net/netfilter/nf_nat_irc.ko': No such file or directory
INSTALL net/netfilter/nf_nat_sip.ko
cp: cannot stat `net/netfilter/nf_nat_sip.ko': No such file or directory
INSTALL net/netfilter/xt_LOG.ko
cp: cannot stat `net/netfilter/xt_LOG.ko': No such file or directory
INSTALL net/netfilter/xt_mark.ko
cp: cannot stat `net/netfilter/xt_mark.ko': No such file or directory
INSTALL net/netfilter/xt_nat.ko
cp: cannot stat `net/netfilter/xt_nat.ko': No such file or directory
DEPMOD 3.8.13-grsec-kyau


i dont know if this is useful information regarding the case
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Kernel driver not installed (rc=1908)

Post by Perryg »

Nothing is really useful to us as long as you use a custom kernel. Also the host (ubuntu in this case) and its resources actually are handled from the OS provider, and outside the scope of this forum.
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Kernel driver not installed (rc=1908)

Post by noteirak »

Simply install the regular kernel using apt-get, then get rid of the custom kernel.
You can also reinstall the server with a normal kernel from the manager, but that wipes all the data.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
baderjasim
Posts: 7
Joined: 11. Jun 2013, 11:35

Re: Kernel driver not installed (rc=1908)

Post by baderjasim »

could you please explain how to install regular kernel using apt-get?
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Kernel driver not installed (rc=1908)

Post by noteirak »

That's way out of scope of this forum, and my answer was already out of scope, but since I know the provider, I thought I would let you know.
how to install a regular kernel and remove another one is all documented on lots of pages already on Internet, simply use Google.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
baderjasim
Posts: 7
Joined: 11. Jun 2013, 11:35

Re: Kernel driver not installed (rc=1908)

Post by baderjasim »

problem solved!

Thanks for the Tips! :)
Post Reply