[asterisk-users] issue with ivtv & wctdm zaptel drivers (TDM PCI Master abort)

Stefan van der Eijk stefan at eijk.nu
Thu Jan 25 00:51:12 MST 2007


On 1/25/07, Matteo Brancaleoni <mbrancaleoni at espia.it> wrote:
>
> Hi,
>
> On Thu, 2007-01-25 at 08:03 +0100, Stefan van der Eijk wrote:
> > Hi,
> >
> > I'm experiencing an issue with my x86_64 machine containing a
> > Hauppauge PVR-500 (ivtv) and a Digium TDM400p (wctdm, part of zaptel)
> > PCI cards. Independently of each other both cards work fine, but once
> > the wctdm driver is loaded and mythtv tries to record something on the
> > PVR-500 the wctdm driver freaks out. The error message is see is "TDM
> > PCI Master abort" printed over and over again in the syslog.
>
> PVR cards are greedy about irq resources. They need a dedicated irq
> and normally the irq is held for much time.


Interesting, since the TDM card has the dedicated interrupt, and of the
ivtv's is sharing an interrupt.

# cat /proc/interrupts
           CPU0
  0:  137171395   IO-APIC-edge      timer
  1:       2259   IO-APIC-edge      i8042
  8:          0   IO-APIC-edge      rtc
  9:          0   IO-APIC-fasteoi   acpi
 12:          4   IO-APIC-edge      i8042
 14:         63   IO-APIC-edge      ide0
 15:    1272924   IO-APIC-edge      ide1
 16:  143614215   IO-APIC-fasteoi   wctdm
 17:     336936   IO-APIC-fasteoi   ivtv0
 18:   13382861   IO-APIC-fasteoi   radeon at pci:0000:06:00.0, ivtv1
 19:        125   IO-APIC-fasteoi   ohci1394
 20:     196998   IO-APIC-fasteoi   NVidia CK804
 21:      37615   IO-APIC-fasteoi   ehci_hcd:usb2
 22:          1   IO-APIC-fasteoi   ohci_hcd:usb1
 23:   18737602   IO-APIC-fasteoi   libata, eth1
283:    2036011   PCI-MSI-edge      eth0
NMI:       4731
LOC:  137148173
ERR:          0

Is not a card that goes with a TDM one, since TDM cards needs
> a precise irq timining...


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?

Imho, you should not run both cards on same box.


Ouch. I'm not happy to hear this :-(

I had some luck doing that with a DVB-T card... since being
> digital cards, the amout of data transferred is lower,
> so can work with a TDM.
> But was not a hauppauge card.
> (I know, also the pvr500 is digital, but you have 2 tuners
> so double data rate and normally mpeg2 data rate in hw encoders
> is higher that DVB-T data rate)


PVR500 has got 2 analog tuners (in my case: PAL).

greetings, Matteo


with kind regards,

Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070125/61847328/attachment.htm


More information about the asterisk-users mailing list