Fedora 15 DKMS
Posted: 30. Sep 2011, 11:14
Hi all i get this error when running the vm
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
when i run the setup i get the following error:
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 2.6.38.6-26.rc1.fc15.x86_64 cannot be found at
/lib/modules/2.6.38.6-26.rc1.fc15.x86_64/build or /lib/modules/2.6.38.6-26.rc1.fc15.x86_64/source.
[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@RaizSrv2 raizcorp]# cd /var/log/vbox-install.log
the log file has this error:
Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.1.2
------------------------------
Deleting module version: 4.1.2
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/4.1.2/source ->
/usr/src/vboxhost-4.1.2
DKMS: add Completed.
Failed to install using DKMS, attempting to install without
Makefile:172: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
Anyone know how i can fix this?
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
when i run the setup i get the following error:
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 2.6.38.6-26.rc1.fc15.x86_64 cannot be found at
/lib/modules/2.6.38.6-26.rc1.fc15.x86_64/build or /lib/modules/2.6.38.6-26.rc1.fc15.x86_64/source.
[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@RaizSrv2 raizcorp]# cd /var/log/vbox-install.log
the log file has this error:
Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.1.2
------------------------------
Deleting module version: 4.1.2
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/4.1.2/source ->
/usr/src/vboxhost-4.1.2
DKMS: add Completed.
Failed to install using DKMS, attempting to install without
Makefile:172: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
Anyone know how i can fix this?