On Wednesday 24 October 2007 19:01:18 Dan Ritter wrote: > I sent this a few days ago, but it looks like I hadn't been > fully subscribed to the list at the time and the moderator > needed to approve it. > > I was having ivtvX: DMA TIMEOUT 00000001 errors, so I updated to > 0.10.6 > > After 1 day, 15 hours uptime, I got the same errors again. Many > previous recordings went well. These errors always occur during > a recording. When they happen, the ivtv device in question > becomes completely unusable.
I have two suggestions: first edit ivtv-irq.c: search for the ivtv_dma_enc_start function, at the end of this function you see this line: itv->dma_timer.expires = jiffies + HZ / 10; Remove ' / 10'. Compile, install, etc. and see if the TIMEOUT returns. If so, then install the v4l-dvb repository. See http://www.ivtvdriver.org/index.php/Download#Bleeding_Edge_driver on how to install v4l-dvb. If it still happens with that version, then let me know. In that case I will need high volume debug logs. The fact that 0.10.1 keeps on running suggests that something else might be going on here then 'just' a DMA timeout. Regards, Hans > This is a supplied Debian Etch kernel. Athlon 3500+ CPU, 1GB RAM, > a dedicated MythTV box. NVidia 5200, VIA K8T800Pro chipset. > > I have options ivtv enc_mpg_buffers=16 enc_vbi_buffers=8 set in > modprobe.conf. > > For the nonce, I've moved back to 0.10.1, where I get these > triplets: > ivtv0 warning: ENC DMA ERROR b > ivtv0 warning: encoder MPEG: offset 24 -> 128 > ivtv0 warning: encoder MPEG: offset 128 -> 0 > > but the device remains usable, dropping a frame or two. > > Diagnostics follow. > > 02:08.0 Multimedia video controller: Internext Compression Inc > iTVC16 (CX23416) MPEG-2 Encoder (rev 01) > Subsystem: Hauppauge computer works Inc. WinTV PVR 500 > (1st unit) > Flags: bus master, medium devsel, latency 64, IRQ 209 > Memory at f0000000 (32-bit, prefetchable) [size=64M] > Capabilities: [44] Power Management version 2 > > 02:09.0 Multimedia video controller: Internext Compression Inc > iTVC16 (CX23416) MPEG-2 Encoder (rev 01) > Subsystem: Hauppauge computer works Inc. WinTV PVR 500 > (2nd unit) > Flags: bus master, medium devsel, latency 64, IRQ 217 > Memory at f4000000 (32-bit, prefetchable) [size=64M] > Capabilities: [44] Power Management version 2 > > dmesg output: > > ivtv: ==================== START INIT IVTV ==================== > ivtv: version 0.10.6 (tagged release) loading > ivtv: Linux version: 2.6.18-3-k7 SMP mod_unload K7 REGPARM > gcc-4.1 > ivtv: In case of problems please include the debug info between > ivtv: the START INIT IVTV and END INIT IVTV lines, along with > ivtv: any module options, when mailing the ivtv-users > mailinglist. > ivtv0: Autodetected Hauppauge card (cx23416 based) > ACPI: PCI Interrupt 0000:02:08.0[A] -> GSI 18 (level, low) -> > IRQ 209 > ivtv0: Unreasonably low latency timer, setting to 64 (was 32) > input: PS/2 Generic Mouse as /class/input/input2 > ts: Compaq touchscreen protocol output > ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes) > ivtv0: Encoder revision: 0x02060039 > tveeprom 1-0050: Hauppauge model 23552, rev E692, serial# > 10189457 > tveeprom 1-0050: tuner model is Philips FQ1236A MK4 (idx 92, > type 57) > tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08) > tveeprom 1-0050: second tuner model is Philips TEA5768HL FM > Radio (idx 101, type 62) > tveeprom 1-0050: audio processor is CX25843 (idx 37) > tveeprom 1-0050: decoder processor is CX25843 (idx 30) > tveeprom 1-0050: has radio, has no IR remote > ivtv0: Autodetected WinTV PVR 500 (unit #1) > tuner 1-0043: chip found @ 0x86 (ivtv i2c driver #0) > tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner) > tuner 1-0060: TEA5767 detected. > tuner 1-0060: chip found @ 0xc0 (ivtv i2c driver #0) > tuner 1-0060: type set to 62 (Philips TEA5767HN FM Radio) > tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0) > cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0) > cx25840 1-0044: loaded v4l-cx25840.fw firmware (16382 bytes) > wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0) > ivtv0: Registered device video0 for encoder MPEG (16 MB) > ivtv0: Registered device video32 for encoder YUV (2 MB) > ivtv0: Registered device vbi0 for encoder VBI (8 MB) > ivtv0: Registered device video24 for encoder PCM audio (1 MB) > ivtv0: Registered device radio0 for encoder radio > tuner 1-0061: type set to 57 (Philips FQ1236A MK4) > ivtv0: Initialized WinTV PVR 500 (unit #1), card #0 > ivtv: ====================== NEXT CARD ====================== > ivtv1: Autodetected Hauppauge card (cx23416 based) > ACPI: PCI Interrupt 0000:02:09.0[A] -> GSI 19 (level, low) -> > IRQ 217 > ivtv1: Unreasonably low latency timer, setting to 64 (was 32) > ivtv1: loaded v4l-cx2341x-enc.fw firmware (376836 bytes) > ivtv1: Encoder revision: 0x02060039 > tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #1) > tda9887 2-0043: tda988[5/6/7] found @ 0x43 (tuner) > tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #1) > cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1) > cx25840 2-0044: loaded v4l-cx25840.fw firmware (16382 bytes) > wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #1) > tveeprom 2-0050: Hauppauge model 23552, rev E692, serial# > 10189457 > tveeprom 2-0050: tuner model is Philips FQ1236A MK4 (idx 92, > type 57) > tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08) > tveeprom 2-0050: second tuner model is Philips TEA5768HL FM > Radio (idx 101, type 62) > tveeprom 2-0050: audio processor is CX25843 (idx 37) > tveeprom 2-0050: decoder processor is CX25843 (idx 30) > tveeprom 2-0050: has radio, has no IR remote > ivtv1: Correcting tveeprom data: no radio present on second unit > ivtv1: Autodetected WinTV PVR 500 (unit #2) > ivtv1: Registered device video1 for encoder MPEG (16 MB) > ivtv1: Registered device video33 for encoder YUV (2 MB) > ivtv1: Registered device vbi1 for encoder VBI (8 MB) > ivtv1: Registered device video25 for encoder PCM audio (1 MB) > tuner 2-0061: type set to 57 (Philips FQ1236A MK4) > ivtv1: Initialized WinTV PVR 500 (unit #2), card #1 > ivtv: ==================== END INIT IVTV ==================== _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
