From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758029Ab0IUQvM (ORCPT ); Tue, 21 Sep 2010 12:51:12 -0400 Received: from cantor.suse.de ([195.135.220.2]:35902 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754059Ab0IUQvK (ORCPT ); Tue, 21 Sep 2010 12:51:10 -0400 Date: Tue, 21 Sep 2010 09:50:48 -0700 From: Greg KH To: Alan Stern Cc: Jiri Kosina , Phil Turmel , Mat , Guillaume Chazarain , linux-kernel@vger.kernel.org, Oliver Neukum , Alan Ott , linux-usb@vger.kernel.org, linux-input@vger.kernel.org, Andreas Bombe , Alex Riesen , Gabriel C Subject: Re: [BUG, Regression, bisected] USB mouse causes bug on 1st insert, ignored on 2nd insert, lsusb stuck at usbdev_open Message-ID: <20100921165048.GB8756@suse.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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