Re: [x86_64] 2.6.14-git13 mplayer fails with "v4l2: ioctl queue buffer failed: Bad address" (2 Nov 2005, 11 Nov 2005)

2005-11-30 Thread Junichi Uekawa
Hi, > Does that not work for you? It's not the full solution to all the > issues, but I'd expect it to be enough to get you going. If it does > not work for you, then I need to understand why not in a hurry: > please let me know either way. > > I'm at last getting near with my patches, hope to

Re: [x86_64] 2.6.14-git13 mplayer fails with "v4l2: ioctl queue buffer failed: Bad address" (2 Nov 2005, 11 Nov 2005)

2005-11-16 Thread Junichi Uekawa
Hi, Verified that with the following patch, I can run mencoder fine. $ uname -a Linux dancer64 2.6.15-rc1dancer-gf6ff56cd #1 Thu Nov 17 08:18:33 JST 2005 x86_64 GNU/Linux Applied upon linus' git from yesterday: commit f6ff56cd56b83d8edf4b3cffc5c53c56b37a5081 tree 0ec4807d49a602ba785e60e5352b54

Re: [x86_64] 2.6.14-git13 mplayer fails with "v4l2: ioctl queue buffer failed: Bad address" (2 Nov 2005, 11 Nov 2005)

2005-11-16 Thread Hugh Dickins
On Wed, 16 Nov 2005, Nickolay V. Shmyrev wrote: > > It's sad, but I still don't understand the way it should be fixed. > Removal of VM_RESERVED is certainly not a solution, since we don't going > to swap mmaped pages and VM_RESERVED is used in other drivers (for > example, some sound drivers) Ear

Re: [x86_64] 2.6.14-git13 mplayer fails with "v4l2: ioctl queue buffer failed: Bad address" (2 Nov 2005, 11 Nov 2005)

2005-11-16 Thread Nickolay V. Shmyrev
В Вск, 13/11/2005 в 04:54 +0200, Matti Aarnio пишет: > On Sun, Nov 13, 2005 at 01:22:51AM +0300, Nickolay V. Shmyrev wrote: > > Hello all. > > > > We have even found the hack that fix that problem: > > A hack, but working one.. > (for the small while that I tested it) > > > Index: linux/drivers/

Re: [x86_64] 2.6.14-git13 mplayer fails with "v4l2: ioctl queue buffer failed: Bad address" (2 Nov 2005, 11 Nov 2005)

2005-11-12 Thread Junichi Uekawa
Hi, > This EFAULT rejection is due to change in get_user_pages() function > in mm/memory.c file of 2.6.14-git2 > > > @@ -945,8 +947,8 @@ int get_user_pages(struct task_struct *t > continue; > } > > - if (!vma || (vma->vm_flags & VM_IO)

Re: [x86_64] 2.6.14-git13 mplayer fails with "v4l2: ioctl queue buffer failed: Bad address" (2 Nov 2005, 11 Nov 2005)

2005-11-12 Thread Matti Aarnio
On Sun, Nov 13, 2005 at 01:22:51AM +0300, Nickolay V. Shmyrev wrote: > Hello all. > > We have even found the hack that fix that problem: A hack, but working one.. (for the small while that I tested it) > Index: linux/drivers/media/video/video-buf.c > =

Re: [x86_64] 2.6.14-git13 mplayer fails with "v4l2: ioctl queue buffer failed: Bad address" (2 Nov 2005, 11 Nov 2005)

2005-11-12 Thread Nickolay V. Shmyrev
Hello all. We have even found the hack that fix that problem: Index: linux/drivers/media/video/video-buf.c === RCS file: /cvs/video4linux/v4l-kernel/linux/drivers/media/video/video-buf.c,v retrieving revision 1.21 diff -u -p -r1.21 v

Re: [x86_64] 2.6.14-git13 mplayer fails with "v4l2: ioctl queue buffer failed: Bad address" (2 Nov 2005, 11 Nov 2005)

2005-11-12 Thread Ricardo Cerqueira
Hello again; We just got confirmation from someone at freenode that this problem exists with other chips as well (saa7134, in this case), so it's not chip dependent. It seems to be confined to x86_64 and 2.6.15, though. On Fri, 2005-11-11 at 23:21 +0900, Junichi Uekawa wrote: > Hi, > > >

Re: [x86_64] 2.6.14-git13 mplayer fails with "v4l2: ioctl queue buffer failed: Bad address" (2 Nov 2005, 11 Nov 2005)

2005-11-11 Thread Hugh Dickins
On Fri, 11 Nov 2005, Junichi Uekawa wrote: > > > > One question -- At exactly what point does this break for you? The git > > > commit key above was from today, but at what point did this LAST work > > > for you? It would be really helpful if you can do a git bisection test, > > > so that we

Re: [x86_64] 2.6.14-git13 mplayer fails with "v4l2: ioctl queue buffer failed: Bad address" (2 Nov 2005, 11 Nov 2005)

2005-11-11 Thread Junichi Uekawa
Hi, > That was wrong; I re-tested it and it looks like > 6e9d6b8ee4e0c37d3952256e6472c57490d6780d was a bad one. > 2.6.14 (741b2252a5e14d6c60a913c77a6099abe73a854a) is functional. > > $ git-bisect start > $ git-bisect bad 6e9d6b8ee4e0c37d3952256e6472c57490d6780d > $ git-bisect good 741b2252a5e14d

Re: [x86_64] 2.6.14-git13 mplayer fails with "v4l2: ioctl queue buffer failed: Bad address" (2 Nov 2005, 11 Nov 2005)

2005-11-11 Thread Michael Krufky
Junichi Uekawa wrote: mplayer tv://1 -tv driver=v4l2 MPlayer dev-CVS--4.0.2 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices Athlon 64 Newcastle,Winchester,San Diego,Venice; Sempron Palermo (Family: 15, Stepping: 0) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1

Re: [x86_64] 2.6.14-git13 mplayer fails with "v4l2: ioctl queue buffer failed: Bad address" (2 Nov 2005, 11 Nov 2005)

2005-11-11 Thread Junichi Uekawa
Hi, > > One question -- At exactly what point does this break for you? The git > > commit key above was from today, but at what point did this LAST work > > for you? It would be really helpful if you can do a git bisection test, > > so that we can isolate the trouble patch if in fact it is a

Re: [x86_64] 2.6.14-git13 mplayer fails with "v4l2: ioctl queue buffer failed: Bad address" (2 Nov 2005, 11 Nov 2005)

2005-11-11 Thread Junichi Uekawa
Hi, > >>>$ mplayer tv://1 -tv driver=v4l2 > >>>MPlayer dev-CVS--4.0.2 (C) 2000-2005 MPlayer Team > >>>CPU: Advanced Micro Devices Athlon 64 Newcastle,Winchester,San > >>>Diego,Venice; Sempron Palermo (Family: 15, Stepping: 0) > >>>Detected cache-line size is 64 bytes > >>>CPUflags: MMX: 1 MMX2:

Re: [x86_64] 2.6.14-git13 mplayer fails with "v4l2: ioctl queue buffer failed: Bad address" (2 Nov 2005, 11 Nov 2005)

2005-11-10 Thread Michael Krufky
Junichi Uekawa wrote: Hi, I've tried running mplayer v4l2 input on a bt878 card, and it fails. xawtv works fine, and 2.6.14-rc5 used to work fine. On git 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 : $ mplayer tv://1 -tv driver=v4l2 MPlayer dev-CVS--4.0.2 (C) 2000-2005 MPlayer Team CPU: Advanc

Re: [x86_64] 2.6.14-git13 mplayer fails with "v4l2: ioctl queue buffer failed: Bad address" (2 Nov 2005, 11 Nov 2005)

2005-11-10 Thread Junichi Uekawa
Hi, > >I've tried running mplayer v4l2 input on a bt878 card, and it fails. > >xawtv works fine, and 2.6.14-rc5 used to work fine. > > > >On git 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 : > > > >$ mplayer tv://1 -tv driver=v4l2 > >MPlayer dev-CVS--4.0.2 (C) 2000-2005 MPlayer Team > >CPU: Advanced

Re: [x86_64] 2.6.14-git13 mplayer fails with "v4l2: ioctl queue buffer failed: Bad address" (2 Nov 2005, 11 Nov 2005)

2005-11-10 Thread Mike Krufky
Junichi Uekawa wrote: Hi, I've tried running mplayer v4l2 input on a bt878 card, and it fails. xawtv works fine, and 2.6.14-rc5 used to work fine. On git 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 : $ mplayer tv://1 -tv driver=v4l2 MPlayer dev-CVS--4.0.2 (C) 2000-2005 MPlayer Team CPU: Advance

[x86_64] 2.6.14-git13 mplayer fails with "v4l2: ioctl queue buffer failed: Bad address" (2 Nov 2005, 11 Nov 2005)

2005-11-10 Thread Junichi Uekawa
Hi, I've tried running mplayer v4l2 input on a bt878 card, and it fails. xawtv works fine, and 2.6.14-rc5 used to work fine. On git 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 : $ mplayer tv://1 -tv driver=v4l2 MPlayer dev-CVS--4.0.2 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices Athlon 64