On Mon, 2008-09-29 at 18:39 -0400, kg4dnc wrote:
> Machine here is evga nforce 780 sli mboaerd intel e8400 cpu 4gig ram
> nvidia 8500 Hauppauge WinTV HVR-1600
> 
> ok compiled new source: make menuconfig, make, make install
> got this:

I never do 'make menuconfig' myself.  As a troubleshooting step, maybe
you could try a 'make distclean' and try again without the make
menuconfig.  The default config seems to work for me.

Also during the 'make' do any modules show errors or warnings when being
built?


> raptor cx18-mmio-fixes-81edee142f9c # make unload
> make -C /usr/src/cx18-mmio-fixes-81edee142f9c/v4l unload
> make[1]: Entering directory `/usr/src/cx18-mmio-fixes-81edee142f9c/v4l'
> scripts/rmmod.pl unload
> found 262 modules
> /sbin/rmmod compat_ioctl32
> /sbin/rmmod cx2341x
> /sbin/rmmod videodev
> /sbin/rmmod v4l2_common
> /sbin/rmmod v4l1_compat
> /sbin/rmmod tveeprom
> make[1]: Leaving directory `/usr/src/cx18-mmio-fixes-81edee142f9c/v4l'

After 'make unload' does lsmod still show the old dvb_core and other vl4
or dvb modules in memory?  From the error messages you give below,
apparently the existing dvb_core module is still in memory and causing
you problems.

Here's what a make unload does on my machine which has the ivtv and cx18
modules loaded for a PVR-150MCE and HVR-1600:

make -C /home/andy/cx18dev/cx18-mmio-fixes/v4l unload
make[1]: Entering directory `/home/andy/cx18dev/cx18-mmio-fixes/v4l'
scripts/rmmod.pl unload
found 266 modules
/sbin/rmmod tuner_types
ERROR: Module tuner_types is in use by tuner_simple
/sbin/rmmod tuner_simple
ERROR: Module tuner_simple is in use
/sbin/rmmod tda9887
ERROR: Module tda9887 is in use
/sbin/rmmod tda8290
/sbin/rmmod cx18
/sbin/rmmod ivtv
/sbin/rmmod compat_ioctl32
/sbin/rmmod tuner
/sbin/rmmod cx25840
/sbin/rmmod cx2341x
/sbin/rmmod videodev
/sbin/rmmod cs5345
/sbin/rmmod tuner_simple
/sbin/rmmod wm8775
/sbin/rmmod s5h1409
/sbin/rmmod tuner_types
/sbin/rmmod v4l2_common
/sbin/rmmod tda8290
ERROR: Module tda8290 does not exist in /proc/modules
/sbin/rmmod tda9887
/sbin/rmmod v4l1_compat
/sbin/rmmod dvb_core
/sbin/rmmod mxl5005s
/sbin/rmmod tveeprom
/sbin/rmmod tuner_types
ERROR: Module tuner_types does not exist in /proc/modules
/sbin/rmmod tuner_simple
ERROR: Module tuner_simple does not exist in /proc/modules
/sbin/rmmod tda9887
ERROR: Module tda9887 does not exist in /proc/modules
/sbin/rmmod tda8290
ERROR: Module tda8290 does not exist in /proc/modules
Couldn't unload: tda8290 tda9887 tuner_simple tuner_types
make[1]: Leaving directory `/home/andy/cx18dev/cx18-mmio-fixes/v4l'




> raptor cx18-mmio-fixes-81edee142f9c # modprobe cx18
> WARNING: Error inserting dvb_core
> (/lib/modules/2.6.25-gentoo-r7/kernel/drivers/media/dvb/dvb-core/dvb-core.ko):
>  Invalid argument

Without the right dvb_core.ko in place in the kernel, the cx18 driver
will fail to load.  I'm not quite sure what modprobe means by "Invalid
argument".


> FATAL: Error inserting cx18
> (/lib/modules/2.6.25-gentoo-r7/kernel/drivers/media/video/cx18/cx18.ko):
> Unknown symbol in module, or unknown parameter (see dmesg)

Obviously bad.


> here is dmesg..
> 
> Linux video capture interface: v2.00
> dvb_core: module is already loaded

It looks like make unload didn't unload the existing, in kernel
dvb_core.ko module


> cx18: disagrees about version of symbol dvb_dmxdev_init
> cx18: Unknown symbol dvb_dmxdev_init
> cx18: disagrees about version of symbol dvb_register_adapter
> cx18: Unknown symbol dvb_register_adapter
> cx18: disagrees about version of symbol dvb_net_init
> cx18: Unknown symbol dvb_net_init
> cx18: disagrees about version of symbol dvb_dmxdev_release
> cx18: Unknown symbol dvb_dmxdev_release
> cx18: disagrees about version of symbol dvb_frontend_detach
> cx18: Unknown symbol dvb_frontend_detach
> cx18: disagrees about version of symbol dvb_net_release
> cx18: Unknown symbol dvb_net_release
> cx18: disagrees about version of symbol dvb_unregister_frontend
> cx18: Unknown symbol dvb_unregister_frontend
> cx18: disagrees about version of symbol dvb_register_frontend
> cx18: Unknown symbol dvb_register_frontend

This really seems like a module version mismatch problem.

The in kernel dvb_core.ko module is not compatable with the newly
compiled cx18.ko module.  This is probably because the in kernel
dvb_core.ko module is not the one you just compiled, but an older one.

As a first step you need to make sure the new dvb_core.ko is being
installed in the proper place for a gentoo distro and is the one being
loaded into memory.

Here are some commands which may help you figure out what versions of
what modules you have installed.

This command will show you where all the dvb-core.ko modules are
installed under /lib/modules:

# find /lib/modules -name dvb-core.ko -print

These will dump the 'vermagic' field for all dvb-core.ko and cx18.ko
modules installed under /lib/modules:

# find /lib/modules -name dvb-core.ko -exec modinfo -F vermagic {} \; -print
# find /lib/modules -name cx18.ko -exec modinfo -F vermagic {} \; -print

This command will show you the version of the cx18 module that will load by 
default:

# modinfo -F vermagic cx18


Hope this helps,
Andy


_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to