On Saturday 11 March 2006 18:44, Chris Schanzle wrote:
> Cut to the chase:
>
> Mar 11 11:58:31 localhost kernel: ivtv0 warning: ENC: (0) DMA Error
> 0x0000000b
> Mar 11 12:01:03 localhost kernel: ivtv0 warning: ENC: (0) DMA Error
> 0x0000000b
> Mar 11 12:01:37 localhost last message repeated 5 times
> Mar 11 12:02:19 localhost last message repeated 3 times
> Mar 11 12:03:40 localhost kernel: ivtv0 warning: ENC: (0) DMA Error
> 0x0000000b
> Mar 11 12:03:54 localhost kernel: ivtv0 warning: ENC: (0) DMA Error
> 0x0000000b
> Mar 11 12:04:25 localhost kernel: ivtv0 warning: ENC: REG_DMAXFER 2
> wait failed
> Mar 11 12:04:29 localhost kernel: ivtv0 warning: ENC: DMA still
> Pending while stopping capture!
>
> Sir Hans, have you or will you in the near future have a chance to
> look into the causes of the above DMA errors? These errors cause
> corrupt video and audio from the point when the message starts until
> the system is rebooted (rmmod/modprobe ivtv doesn't help).
Don't count on it. It has always been my intention to look into this
when I start a cleanup of that code, but that has been delayed. It is
also surprisingly rare: only on one card do I occasionally get this
error. The PVR350 that I actually use for my recordings (as opposed to
driver development) never encountered this error.
It is likely that the cause of the problem is somewhere in
dma_from_device() in ivtv-irq.c: I suspect that some value is not reset
or a buffer not flushed in case of a DMA error. The DMA error itself is
not the cause, that just triggers a retry.
How well can you reproduce it? If you get it often then I could give you
patches to apply and test.
Regards,
Sir Hans :-)
>
> I just did a mass cleaning and upgrade of my FC4/myth box with the
> latest updates and atrpms, etc. It didn't help to bump the PCI
> latency up on the card via "setpci -v -d 4444:0016 latency_timer=b0".
> Happens on the NForce4 (AMD 4400+) and NForce2 chipsets, but doesn't
> seem to happen on a Dell 4600 Intel 2.4/HT/SMP chipset (a bit too
> slow for good HD playback).
>
> Reverting to PIO mode loads the box to the point you can't watch
> while something is recording (AMD 3400+), but does give good
> recordings.
>
> Let me know how I can help, if at all.
>
> Regards,
> Chris
> _____________
>
> ivtv: no version for "struct_module" found: kernel tainted.
> ivtv: ==================== START INIT IVTV ====================
> ivtv: version 0.4.3 (tagged release) loading
> ivtv: Linux version: 2.6.15-1.1833_FC4smp SMP 686 REGPARM 4KSTACKS
> gcc-4.0 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 WinTV PVR 250 card (cx23416 based)
> ACPI: PCI Interrupt 0000:00:0c.0[A] -> GSI 17 (level, low) -> IRQ 177
> tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
> ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
> tveeprom 2-0050: Hauppauge model 32062, rev B185, serial# 7369659
> tveeprom 2-0050: tuner model is TCL 2002N 6A (idx 85, type 50)
> tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
> tveeprom 2-0050: audio processor is MSP3445 (idx 12)
> tveeprom 2-0050: decoder processor is SAA7115 (idx 19)
> tveeprom 2-0050: has no radio, has IR remote
> saa7115 2-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
> ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
> msp3400 2-0040: chip=MSP3445G-B8 +nicam +simple +simpler +radio
> mode=simpler ivtv0: i2c attach to card #0 ok [client=MSP3445G-B8,
> addr=40] msp3400 2-0040: msp34xxg daemon started
> ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
> ivtv0: Encoder revision: 0x02040024
> ivtv0 warning: Encoder Firmware can be buggy, use version 0x02040011
> or 0x02050032.
> ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB
> total) ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers
> (2048KB total) ivtv0: Allocate DMA encoder VBI stream: 120 x 17472
> buffers (2048KB total) ivtv0: Allocate DMA encoder PCM audio stream:
> 455 x 4608 buffers (2048KB total)
> tuner 2-0061: type set to 50 (TCL 2002N)
> ivtv0: Initialized WinTV PVR 250, card #0
> ivtv: ==================== END INIT IVTV ====================
>
>
> _______________________________________________
> ivtv-devel mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-devel
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel