Comment 6 for bug 147886

Revision history for this message
Willem P. van Paassen (wp-van-paassen) wrote :

modprobing ivtv-fb still segfaults.

I've already posted about this in http://ubuntuforums.org/showthread.php?t=568074
but will repeat it here as it is not specific to mythbuntu.

I've found this post at ivtv-dev
http://www.ivtvdriver.org/pipermail/...st/004988.html

According to the post on ivtv-devel the wrong ivtv-driver.h file is used when compiling the module. I found the following lines in ivtv/driver/makefile

ivtv-driver.h:
ifeq ($(wildcard $(KDIR)/include/config/kernel.release),)
@KVERNUM=`echo $(KVER) | sed 's/-.*//'`; \
echo "Kernel version number: $$KVERNUM" ; \
if [ "$$KVERNUM" = "2.6.22" -o "$$KVERNUM" = "2.6.22.1" ]; then \
cp -v ivtv-driver1.h ivtv-driver.h; \
else \
cp -v ivtv-driver2.h ivtv-driver.h; \
fi

And here you can see that in case of kernel version 2.6.22, the ivtv-driver1.h is used as ivtv-driver.h. But ivtv-driver1.h differs from the ivtv-driver used in the kernel. ivtv-driver2.h however does not differ from the one used in the kernel and in this case is the one that should be used.

The module is using the wrong header,

cheers
WP
_________________