Re: [BUG, Regression, bisected] USB mouse causes bug on 1st insert, ignored on 2nd insert, lsusb stuck at usbdev_open

Jiri Kosina
2010-09-21T14:56:02Z

On Tue, 21 Sep 2010, Heinz Diehl wrote:

> > > I have just found out that it's actually CONFIG_USB_DYNAMIC_MINORS which
> > > makes the difference. When unset, the problem doesn't trigger, and
> > > usb_find_interface() always returns the proper interface. When
> > > CONFIG_USB_DYNAMIC_MINORS is being used, the oops happen.
>
> I don't have it set in my .config:
>
> liesel:/usr/src/linux-2.6.36-rc4-git5 # cat .config | grep DYNAMIC_MINORS
> CONFIG_SND_DYNAMIC_MINORS=y
> # CONFIG_USB_DYNAMIC_MINORS is not set
>
> > Could you guys please verify whether the patch below fixes the issues you
> > were seeing and puts everything back into shape again? Thanks.
>
> Your patch applies cleanly to 2.6.36-rc4-git5, however, it doesn't fix the
> problem for me.
>
> My .config is attached.

OK, so that is likely something completely different (and you even don't
have NULL pointer dereference).

Let's not hijack this thread for this different problem of yours, and
let's continue in the original one.

--
Jiri Kosina
SUSE Labs, Novell Inc.