VERR_VM_DRIVER_NOT_INSTALLED Fedora 10

Discussions related to using VirtualBox on Linux hosts.
Post Reply
kirk202
Posts: 2
Joined: 3. Feb 2009, 20:34

VERR_VM_DRIVER_NOT_INSTALLED Fedora 10

Post by kirk202 »

I'm fairly new to Linux and I got this error msg using VBox. I've installed the DKMS and kernel-devel as suggest. I think my problem is with a gcc command but I don't have a clue what this is.

Please help...Thanks, Kirk Ziegler

This error says to /etc/init.d/vboxdrv setup
which fails and says to see the vbox-install log:

** Compiling vboxdrv
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxdrv/2.1.2/source ->
/usr/src/vboxdrv-2.1.2
DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=2.6.27.12-170.2.5.fc10.i686 -C /lib/modules/2.6.27.12-170.2.5.fc10.i686/build M=/var/lib/dkms/vboxdrv/2.1.2/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 2.6.27.12-170.2.5.fc10.i686 (i686)
Consult the make.log in the build directory
/var/lib/dkms/vboxdrv/2.1.2/build/ for more information.

Which says:

DKMS make.log for vboxdrv-2.1.2 for kernel 2.6.27.12-170.2.5.fc10.i686 (i686)
Tue Feb 3 11:43:46 MST 2009
/usr/src/kernels/2.6.27.12-170.2.5.fc10.i686/scripts/gcc-version.sh: line 25: gcc: command not found
/usr/src/kernels/2.6.27.12-170.2.5.fc10.i686/scripts/gcc-version.sh: line 26: gcc:
command not found
make: gcc: Command not found
make: Entering directory `/usr/src/kernels/2.6.27.12-170.2.5.fc10.i686'
LD /var/lib/dkms/vboxdrv/2.1.2/build/built-in.o
CC [M] /var/lib/dkms/vboxdrv/2.1.2/build/linux/SUPDrv-linux.o
/bin/sh: gcc: command not found
make[1]: *** [/var/lib/dkms/vboxdrv/2.1.2/build/linux/SUPDrv-linux.o] Error 127
make: *** [_module_/var/lib/dkms/vboxdrv/2.1.2/build] Error 2
make: Leaving directory `/usr/src/kernels/2.6.27.12-170.2.5.fc10.i686'
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

The bold part of the log should say enough. You need gcc to compile the kernel modules. For Fedora, you issue the following command as root:

Code: Select all

yum install gcc
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
kirk202
Posts: 2
Joined: 3. Feb 2009, 20:34

Post by kirk202 »

Sasquatch wrote:The bold part of the log should say enough. You need gcc to compile the kernel modules. For Fedora, you issue the following command as root:

Code: Select all

yum install gcc
Thanks Sasquatch, worked like a charm...much appreciated.

Kirk
Post Reply