I understand about keeping a vanilla system. I don't have access to my USB or I would boot Ubuntu, but I have a package called kernel-headers on fedora that must be loaded to compile extra modules. Does Ubuntu have a package like that and if so, do you have it installed?
In Ubuntu I think it might be linux-headers, at least that is what it is on a Ubuntu 8.x system that I have ready access to. You might verify that you have installed linux-headers using apt-get on Ubuntu. That should be the required headers. On Fri, May 14, 2010 at 10:26 AM, Michal Witkowski <[email protected]> wrote: > I had compilation issues under Ubuntu 10.04 LTS. It just can't find the kernel > headers: > > make INSTALL_MOD_DIR=pvrusb2 -C /lib/modules/2.6.32-22-generic/build > M=/root/pvrusb2-mci-20100425/driver CONFIG_VIDEO_PVRUSB2=m > CONFIG_VIDEO_PVRUSB2_24XXX=y CONFIG_VIDEO_PVRUSB2_SYSFS=y > CONFIG_VIDEO_PVRUSB2_DVB=y CONFIG_VIDEO_PVRUSB2_DEBUGIFC=y > CONFIG_VIDEO_ADV_DEBUG=y modules > make[1]: Entering directory `/usr/src/linux-headers-2.6.32-22-generic' > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-std.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-compat.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-ctrl.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-hdw.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-devattr.o > /root/pvrusb2-mci-20100425/driver/pvrusb2-devattr.c:42:22: error: tda18271.h: > No > such file or directory > /root/pvrusb2-mci-20100425/driver/pvrusb2-devattr.c:43:21: error: tda8290.h: > No > such file or directory > /root/pvrusb2-mci-20100425/driver/pvrusb2-devattr.c:44:26: error: > tuner-simple.h: > No such file or directory > ........ > > However, I have the kernel headers installed. What else do I need? I don't > know > how to force it to have them installed. As for compiling my own kernel, I'd > like > to keep my Mythbuntu as vanilla as possible. > > I installed drivers from v4l mercurial, and tried building the pvrusb2 module > from > Mike's snapshot against it using: > > r...@multibox:/root/pvrusb2-mci-20100425/driver# export V4LDIR=/root/v4l-dvb/ > r...@multibox:/root/pvrusb2-mci-20100425/driver# make > > make INSTALL_MOD_DIR=pvrusb2 -C /lib/modules/2.6.32-22-generic/build > M=/root/pvrusb2-mci-20100425/driver CONFIG_VIDEO_PVRUSB2=m > CONFIG_VIDEO_PVRUSB2_24XXX=y CONFIG_VIDEO_PVRUSB2_SYSFS=y > CONFIG_VIDEO_PVRUSB2_DVB=y CONFIG_VIDEO_PVRUSB2_DEBUGIFC=y > CONFIG_VIDEO_ADV_DEBUG=y modules > make[1]: Entering directory `/usr/src/linux-headers-2.6.32-22-generic' > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-std.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-compat.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-ctrl.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-hdw.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-devattr.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-i2c-track.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-i2c-core.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-i2c-cmd-v4l2.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-i2c-cmd-v4l1.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-audio.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-audio-old.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-i2c-chips-all.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-encoder.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-video-v4l.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-video-ivtv.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-eeprom.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-tuner.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-demod.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-main.o > CC [M] /root/pvrusb2-mci-20100425/driver/pvrusb2-v4l2.o > /root/pvrusb2-mci-20100425/driver/pvrusb2-v4l2.c: In function > ‘pvr2_v4l2_do_ioctl’: > /root/pvrusb2-mci-20100425/driver/pvrusb2-v4l2.c:320: error: incompatible > type for > argument 2 of ‘v4l2_prio_check’ > /root/v4l-dvb//linux/include/media/v4l2-common.h:94: note: expected ‘enum > v4l2_priority’ but argument is of type ‘enum v4l2_priority *’ > /root/pvrusb2-mci-20100425/driver/pvrusb2-v4l2.c: In function > ‘pvr2_v4l2_release’: > /root/pvrusb2-mci-20100425/driver/pvrusb2-v4l2.c:1217: error: incompatible > type > for argument 2 of ‘v4l2_prio_close’ > /root/v4l-dvb//linux/include/media/v4l2-common.h:92: note: expected ‘enum > v4l2_priority’ but argument is of type ‘enum v4l2_priority *’ > > But this fails. Anyone has any idea how to fix this? > > Cheers, > MW > > On Friday 14 May 2010 14:17:13 JE Geiger wrote: >> Did you try to compile the module by itself against the kernel in Ubuntu? >> >> http://www.isely.net/pvrusb2/download.html has the current snapshot of >> the driver. There are fixes in this most recent release that have not >> migrated into the main kernel tree. >> >> I had the same problem with Fedora 13. All these kernel oops were >> fixed by the current driver from isely.net. I am running 2.6.34.rcx. >> >> On Fri, May 14, 2010 at 2:23 AM, Michal Witkowski <[email protected]> wrote: >> > Hello, >> > >> > I've got a really similar problem in Mythbuntu 10.04 LTS when >> > suspending/resuming/unloading the pvrusb2 module. >> > >> > I've already reported it to Ubuntu launchpad: >> > https://bugs.launchpad.net/mythbuntu/+bug/580176 >> > >> > Could you please provide a patch against 2.6.32 which fixes the issue? >> > >> > Best regards, >> > Michal >> >> _______________________________________________ >> pvrusb2 mailing list >> [email protected] >> http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2 > _______________________________________________ > pvrusb2 mailing list > [email protected] > http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2 > _______________________________________________ pvrusb2 mailing list [email protected] http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
