On Monday 27 March 2006 14:06, Stephan Driesmans wrote:
> Any news on this? I also have this problem since the beginning of
> this year. Even on ivtv 0.6.0 I have these messages (and corrupted
> mpeg streams) It's not a critical problem, but a bit annoying so if I
> can help testing some theories let me know.

I already have someone who can test this for me. Next week I should have 
more time to continue with this.

        Hans

>
> My config: AMD Sempron 3100, nForce3 chipset, 1 GB RAM, 1 x PVR 150
> and 1 x PVR 350
>
> Mar 26 22:46:35 pvr ivtv:  ==================== START INIT IVTV
> ====================
> Mar 26 22:46:35 pvr ivtv:  version 0.6.0 (tagged release) loading
> Mar 26 22:46:35 pvr ivtv:  Linux version: 2.6.16-gentoo preempt K8
> gcc-3.4 Mar 26 22:46:35 pvr ivtv:  In case of problems please include
> the debug info between
> Mar 26 22:46:35 pvr ivtv:  the START INIT IVTV and END INIT IVTV
> lines, along with
> Mar 26 22:46:35 pvr ivtv:  any module options, when mailing the
> ivtv-users mailinglist.
> Mar 26 22:46:35 pvr ivtv0: Autodetected Hauppauge WinTV PVR-350 card
> (cx23415 based)
> Mar 26 22:46:35 pvr ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 19
> Mar 26 22:46:35 pvr ACPI: PCI Interrupt 0000:02:08.0[A] -> Link
> [LNKC] -> GSI 19 (level, low) -> IRQ 19
> Mar 26 22:46:35 pvr tveeprom 2-0050: Hauppauge model 48139, rev K257,
> serial# 7596396
> Mar 26 22:46:35 pvr tveeprom 2-0050: tuner model is Philips FM1216 ME
> MK3 (idx 57, type 38)
> Mar 26 22:46:35 pvr tveeprom 2-0050: TV standards PAL(B/G) PAL(I)
> SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
> Mar 26 22:46:35 pvr tveeprom 2-0050: audio processor is MSP4418 (idx
> 25) Mar 26 22:46:35 pvr tveeprom 2-0050: decoder processor is SAA7115
> (idx 19) Mar 26 22:46:35 pvr tveeprom 2-0050: has radio, has IR
> remote Mar 26 22:46:35 pvr tuner 2-0061: chip found @ 0xc2 (ivtv i2c
> driver #0) Mar 26 22:46:35 pvr tda9887 2-0043: chip found @ 0x86
> (ivtv i2c driver #0) Mar 26 22:46:35 pvr saa7115 2-0021: saa7115
> found @ 0x42 (ivtv i2c driver #0)
> Mar 26 22:46:35 pvr saa7127 2-0044: saa7129 found @ 0x88 (ivtv i2c
> driver #0)
> Mar 26 22:46:35 pvr msp3400 2-0040: MSP4418G-B3 found @ 0x80 (ivtv
> i2c driver #0)
> Mar 26 22:46:35 pvr msp3400 2-0040: MSP4418G-B3 supports nicam and
> radio, mode is autodetect and autoselect
> Mar 26 22:46:35 pvr ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144
> bytes) Mar 26 22:46:35 pvr ivtv0: loaded v4l-cx2341x-dec.fw firmware
> (262144 bytes) Mar 26 22:46:35 pvr ivtv0: Encoder revision:
> 0x02050032
> Mar 26 22:46:35 pvr ivtv0: Decoder revision: 0x02020023
> Mar 26 22:46:35 pvr ivtv0: Allocate DMA encoder MPEG stream: 128 x
> 32768 buffers (4096KB total)
> Mar 26 22:46:35 pvr ivtv0: Allocate DMA encoder YUV stream: 161 x
> 12960 buffers (2048KB total)
> Mar 26 22:46:35 pvr ivtv0: Allocate DMA encoder VBI stream: 80 x
> 26208 buffers (2048KB total)
> Mar 26 22:46:35 pvr ivtv0: Allocate DMA encoder PCM audio stream: 455
> x 4608 buffers (2048KB total)
> Mar 26 22:46:35 pvr ivtv0: Create encoder radio stream
> Mar 26 22:46:35 pvr ivtv0: Allocate DMA decoder MPEG stream: 16 x
> 65536 buffers (1024KB total)
> Mar 26 22:46:35 pvr ivtv0: Allocate DMA decoder VBI stream: 512 x
> 2048 buffers (1024KB total)
> Mar 26 22:46:35 pvr ivtv0: Create decoder VOUT stream
> Mar 26 22:46:35 pvr ivtv0: Allocate DMA decoder YUV stream: 20 x
> 51840 buffers (1024KB total)
> Mar 26 22:46:35 pvr ivtv0: loaded v4l-cx2341x-init.mpg firmware
> (155648 bytes)
> Mar 26 22:46:35 pvr tuner 2-0061: type set to 38 (Philips PAL/SECAM
> multi (FM1216ME MK3))
> Mar 26 22:46:35 pvr ivtv0: Initialized Hauppauge WinTV PVR-350, card
> #0 Mar 26 22:46:35 pvr ivtv:  ======================  NEXT CARD
> ======================
> Mar 26 22:46:35 pvr ivtv1: Autodetected Hauppauge WinTV PVR-150 card
> (cx23416 based)
> Mar 26 22:46:35 pvr ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 18
> Mar 26 22:46:35 pvr ACPI: PCI Interrupt 0000:02:09.0[A] -> Link
> [LNKD] -> GSI 18 (level, low) -> IRQ 20
> Mar 26 22:46:35 pvr tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver
> #1) Mar 26 22:46:35 pvr tda9887 3-0043: chip found @ 0x86 (ivtv i2c
> driver #1) Mar 26 22:46:35 pvr tveeprom 3-0050: Hauppauge model
> 26559, rev C260, serial# 7933738
> Mar 26 22:46:35 pvr tveeprom 3-0050: tuner model is LG S001D MK3 (idx
> 60, type 38)
> Mar 26 22:46:35 pvr tveeprom 3-0050: TV standards PAL(B/G) PAL(I)
> SECAM(L/L') PAL(D/D1/K) (eeprom 0x74)
> Mar 26 22:46:35 pvr tveeprom 3-0050: audio processor is CX25843 (idx
> 37) Mar 26 22:46:35 pvr tveeprom 3-0050: decoder processor is CX25843
> (idx 30) Mar 26 22:46:35 pvr tveeprom 3-0050: has radio, has no IR
> remote Mar 26 22:46:35 pvr cx25840 3-0044: cx25843-23 found @ 0x88
> (ivtv i2c driver #1)
> Mar 26 22:46:35 pvr cx25840 3-0044: loaded v4l-cx25840.fw firmware
> (14264 bytes)
> Mar 26 22:46:35 pvr wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver
> #1) Mar 26 22:46:35 pvr ivtv1: loaded v4l-cx2341x-enc.fw firmware
> (262144 bytes) Mar 26 22:46:35 pvr ivtv1: Encoder revision:
> 0x02050032
> Mar 26 22:46:35 pvr ivtv1: Allocate DMA encoder MPEG stream: 128 x
> 32768 buffers (4096KB total)
> Mar 26 22:46:35 pvr ivtv1: Allocate DMA encoder YUV stream: 161 x
> 12960 buffers (2048KB total)
> Mar 26 22:46:35 pvr ivtv1: Allocate DMA encoder VBI stream: 80 x
> 26208 buffers (2048KB total)
> Mar 26 22:46:35 pvr ivtv1: Allocate DMA encoder PCM audio stream: 455
> x 4608 buffers (2048KB total)
> Mar 26 22:46:35 pvr ivtv1: Create encoder radio stream
> Mar 26 22:46:35 pvr tuner 3-0061: type set to 38 (Philips PAL/SECAM
> multi (FM1216ME MK3))
> Mar 26 22:46:35 pvr ivtv1: Initialized Hauppauge WinTV PVR-150, card
> #1 Mar 26 22:46:35 pvr ivtv:  ====================  END INIT IVTV
> ====================
>
> 2006/3/11, Chris Schanzle <[EMAIL PROTECTED]>:
> > On 03/11/2006 01:10 PM, Hans Verkuil wrote:
> > >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  :-)
> >
> > Yay!  My problem is *VERY* reproducable - within tens of minutes. 
> > My system is basically unusable (generates unwatchable recordings)
> > with DMA enabled on the PVR-250.  Willing to test any patches. 
> > Thanks in advance!
> >
> >
> > _______________________________________________
> > 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

Reply via email to