Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22nd November 2004, 04:26 PM
hunnr Offline
Registered User
 
Join Date: Nov 2004
Posts: 10
Angry Problems compiling kernel module

I'm having a problem trying to compile a kernel module for FC3 (2.6.9-1.667). I've installed the kernel sources (yes, for the right version of the kernel), and I build the kernel and modules (make menuconfig, make)... once complete, I'm unable to actually load any of the modules I just built:

[root@nix linux-2.6.9-1.667]# insmod drivers/scsi/aic7xxx/aic79xx.ko
insmod: error inserting 'drivers/scsi/aic7xxx/aic79xx.ko': -1 Unknown symbol in module

This problem persists for any other modules that I try and load. The kernel config that I am using is the one from /boot/config-2.6.9-1.667.

Can anyone help me figure out whats wrong here? This is a plain i386 installation of FC3 with no updates applied yet.
Reply With Quote
  #2  
Old 22nd November 2004, 05:40 PM
bhanson Offline
Registered User
 
Join Date: Nov 2004
Posts: 2
There are instructions in the release notes about FC3 and kernel sources that might be the issue.
Reply With Quote
  #3  
Old 22nd November 2004, 06:13 PM
hunnr Offline
Registered User
 
Join Date: Nov 2004
Posts: 10
I'm not sure I follow... I checked the release notes, and the only related "issue" that I see is the retrieval of the source code -- I've already got it all downloaded and building successfully. Its just the fact that the compiled modules will never load.

I'm attempt to use the alternative method they mention for just building modules without the entire source tree, but that's proving to be a pain as well.

Any other thoughts, or did I miss something?
Reply With Quote
  #4  
Old 22nd November 2004, 06:17 PM
deuch Offline
Registered User
 
Join Date: Apr 2004
Location: France
Age: 34
Posts: 340
try modprobe aic79xx.ko instead of insmod (directly with the name of the drivers without the path)

do you check that the module was compiled in /lib/modules/your_kernel/build/drivers/scsi/aic7xxx/ ???

deuch

Last edited by deuch; 22nd November 2004 at 06:23 PM.
Reply With Quote
  #5  
Old 22nd November 2004, 06:20 PM
hunnr Offline
Registered User
 
Join Date: Nov 2004
Posts: 10
Alright, I also followed the "alternative" build instructions that didn't require the entire source tree, but my results were exactly the same ('Unknown symbol in module').... >:o

Help?!
Reply With Quote
  #6  
Old 22nd November 2004, 06:22 PM
hunnr Offline
Registered User
 
Join Date: Nov 2004
Posts: 10
deuch: that wasn't working before, but it appears as though it may be now with my most recent "alternative" build... let me run a reboot (I'm trying to create a driver disk ultimately here) and see if that works.... will report back.
Reply With Quote
  #7  
Old 22nd November 2004, 07:23 PM
hunnr Offline
Registered User
 
Join Date: Nov 2004
Posts: 10
alright... that seemed to work. thanks
Reply With Quote
  #8  
Old 17th December 2004, 11:31 AM
frozzen Offline
Registered User
 
Join Date: Dec 2004
Posts: 1
the problem is that kernel is compiled with 3.3.2 and currenmt gcc has 3.4.2 version. where to get correct gcc?
Reply With Quote
Reply

Tags
compiling, kernel, module, problems

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualBox module not compiling for kernel 2.6.26.3-14.fc8 kburger Using Fedora 13 17th September 2008 06:55 PM
compiling a webcam kernel module fakie_flip Using Fedora 0 31st December 2006 03:24 AM
Compiling a unique kernel vs. compiling a single module. jbkt23 Using Fedora 0 4th December 2006 12:11 AM


Current GMT-time: 09:29 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat