Hello Michael, Many thanks for your detailed informations. I�m using dvb-kernel with 2.4.20 here, and I don�t have any problem (with one �full� DVB-S card.); but friends with 2.4.18 had, so I tried to find out the reason.
>... >"dvb-kernel" is already in 2.6-testX, so "DVB" will be frozen at some >point in the future. It can be used for old, stable 2.4.x installations >and only really major bugs will be fixed. "dvb-kernel" cannot be >stopped... ;-) > My point was: Let�s fix the dvb-kernel branch, to get more people test dvb-kernel. Perhaps, even Klaus might use dvb-kernel one day, if this shouldn�t break the driver for his many VDR users ;-) > ... I�ll attach my logs for 2.4.18 and 2.4.19: I suppose the needed changes will be trivial for you. Let�s hope so ;-) One idea is that Knoppix/Debian isn�t installing the right files in /usr/include/linux, but I haven�t checked this yet. Wolfgang
Linux home 2.4.18 #1 Di Sep 9 17:33:15 CEST 2003 i686 GNU/Linux make -C /lib/modules/2.4.18/build CC="gcc -I/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4/include" SUBDIRS=/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4 modules make[1]: Entering directory `/mnt/hdb8/Kernel/2.4/linux-2.4.18' make -C /mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4 CFLAGS="-D__KERNEL__ -I/mnt/hdb8/Kernel/2.4/linux-2.4.18/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE" MAKING_MODULES=1 modules make[2]: Entering directory `/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4' gcc -I/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4/include -D__KERNEL__ -I/mnt/hdb8/Kernel/2.4/linux-2.4.18/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -MD -I ../linux/include -I . -DCONFIG_DVB_AV7110_OSD -DKBUILD_BASENAME=video_buf -DEXPORT_SYMTAB -c video-buf.c video-buf.c: In function `videobuf_vmalloc_to_sg': video-buf.c:58: warning: implicit declaration of function `vmalloc_to_page' video-buf.c:58: warning: assignment makes pointer from integer without a cast video-buf.c: In function `videobuf_next_field': video-buf.c:485: warning: implicit declaration of function `BUG_ON' video-buf.c: In function `videobuf_querybuf': video-buf.c:587: warning: implicit declaration of function `unlikely' gcc -I/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4/include -D__KERNEL__ -I/mnt/hdb8/Kernel/2.4/linux-2.4.18/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -MD -I ../linux/include -I . -DCONFIG_DVB_AV7110_OSD -DKBUILD_BASENAME=v4l2_common -DEXPORT_SYMTAB -c v4l2-common.c gcc -I/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4/include -D__KERNEL__ -I/mnt/hdb8/Kernel/2.4/linux-2.4.18/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -MD -I ../linux/include -I . -DCONFIG_DVB_AV7110_OSD -DKBUILD_BASENAME=v4l1_compat -DEXPORT_SYMTAB -c v4l1-compat.c gcc -I/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4/include -D__KERNEL__ -I/mnt/hdb8/Kernel/2.4/linux-2.4.18/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -MD -I ../linux/include -I . -DCONFIG_DVB_AV7110_OSD -DKBUILD_BASENAME=saa7146_core -DEXPORT_SYMTAB -c saa7146_core.c saa7146_core.c: In function `saa7146_pgtable_build_single': saa7146_core.c:149: warning: implicit declaration of function `__builtin_expect' gcc -I/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4/include -D__KERNEL__ -I/mnt/hdb8/Kernel/2.4/linux-2.4.18/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -MD -I ../linux/include -I . -DCONFIG_DVB_AV7110_OSD -DKBUILD_BASENAME=saa7146_i2c -c -o saa7146_i2c.o saa7146_i2c.c ld -m elf_i386 -r -o saa7146.o saa7146_core.o saa7146_i2c.o gcc -I/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4/include -D__KERNEL__ -I/mnt/hdb8/Kernel/2.4/linux-2.4.18/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -MD -I ../linux/include -I . -DCONFIG_DVB_AV7110_OSD -DKBUILD_BASENAME=saa7146_fops -c -o saa7146_fops.o saa7146_fops.c gcc -I/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4/include -D__KERNEL__ -I/mnt/hdb8/Kernel/2.4/linux-2.4.18/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -MD -I ../linux/include -I . -DCONFIG_DVB_AV7110_OSD -DKBUILD_BASENAME=saa7146_video -c -o saa7146_video.o saa7146_video.c gcc -I/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4/include -D__KERNEL__ -I/mnt/hdb8/Kernel/2.4/linux-2.4.18/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -MD -I ../linux/include -I . -DCONFIG_DVB_AV7110_OSD -DKBUILD_BASENAME=saa7146_hlp -c -o saa7146_hlp.o saa7146_hlp.c saa7146_hlp.c: In function `calculate_video_dma_grab_planar': saa7146_hlp.c:874: warning: implicit declaration of function `__builtin_expect' ... [All fine until:] gcc -I/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4/include -D__KERNEL__ -I/mnt/hdb8/Kernel/2.4/linux-2.4.18/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -MD -I ../linux/include -I . -DCONFIG_DVB_AV7110_OSD -DKBUILD_BASENAME=dvb_ttusb_budget -c -o dvb-ttusb-budget.o dvb-ttusb-budget.c dvb-ttusb-budget.c: In function `ttusb_iso_irq': dvb-ttusb-budget.c:782: warning: assignment from incompatible pointer type dvb-ttusb-budget.c:783: dereferencing pointer to incomplete type dvb-ttusb-budget.c:784: dereferencing pointer to incomplete type dvb-ttusb-budget.c:785: dereferencing pointer to incomplete type dvb-ttusb-budget.c:786: dereferencing pointer to incomplete type dvb-ttusb-budget.c:766: warning: `data' might be used uninitialized in this function dvb-ttusb-budget.c:767: warning: `len' might be used uninitialized in this function make[2]: *** [dvb-ttusb-budget.o] Fehler 1 make[2]: Leaving directory `/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4' make[1]: *** [_mod_/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4] Fehler 2 make[1]: Leaving directory `/mnt/hdb8/Kernel/2.4/linux-2.4.18' make: *** [build] Fehler 2 Inserting av7110 modules into kernel ./video-buf.o: unresolved symbol unlikely ./video-buf.o: unresolved symbol BUG_ON ./video-buf.o: unresolved symbol get_user_pages ./video-buf.o: unresolved symbol vmalloc_to_page ./saa7146.o: unresolved symbol __builtin_expect ./saa7146_vv.o: unresolved symbol saa7146_pgtable_build_single ./saa7146_vv.o: unresolved symbol videobuf_queue_cancel ./saa7146_vv.o: unresolved symbol videobuf_streamon ./saa7146_vv.o: unresolved symbol videobuf_iolock ./saa7146_vv.o: unresolved symbol videobuf_querybuf ./saa7146_vv.o: unresolved symbol videobuf_dqbuf ./saa7146_vv.o: unresolved symbol videobuf_mmap_setup ./saa7146_vv.o: unresolved symbol videobuf_queue_init ./saa7146_vv.o: unresolved symbol videobuf_poll_stream ./saa7146_vv.o: unresolved symbol saa7146_devices_lock ./saa7146_vv.o: unresolved symbol videobuf_waiton ./saa7146_vv.o: unresolved symbol saa7146_pgtable_free ./saa7146_vv.o: unresolved symbol video_usercopy ./saa7146_vv.o: unresolved symbol videobuf_dma_pci_unmap ./saa7146_vv.o: unresolved symbol videobuf_reqbufs ./saa7146_vv.o: unresolved symbol videobuf_read_one ./saa7146_vv.o: unresolved symbol videobuf_dma_free ./saa7146_vv.o: unresolved symbol saa7146_devices ./saa7146_vv.o: unresolved symbol videobuf_mmap_mapper ./saa7146_vv.o: unresolved symbol __builtin_expect ./saa7146_vv.o: unresolved symbol saa7146_debug ./saa7146_vv.o: unresolved symbol videobuf_qbuf ./saa7146_vv.o: unresolved symbol saa7146_pgtable_alloc ./saa7146_vv.o: unresolved symbol videobuf_read_stream ./saa7146_vv.o: unresolved symbol videobuf_streamoff [The rest will be errors because saa7146.o/saa7146_vv.o failed:] ./dvb-ttpci.o: unresolved symbol saa7146_setgpio ./dvb-ttpci.o: unresolved symbol saa7146_start_preview ./dvb-ttpci.o: unresolved symbol saa7146_register_extension ./dvb-ttpci.o: unresolved symbol saa7146_set_hps_source_and_sync ./dvb-ttpci.o: unresolved symbol saa7146_register_device ./dvb-ttpci.o: unresolved symbol saa7146_vv_init ./dvb-ttpci.o: unresolved symbol saa7146_i2c_adapter_prepare ./dvb-ttpci.o: unresolved symbol saa7146_i2c_transfer ./dvb-ttpci.o: unresolved symbol saa7146_stop_preview ./dvb-ttpci.o: unresolved symbol saa7146_unregister_device ./dvb-ttpci.o: unresolved symbol saa7146_vv_release ./dvb-ttpci.o: unresolved symbol saa7146_unregister_extension ./dvb-ttpci-budget.o: unresolved symbol saa7146_setgpio ./dvb-ttpci-budget.o: unresolved symbol saa7146_register_extension ./dvb-ttpci-budget.o: unresolved symbol saa7146_pgtable_free ./dvb-ttpci-budget.o: unresolved symbol saa7146_i2c_adapter_prepare ./dvb-ttpci-budget.o: unresolved symbol saa7146_i2c_transfer ./dvb-ttpci-budget.o: unresolved symbol saa7146_unregister_extension ./dvb-ttpci-budget.o: unresolved symbol saa7146_debug ./dvb-ttpci-budget.o: unresolved symbol saa7146_vmalloc_build_pgtable ./dvb-ttpci-budget-ci.o: unresolved symbol saa7146_setgpio ./dvb-ttpci-budget-ci.o: unresolved symbol saa7146_register_extension ./dvb-ttpci-budget-ci.o: unresolved symbol saa7146_pgtable_free ./dvb-ttpci-budget-ci.o: unresolved symbol saa7146_i2c_adapter_prepare ./dvb-ttpci-budget-ci.o: unresolved symbol saa7146_i2c_transfer ./dvb-ttpci-budget-ci.o: unresolved symbol saa7146_unregister_extension ./dvb-ttpci-budget-ci.o: unresolved symbol saa7146_debug ./dvb-ttpci-budget-ci.o: unresolved symbol saa7146_vmalloc_build_pgtable ./dvb-ttpci-budget-av.o: unresolved symbol saa7146_setgpio ./dvb-ttpci-budget-av.o: unresolved symbol saa7146_register_extension ./dvb-ttpci-budget-av.o: unresolved symbol saa7146_set_hps_source_and_sync ./dvb-ttpci-budget-av.o: unresolved symbol saa7146_register_device ./dvb-ttpci-budget-av.o: unresolved symbol saa7146_vv_init ./dvb-ttpci-budget-av.o: unresolved symbol saa7146_pgtable_free ./dvb-ttpci-budget-av.o: unresolved symbol saa7146_i2c_adapter_prepare ./dvb-ttpci-budget-av.o: unresolved symbol saa7146_i2c_transfer ./dvb-ttpci-budget-av.o: unresolved symbol saa7146_unregister_device ./dvb-ttpci-budget-av.o: unresolved symbol saa7146_unregister_extension ./dvb-ttpci-budget-av.o: unresolved symbol saa7146_debug ./dvb-ttpci-budget-av.o: unresolved symbol saa7146_vmalloc_build_pgtable insmod: ./dvb-ttusb-budget.o: No such file or directory
Linux home 2.4.19 #2 Mi Sep 10 20:55:30 CEST 2003 i686 GNU/Linux make -C /lib/modules/2.4.19/build CC="gcc -I/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4/include" SUBDIRS=/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4 modules make[1]: Entering directory `/mnt/hdb8/Kernel/2.4/linux-2.4.19' make -C /mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4 CFLAGS="-D__KERNEL__ -I/mnt/hdb8/Kernel/2.4/linux-2.4.19/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE" MAKING_MODULES=1 modules make[2]: Entering directory `/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4' gcc -I/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4/include -D__KERNEL__ -I/mnt/hdb8/Kernel/2.4/linux-2.4.19/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -MD -I ../linux/include -I . -DCONFIG_DVB_AV7110_OSD -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=video_buf -DEXPORT_SYMTAB -c video-buf.c ... [All fine until:] gcc -I/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4/include -D__KERNEL__ -I/mnt/hdb8/Kernel/2.4/linux-2.4.19/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -MD -I ../linux/include -I . -DCONFIG_DVB_AV7110_OSD -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=dvb_ttusb_budget -c -o dvb-ttusb-budget.o dvb-ttusb-budget.c dvb-ttusb-budget.c: In function `ttusb_iso_irq': dvb-ttusb-budget.c:782: warning: assignment from incompatible pointer type dvb-ttusb-budget.c:783: dereferencing pointer to incomplete type dvb-ttusb-budget.c:784: dereferencing pointer to incomplete type dvb-ttusb-budget.c:785: dereferencing pointer to incomplete type dvb-ttusb-budget.c:786: dereferencing pointer to incomplete type dvb-ttusb-budget.c:766: warning: `data' might be used uninitialized in this function dvb-ttusb-budget.c:767: warning: `len' might be used uninitialized in this function make[2]: *** [dvb-ttusb-budget.o] Fehler 1 make[2]: Leaving directory `/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4' make[1]: *** [_mod_/mnt/hdb8/home/wthiel/Src/DVB/dvb-kernel/build-2.4] Fehler 2 make[1]: Leaving directory `/mnt/hdb8/Kernel/2.4/linux-2.4.19' make: *** [build] Fehler 2
