LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-12-2008, 09:48 AM   #1
licknriz
LQ Newbie
 
Registered: Jul 2008
Distribution: Fedora 9
Posts: 2

Rep: Reputation: 0
Question "No precompiled module for this kernel found"


Trying to install Virtual Box on Fedora 9 (2.6.25.9-76.fc9.i686) and receiving the following error:

Code:
[root@localhost Download]# rpm -ivh VirtualBox-1.6.2_31466_fedora9-1.i586.rpm
Preparing...                ########################################### [100%]
   1:VirtualBox             ########################################### [100%]

Creating group 'vboxusers'. VM users must be member of that group!

No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.

Compilation of the kernel module FAILED! VirtualBox will not start until this
problem is fixed. Please consult /var/log/vbox-install.log to find out why the
kernel module does not compile. Most probably the kernel sources are not found.
Install them and execute

  /etc/init.d/vboxdrv setup

as root.
Edit: The /var/log/vbox-install.log says:

Quote:
Makefile:127: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
I'm a complete newbie and still learning all the great things about Linux - so please forgive me if I am slow to understand. I will appreciate any help/info!

Last edited by licknriz; 07-12-2008 at 09:50 AM. Reason: Updated information
 
Old 07-12-2008, 12:43 PM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
you need to install the kernel source for your current running kernel.
 
Old 07-12-2008, 02:08 PM   #3
rldiss
LQ Newbie
 
Registered: Jul 2008
Location: NW Chicago area
Distribution: Fedora 9
Posts: 2

Rep: Reputation: 0
Install the kernel-devel package first, and then you should be able to install VirtualBox. Do a "yum -y install kernel-devel" from the command-line as root.
 
Old 07-12-2008, 04:28 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
You MIGHT need to install kernel-headers as well as kernel-devel. Remember these have to be the exact same ones as your running kernel.
 
Old 07-13-2008, 11:14 AM   #5
licknriz
LQ Newbie
 
Registered: Jul 2008
Distribution: Fedora 9
Posts: 2

Original Poster
Rep: Reputation: 0
Thumbs up Works!

Thanks very much for the responses, solution and plain English
 
Old 07-15-2008, 12:30 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
yum -y install
Why is it that people insist on using the -y option
get out of that habit or you may find you ,by mistake, run
yum -y remove glibc
and remove 50% of fedora 1412 packages will be removed
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
mkinitrd results in: "No module aic7xxx found for kernel 2.6.18.1" jim_cliff11 Red Hat 7 12-28-2006 05:40 PM
executing a loaded module returns "command not found" error neelay1 Linux - Software 1 05-08-2006 02:25 PM
Where to download precompiled bash binaries, such as "time" and "top"? elinuxqs Linux - Newbie 12 11-14-2005 08:36 PM
mkinitrd failed with message "no module raid0 found for kernel 2.6.9" ythevenot Red Hat 3 12-07-2004 09:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration