Sorry, didn't get the address right the first time. ---------- Forwarded message ---------- From: Jason Sullivan <[EMAIL PROTECTED]> Date: Oct 14, 2006 3:36 PM Subject: IVTV driver has DMA problems, mythtv viewer doesn't recover. To: [EMAIL PROTECTED], [email protected]
Hardware: Seperate front-end and back-end. Back-end: Dual AMD 2600+ on an ASUS A7M266-D Motherboard with 2Gig of ram. PVR-500 card. Front-end: 1 Ghz Pentium III generic with 512M of ram. Both machines runing latest FC4 ATrpms mythtv packages. I've got no problem watching prerecorded TV shows, but when I watch live TV, the back-end has problems with DMA, and the following shows up in the logs... Oct 14 15:12:03 ignatz kernel: ivtv1 warning: ENC: (0) DMA Error 0x00000013 00040005 Oct 14 15:12:03 ignatz kernel: ivtv1 warning: ENC: (1) DMA Error 0x00000013 00040001 Oct 14 15:12:03 ignatz kernel: ivtv1 warning: ENC: (2) DMA Error 0x00000013 00040001 Oct 14 15:12:03 ignatz kernel: ivtv1 warning: ENC: (3) DMA Error 0x00000013 00040001 Oct 14 15:12:03 ignatz kernel: ivtv1 warning: ENC: REDO DMA took too many tries.Oct 14 15:12:03 ignatz kernel: ivtv1 warning: Error Encoder DMA Oct 14 15:12:03 ignatz kernel: ivtv1 warning: Couldn't find start of buffer within the first 256 bytes ...the front-end logs get the following messages... 2006-10-14 15:12:04.793 NVP: prebuffering pause 2006-10-14 15:12:05.724 RingBuf(/home/video/recordings/1042_20061014144920.mpg): Waited 1.0 seconds for data to become available... 2006-10-14 15:12:05.724 Checking to see if there's a new livetv program to switch to.. 2006-10-14 15:12:06.191 NVP: Prebuffer wait timed out 10 times. 2006-10-14 15:12:06.751 RingBuf(/home/video/recordings/1042_20061014144920.mpg): Waited 2.0 seconds for data to become available... 2006-10-14 15:12:06.752 Checking to see if there's a new livetv program to switch to.. 2006-10-14 15:12:07.591 NVP: Prebuffer wait timed out 10 times. 2006-10-14 15:12:08.799 RingBuf(/home/video/recordings/1042_20061014144920.mpg): Waited 4.0 seconds for data to become available... 2006-10-14 15:12:08.800 Checking to see if there's a new livetv program to switch to.. 2006-10-14 15:12:08.991 NVP: Prebuffer wait timed out 10 times. 2006-10-14 15:12:09.261 NVP: prebuffering pause 2006-10-14 15:12:09.537 NVP: prebuffering pause 2006-10-14 15:12:10.037 NVP: prebuffering pause ...and the video and audio become choppy. I have to stop watching LiveTV to "reset" it. This may just be an ivtv problem that mythtv can't recover from, which would be fine, but if there's something MythTV can do to regain its footing in this situation that would be nice, too. It might be just that IVTV is putting out garbage in this case, but I wanted to be sure. I've attached my IVTV init logs for the IVTV folks. I checked though both mailing lists, but didn't see anything directly related to this particular error (I've seen DMA errors, but with different codes and they're apparently fixed). DMA is enabled on the harddrive. Also, I've upped the hard drive controller PCI latency on the back-end with /sbin/setpci -v -s 00:07.1 latency_timer=f0 I've also shuffled cards, disabled on-board sound, and turned off APCI in an attempt to get the PVR-500 card to use IRQ 9 (I even set it in the BIOS, but to no avail. Linux now reports IRQ 9 as not used). None of these has fixed the problem. Is there anything I'm missing? (hope it's not bleeding obvious) Thanks in advance. -- Jason Sullivan [EMAIL PROTECTED] -- Jason Sullivan [EMAIL PROTECTED]
Oct 14 13:48:33 ignatz kernel: ivtv: ==================== START INIT IVTV ==================== Oct 14 13:48:34 ignatz kernel: ivtv: version 0.7.1 (tagged release) loading Oct 14 13:48:34 ignatz kernel: ivtv: Linux version: 2.6.17-1.2142_FC4smp SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.0 Oct 14 13:48:34 ignatz kernel: ivtv: In case of problems please include the debug info between Oct 14 13:48:34 ignatz kernel: ivtv: the START INIT IVTV and END INIT IVTV lines, along with Oct 14 13:48:34 ignatz kernel: ivtv: any module options, when mailing the ivtv-users mailinglist. Oct 14 13:48:34 ignatz kernel: ivtv0: Autodetected Hauppauge WinTV PVR-150 card (cx23416 based) Oct 14 13:48:34 ignatz kernel: ivtv0: Unreasonably low latency timer, setting to 64 (was 32) Oct 14 13:48:34 ignatz kernel: tveeprom 0-0050: Hauppauge model 23552, rev E492, serial# 8959196 Oct 14 13:48:34 ignatz kernel: tveeprom 0-0050: tuner model is Philips FQ1236A MK4 (idx 92, type 57) Oct 14 13:48:34 ignatz kernel: tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08) Oct 14 13:48:34 ignatz kernel: tveeprom 0-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, type 62) Oct 14 13:48:34 ignatz kernel: tveeprom 0-0050: audio processor is CX25843 (idx 37) Oct 14 13:48:34 ignatz kernel: tveeprom 0-0050: decoder processor is CX25843 (idx 30) Oct 14 13:48:34 ignatz kernel: tveeprom 0-0050: has radio, has no IR remote Oct 14 13:48:34 ignatz kernel: ivtv0: This is the first unit of a PVR500 Oct 14 13:48:34 ignatz kernel: tuner 0-0060: TEA5767 detected. Oct 14 13:48:34 ignatz kernel: tuner 0-0060: chip found @ 0xc0 (ivtv i2c driver #0) Oct 14 13:48:34 ignatz kernel: tuner 0-0060: type set to 62 (Philips TEA5767HN FM Radio) Oct 14 13:48:34 ignatz kernel: tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0) Oct 14 13:48:34 ignatz smartd[2693]: smartd has fork()ed into background mode. New PID=2693. Oct 14 13:48:34 ignatz kernel: tda9887 0-0043: chip found @ 0x86 (ivtv i2c driver #0) Oct 14 13:48:34 ignatz kernel: cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0) Oct 14 13:48:34 ignatz kernel: cx25840 0-0044: loaded v4l-cx25840.fw firmware (16382 bytes) Oct 14 13:48:34 ignatz kernel: wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0) Oct 14 13:48:34 ignatz kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) Oct 14 13:48:34 ignatz kernel: ivtv0: Encoder revision: 0x02050032 Oct 14 13:48:35 ignatz kernel: ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) Oct 14 13:48:35 ignatz kernel: ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total) Oct 14 13:48:35 ignatz kernel: ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total) Oct 14 13:48:35 ignatz kernel: ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total) Oct 14 13:48:35 ignatz kernel: ivtv0: Create encoder radio stream Oct 14 13:48:36 ignatz kernel: tuner 0-0061: type set to 57 (Philips FQ1236A MK4) Oct 14 13:48:36 ignatz kernel: ivtv0: Initialized WinTV PVR 500 (unit #1), card #0 Oct 14 13:48:36 ignatz kernel: ivtv: ====================== NEXT CARD ====================== Oct 14 13:48:36 ignatz kernel: ivtv1: Autodetected Hauppauge WinTV PVR-150 card (cx23416 based) Oct 14 13:48:36 ignatz kernel: ivtv1: Unreasonably low latency timer, setting to 64 (was 32) Oct 14 13:48:36 ignatz kernel: tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #1) Oct 14 13:48:36 ignatz kernel: tda9887 1-0043: chip found @ 0x86 (ivtv i2c driver #1) Oct 14 13:48:36 ignatz kernel: cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1) Oct 14 13:48:36 ignatz kernel: cx25840 1-0044: loaded v4l-cx25840.fw firmware (16382 bytes) Oct 14 13:48:36 ignatz kernel: wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #1) Oct 14 13:48:36 ignatz kernel: tveeprom 1-0050: Hauppauge model 23552, rev E492, serial# 8959196 Oct 14 13:48:37 ignatz kernel: tveeprom 1-0050: tuner model is Philips FQ1236A MK4 (idx 92, type 57) Oct 14 13:48:37 ignatz kernel: tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08) Oct 14 13:48:37 ignatz kernel: tveeprom 1-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, type 62) Oct 14 13:48:37 ignatz kernel: tveeprom 1-0050: audio processor is CX25843 (idx 37) Oct 14 13:48:37 ignatz kernel: tveeprom 1-0050: decoder processor is CX25843 (idx 30) Oct 14 13:48:37 ignatz kernel: tveeprom 1-0050: has radio, has no IR remote Oct 14 13:48:37 ignatz kernel: ivtv1: This is the second unit of a PVR500 Oct 14 13:48:37 ignatz kernel: ivtv1: Correcting tveeprom data: no radio present on second unit Oct 14 13:48:37 ignatz kernel: ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) Oct 14 13:48:37 ignatz kernel: ivtv1: Encoder revision: 0x02050032 Oct 14 13:48:37 ignatz kernel: ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) Oct 14 13:48:37 ignatz kernel: ivtv1: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total) Oct 14 13:48:37 ignatz kernel: ivtv1: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total) Oct 14 13:48:37 ignatz kernel: ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total) Oct 14 13:48:37 ignatz kernel: tuner 1-0061: type set to 57 (Philips FQ1236A MK4) Oct 14 13:48:37 ignatz kernel: ivtv1: Initialized WinTV PVR 500 (unit #2), card #1 Oct 14 13:48:37 ignatz kernel: ivtv: ==================== END INIT IVTV ====================
_______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
