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?
Fedora 15 DKMS
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Fedora 15 DKMS
Code: Select all
yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
Code: Select all
yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-pae-devel
-
- Posts: 3
- Joined: 30. Sep 2011, 09:49
- Primary OS: Fedora other
- VBox Version: OSE Fedora
- Guest OSses: Windows 7
Re: Fedora 15 DKMS
Thank you, i ran that and then the setup again but it didnt take the kernel build.
same error message. do i need to reboot first or run something else?
same error message. do i need to reboot first or run something else?
-
- Volunteer
- Posts: 2561
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Fedora 15 DKMS
Do you have dkms 2.2.0.2-1? (see https://bugzilla.redhat.com/show_bug.cgi?id=702483 )
-
- Posts: 3
- Joined: 30. Sep 2011, 09:49
- Primary OS: Fedora other
- VBox Version: OSE Fedora
- Guest OSses: Windows 7
Re: Fedora 15 DKMS
Yes i do. I didnt see any patch files there do you know if there is a fix for this yet?