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.

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 19th March 2008, 12:46 AM
aussie_1968 Offline
Registered User
 
Join Date: Sep 2007
Posts: 4
Unhappy Invalid module format, but kernel and source matching

hi,

i have set up fedora 8 64bit in a xen domU and everything seems to work correct.
now i need to compile v4l and now it spits the dummy.

the system is up to date and i have installed kernel-devel.

here is some info on the software.

Code:
[root@vdr DVB]# uname -r
2.6.24.3-34.fc8

[root@vdr DVB]# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|grep kernel|sort
kernel-2.6.24.3-12.fc8.x86_64
kernel-2.6.24.3-34.fc8.x86_64
kernel-devel-2.6.24.3-12.fc8.x86_64
kernel-devel-2.6.24.3-34.fc8.x86_64
kernel-headers-2.6.24.3-34.fc8.x86_64

[root@vdr DVB]# insmod /usr/local/src/v4l-dvb-snapshot-20080317/v4l/flexcop-pci.o
insmod: error inserting '/usr/local/src/v4l-dvb-snapshot-20080317/v4l/flexcop-pci.o': -1 Invalid module format

i do not need this module, it is to see if it is working at all.

[root@vdr DVB]# modinfo /usr/local/src/v4l-dvb-snapshot-20080317/v4l/flexcop-pci.o
filename:       /usr/local/src/v4l-dvb-snapshot-20080317/v4l/flexcop-pci.o
license:        GPL
description:    Technisat/B2C2 FlexCop II/IIb/III Digital TV PCI Driver
author:         Patrick Boettcher <patrick.boettcher@desy.de>
parm:           enable_pid_filtering:enable hardware pid filtering: supported values: 0 (fullts), 1 (int)
parm:           irq_chk_intv:set the interval for IRQ watchdog (currently just debugging). (int)
parm:           debug:set debug level (1=info,2=regs,4=TS,8=irqdma (|-able)). (int)

apparently modinfo gives info about kernel source used to compile with, but can not see it.
i do know that the problem arises when the kernel does not match the kernel source the modules are compiled with. the version seems to be the same, only that the source has an extra ".x86_64" on the end.
i have tried finding kernel sources without the extra ending, but yum does not seem to have any.

Code:
[root@vdr DVB]# yum list all | grep kernel* | sort
arm-gp2x-linux-kernel-headers.noarch     2.6.12.0-2.fc8         fedora
kernel-debug-devel.x86_64                2.6.24.3-34.fc8        updates
kernel-debug.x86_64                      2.6.24.3-34.fc8        updates
kernel-devel.x86_64                      2.6.24.3-12.fc8        installed
kernel-devel.x86_64                      2.6.24.3-34.fc8        installed
kernel-doc.noarch                        2.6.24.3-34.fc8        updates
kernel-headers.x86_64                    2.6.24.3-34.fc8        installed
kernel.x86_64                            2.6.24.3-12.fc8        installed
kernel.x86_64                            2.6.24.3-34.fc8        installed
kernel-xen-2.6-doc.noarch                2.6.21.7-2.fc8         updates
kernel-xen-devel.x86_64                  2.6.21.7-2.fc8         updates
kernel-xen.x86_64                        2.6.21.7-2.fc8         updates
yum-kernel-module.noarch                 1.1.11-1.fc8           updates
has anyone experienced ? i have never had this issue and am sort of running out of ideas.

i have read somewhere, that i could also be that the kernel is compiled with one gcc and the modules with another one. how can i find out what the kernel is compiled with ?

would be great if someone could help me out.

cheers
Martin
Reply With Quote
 

Tags
format, invalid, kernel, matching, module, source

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
Invalid Module Format error... lynxus Using Fedora 0 10th December 2006 03:50 PM
modprobe and invalid module format Walzing Using Fedora 1 21st November 2006 05:29 PM
Invalid Module Format??? binnymitch Using Fedora 6 12th July 2006 09:55 PM
Invalid module format for ntfs (fc3) ApuX Using Fedora 6 10th November 2004 11:40 PM


Current GMT-time: 10:34 (Friday, 24-05-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