From: Gabriel C <nix.or.die-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
To: Phil Turmel <philip-xiX+HWoRdKcdnm+yROfE0A@public.gmane.org>
Cc: Alan Stern
<stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org>,
Jiri Kosina <jkosina-AlSwsSmVLrQ@public.gmane.org>,
Mat <jackdachef-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Guillaume Chazarain
<guichaz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Greg Kroah-Hartman <gregkh-l3A5Bk7waGM@public.gmane.org>,
Oliver Neukum <oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>,
Alan Ott <alan-yzvJWuRpmD1zbRFIqnYvSA@public.gmane.org>,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Andreas Bombe <aeb-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>,
Alex Riesen <raa.lkml-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [BUG, Regression, bisected] USB mouse causes bug on 1st insert, ignored on 2nd insert, lsusb stuck at usbdev_open
Date: Tue, 21 Sep 2010 18:08:50 +0200 [thread overview]
Message-ID: <4C98D892.7030605@googlemail.com> (raw)
In-Reply-To: <4C98C70B.3080407-xiX+HWoRdKcdnm+yROfE0A@public.gmane.org>
On 21.09.2010 16:54, Phil Turmel wrote:
> On 09/21/2010 10:30 AM, 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.
>
> Yes, this works for me. (as did Jiri's version.)
Both versions of the patch are working fine for me too also.
>
> Thank you both for the support.
>
> Feel free to add my:
>
> Tested-by: Philip J. Turmel <philip-xiX+HWoRdKcdnm+yROfE0A@public.gmane.org>
And mine if you wish.
Tested-by: Gabriel Craciunescu <nix.or.die-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Gabriel C <nix.or.die@googlemail.com>
To: Phil Turmel <philip@turmel.org>
Cc: Alan Stern <stern@rowland.harvard.edu>,
Jiri Kosina <jkosina@suse.cz>, Mat <jackdachef@gmail.com>,
Guillaume Chazarain <guichaz@gmail.com>,
linux-kernel@vger.kernel.org, Greg Kroah-Hartman <gregkh@suse.de>,
Oliver Neukum <oliver@neukum.org>, Alan Ott <alan@signal11.us>,
linux-usb@vger.kernel.org, linux-input@vger.kernel.org,
Andreas Bombe <aeb@debian.org>, Alex Riesen <raa.lkml@gmail.com>
Subject: Re: [BUG, Regression, bisected] USB mouse causes bug on 1st insert, ignored on 2nd insert, lsusb stuck at usbdev_open
Date: Tue, 21 Sep 2010 18:08:50 +0200 [thread overview]
Message-ID: <4C98D892.7030605@googlemail.com> (raw)
In-Reply-To: <4C98C70B.3080407@turmel.org>
On 21.09.2010 16:54, Phil Turmel wrote:
> On 09/21/2010 10:30 AM, 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.
>
> Yes, this works for me. (as did Jiri's version.)
Both versions of the patch are working fine for me too also.
>
> Thank you both for the support.
>
> Feel free to add my:
>
> Tested-by: Philip J. Turmel <philip@turmel.org>
And mine if you wish.
Tested-by: Gabriel Craciunescu <nix.or.die@googlemail.com>
next prev parent reply other threads:[~2010-09-21 16:08 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-20 1:33 [BUG, Regression, bisected] USB mouse causes bug on 1st insert, ignored on 2nd insert, lsusb stuck at usbdev_open Phil Turmel
2010-09-20 9:43 ` Guillaume Chazarain
2010-09-20 9:43 ` Guillaume Chazarain
2010-09-20 10:47 ` Phil Turmel
2010-09-20 12:42 ` Jiri Kosina
2010-09-20 12:42 ` Jiri Kosina
2010-09-20 13:19 ` Phil Turmel
2010-09-20 13:25 ` Jiri Kosina
2010-09-20 13:56 ` Mat
2010-09-20 15:10 ` Jiri Kosina
2010-09-20 15:10 ` Jiri Kosina
2010-09-20 17:05 ` Mat
2010-09-20 17:40 ` Phil Turmel
2010-09-21 12:31 ` Jiri Kosina
[not found] ` <alpine.LNX.2.00.1009211156520.26813-ztGlSCb7Y1iN3ZZ/Hiejyg@public.gmane.org>
2010-09-21 13:57 ` Jiri Kosina
2010-09-21 13:57 ` Jiri Kosina
[not found] ` <alpine.LNX.2.00.1009211556200.26813-ztGlSCb7Y1iN3ZZ/Hiejyg@public.gmane.org>
2010-09-21 14:48 ` Heinz Diehl
2010-09-21 14:48 ` Heinz Diehl
2010-09-21 14:55 ` Jiri Kosina
2010-09-21 14:30 ` Alan Stern
2010-09-21 14:30 ` Alan Stern
2010-09-21 14:40 ` Jiri Kosina
[not found] ` <alpine.LNX.2.00.1009211638450.26813-ztGlSCb7Y1iN3ZZ/Hiejyg@public.gmane.org>
2010-09-21 14:42 ` Phil Turmel
2010-09-21 14:42 ` Phil Turmel
2010-09-21 14:54 ` Phil Turmel
[not found] ` <4C98C70B.3080407-xiX+HWoRdKcdnm+yROfE0A@public.gmane.org>
2010-09-21 16:08 ` Gabriel C [this message]
2010-09-21 16:08 ` Gabriel C
2010-09-22 9:47 ` Mat
2010-09-22 9:47 ` Mat
[not found] ` <AANLkTinQVNy4yOSW=aEbuYh6b_F8nKBLxsjxBDk8zq8O-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-09-24 16:46 ` Greg KH
2010-09-24 16:46 ` Greg KH
2010-09-21 16:50 ` Greg KH
[not found] ` <20100921165048.GB8756-l3A5Bk7waGM@public.gmane.org>
2010-09-21 16:55 ` Jiri Kosina
2010-09-21 16:55 ` Jiri Kosina
2010-09-21 17:07 ` Greg KH
2010-09-21 17:14 ` Jiri Kosina
2010-09-20 20:55 ` Alan Stern
2010-09-20 20:55 ` Alan Stern
2010-09-20 22:48 ` Jiri Kosina
2010-09-21 0:41 ` Andreas Bombe
2010-09-21 0:41 ` Andreas Bombe
2010-09-20 14:11 ` Phil Turmel
[not found] ` <4C96B9DB.8030403-xiX+HWoRdKcdnm+yROfE0A@public.gmane.org>
2010-09-20 19:35 ` Maciej Rutecki
2010-09-20 19:35 ` Maciej Rutecki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C98D892.7030605@googlemail.com \
--to=nix.or.die-gm/ye1e23mwn+bqq9rbeug@public.gmane.org \
--cc=aeb-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org \
--cc=alan-yzvJWuRpmD1zbRFIqnYvSA@public.gmane.org \
--cc=gregkh-l3A5Bk7waGM@public.gmane.org \
--cc=guichaz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=jackdachef-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=jkosina-AlSwsSmVLrQ@public.gmane.org \
--cc=linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org \
--cc=philip-xiX+HWoRdKcdnm+yROfE0A@public.gmane.org \
--cc=raa.lkml-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.