* Problem with commit "USB: EHCI: remove ASS/PSS polling timeout"
@ 2013-02-26 17:24 Jean Delvare
2013-02-26 18:21 ` Alan Stern
0 siblings, 1 reply; 4+ messages in thread
From: Jean Delvare @ 2013-02-26 17:24 UTC (permalink / raw)
To: Alan Stern, Greg Kroah-Hartman; +Cc: stable, LKML
Hi Alan, Greg,
Since kernel 3.7.7, my Hauppauge Nova-T 500 Dual DVB-T TV card stopped
working reliably. Half of the boots it will work, the other half it
won't, with different error messages. For example
dib0700: firmware download failed at 7 with -110
or
usb 2-1: device not accepting address 2, error -110
usb 2-1: new high-speed USB device number 3 using ehci_hcd
usb 2-1: device descriptor read/64, error -110
usb 2-1: device descriptor read/64, error -110
usb 2-1: new high-speed USB device number 4 using ehci_hcd
usb 2-1: device not accepting address 4, error -110
usb 2-1: new high-speed USB device number 5 using ehci_hcd
usb 2-1: device not accepting address 5, error -110
hub 2-0:1.0: unable to enumerate USB device on port 1
I bisected it and found:
269ef9f3805a5ec17ddf3dd5f13d5e09598c155b is the first bad commit
commit 269ef9f3805a5ec17ddf3dd5f13d5e09598c155b
Author: Alan Stern <stern@rowland.harvard.edu>
Date: Fri Jan 25 16:52:45 2013 -0500
USB: EHCI: remove ASS/PSS polling timeout
commit 55bcdce8a8228223ec4d17d8ded8134ed265d2c5 upstream.
This patch (as1647) attempts to work around a problem that seems to
affect some nVidia EHCI controllers. They sometimes take a very long
time to turn off their async or periodic schedules. I don't know if
this is a result of other problems, but in any case it seems wise not
to depend on schedule enables or disables taking effect in any
specific length of time.
The patch removes the existing 20-ms timeout for enabling and
disabling the schedules. The driver will now continue to poll the
schedule state at 1-ms intervals until the controller finally decides
to obey the most recent command issued by the driver. Just in case
this hides a problem, a debugging message will be logged if the
controller takes longer than 20 polls.
I don't know if this will actually fix anything, but it can't hurt.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Piergiorgio Sartor <piergiorgio.sartor@nexgo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
I am apparently not the only one complaining about this commit, for
example the following bug resulted in this commit being reverted from
all affected openSUSE kernels one week ago:
https://bugzilla.novell.com/show_bug.cgi?id=804367
Reverting this patch on top of kernel 3.7.9 make my TV card work again.
So please revert this commit upstream as well as in 3.8 and 3.7 stable
kernel series.
As a side note, I am very curious how a commit with comment "I don't
know if this will actually fix anything" ever made it into a stable
kernel tree. I thought there were stable kernel tree rules and one of
them was "it must fix a real bug that bothers people"?
Thanks,
--
Jean Delvare
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Problem with commit "USB: EHCI: remove ASS/PSS polling timeout"
2013-02-26 17:24 Problem with commit "USB: EHCI: remove ASS/PSS polling timeout" Jean Delvare
@ 2013-02-26 18:21 ` Alan Stern
2013-02-26 18:23 ` Greg Kroah-Hartman
2013-02-26 18:50 ` Jean Delvare
0 siblings, 2 replies; 4+ messages in thread
From: Alan Stern @ 2013-02-26 18:21 UTC (permalink / raw)
To: Jean Delvare; +Cc: Greg Kroah-Hartman, stable, LKML
On Tue, 26 Feb 2013, Jean Delvare wrote:
> Hi Alan, Greg,
>
> Since kernel 3.7.7, my Hauppauge Nova-T 500 Dual DVB-T TV card stopped
> working reliably. Half of the boots it will work, the other half it
> won't, with different error messages. For example
Yes, I know. Other people have already reported the same problem --
but only for EHCI controllers made by VIA. Do you also have a VIA EHCI
controller?
> So please revert this commit upstream as well as in 3.8 and 3.7 stable
> kernel series.
I intend to as soon as the current merge window closes.
Or should I do it sooner? Greg, if I send in a reversion patch now,
will it get pushed to Linus within the merge window?
> As a side note, I am very curious how a commit with comment "I don't
> know if this will actually fix anything" ever made it into a stable
> kernel tree. I thought there were stable kernel tree rules and one of
> them was "it must fix a real bug that bothers people"?
Somebody reported a problem, and I wrote a series of two patches to fix
it. With the two patches together the problem went away, but we never
tried to figure out whether either one of them would have sufficed. I
simply submitted both patches.
Alan Stern
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem with commit "USB: EHCI: remove ASS/PSS polling timeout"
2013-02-26 18:21 ` Alan Stern
@ 2013-02-26 18:23 ` Greg Kroah-Hartman
2013-02-26 18:50 ` Jean Delvare
1 sibling, 0 replies; 4+ messages in thread
From: Greg Kroah-Hartman @ 2013-02-26 18:23 UTC (permalink / raw)
To: Alan Stern; +Cc: Jean Delvare, stable, LKML
On Tue, Feb 26, 2013 at 01:21:30PM -0500, Alan Stern wrote:
> On Tue, 26 Feb 2013, Jean Delvare wrote:
>
> > Hi Alan, Greg,
> >
> > Since kernel 3.7.7, my Hauppauge Nova-T 500 Dual DVB-T TV card stopped
> > working reliably. Half of the boots it will work, the other half it
> > won't, with different error messages. For example
>
> Yes, I know. Other people have already reported the same problem --
> but only for EHCI controllers made by VIA. Do you also have a VIA EHCI
> controller?
>
> > So please revert this commit upstream as well as in 3.8 and 3.7 stable
> > kernel series.
>
> I intend to as soon as the current merge window closes.
>
> Or should I do it sooner? Greg, if I send in a reversion patch now,
> will it get pushed to Linus within the merge window?
Yes, I can and will get it in as soon as possible, as people are having
problems with this, and I want to get it fixed in the 3.8.y releases as
well.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem with commit "USB: EHCI: remove ASS/PSS polling timeout"
2013-02-26 18:21 ` Alan Stern
2013-02-26 18:23 ` Greg Kroah-Hartman
@ 2013-02-26 18:50 ` Jean Delvare
1 sibling, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2013-02-26 18:50 UTC (permalink / raw)
To: Alan Stern; +Cc: Greg Kroah-Hartman, stable, LKML
Hi Alan,
On Tue, 26 Feb 2013 13:21:30 -0500 (EST), Alan Stern wrote:
> On Tue, 26 Feb 2013, Jean Delvare wrote:
> > Since kernel 3.7.7, my Hauppauge Nova-T 500 Dual DVB-T TV card stopped
> > working reliably. Half of the boots it will work, the other half it
> > won't, with different error messages. For example
>
> Yes, I know. Other people have already reported the same problem --
> but only for EHCI controllers made by VIA. Do you also have a VIA EHCI
> controller?
Yes, VIA VT6212L:
01:04.0 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev 62)
01:04.1 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev 62)
01:04.2 USB Controller [0c03]: VIA Technologies, Inc. USB 2.0 [1106:3104] (rev 65)
> > So please revert this commit upstream as well as in 3.8 and 3.7 stable
> > kernel series.
>
> I intend to as soon as the current merge window closes.
>
> Or should I do it sooner? Greg, if I send in a reversion patch now,
> will it get pushed to Linus within the merge window?
I see no reason to delay it. The merge window is when more patches are
allowed to go in, not fewer. When a commit caused a regression in a
stable kernel series, the right time to get it fixed is "as soon as
possible."
Thanks,
--
Jean Delvare
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-26 18:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-26 17:24 Problem with commit "USB: EHCI: remove ASS/PSS polling timeout" Jean Delvare
2013-02-26 18:21 ` Alan Stern
2013-02-26 18:23 ` Greg Kroah-Hartman
2013-02-26 18:50 ` Jean Delvare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox