I've been lurking too long and learned so much from this mailing list,
so I figured it was about time I gave something back.
>> - My problems only started with the 2.6.17 kernel and ivtv 0.7.0
My hardware:
------------------
Athlon64 3500+ Venice
4 x 256MB single sided DDR400 (memtest 24-hour stable)
MSI K8NGM2-FID
Hauppauge PVR-150 (non-MCE)
2 x 400GB Samsung SATA
Software:
------------
Fedora Core 5 (32-bit)
yum update to 2.6.17-1.2174_FC5
Partitioned using LVM: ext3 for /, JFS for /video
ivtv 0.7.0
lirc 0.8.1-CVS-pvr150
using recommended firmware (
http://dl.ivtvdriver.org/ivtv/firmware/firmware.tar.gz)
Sep 5 10:33:48 localhost kernel: ivtv: ==================== START INIT IVTV ====================
Sep 5 10:33:48 localhost kernel: ivtv: version 0.7.0
(tagged release) loading
Sep 5 10:33:48 localhost kernel: ivtv: Linux version: 2.6.17-1.2174_FC5 mod_unload 686 REGPARM 4KSTACKS gcc-4.1
Sep 5 10:33:48 localhost kernel: ivtv: In case of problems please include the debug info between
Sep 5 10:33:48 localhost kernel: ivtv: the START INIT IVTV and END INIT IVTV lines, along with
Sep 5 10:33:48 localhost kernel: ivtv: any module options, when mailing the ivtv-users mailinglist.
Sep 5 10:33:48 localhost kernel: ivtv0: Autodetected Hauppauge WinTV PVR-150 card (cx23416 based)
Sep 5 10:33:49 localhost kernel: tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
Sep 5 10:33:49 localhost kernel: cx25840 0-0044: cx25841-23 found @ 0x88 (ivtv i2c driver #0)
Sep 5 10:33:49 localhost kernel: wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
Sep 5 10:33:49 localhost kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
Sep 5 10:33:49 localhost kernel: ivtv0: Encoder revision: 0x02050032
Sep 5 10:33:49 localhost kernel: ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
Sep 5 10:33:49 localhost kernel: ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
Sep 5 10:33:50 localhost kernel: ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
Sep 5 10:33:50 localhost kernel: ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
Sep 5 10:33:50 localhost kernel: ivtv0: Initialized Hauppauge WinTV PVR-150, card #0
Sep 5 10:33:50 localhost kernel: ivtv: ==================== END INIT IVTV ====================
After applying the patch from http://www.xs4all.nl/~hverkuil/ivtv-dma.0.6.diff and recompiling ivtv
I would still get dozens of the following errors:
--------------------------------------------
Sep 5 10:35:39 localhost kernel: ivtv0 warning: DMA err b
Sep 5 10:35:39 localhost kernel: ivtv0 warning: ENC: (0) DMA Error 0x0000000b 00000001
Sep 5 10:35:39 localhost kernel: ivtv0 warning: ENC: (1) DMA Error 0x0000000b 00000001
Sep 5 10:35:39 localhost kernel: ivtv0 warning: ENC: (2) DMA Error 0x0000000b 00000001
Sep 5 10:35:39 localhost kernel: ivtv0 warning: offset 0 -> 128
Sep 5 10:35:40 localhost kernel: ivtv0 warning: offset 128 -> 0
Sep 5 10:35:40 localhost kernel: ivtv0 warning: ENC: (0) DMA Error 0x0000000b 00000001
Sep 5 10:35:40 localhost kernel: ivtv0 warning: DMA err b
Sep 5 10:35:40 localhost kernel: ivtv0 warning: ENC: (1) DMA Error 0x0000000b 00000005
Sep 5 10:35:40 localhost kernel: ivtv0 warning: offset 0 -> 128
Sep 5 10:35:40 localhost kernel: ivtv0 warning: offset 128 -> 68
...snip...
Sep 5 10:40:36 localhost kernel: ivtv0 warning: ENC: (3) DMA Error 0x0000000b 00000001
Sep 5 10:40:36 localhost kernel: ivtv0 warning: ENC: REG_DMAXFER 2 wait failed
Sep 5 10:40:36 localhost kernel: ivtv0 warning: ENC: (4) DMA Error 0x00000001 00000001
Sep 5 10:40:36 localhost kernel: ivtv0 warning: ENC: REG_DMAXFER 2 wait failed
Sep 5 10:40:36 localhost kernel: ivtv0 warning: ENC: (5) DMA Error 0x00000001 00000005
Sep 5 10:40:36 localhost kernel: ivtv0 warning: ENC: REDO DMA took too many tries.
Sep 5 10:40:36 localhost kernel: ivtv0 warning: Error Encoder DMA
----------------------------------
at this point the mythfrontend would kick me out of livetv,
and mythtvbackend would report that the ivtv driver was not responding.
> Was that all you upgraded, or did you also upgrade other parts, either
> hardware or software like gcc?
>> - Someone mentioned a memory timing issue. I have two sets of dual
>> channel memory. That might also be the cause.
Ding ding ding!!! I realized that at the same time that I upgraded to
0.7.0,
which I had hoped would fix the tinny audio problem which is all over this mailing list but here is the most insightful thread I have seen:
http://www.gossamer-threads.com/lists/engine?do=post_view_flat;post=28703;page=1;sb=post_latest_reply;so=ASC;mh=25;list=ivtv
If anybody has managed to fix this please share, because my HTPC's Wife Appreciation Factor would surely benfit.
Back on topic,
I had also added two more sticks of RAM (for a total of two pairs - 4 banks).
memtest didn't report any errors in the new configuration, so I assumed it was fine.
Running the memory at DDR333 and relaxing the timings didn't seem to reduce the number of DMA errors.
Today I tried going back to using 2 x 256MB single sided (8 chip) sticks (2 banks), and the DMA errors were gone!
After a few hours of capturing and changing channels, no DMA errors reported.
I mention the single-sided-ness because it is my understanding that two sticks of double-sided (16 chip) memory,
which is probably a common configuration (with the same motherboard / chipset as I am using),
would also use 4 banks in the Athlon64 memory controller which caused the issue for me.
Brian
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users