Hi,<br><br>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.
<br><br>I don't know if this is the ivtv or wctdm drivers fault, but
the issue only shows up between these drivers. Burning a dvd works, usb
devices work, etc.<br><br>I've tried the following:<br><ul><li>Moving the TDM400p to a PCI slot so its not sharing an interrupt with an other device
</li><li>ivtv drivers: 0.9.1 and the 0.10.0<br></li><li>zaptel 1.4.0 (tagged) and the latest from the 1.4 branch (svn: 1952)</li><li>I
don't recall having this error when the machine was still running in
32bit mode (i586 kernel and i586 userland), right now the machine is
running with a x86_64 kernel and x86_64 userland.
<br></li></ul><br>This seems to be the part in <a href="http://svn.digium.com/view/zaptel/tags/1.4.0/wctdm.c" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://svn.digium.com/view/zaptel/tags/1.4.0/wctdm.c
</a> that prints those error messages to the syslog:<br><pre>        if (ints & 0x10) {<br>                /* Stop DMA, wait for watchdog */<br>                printk("TDM PCI Master abort\n");<br>                wctdm_stop_dma(wc);</pre><br>And this is what I'm seeing in syslog:
<br><br>Jan 24 20:04:06 taz kernel: ivtv0 irq: ENC START CAP 0: 0016d6c0 00004000
<br>Jan 24 20:04:06 taz kernel: ivtv0 dma: DMA encoder MPEG: 0x00004000 bytes at 0x0016d6c0<br>Jan 24 20:04:06 taz kernel: ivtv0 dma: start DMA for encoder MPEG<br>Jan 24 20:04:06 taz kernel: ivtv0 irq: ENC DMA COMPLETE 3 0
<br>Jan 24 20:04:06 taz kernel: ivtv0 dma: DMA encoder MPEG completed (16d6c0)<br>Jan 24 20:04:06 taz kernel: ivtv0 ioctl: read 4096 bytes from encoder MPEG<br>Jan 24 20:04:06 taz kernel: ivtv0 irq: ENC START CAP 0: 001716c0 00006800
<br>Jan 24 20:04:06 taz kernel: ivtv0 dma: DMA encoder MPEG: 0x00006800 bytes at 0x001716c0<br>Jan 24 20:04:06 taz kernel: ivtv0 dma: start DMA for encoder MPEG<br>Jan 24 20:04:06 taz kernel: TDM PCI Master abort<br>Jan 24 20:04:06 taz last message repeated 77 times
<br>Jan 24 20:04:06 taz kernel: ivtv0 irq: ENC DMA COMPLETE 3 0<br>Jan 24 20:04:06 taz kernel: ivtv0 dma: DMA encoder MPEG completed (1716c0)<br>Jan 24 20:04:06 taz kernel: TDM PCI Master abort<br>Jan 24 20:04:06 taz last message repeated 179 times
<br>Jan 24 20:04:06 taz kernel: ivtv0 info: read 4096 from encoder MPEG, got 4096<br>Jan 24 20:04:06 taz kernel: TDM PCI Master abort<br><br>(ivtv 0.10 trunk, debug level = 511).<br><br>Could this have something todo with these two pieces of hardware fighting about DMA?
<br><br>with kind regards,<br><span class="sg"><br>Stefan van der Eijk</span>