Page 1 of 2

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

Posted: 22. Feb 2010, 22:00
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.

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

Posted: 22. Feb 2010, 22:07
by Perryg
Did you add the username to the vboxusers group?

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

Posted: 22. Feb 2010, 22:10
by dawids
Yes,

My user is in vboxusers group.

Thanks!!

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

Posted: 22. Feb 2010, 22:15
by Perryg
So did it fix your issue?

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

Posted: 22. Feb 2010, 22:26
by dawids
No sorry,

The problem remains the same....

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

Posted: 22. Feb 2010, 22:47
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.

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

Posted: 22. Feb 2010, 23:09
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.

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

Posted: 23. Feb 2010, 01:50
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

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

Posted: 23. Feb 2010, 20:16
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!!

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

Posted: 23. Feb 2010, 21:00
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.

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

Posted: 23. Feb 2010, 21:31
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)?

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

Posted: 23. Feb 2010, 21:38
by Perryg
This should force sync to the kernel

Code: Select all

yum install kernel-headers-$(uname -r)

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

Posted: 23. Feb 2010, 21:58
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: -$

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

Posted: 23. Feb 2010, 22:11
by Perryg

Code: Select all

yum install kernel-PAE-devel

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

Posted: 23. Feb 2010, 22:18
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.