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

From: Jiri Kosina
Date: Tue Sep 21 2010 - 10:56:04 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/