Re: Control message failures kill entire XHCI stack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Matthias,

On Tue, Jan 20, 2015 at 10:22 AM, Mathias Nyman
<mathias.nyman@xxxxxxxxxxxxxxx> wrote:
> On 19.01.2015 22:02, Devin Heitmueller wrote:
>> Hi Mathias,
>>
>> Thanks for getting back to me.
>>
>>> There are a couple of xhci bugs triggered by dvb devices:
>>> https://bugzilla.kernel.org/show_bug.cgi?id=75521
>>> https://bugzilla.kernel.org/show_bug.cgi?id=65021
>>>
>>> The first one (75521) I believe is mostly fixed by patches in 3.18 and early
>>> 3.19-rc, so work on a 3.19-rc kernel to eliminate those issues.
>> ...
>>> The second bug (65021) looks more like your case, it queues two stop_endpoints
>>> commands almost simultaneously, which end up never completing, ->timeout and tear down xhci.
>>> That bug has a debug patch for command ring status, you could try it out to check if
>>> the command queue is running among other details.
>>
>> The second bug definitely looks like what I'm seeing.  I'll try your
>> tree and report back my findings.
>
> Ah, let me rebase that tree on top of a more current kernel first.

I've been following this as it somewhat resembles the problems I'm
experiencing, which I've just formally reported in "Hauppauge
USB-Live2 recording fails on USB3 port".

It looks like you did the rebase yesterday, so I tried running your
updated kernel.  It didn't solve the problems, but was an incremental
improvement since the mainline 3.19rc5 kernel hangs during shutdown,
while your modified kernel shutdown cleanly.

I've got a syslog with verbose xhci logging (echo -n 'module xhci_hcd
=p' > /sys/kernel/debug/dynamic_debug/control as you suggested above)
if you would like to take a look.  It's 2.4M so please let me know how
you would like me to pass it on.

Thanks very much,
Alistair
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux