Error: Kernel driver not installed (rc=-1908)

Discussions related to using VirtualBox on Linux hosts.
dawids
Posts: 11
Joined: 22. Feb 2010, 21:53
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Debian

Error: Kernel driver not installed (rc=-1908)

Post by dawids »

Hello

In my Fedora 12 (Kernel 2.6.31.12-174.2.22.fc12.i686.PAE) and Virtual Box 3.1.4

I have this error:

The VirtualBox Linux kernel driver (vboxdrv) is probably not loaded.

If you installed or VirtualBox OSE package recently you need to restart the computer for the driver to load.

Alternatively, you may attempt to load the driver by issuing the following command with system administrator (root) privileges:

'/etc/sysconfig/modules/VirtualBox-OSE.modules'

After:

[root@localhost ~]# /etc/sysconfig/modules/VirtualBox-OSE.modules
FATAL: Module vboxdrv not found.
FATAL: Module vboxnetflt not found.
FATAL: Module vboxnetadp not found.

Please, help me! Thanks!!

Sorry for my english.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error: Kernel driver not installed (rc=-1908)

Post by Perryg »

Did you add the username to the vboxusers group?
dawids
Posts: 11
Joined: 22. Feb 2010, 21:53
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Debian

Re: Error: Kernel driver not installed (rc=-1908)

Post by dawids »

Yes,

My user is in vboxusers group.

Thanks!!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error: Kernel driver not installed (rc=-1908)

Post by Perryg »

So did it fix your issue?
dawids
Posts: 11
Joined: 22. Feb 2010, 21:53
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Debian

Re: Error: Kernel driver not installed (rc=-1908)

Post by dawids »

No sorry,

The problem remains the same....
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error: Kernel driver not installed (rc=-1908)

Post by Perryg »

Did you reboot the host?
Please give details on how you installed VirtualBox.
Also look at /var/log/vbox-install.log
Post as an attachment here.
dawids
Posts: 11
Joined: 22. Feb 2010, 21:53
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Debian

Re: Error: Kernel driver not installed (rc=-1908)

Post by dawids »

Error! Your kernel source for kernel 2.6.31.12-174.2.22.fc12.i686.PAE cannot be found at
/lib/modules/2.6.31.12-174.2.22.fc12.i686.PAE/build or /lib/modules/2.6.31.12-174.2.22.fc12.i686.PAE/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:152: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Alto.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error: Kernel driver not installed (rc=-1908)

Post by Perryg »

Did you prep the OS for the modes?
Try running this in a terminal.

Code: Select all

sudo yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
Then make sure that Fedora is up to date

Code: Select all

sudo yum update
Then this

Code: Select all

sudo /etc/init.d/vboxdrv setup
dawids
Posts: 11
Joined: 22. Feb 2010, 21:53
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Debian

Re: Error: Kernel driver not installed (rc=-1908)

Post by dawids »

Perryg wrote:Did you prep the OS for the modes?
Try running this in a terminal.

Code: Select all

sudo yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
Then make sure that Fedora is up to date

Code: Select all

sudo yum update
Then this

Code: Select all

sudo /etc/init.d/vboxdrv setup
these packages were installed, my fedora is updated.

When execute (sudo /etc/init.d/vboxdrv setup):

[root@localhost ~]# /etc/init.d/vboxdrv setup
-bash: /etc/init.d/vboxdrv: No such file or directory

The problem is not solved!!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error: Kernel driver not installed (rc=-1908)

Post by Perryg »

This may be my mistake. Try installing VirtualBox now and see if you get the same error.
The vboxdrv setup takes for granted that it did install and just needs the module rebuilt.
dawids
Posts: 11
Joined: 22. Feb 2010, 21:53
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Debian

Re: Error: Kernel driver not installed (rc=-1908)

Post by dawids »

Perryg wrote:This may be my mistake. Try installing VirtualBox now and see if you get the same error.
The vboxdrv setup takes for granted that it did install and just needs the module rebuilt.
I did and...i have other error:

[root@localhost david]# VirtualBox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (2.6.31.12-174.2.22.fc12.i686.PAE) or it failed to
load. Reboot the computer, or insert the kernel module by executing

'/etc/sysconfig/modules/VirtualBox-OSE.modules' (as root)

You will not be able to start VMs until this problem is fixed.
[root@localhost david]# /etc/sysconfig/modules/VirtualBox-OSE.modules
FATAL: Module vboxdrv not found.
FATAL: Module vboxnetflt not found.
FATAL: Module vboxnetadp not found.

The problem is the version of the Kernel (2.6.31.12-174.2.22.fc12.i686.PAE)?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error: Kernel driver not installed (rc=-1908)

Post by Perryg »

This should force sync to the kernel

Code: Select all

yum install kernel-headers-$(uname -r)
dawids
Posts: 11
Joined: 22. Feb 2010, 21:53
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Debian

Re: Error: Kernel driver not installed (rc=-1908)

Post by dawids »

Perryg wrote:This should force sync to the kernel

Code: Select all

yum install kernel-headers-$(uname -r)
Other error of yum.

yum install kernel-headers.i686 -$ 2.6.31.12-174.2.22.fc12.i686.PAE
no such option: -$
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error: Kernel driver not installed (rc=-1908)

Post by Perryg »

Code: Select all

yum install kernel-PAE-devel
dawids
Posts: 11
Joined: 22. Feb 2010, 21:53
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Debian

Re: Error: Kernel driver not installed (rc=-1908)

Post by dawids »

Perryg wrote:

Code: Select all

yum install kernel-PAE-devel
The package was installed:
kernel-PAE-devel.i686 0:2.6.31.12-174.2.22.fc12

And...

[root@localhost ~]# VirtualBox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (2.6.31.12-174.2.22.fc12.i686.PAE) or it failed to
load. Reboot the computer, or insert the kernel module by executing

'/etc/sysconfig/modules/VirtualBox-OSE.modules' (as root)

You will not be able to start VMs until this problem is fixed.
[root@localhost ~]# /etc/sysconfig/modules/VirtualBox-OSE.modules
FATAL: Module vboxdrv not found.
FATAL: Module vboxnetflt not found.
FATAL: Module vboxnetadp not found.
[root@localhost ~]# VirtualBox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (2.6.31.12-174.2.22.fc12.i686.PAE) or it failed to
load. Reboot the computer, or insert the kernel module by executing

'/etc/sysconfig/modules/VirtualBox-OSE.modules' (as root)

You will not be able to start VMs until this problem is fixed.
[root@localhost ~]# /etc/sysconfig/modules/VirtualBox-OSE.modules
FATAL: Module vboxdrv not found.
FATAL: Module vboxnetflt not found.
FATAL: Module vboxnetadp not found.
Post Reply