<br><div><span class="gmail_quote">On 1/25/07, <b class="gmail_sendername">Matteo Brancaleoni</b> <<a href="mailto:mbrancaleoni@espia.it">mbrancaleoni@espia.it</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>On Thu, 2007-01-25 at 08:03 +0100, Stefan van der Eijk wrote:<br>> Hi,<br>><br>> I'm experiencing an issue with my x86_64 machine containing a<br>> Hauppauge PVR-500 (ivtv) and a Digium TDM400p (wctdm, part of zaptel)
<br>> PCI cards. Independently of each other both cards work fine, but once<br>> the wctdm driver is loaded and mythtv tries to record something on the<br>> PVR-500 the wctdm driver freaks out. The error message is see is "TDM
<br>> PCI Master abort" printed over and over again in the syslog.<br><br>PVR cards are greedy about irq resources. They need a dedicated irq<br>and normally the irq is held for much time.</blockquote><div><br>Interesting, since the TDM card has the dedicated interrupt, and of the ivtv's is sharing an interrupt.
<br><br><span style="font-family: courier new,monospace;"># cat /proc/interrupts</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CPU0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 0: 137171395 IO-APIC-edge timer</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 1: 2259 IO-APIC-edge i8042</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 8: 0 IO-APIC-edge rtc</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 9: 0 IO-APIC-fasteoi acpi</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 12: 4 IO-APIC-edge i8042</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 14: 63 IO-APIC-edge ide0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 15: 1272924 IO-APIC-edge ide1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 16: 143614215 IO-APIC-fasteoi wctdm</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 17: 336936 IO-APIC-fasteoi ivtv0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 18: 13382861 IO-APIC-fasteoi radeon@pci:0000:06:00.0, ivtv1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 19: 125 IO-APIC-fasteoi ohci1394</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 20: 196998 IO-APIC-fasteoi NVidia CK804</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 21: 37615 IO-APIC-fasteoi ehci_hcd:usb2</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 22: 1 IO-APIC-fasteoi ohci_hcd:usb1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> 23: 18737602 IO-APIC-fasteoi libata, eth1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">283: 2036011 PCI-MSI-edge eth0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">NMI: 4731</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">LOC: 137148173</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ERR: 0</span><br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Is not a card that goes with a TDM one, since TDM cards needs<br>a precise irq timining...
</blockquote><div><br>So, due to the precise timing needs of the TDM card, when the ivtv cards are working, the TDM card doesn't get enough attention and freaks out?<br><br><span style="font-family: courier new,monospace;">
</span></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Imho, you should not run both cards on same box.</blockquote><div><br>Ouch. I'm not happy to hear this :-(
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I had some luck doing that with a DVB-T card... since being<br>digital cards, the amout of data transferred is lower,
<br>so can work with a TDM.<br>But was not a hauppauge card.<br>(I know, also the pvr500 is digital, but you have 2 tuners<br>so double data rate and normally mpeg2 data rate in hw encoders<br>is higher that DVB-T data rate)
</blockquote><div><br>PVR500 has got 2 analog tuners (in my case: PAL).<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">greetings, Matteo
</blockquote><div><br>with kind regards,<br><br>Stefan</div></div>