[linux-dvb] Mixing kernel and v4l-dvb sources

Trent Piepho xyzzy at speakeasy.org
Wed Aug 2 10:04:37 CEST 2006


On Tue, 1 Aug 2006, Chris Malarky wrote:
> On an up-to-date Debian Etch box I went through the hg pull/make/make
> install/reboot process (documented in the Wiki), but when I try to load
> the budget module I get:
>
> budget: disagrees about version of symbol saa7146_unregister_extension
> budget: Unknown symbol saa7146_unregister_extension
> budget: disagrees about version of symbol s5h1420_attach
> budget: Unknown symbol s5h1420_attach

This almost always means you have an old module loaded.  In the first case
the budget.ko module is complaining about a symbol from the saa7146.ko
module.  One of them is probably a leftover module from a previous compile.

If you want to compile the v4l-dvb source for a new kernel, you must do a
make distclean in the v4l-dvb directory.  Just make or even make clean will
not reset it, and it will continue to use your old kernel.

To see if you are loading the right modules, try these commands:

find /lib/modules/`uname -r`/kernel -name budget.ko* -ls
find /lib/modules/`uname -r`/kernel -name saa7146.ko* -ls

Look at the dates in the files.  They should be within a minute of each
other.

Then check your v4l-dvb source tree, in the v4l directory, for those two
.ko files.  Make sure they were both created at the same time.

> I am on the right track doing a 'make release
> DIR=~/path/to/kernel/source/' and 'make kernel-links' from within my
> v4l-dvb directory?  I'm assuming I can then do my 'make menuconfig' as
> normal from within the kernel source tree?

You can do a make menuconfig from the v4l-dvb directory without putting it
inside the kernel.  It will let you configure just the v4l-dvb stuff using
the kernel menuconfig (or xconfig, etc.) programs.



More information about the linux-dvb mailing list