IVTV drivers: ivtv0 warning: ENC: (0) DMA Error 0×0000000b
Update: I have posted what may be a potential fix for this problem. Please see this post.
—-
I have posted some information here:
http://ivtvdriver.org/trac/ticket/48
I am putting this up because I’d like to allow anyone from the IVTV bug posting to contact me.
The problem is that after a period of time my capture cards stop capturing. When I check the output of dmesg I am greeted with many ivtv0 warning: ENC: (0) DMA Error 0×0000000b messages.
Here is what I posted on the bug report. (It got a bit mangled).
—
I am having the same problem as everyone else. Asus A8n-SLI. Gentoo system running MythTV 0.19, IVTV 0.6.2, kernel 2.6.16, 2 PVR-150s and an HD3000.Had the problem with previous version of MythTV, and with IVTV 0.4.2.It seems like it is related to out motherboards. I will be monitoring this page.Information that may help the developers…— Linux video capture interface: v1.00 ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.6.2 (tagged release) loading ivtv: Linux version: 2.6.16-gentoo-r7 gcc-3.4 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 WinTV PVR-150 card (cx23416 based) ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16 GSI 21 sharing vector 0xD9 and IRQ 21 ACPI: PCI Interrupt 0000:05:06.0[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 21 ivtv0: Unreasonably low latency timer, setting to 64 (was 32) tveeprom 2-0050: Hauppauge model 26052, rev C199, serial# 8165771 tveeprom 2-0050: tuner model is TCL 2002N 5H (idx 99, type 50) tveeprom 2-0050: TV standards NTSC(M) (eeprom 0×08) tveeprom 2-0050: audio processor is CX25843 (idx 37) tveeprom 2-0050: decoder processor is CX25843 (idx 30) tveeprom 2-0050: has no radio, has IR remote tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0) cx25840 2-0044: cx25843-23 found @ 0×88 (ivtv i2c driver #0) cx25840 2-0044: loaded v4l-cx25840.fw firmware (14264 bytes) wm8775 2-001b: chip found @ 0×36 (ivtv i2c driver #0) ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) ivtv0: Encoder revision: 0×02050032 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 Hauppauge WinTV PVR-150, card #0 ivtv: ====================== NEXT CARD ====================== ivtv1: Autodetected Hauppauge WinTV PVR-150 card (cx23416 based) ACPI: PCI Interrupt 0000:05:08.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 20 ivtv1: Unreasonably low latency timer, setting to 64 (was 32) tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #1) cx25840 3-0044: cx25841-23 found @ 0×88 (ivtv i2c driver #1) cx25840 3-0044: loaded v4l-cx25840.fw firmware (14264 bytes) wm8775 3-001b: chip found @ 0×36 (ivtv i2c driver #1) tveeprom 3-0050: Hauppauge model 26032, rev C199, serial# 7841418 tveeprom 3-0050: tuner model is TCL 2002N 5H (idx 99, type 50) tveeprom 3-0050: TV standards NTSC(M) (eeprom 0×08) tveeprom 3-0050: audio processor is CX25841 (idx 35) tveeprom 3-0050: decoder processor is CX25841 (idx 28) tveeprom 3-0050: has no radio, has IR remote ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) ivtv1: Encoder revision: 0×02050032 ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) ivtv1: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total) ivtv1: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total) ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total) tuner 3-0061: type set to 50 (TCL 2002N) ivtv1: Initialized Hauppauge WinTV PVR-150, card #1 ivtv: ==================== END INIT IVTV ==================== —Errors: i2c_adapter i2c-5: SMBus Quick command not supported, can’t probe for chips i2c_adapter i2c-6: SMBus Quick command not supported, can’t probe for chips i2c_adapter i2c-7: SMBus Quick command not supported, can’t probe for chips Losing some ticks… checking if CPU frequency changed. /var/tmp/portage/lirc-0.8.0/work/lirc-0.8.0/drivers/lirc_imon/lirc_imon.c: IR port opened ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: (0) DMA Error 0×0000000b ivtv0 warning: ENC: REG_DMAXFER 2 wait failed ivtv0 warning: ENC: DMA still Pending while stopping capture! ivtv0 warning: ENC: DMA still Pending while stopping capture! ivtv0 warning: ENC: DMA still Pending while stopping capture!—
I have recently added AHCI to my kernel. This is supposed to increase performance somewhat. It seems to be helping so far. It’s only been enabled for a little while. I do have 5 occurrences of the error in my dmesg output; however, I was trying to see how it would survive watching television in MythTV while compiling some programs.
Please feel free to leave comments below that may help me and others in the quest to iron out this problem.