Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: insmod driver problem
Sep 19 00:24:35 +0200 2002 Lars Oeschey <email@example.com> wrote:
> I got some problems loading the modules for my Fujitsu DVB-s card. I get
> those long "unresolved symbols" list I have seen in previous posts, but
> I never saw a solution to this. The facts:
> kernel 2.4.18 (after trying 2.4.19 and finding that it's not working yet
> with the driver)
> driver 0.9.4
> kernel sources are in /usr/src/linux, I2C support is on (as module) as
> is videodev.
> Nonetheless I get
> insmod: i2c-core: no module by that name found
> insmod: videodev: no module by that name found
try first `debmod -a' (to be sure).
try modprobe i2c-code and modprobe videodev... try also
find /lib/modules/2.4.18 -name videodev.o -o -name i2c-code.o
and try insmodding found files by hand.
> what I find strange, is the message that I get on compile and on insmod,
> and I've seen the same in other posts:
> /usr/src/linux/scripts/pathdown.sh: TOPDIR: parameter null or not set
> this indicates to me that the make scripts has a problem with the linux
> src path (which would explain the "missing" i2c messages).
Maybe not -- I always get that message also -- did not have any effect.
> Just for fun I ran a "make install", and guess what, the modules were
> copied to /lib/modules/misc instead of /lib/modules/2.4.18/misc. Another
> "path-problem" indication I'd guess.
> the output of the install call looks like this:
> `saa7146_v4l.o' -> `/lib/modules//misc/saa7146_v4l.o'
> that would tell me, that the $CURRENT variable from the makefile isn't
> set correctly.
I'd suggest the following patch to be added to oldstruct driver Makefile (too).
cvs-dvb-old/DVB/driver$ cvs -q diff -u Makefile
RCS file: /cvs/linuxtv/DVB/driver/Makefile,v
retrieving revision 1.36
diff -u -r1.36 Makefile
--- Makefile 7 Feb 2002 17:23:07 -0000 1.36
+++ Makefile 30 Jun 2002 12:58:24 -0000
@@ -1,7 +1,8 @@
-export CURRENT:=$(shell head -1 /usr/include/linux/version.h|( read i j k; echo $$k|sed s/\"//g))
+export CURRENT:=$(shell head -1 $(KERNEL_LOCATION)/include/linux/version.h|( read i j k; echo $$k|sed s/\"//g))
#CURRENT=$(shell uname -r)
CARD = dvb
zsh: exit 1 cvs -q diff -u Makefile
> So far im stuck no with my Windows XP on my first partition where my DVB
> card works at least ;)
To unsubscribe send a mail to firstname.lastname@example.org with "unsubscribe linux-dvb" as subject.
Main Index |