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

Discussions related to using VirtualBox on Linux hosts.

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

Postby dawids » 22. Feb 2010, 22:00

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.
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)

Postby Perryg » 22. Feb 2010, 22:07

Did you add the username to the vboxusers group?
Perryg
Site Moderator
 
Posts: 25959
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

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

Postby dawids » 22. Feb 2010, 22:10

Yes,

My user is in vboxusers group.

Thanks!!
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)

Postby Perryg » 22. Feb 2010, 22:15

So did it fix your issue?
Perryg
Site Moderator
 
Posts: 25959
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

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

Postby dawids » 22. Feb 2010, 22:26

No sorry,

The problem remains the same....
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)

Postby Perryg » 22. Feb 2010, 22:47

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.
Perryg
Site Moderator
 
Posts: 25959
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

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

Postby dawids » 22. Feb 2010, 23:09

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.
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)

Postby Perryg » 23. Feb 2010, 01:50

Did you prep the OS for the modes?
Try running this in a terminal.
Code: Select all   Expand viewCollapse view
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   Expand viewCollapse view
sudo yum update

Then this
Code: Select all   Expand viewCollapse view
sudo /etc/init.d/vboxdrv setup
Perryg
Site Moderator
 
Posts: 25959
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

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

Postby dawids » 23. Feb 2010, 20:16

Perryg wrote:Did you prep the OS for the modes?
Try running this in a terminal.
Code: Select all   Expand viewCollapse view
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   Expand viewCollapse view
sudo yum update

Then this
Code: Select all   Expand viewCollapse view
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!!
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)

Postby Perryg » 23. Feb 2010, 21:00

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.
Perryg
Site Moderator
 
Posts: 25959
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

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

Postby dawids » 23. Feb 2010, 21:31

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)?
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)

Postby Perryg » 23. Feb 2010, 21:38

This should force sync to the kernel
Code: Select all   Expand viewCollapse view
yum install kernel-headers-$(uname -r)
Perryg
Site Moderator
 
Posts: 25959
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

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

Postby dawids » 23. Feb 2010, 21:58

Perryg wrote:This should force sync to the kernel
Code: Select all   Expand viewCollapse view
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: -$
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)

Postby Perryg » 23. Feb 2010, 22:11

Code: Select all   Expand viewCollapse view
yum install kernel-PAE-devel
Perryg
Site Moderator
 
Posts: 25959
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

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

Postby dawids » 23. Feb 2010, 22:18

Perryg wrote:
Code: Select all   Expand viewCollapse view
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.
dawids
 
Posts: 11
Joined: 22. Feb 2010, 21:53
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Debian

Next

Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 17 guests