Re: BUG: unable to handle kernel paging request at 6b6b6bcb (v4l2_device_disconnect+0x11/0x30)

2011-09-06 Thread Dave Young
On Tue, Sep 6, 2011 at 6:31 AM, Sitsofe Wheeler sits...@yahoo.com wrote: On Mon, Sep 05, 2011 at 12:16:42PM +0200, Hans Verkuil wrote: On Monday, September 05, 2011 12:13:26 Hans Verkuil wrote: The original order is correct, but what I missed is that for drivers that release (free)

[PATCH] v4l2: uvcvideo use after free bug fix

2011-09-06 Thread Dave Young
Reported-by: Sitsofe Wheeler sits...@yahoo.com Signed-off-by: Dave Young hidave.darks...@gmail.com Tested-by: Sitsofe Wheeler sits...@yahoo.com Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Unplugging uvc video camera trigger following oops: eeepc kernel: [ 1393.500719] usb 3-2

Re: BUG: unable to handle kernel paging request at 6b6b6bcb (v4l2_device_disconnect+0x11/0x30)

2011-09-01 Thread Dave Young
Please read the FAQ at  http://www.tux.org/lkml/ -- Regards Yang RuiRui Reported-by: Sitsofe Wheeler sits...@yahoo.com Signed-off-by: Dave Young hidave.darks...@gmail.com Unplugging uvc video camera trigger following oops: eeepc kernel: [ 1393.500719] usb 3-2: USB disconnect, device number 4

Re: BUG: unable to handle kernel paging request at 6b6b6bcb (v4l2_device_disconnect+0x11/0x30)

2011-09-01 Thread Dave Young
On Fri, Sep 2, 2011 at 3:10 AM, Sitsofe Wheeler sits...@yahoo.com wrote: On Thu, Sep 01, 2011 at 05:02:51PM +0800, Dave Young wrote: On Tue, Aug 30, 2011 at 4:48 AM, Sitsofe Wheeler sits...@yahoo.com wrote: I managed to produce an oops in 3.1.0-rc3-00270-g7a54f5e by unplugging a USB webcam

Re: BUG: unable to handle kernel paging request at 6b6b6bcb (v4l2_device_disconnect+0x11/0x30)

2011-09-01 Thread Dave Young
On Fri, Sep 2, 2011 at 12:59 PM, Dave Young hidave.darks...@gmail.com wrote: On Fri, Sep 2, 2011 at 3:10 AM, Sitsofe Wheeler sits...@yahoo.com wrote: On Thu, Sep 01, 2011 at 05:02:51PM +0800, Dave Young wrote: On Tue, Aug 30, 2011 at 4:48 AM, Sitsofe Wheeler sits...@yahoo.com wrote: I

Re: [PATCH] bttv: fix mutex use before init

2010-12-14 Thread Dave Young
On Mon, Dec 13, 2010 at 04:30:24PM -0800, Brandon Philips wrote: On 17:13 Sun 12 Dec 2010, Torsten Kaiser wrote: * change fh-cap.vb_lock in bttv_open() AND radio_open() to btv-init.cap.vb_lock * add a mutex_init(btv-init.cap.vb_lock) to the setup of init in bttv_probe() That seems

Re: [PATCH] bttv: fix mutex use before init

2010-12-14 Thread Dave Young
On Wed, Dec 15, 2010 at 5:43 AM, Brandon Philips bran...@ifup.org wrote: On 21:56 Tue 14 Dec 2010, Torsten Kaiser wrote: On Tue, Dec 14, 2010 at 1:30 AM, Brandon Philips bran...@ifup.org wrote: On 17:13 Sun 12 Dec 2010, Torsten Kaiser wrote:  * change fh-cap.vb_lock in bttv_open() AND

Re: [PATCH] bttv: fix mutex use before init

2010-12-13 Thread Dave Young
On Sun, Dec 12, 2010 at 05:13:47PM +0100, Torsten Kaiser wrote: On Sun, Dec 12, 2010 at 2:15 PM, Dave Young hidave.darks...@gmail.com wrote: oops happen in bttv_open while locking uninitialized mutex fh-cap.vb_lock add mutex_init before usage I have seen the same problem twice since I

Re: Oops in 2.6.37-rc{3,4,5}

2010-12-12 Thread Dave Young
On Fri, Dec 10, 2010 at 10:34:06PM +, Chris Clayton wrote: I'm not subscribed, so please cc me on any reply. With rc kernels from 2.6.37, X frequently (approx 3 boots out of every 4) fails to start. dmesg shows the oops below. I can bisect over the weekend - probably Sunday - if no

[PATCH] bttv: fix mutex use before init

2010-12-12 Thread Dave Young
oops happen in bttv_open while locking uninitialized mutex fh-cap.vb_lock add mutex_init before usage Signed-off-by: Dave Young hidave.darks...@gmail.com Tested-by: Chris Clayton chris2...@googlemail.com --- drivers/media/video/bt8xx/bttv-driver.c |2 ++ 1 file changed, 2 insertions

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-19 Thread Dave Young
On Wed, Oct 20, 2010 at 4:44 AM, Arnd Bergmann a...@arndb.de wrote: On Tuesday 19 October 2010 22:29:12 Greg KH wrote: On Tue, Oct 19, 2010 at 09:40:47PM +0200, Oliver Neukum wrote: Am Dienstag, 19. Oktober 2010, 21:37:35 schrieb Greg KH: So no need to clean it up for multiprocessor