logo       

Re: First success on compiling km on FC6, but Error at insmod: msg#00007

video.gatos.devel

Subject: Re: First success on compiling km on FC6, but Error at insmod

Hi again!

I now have successfully compiled km!! YUHU!!
BUT I can't insert the modules :(
First: This is what I have done so far:

1.)symbolic Link config.h -> autoconf.h in Kernel Source
2.)patch -p1 -i km-kernel-2.6.18-compile.patch
3.)changing MODULE_PARM to MODULE_PARM_DESC in km.c
4.)Adding following lines to km.c at line 874

#ifndef PCI_DEVICE_ID_ATI_RADEON_LE
#define PCI_DEVICE_ID_ATI_RADEON_LE 0x4d45
#endif

#ifndef PCI_DEVICE_ID_ATI_RADEON_LF
#define PCI_DEVICE_ID_ATI_RADEON_LF 0x4d46
#endif

If do "make test" I get following:

[root@huygens km]# LC_ALL=C make test
make -C /lib/modules/2.6.18-1.2849.fc6/build M=/home/huygens/tarballs/km modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2849.fc6-i686'
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2849.fc6-i686'
** Syncing disks
sync
** Trying to make sure v4l module is loaded
modprobe videodev || true
** Now loading km modules
insmod ./km_api_drv.ko
insmod: error inserting './km_api_drv.ko': -1 File exists
make: *** [test] Error 1

Every help would be appreciated!




----------
Sent via SPRACI - http://www.spraci.com/ - Parties,Raves,Clubs,Festivals



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise