On Tue, Sep 13, 2005 at 08:00:55PM +0200, Hans Verkuil wrote: > About two weeks ago I asked if people experienced something very much like > this. Can you apply attached patch and check the offsets? They should be > increasing and then wrap around. But sometimes they jump around creating > precisely the problem you describe.
Yes, and I remember testing it and not finding anything wrong :-) But now I think I have a more reproducible case. Yes, the offsets are jumping around. This is after a clean boot with 0.3.8 with your patch: $ cat foo.mpg >/dev/video16 # offsets out of order Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019b218 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019b828 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019ac08 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019c448 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019ca58 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019be38 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019d678 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019dc88 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019d068 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019e8a8 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019eeb8 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019e298 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019fad8 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a00e8 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019f4c8 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a0d08 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a1318 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a06f8 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a1f38 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a2548 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a1928 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a3168 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a3778 Sep 13 16:41:37 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a2b58 Sep 13 16:41:38 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a4398 Sep 13 16:41:38 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a49a8 Sep 13 16:41:38 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a3d88 Sep 13 16:41:38 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a55c8 Sep 13 16:41:38 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a5bd8 Sep 13 16:41:38 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a4fb8 Sep 13 16:41:38 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a67f8 Sep 13 16:41:38 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019ac08 Sep 13 16:41:38 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a61e8 Now do some live TV: $ cat /dev/video0 >/dev/video16 and now the offsets are OK using the same file: $ cat foo.mpg >/dev/video16 # offsets OK Sep 13 16:42:54 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019ac08 Sep 13 16:42:54 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019b218 Sep 13 16:42:54 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019b828 Sep 13 16:42:54 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019be38 Sep 13 16:42:54 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019c448 Sep 13 16:42:54 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019ca58 Sep 13 16:42:54 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019d068 Sep 13 16:42:54 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019d678 Sep 13 16:42:54 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019dc88 Sep 13 16:42:54 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019e298 Sep 13 16:42:54 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019e8a8 Sep 13 16:42:54 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019eeb8 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019f4c8 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019fad8 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a00e8 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a06f8 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a0d08 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a1318 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a1928 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a1f38 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a2548 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a2b58 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a3168 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a3778 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a3d88 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a4398 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a49a8 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a4fb8 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a55c8 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a5bd8 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a61e8 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x001a67f8 Sep 13 16:42:55 congo kernel: ivtv: DMA/VBI-Reinsertion type 0x00000006, size 0x0000006c, offset 0x0019ac08 Bolek ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ ivtv-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ivtv-devel
