On Thu, Nov 02, 2006 at 06:11:24PM +0100, Oliver Endriss wrote: > There is something wrong with your dvb-core module. > Afaiks the patches do not affect dvb-core in any way. > > Please verify that you are loading the correct module and > there is no warning during compilation. I do this : hg pull -u http://linuxtv.org/hg/~endriss/v4l-dvb-av7110-refactoring patch -p1 -l < 2.6.19.diff patch -p1 < saa7146_IER_inline.diff cd v4l make distclean make xconfig in xconfig loaded config-2.6.19-rc4-mm1 save as .config make scripts/make_makefile.pl ./scripts/make_myconfig.pl creating symbolic links... ln -sf . oss make -C /lib/modules/2.6.19-rc4-mm1/build SUBDIRS=/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l modules make[1]: Entering directory `/usr/src/linux-2.6.19-rc4-mm1' CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvbdev.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dmxdev.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_demux.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_filter.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_ca_en50221.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_frontend.o /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_frontend.c: In function 'dvb_frontend_thread': /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_frontend.c:545: warning: implicit declaration of function 'try_to_freeze' CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_net.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_ringbuffer.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb_math.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_hw.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_v4l.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_av.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_ca.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_ipack.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/av7110_ir.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146_i2c.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146_core.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146_fops.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146_video.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146_hlp.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146_vbi.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146_vv.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/videodev.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/v4l2-common.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/compat_ioctl32.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/v4l1-compat.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/video-buf.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-core.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-pll.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/stv0299.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/sp8870.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/tda8083.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/l64781.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/ves1820.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/ves1x93.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/tda1004x.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/stv0297.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/lnbp21.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/budget-core.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/budget-ci.o CC [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/ttpci-eeprom.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-ttpci.o Building modules, stage 2. MODPOST 22 modules WARNING: "try_to_freeze" [/usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-core.ko] undefined! CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/budget-ci.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/budget-ci.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/budget-core.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/budget-core.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/compat_ioctl32.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/compat_ioctl32.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-core.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-core.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-pll.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-pll.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-ttpci.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/dvb-ttpci.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/l64781.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/l64781.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/lnbp21.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/lnbp21.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146_vv.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/saa7146_vv.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/sp8870.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/sp8870.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/stv0297.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/stv0297.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/stv0299.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/stv0299.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/tda1004x.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/tda1004x.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/tda8083.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/tda8083.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/ttpci-eeprom.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/ttpci-eeprom.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/v4l1-compat.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/v4l1-compat.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/v4l2-common.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/v4l2-common.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/ves1820.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/ves1820.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/ves1x93.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/ves1x93.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/video-buf.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/video-buf.ko CC /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/videodev.mod.o LD [M] /usr/src/CVS/v4l-dvb-av7110-refactoring/v4l/videodev.ko make[1]: Leaving directory `/usr/src/linux-2.6.19-rc4-mm1' ./scripts/rmmod.pl check found 22 modules sudo make install Stripping debug info from files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/dvb-usb files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/ttpci files: dvb-ttpci.ko ttpci-eeprom.ko budget-core.ko budget-ci.ko Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/video/et61x251 files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/video/cpia2 files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/cinergyT2 files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/b2c2 files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/frontends files: tda1004x.ko sp8870.ko l64781.ko ves1x93.ko tda8083.ko ves1820.ko stv0297.ko stv0299.ko dvb-pll.ko lnbp21.ko Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/video/bt8xx files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/video/cx88 files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/pluto2 files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/video/usbvideo files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/video/sn9c102 files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/dvb-core files: dvb-core.ko Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/video files: video-buf.ko videodev.ko v4l2-common.ko v4l1-compat.ko compat_ioctl32.ko Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/common files: saa7146_vv.ko saa7146.ko Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/video/em28xx files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/video/pvrusb2 files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/radio files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/bt8xx files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/video/cx25840 files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/ttusb-dec files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/dvb/ttusb-budget files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/video/pwc files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/video/ovcamchip files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/video/saa7134 files: Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/video/zc0301 files: /sbin/depmod -a 2.6.19-rc4-mm1 Installing /lib/modules/2.6.19-rc4-mm1/kernel/drivers/media/video/ivtv files: /sbin/depmod -a 2.6.19-rc4-mm1 And then the errors messages I wrote before when I try to start the modules with : /etc/init.d/dvb start -- Grégoire FAVRE http://gregoire.favre.googlepages.com http://www.gnupg.org
diff -r 7b945ba585c3 v4l/Makefile --- a/v4l/Makefile Tue Oct 31 18:33:29 2006 +++ b/v4l/Makefile Tue Oct 31 14:53:06 2006 @@ -237,7 +237,6 @@ @perl \ -e 'print "#ifndef __CONFIG_COMPAT_H__\n";' \ -e 'print "#define __CONFIG_COMPAT_H__\n\n";' \ - -e 'print "#include <linux/config.h>\n\n";' \ -e 'while(<>) {' \ -e ' next unless /^(\S+)\s*:= (\S+)$$/;' \ -e ' print "#undef $$1\n";' \ diff -r 7b945ba585c3 v4l/compat.h --- a/v4l/compat.h Tue Oct 31 18:33:29 2006 +++ b/v4l/compat.h Tue Oct 31 14:53:06 2006 @@ -311,7 +311,7 @@ } #endif -#ifndef PCIAGP_FAIL +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) #define PCIAGP_FAIL 0 #endif
# # Automatically generated make config: don't edit # Linux kernel version: # Thu Nov 2 08:25:40 2006 # # CONFIG_SONYPI is not set CONFIG_USB=y CONFIG_PARPORT=m CONFIG_FW_LOADER=m # CONFIG_SPARC64 is not set # CONFIG_PPC64 is not set # CONFIG_PLAT_M32700UT is not set CONFIG_NET=y # CONFIG_SOUND_PRIME is not set CONFIG_SND_AC97_CODEC=m # CONFIG_SGI_IP22 is not set CONFIG_I2C=m # CONFIG_STANDALONE is not set CONFIG_SND_MPU401_UART=m CONFIG_SND=y # CONFIG_BROKEN is not set CONFIG_MODULES=y # CONFIG_SND_OPL3_LIB is not set # CONFIG_PPC_PMAC is not set CONFIG_PROC_FS=y # CONFIG_SPARC32 is not set CONFIG_I2C_ALGOBIT=m CONFIG_INET=y # CONFIG_SOUND_OSS is not set CONFIG_CRC32=m CONFIG_SYSFS=y # CONFIG_ISA is not set CONFIG_PCI=y CONFIG_SND_PCM=y # CONFIG_PARPORT_1284 is not set CONFIG_EXPERIMENTAL=y # CONFIG_M32R is not set # CONFIG_I2C_ALGO_SGI is not set CONFIG_VIDEO_KERNEL_VERSION=y # # Multimedia devices # CONFIG_VIDEO_DEV=m CONFIG_VIDEO_V4L1=y CONFIG_VIDEO_V4L1_COMPAT=y CONFIG_VIDEO_V4L2=y # # Video Capture Adapters # # # Video Capture Adapters # # CONFIG_VIDEO_ADV_DEBUG is not set CONFIG_VIDEO_HELPER_CHIPS_AUTO=y # CONFIG_VIDEO_VIVI is not set # CONFIG_VIDEO_BT848 is not set # CONFIG_VIDEO_BWQCAM is not set # CONFIG_VIDEO_CQCAM is not set # CONFIG_VIDEO_CPIA is not set # CONFIG_VIDEO_CPIA2 is not set # CONFIG_VIDEO_SAA5246A is not set # CONFIG_VIDEO_SAA5249 is not set # CONFIG_TUNER_3036 is not set # CONFIG_VIDEO_STRADIS is not set # CONFIG_VIDEO_ZORAN is not set # CONFIG_VIDEO_SAA7134 is not set # CONFIG_VIDEO_MXB is not set # CONFIG_VIDEO_DPC is not set # CONFIG_VIDEO_HEXIUM_ORION is not set # CONFIG_VIDEO_HEXIUM_GEMINI is not set # CONFIG_VIDEO_CX88 is not set # # V4L USB devices # # CONFIG_VIDEO_PVRUSB2 is not set # CONFIG_VIDEO_EM28XX is not set # CONFIG_USB_VICAM is not set # CONFIG_USB_IBMCAM is not set # CONFIG_USB_KONICAWC is not set # CONFIG_USB_QUICKCAM_MESSENGER is not set # CONFIG_USB_ET61X251 is not set # CONFIG_VIDEO_OVCAMCHIP is not set # CONFIG_USB_W9968CF is not set # CONFIG_USB_OV511 is not set # CONFIG_USB_SE401 is not set # CONFIG_USB_SN9C102 is not set # CONFIG_USB_STV680 is not set # CONFIG_USB_ZC0301 is not set # CONFIG_USB_PWC is not set # # Radio Adapters # # CONFIG_RADIO_GEMTEK_PCI is not set # CONFIG_RADIO_MAXIRADIO is not set # CONFIG_RADIO_MAESTRO is not set # CONFIG_USB_DSBR is not set # # Digital Video Broadcasting Devices # CONFIG_DVB=y CONFIG_DVB_CORE=m # CONFIG_DVB_CORE_ATTACH is not set # # Supported SAA7146 based PCI Adapters # CONFIG_DVB_AV7110=m # CONFIG_DVB_AV7110_FIRMWARE is not set # CONFIG_DVB_AV7110_OSD is not set # CONFIG_DVB_BUDGET is not set CONFIG_DVB_BUDGET_CI=m # CONFIG_DVB_BUDGET_AV is not set # # Supported USB Adapters # # CONFIG_DVB_USB is not set # CONFIG_DVB_TTUSB_BUDGET is not set # CONFIG_DVB_TTUSB_DEC is not set # CONFIG_DVB_CINERGYT2 is not set # # Supported FlexCopII (B2C2) Adapters # # CONFIG_DVB_B2C2_FLEXCOP is not set # # Supported BT878 Adapters # # # Supported Pluto2 Adapters # # CONFIG_DVB_PLUTO2 is not set # # Supported DVB Frontends # # # Customise DVB Frontends # # CONFIG_DVB_FE_CUSTOMISE is not set # # DVB-S (satellite) frontends # CONFIG_DVB_STV0299=m # CONFIG_DVB_CX24110 is not set # CONFIG_DVB_CX24123 is not set CONFIG_DVB_TDA8083=m # CONFIG_DVB_MT312 is not set CONFIG_DVB_VES1X93=m # CONFIG_DVB_S5H1420 is not set # CONFIG_DVB_TDA10086 is not set # # DVB-T (terrestrial) frontends # CONFIG_DVB_SP8870=m # CONFIG_DVB_SP887X is not set # CONFIG_DVB_CX22700 is not set # CONFIG_DVB_CX22702 is not set CONFIG_DVB_L64781=m CONFIG_DVB_TDA1004X=m # CONFIG_DVB_NXT6000 is not set # CONFIG_DVB_MT352 is not set # CONFIG_DVB_ZL10353 is not set # CONFIG_DVB_DIB3000MB is not set # CONFIG_DVB_DIB3000MC is not set # CONFIG_DVB_DIB7000M is not set # CONFIG_DVB_DIB7000P is not set # # DVB-C (cable) frontends # CONFIG_DVB_VES1820=m # CONFIG_DVB_TDA10021 is not set CONFIG_DVB_STV0297=m # # ATSC (North American/Korean Terrestrial/Cable DTV) frontends # # CONFIG_DVB_NXT200X is not set # CONFIG_DVB_OR51211 is not set # CONFIG_DVB_OR51132 is not set # CONFIG_DVB_BCM3510 is not set # CONFIG_DVB_LGDT330X is not set # # Tuners/PLL support # CONFIG_DVB_PLL=m # CONFIG_DVB_TDA826X is not set # CONFIG_DVB_TUNER_MT2060 is not set # # Miscellaneous devices # CONFIG_DVB_LNBP21=m # CONFIG_DVB_ISL6421 is not set # CONFIG_DVB_TUA6100 is not set CONFIG_VIDEO_SAA7146=m CONFIG_VIDEO_SAA7146_VV=m CONFIG_VIDEO_VIDEOBUF=m CONFIG_VIDEO_BUF=m # CONFIG_USB_DABUSB is not set # # Audio devices for multimedia # # # ALSA sound # # CONFIG_SND_BT87X is not set # # OSS sound #
#!/sbin/runscript # removed budget : modprobe budget_ci # rmmod budget : rmmod budget_ci budget_core tda1004x dvb_ttpci saa7146_vv stv0299 ves1820 tda8083 sp8870 ves1x93 dvb_core video_buf saa7146 ttpci_eeprom l64781 stv0297 v4l1_compat v4l2_common videodev start() { ebegin "dvb up" modprobe dvb-core modprobe ves1x93 modprobe saa7146 modprobe saa7146_vv modprobe ttpci-eeprom modprobe dvb-ttpci modprobe budget_ci eend $? "dvb up failed" } stop() { ebegin "dvb down" rmmod budget_ci budget_core tda1004x dvb_ttpci saa7146_vv stv0299 ves1820 tda8083 sp8870 ves1x93 dvb_core video_buf saa7146 ttpci_eeprom l64781 stv0297 v4l1_compat v4l2_common videodev 2> /dev/null echo Hope... eend $? "dvb down failed" }
_______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb