LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-06-2005, 01:01 AM   #1
euslisu
LQ Newbie
 
Registered: Feb 2005
Location: Texas
Posts: 2

Rep: Reputation: 0
insert module problem


My machine is loaded with Linux Fedora3-1C 2.6.9-1.667. Because the Fedora doesn't have src package, I down loaded a separate kernel source kernel-2.6.9-1.667.src.rpm from Fedora web site

After install this rpm and compiled the kernel, I try to insert idt77105.ko module into module list, it gives error like this:

[root@~ ]# insmod /lib/modules/2.6.9-1.667/kernel/drivers/atm/idt77105.ko

insmod: error inserting '/lib/modules/2.6.9-1.667/kernel/drivers/atm/idt77105.ko': -1 Invalid module format

[root@ ~]# dmesg
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
SELinux: initialized (dev nfsd, type nfsd), uses genfs_contexts
NET: Registered protocol family 8
NET: Registered protocol family 20
idt77105: version magic '2.6.9-prep 686 4KSTACKS gcc-3.4' should be '2.6.9-1.667 686 REGPARM 4KSTACKS gcc-3.4'
idt77105: version magic '2.6.9-prep 686 4KSTACKS gcc-3.4' should be '2.6.9-1.667 686 REGPARM 4KSTACKS gcc-3.4'
idt77105: version magic '2.6.9-prep 686 4KSTACKS gcc-3.4' should be '2.6.9-1.667 686 REGPARM 4KSTACKS gcc-3.4'

It sounds complain about my module is compiled with a pre-release version. If it is the case, can any one tell me where to get an official release of kernel-2.6.9-1.667.src.rpm? Otherwise, could any one tell me the possible cause of the problem?

Thanks in advance!
 
Old 02-06-2005, 01:12 AM   #2
euslisu
LQ Newbie
 
Registered: Feb 2005
Location: Texas
Posts: 2

Original Poster
Rep: Reputation: 0
Fedora FC3 kenerl 2.6.9-1.667 compile version

insert module problem ( post #1)

My machine is loaded with Linux Fedora3-1C 2.6.9-1.667. Because the Fedora doesn't have src package, I down loaded a separate kernel source kernel-2.6.9-1.667.src.rpm from Fedora web site

After install this rpm and compiled the kernel, I try to insert idt77105.ko module into module list, it gives error like this:

[root@~ ]# insmod /lib/modules/2.6.9-1.667/kernel/drivers/atm/idt77105.ko

insmod: error inserting '/lib/modules/2.6.9-1.667/kernel/drivers/atm/idt77105.ko': -1 Invalid module format

[root@ ~]# dmesg
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
SELinux: initialized (dev nfsd, type nfsd), uses genfs_contexts
NET: Registered protocol family 8
NET: Registered protocol family 20
idt77105: version magic '2.6.9-prep 686 4KSTACKS gcc-3.4' should be '2.6.9-1.667 686 REGPARM 4KSTACKS gcc-3.4'
idt77105: version magic '2.6.9-prep 686 4KSTACKS gcc-3.4' should be '2.6.9-1.667 686 REGPARM 4KSTACKS gcc-3.4'
idt77105: version magic '2.6.9-prep 686 4KSTACKS gcc-3.4' should be '2.6.9-1.667 686 REGPARM 4KSTACKS gcc-3.4'

It sounds complain about my module is compiled with a pre-release version. If it is the case, can any one tell me where to get an official release of kernel-2.6.9-1.667.src.rpm? Otherwise, could any one tell me the possible cause of the problem?

Thanks in advance!
 
Old 02-06-2005, 10:37 AM   #3
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
The module does not match the kernel.

Is this a module that you have to build yourself or is it part of the kernel? If you downloaded the module as a binary then you need to get the source for the module and build another one against the 2.6.9-1.667 kernel-sources.
 
Old 02-06-2005, 10:52 AM   #4
euslisu
LQ Newbie
 
Registered: Feb 2005
Location: Texas
Posts: 2

Original Poster
Rep: Reputation: 0
it is part of kernel module which was not in system. I download 2.6.9 source, recompile the kernel and then try to insert this module to system.
 
Old 02-06-2005, 01:47 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,535

Rep: Reputation: 148Reputation: 148
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

This thread was moved to Fedora to be merged with http://www.linuxquestions.org/questi...hreadid=286809
 
Old 02-06-2005, 01:53 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,174
Blog Entries: 4

Rep: Reputation: 428Reputation: 428Reputation: 428Reputation: 428Reputation: 428
Threads merged.
 
Old 02-06-2005, 06:43 PM   #7
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
Which kernel are you using 2.6.9-prep or 2.6.9-1.667?
uname -r
 
Old 02-06-2005, 08:14 PM   #8
euslisu
LQ Newbie
 
Registered: Feb 2005
Location: Texas
Posts: 2

Original Poster
Rep: Reputation: 0
The system originally load Fedora without kerenl source.
Here is the kernel on my system:
[root@ ~]# uname -r
2.6.9-1.667

I download kernel 2.6.9-1.667src.rpm from Fedora offical web site
Here is the text in /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/Makefile

VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 9
EXTRAVERSION = -prep
NAME=Zonked Quokka

I think my compilation is againest '2.6.9-prep' instead of '2.6.9-1.667'. It require an offical release of kernel-2.6.9-1.667.src.rpm. Do you know where to get this packdge?

Last edited by euslisu; 02-06-2005 at 08:29 PM.
 
Old 02-07-2005, 05:45 AM   #9
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
Well it's not on rpmfind.net and when I googled for it I only found this post here at LQ.

Maybe creznedmick can tell you where to find the sources.

<edit> The closest thing Fedora has is this.

You may end up having to use the config file in /boot and build a new kernel and modules.

Last edited by /bin/bash; 02-07-2005 at 05:55 AM.
 
  


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
unable to insert oss module linuxmandrake Debian 1 09-30-2005 06:29 PM
insert module failure iansoundz Linux - General 10 07-05-2005 07:21 PM
cannot insert module fglrx for ati ar1 Linux - General 1 05-31-2004 08:03 PM
failled tp insert module into kernel actteoh Linux - Hardware 2 05-07-2004 10:18 AM
Can't insert module into kernel swamysk Linux - Newbie 14 08-22-2003 05:27 PM


All times are GMT -5. The time now is 09:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration