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