Fedora 15 DKMS

Discussions related to using VirtualBox on Linux hosts.

Fedora 15 DKMS

Postby raizcorp » 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?
raizcorp
 
Posts: 3
Joined: 30. Sep 2011, 09:49
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows 7

Re: Fedora 15 DKMS

Postby Perryg » 30. Sep 2011, 14:22

Code: Select all   Expand viewCollapse view
yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel

Or 32 bit
Code: Select all   Expand viewCollapse view
yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-pae-devel
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Fedora 15 DKMS

Postby raizcorp » 30. Sep 2011, 15:17

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?
raizcorp
 
Posts: 3
Joined: 30. Sep 2011, 09:49
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows 7

Re: Fedora 15 DKMS

Postby Martin » 30. Sep 2011, 15:28

Do you have dkms 2.2.0.2-1? (see https://bugzilla.redhat.com/show_bug.cgi?id=702483 )
Martin
Volunteer
 
Posts: 2359
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Linux, OS/2

Re: Fedora 15 DKMS

Postby raizcorp » 10. Oct 2011, 08:19

Yes i do. I didnt see any patch files there do you know if there is a fix for this yet?
raizcorp
 
Posts: 3
Joined: 30. Sep 2011, 09:49
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows 7


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 20 guests