[mythtv-users] Slightly OT - re-building an atrpms package

Ken Smith kens at kensnet.org
Tue Jul 27 16:23:49 UTC 2010


Ken Smith wrote:
>
>
> Jarod Wilson wrote:
>> On Fri, Jul 23, 2010 at 7:10 PM, Jarod Wilson <jarod at wilsonet.com> 
>> wrote:
>>> On Fri, Jul 23, 2010 at 5:07 PM, Ken Smith <kens at kensnet.org> wrote:
>>>> Hi, Slightly off topic, but I wonder if someone here can advise me. 
>>>> I need to build a ivtv rpm for
>>>> kernel-2.6.18-194.8.1.el5.centos.plus as its not on atrpms (yet) 
>>>> When I run the rpm build I get
>>>>
>>>> error: line 3: Unknown tag: %kmdl ivtv
>>>>
>>>> I have brewed up a few rpm's previously but I'm by no means an 
>>>> expert. So I'd appreciate some advice.
>>> {snip}
>>
>>
>
> Thanks Jarod, The helper package worked and I have put the packages I 
> built here -> www.kensnet.org/atrpms
>
> I tried using the earlier ivtv.ko but I got some symbol fails. 
> Interestingly I copied the earlier nVidia driver file in the same way 
> and it worked fine.
>
> Before I got the rpmbuild working I tried a make / make install of the 
> ivtv tar.gz that was in the source rpm. It seemed to work and I could 
> cat /dev/video0 and get a reasonable .mpg file, but myth wasn't 
> interested in working the pvr350. But after I got the v4l rpm built 
> and installed myth was happy. Maybe I should have moved some other v4l 
> bits over from the previous kernel
> and it might have worked.
>
> Thanks
>
> Ken
>
I spoke too soon - The system I'm working with is intended to have a 
PVR350 (ivtv) and a pair of Nova-T's DVB (cx88) and hopefully at some 
future date a DVB-S card.

I'm on kernel  2.6.18-194.8.1.el5.centos.plus, which includes the cx88 
driver. The previous kernel,  2.6.18-194.3.1.el5.centos.plus, 
accidentally had the cx88 driver missing.

If I load the ivtv driver rpm that I built, based on atrpm's sources, 
for 2.6.18-194.8.1.el5.centos.plus and then load the video4linux rpm I 
built the video4linux one de-installs the ivtv one in the process of 
installing but I get the PVR 350 working in Myth

But....

I'm transitioning from 'soon' to be de-comissioned FC6 myth system. I 
swapped the Nova-T's (which had worked before) into the new box 
alongside the pvr350 and found that if I try to load the cx88 driver I get

  modprobe -vv cx88-dvb
insmod 
/lib/modules/2.6.18-194.8.1.el5.centos.plus/updates/drivers/media/video/videobuf-core.ko
WARNING: Error inserting videobuf_core 
(/lib/modules/2.6.18-194.8.1.el5.centos.plus/updates/drivers/media/video/videobuf-core.ko): 
Invalid module format
WARNING: Error inserting video_buf 
(/lib/modules/2.6.18-194.8.1.el5.centos.plus/kernel/drivers/media/video/video-buf.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting videobuf_dma_sg 
(/lib/modules/2.6.18-194.8.1.el5.centos.plus/updates/drivers/media/video/videobuf-dma-sg.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting ir_core 
(/lib/modules/2.6.18-194.8.1.el5.centos.plus/updates/drivers/media/IR/ir-core.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting tveeprom 
(/lib/modules/2.6.18-194.8.1.el5.centos.plus/updates/drivers/media/video/tveeprom.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting btcx_risc 
(/lib/modules/2.6.18-194.8.1.el5.centos.plus/updates/drivers/media/video/btcx-risc.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting i2c_algo_bit 
(/lib/modules/2.6.18-194.8.1.el5.centos.plus/kernel/drivers/i2c/algos/i2c-algo-bit.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting ir_common 
(/lib/modules/2.6.18-194.8.1.el5.centos.plus/updates/drivers/media/IR/ir-common.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting v4l2_compat_ioctl32 
(/lib/modules/2.6.18-194.8.1.el5.centos.plus/updates/drivers/media/video/v4l2-compat-ioctl32.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting v4l1_compat 
(/lib/modules/2.6.18-194.8.1.el5.centos.plus/updates/drivers/media/video/v4l1-compat.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting videodev 
(/lib/modules/2.6.18-194.8.1.el5.centos.plus/updates/drivers/media/video/videodev.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting v4l2_common 
(/lib/modules/2.6.18-194.8.1.el5.centos.plus/updates/drivers/media/video/v4l2-common.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting cx88xx 
(/lib/modules/2.6.18-194.8.1.el5.centos.plus/updates/drivers/media/video/cx88/cx88xx.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting videobuf_dvb 
(/lib/modules/2.6.18-194.8.1.el5.centos.plus/updates/drivers/media/video/videobuf-dvb.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting cx8802 
(/lib/modules/2.6.18-194.8.1.el5.centos.plus/updates/drivers/media/video/cx88/cx8802.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting cx88_vp3054_i2c 
(/lib/modules/2.6.18-194.8.1.el5.centos.plus/updates/drivers/media/video/cx88/cx88-vp3054-i2c.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting cx88_dvb 
(/lib/modules/2.6.18-194.8.1.el5.centos.plus/updates/drivers/media/video/cx88/cx88-dvb.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)

If I remove the video4linux rpm and replace it with just the ivtv one 
the cx88's work again but I get the same behaviour as I got from the 
pvr350 when I simply compiled up the two ivtv.ko modules from the ivtv 
driver tar.gz package. Ie: Myth isn't interested in working it.

I notice that most of the complaints above are about new modules that 
come from the video4linux rpm. In my researching the error I saw some 
comments about compiler differences. gcc on this box is 
gcc-4.1.2-48.el5. And uname -a says "Linux  
2.6.18-194.8.1.el5.centos.plus #1 SMP Wed Jul 7 11:45:38 EDT 2010 x86_64 
x86_64 x86_64 GNU/Linux"

I know this is a kludge, but what bits of the video4linux package are 
really needed to get the pvr350 working in Myth. Could I strip out 
what's not required?

Any ideas for unravelling/progressing this further.

Thanks

Ken

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the mythtv-users mailing list