Kernel driver not installed

Discussions about using Linux guests in VirtualBox.
Post Reply
kpcaldw
Posts: 3
Joined: 23. May 2013, 20:42

Kernel driver not installed

Post by kpcaldw »

I am running Red Hat Enterprise Linux (2.6.32-358.el6.x86_64).

I downloaded and installed Virtual Box. I then imported a VM. When I try to run it I get an error in suplibOsinit
Kernel driver not installed (rc=-1908)

The suggested remedy was to execute /etc/init.d/vboxdrv setup as root. When I tried that I got the following error msg.
Stopping VirtualBox kernel modules [ OK ]
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)

When I look at
/var/log/vbox-install.log
I get:
Makefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.

Note: I'm fairly new to Linux, I'm a Mac person. I do know a fair bit about Unix/Linux operations from a user perspective, but almost nothing from an IT viewpoint. However, I'm the only one here, and am the de-facto; IT, manager, analyst, cook, bottle-washer. . .

Appreciate any help I can get - and please make it detailed.

Regards,
Kim
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: Kernel driver not installed

Post by stefan.becker »

Open a command line, login as root. Then try the following commands:

Code: Select all

rpm -qa | grep kernel
rpm -qa | grep make
rpm -qa | grep gcc
Post the output from these commands.
kpcaldw
Posts: 3
Joined: 23. May 2013, 20:42

Re: Kernel driver not installed

Post by kpcaldw »

The output is as follows:
[root@localhost Desktop]# rpm -qa | grep kernel
kernel-2.6.32-358.el6.x86_64
kernel-devel-2.6.32-358.6.2.el6.x86_64
libreport-plugin-kerneloops-2.0.9-15.el6.x86_64
kernel-firmware-2.6.32-358.6.2.el6.noarch
abrt-addon-kerneloops-2.0.8-15.el6.x86_64
kernel-headers-2.6.32-358.6.2.el6.x86_64
dracut-kernel-004-303.el6.noarch
kernel-2.6.32-358.6.2.el6.x86_64
[root@localhost Desktop]# rpm -qa | grep make
make-3.81-20.el6.x86_64
[root@localhost Desktop]# rpm -qa | grep gcc
libgcc-4.4.7-3.el6.x86_64
gcc-4.4.7-3.el6.x86_64
[root@localhost Desktop]#
kpcaldw
Posts: 3
Joined: 23. May 2013, 20:42

Re: Kernel driver not installed

Post by kpcaldw »

I stumbled on my own fix for this. . .
I decided that maybe after updating gcc, make, etc. maybe I needed to re-install VirtualBox.

I did
./vboxmanage extpack uninstall VBox
./vboxmanage extpack uninstall Virtualbox
./vboxmanage extpack uninstall virtualbox

Then went over to the application menu, saw that VirtualBox was still there as an option. For no sane reason launched it. And this time it came up with no problems.

Don't know why it worked, but now it is working. ???
Post Reply