On Saturday 18 November 2006 15:35, Jake Goulding wrote:
> Im getting some errors in dmesg:
>
> [EMAIL PROTECTED] ~ $ dmesg | grep ivtv
> ivtv0 warning: ENC: (0) DMA Error 0x0000000b 00020005
> ivtv0 warning: offset 0 -> 128
> ivtv0 warning: offset 128 -> 84
> ivtv0 warning: ENC: (0) DMA Error 0x0000000b 00020001
> ivtv0 warning: ENC: (1) DMA Error 0x0000000b 08000001
> ivtv0 warning: offset 84 -> 128
> ivtv0 warning: offset 128 -> 8
> ivtv0 warning: offset 8 -> 12
> ivtv0 warning: ENC: (0) DMA Error 0x0000000b 00020001
> ivtv0 warning: offset 12 -> 128
> ivtv0 warning: offset 128 -> 0
> ivtv0 warning: ENC: (0) DMA Error 0x0000000b 00000005
> ivtv0 warning: ENC: (1) DMA Error 0x0000000b 00020001
> ivtv0 warning: offset 0 -> 128
> ivtv0 warning: offset 128 -> 96

This indicates that there are potential DMA problems. Usual causes are 
that you use some CPU frequency utility or that you capture on a RAID 
device. In both cases you can get this. Solution is not to run a CPU 
frequency changing tool or not to use a RAID device. Or switch to a 
PVR500 which doesn't have these problems. The root cause is a buggy DMA 
engine in the MPEG encoder.

> ivtv-enc: page allocation failure. order:4, mode:0xd0
> [<ffffffff880d13c6>] :ivtv:ivtv_init_buffer+0x5f/0x1c1
> [<ffffffff880d2e1f>] :ivtv:enc_gather_free_buffers+0x97/0x2cd
> [<ffffffff880dd0e0>] :ivtv:ivtv_sched_DMA+0x56b/0x8c4
> [<ffffffff880e1cc7>] :ivtv:ivtv_enc_thread+0x17f/0x200
> [<ffffffff880e1b48>] :ivtv:ivtv_enc_thread+0x0/0x200
> ivtv0 warning: No memory on buffer alloc!

Right, this is getting annoying. Please apply the patch attached to the 
driver. With this change it should no longer try to dynamically 
allocate buffers. That's a really bad idea anyway.

Let me know if that fixes that problem, then I can commit this change.

Thanks,

        Hans

Attachment: dynbuf.diff.bz2
Description: BZip2 compressed data

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to