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

Greg KH
2010-09-21T16:51:12Z

On Tue, Sep 21, 2010 at 10:30:18AM -0400, Alan Stern wrote:
> On Tue, 21 Sep 2010, Jiri Kosina 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'll look into that.
>
> Apparently the problem is that intf->minors doesn't get initialized
> properly. This patch should fix it. Everybody, please try it out.

Wow, what happened to suddenly cause this? Nothing has changed here in
a long time.

wierd.

thanks,

greg k-h