2012-02-07 05:48:14

by Sid Hayn

[permalink] [raw]
Subject: Re: Question about error from xhci-hcd

I apologize but I am having the same issue reported in this thread in
December

[ 5077.573181] xhci_hcd 0000:0a:00.0: ERROR no room on ep ring

I saw no resolution on this issue so I figured I'd step up and see if
you needed an active tester who could reproduce the issue.

I am running Gentoo with a 3.2.2 kernel. I am able to run any kernel
version you need, including random git trees and custom patches. If you
have not solved this yet, please allow me to be your test monkey. If you
have solved this already then sorry for harming the signal to noise
ratio, I could not a find a later message then the one below.

Thanks,
Rick

On 12/28/2011 10:30 PM, Andiry Xu wrote:
>
> That's the error I want to see, but I didn't find it in the dmesg you
> posted. is it wrapped?
>
> Anyway, please post the full dmesg with no room on ring error and the
> dump of the ep ring and event ring (so the xhci_debug_ring() is
> triggered in the patch), so we can see if the ring is mangled or there
> is just too many transfers.
>
> Another thing you can try is the andiry-ring-expansion branch on Sarah's
> xhci git tree, check if there is still no room on ring error.

No, the ring is not wrapped. I seems that my anti-spam mechanism kicked
in too
soon. or the run stopped too soon.

I'll have the OP do another run and see if we can get the right
information.

Larry
--


2012-02-07 09:52:23

by Andiry Xu

[permalink] [raw]
Subject: Re: Question about error from xhci-hcd

On 02/07/2012 01:47 PM, Richard Farina wrote:
> I apologize but I am having the same issue reported in this thread in
> December
>
> [ 5077.573181] xhci_hcd 0000:0a:00.0: ERROR no room on ep ring
>
> I saw no resolution on this issue so I figured I'd step up and see if
> you needed an active tester who could reproduce the issue.
>
> I am running Gentoo with a 3.2.2 kernel. I am able to run any kernel
> version you need, including random git trees and custom patches. If you
> have not solved this yet, please allow me to be your test monkey. If you
> have solved this already then sorry for harming the signal to noise
> ratio, I could not a find a later message then the one below.
>

You can try andiry-ring-expansion branch on Sarah's xhci git tree. It
contains bugs and I'm trying to fix that, but you can have a try.

Thanks,
Andiry

>
> On 12/28/2011 10:30 PM, Andiry Xu wrote:
>>
>> That's the error I want to see, but I didn't find it in the dmesg you
>> posted. is it wrapped?
>>
>> Anyway, please post the full dmesg with no room on ring error and the
>> dump of the ep ring and event ring (so the xhci_debug_ring() is
>> triggered in the patch), so we can see if the ring is mangled or there
>> is just too many transfers.
>>
>> Another thing you can try is the andiry-ring-expansion branch on Sarah's
>> xhci git tree, check if there is still no room on ring error.
>
> No, the ring is not wrapped. I seems that my anti-spam mechanism kicked
> in too
> soon. or the run stopped too soon.
>
> I'll have the OP do another run and see if we can get the right
> information.
>
> Larry
> --
>
>

2012-02-07 13:30:12

by Larry Finger

[permalink] [raw]
Subject: Re: Question about error from xhci-hcd

On 02/06/2012 11:47 PM, Richard Farina wrote:
> I apologize but I am having the same issue reported in this thread in
> December
>
> [ 5077.573181] xhci_hcd 0000:0a:00.0: ERROR no room on ep ring
>
> I saw no resolution on this issue so I figured I'd step up and see if
> you needed an active tester who could reproduce the issue.
>
> I am running Gentoo with a 3.2.2 kernel. I am able to run any kernel
> version you need, including random git trees and custom patches. If you
> have not solved this yet, please allow me to be your test monkey. If you
> have solved this already then sorry for harming the signal to noise
> ratio, I could not a find a later message then the one below.

Are the "no room" messages triggered by rtl8192cu, or some other driver?

Larry

2012-02-07 14:59:42

by Sarah Sharp

[permalink] [raw]
Subject: Re: Question about error from xhci-hcd

On Tue, Feb 07, 2012 at 07:30:02AM -0600, Larry Finger wrote:
> On 02/06/2012 11:47 PM, Richard Farina wrote:
> >I apologize but I am having the same issue reported in this thread in
> >December
> >
> >[ 5077.573181] xhci_hcd 0000:0a:00.0: ERROR no room on ep ring
> >
> >I saw no resolution on this issue so I figured I'd step up and see if
> >you needed an active tester who could reproduce the issue.
> >
> >I am running Gentoo with a 3.2.2 kernel. I am able to run any kernel
> >version you need, including random git trees and custom patches. If you
> >have not solved this yet, please allow me to be your test monkey. If you
> >have solved this already then sorry for harming the signal to noise
> >ratio, I could not a find a later message then the one below.
>
> Are the "no room" messages triggered by rtl8192cu, or some other driver?

They can be caused by any USB driver that attempts to queue large
transfers or many small transfers.

Sarah Sharp

2012-02-07 15:00:11

by Sid Hayn

[permalink] [raw]
Subject: Re: Question about error from xhci-hcd

On 02/07/12 08:30, Larry Finger wrote:
> On 02/06/2012 11:47 PM, Richard Farina wrote:
>> I apologize but I am having the same issue reported in this thread in
>> December
>>
>> [ 5077.573181] xhci_hcd 0000:0a:00.0: ERROR no room on ep ring
>>
>> I saw no resolution on this issue so I figured I'd step up and see if
>> you needed an active tester who could reproduce the issue.
>>
>> I am running Gentoo with a 3.2.2 kernel. I am able to run any kernel
>> version you need, including random git trees and custom patches. If you
>> have not solved this yet, please allow me to be your test monkey. If you
>> have solved this already then sorry for harming the signal to noise
>> ratio, I could not a find a later message then the one below.
>
> Are the "no room" messages triggered by rtl8192cu, or some other driver?
>
rtl8187 and rt2800usb both seem to reliably trigger that message on my
system. And when I say reliably I mean by the time I noticed I had a
1.5GB /var/log/messages. Fortunately I have several usb2 ports in
addition to the affected usb3 ports. :-)

-Rick
> Larry
>
>
>

2012-02-07 19:28:07

by Larry Finger

[permalink] [raw]
Subject: Re: Question about error from xhci-hcd

On 02/07/2012 08:55 AM, Sarah Sharp wrote:
>
> They can be caused by any USB driver that attempts to queue large
> transfers or many small transfers.

At least two of the drivers that I maintain, or have had some part of the
development, have this problem; however, I do not have the hardware to replicate
it. I am ready to help in any way I can.

Is the ringfull patch that Andiry sent still useful? I know that it applies. If
it would be worthwhile, I'll send it on to Richard.

Thanks,

Larry