On 24.03.2017 12:07, Grey Christoforo wrote:
Dear kernel USB people,

Could you please have a look at the bug report here?
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667750



ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 13
Looking for event-dma 00000004777d9010 trb-start 0000000475a14fe0 trb-end 
0000000475a14fe0
seg-start 0000000475a14000 seg-end 0000000475a14ff0

So we get an interrupt saying TRB at 0x4777d9010 is a short packet (comp code 
13),
but xhci driver thinks we are currently working on TRB at 475a14fe0.
475a14fe0 is the last tranfer TRB on that segment. It ends at the Link trb at 
475a14ff0.

I bet 0x4777d9010 is the next segment, and for some reason driver isn't there 
yet.
(maybe TRB was split because data > 64k?, or we're  missing event for previous 
TD)

Can you try with a 4.11 kernel, and take traces with it?

just before the sending data over the network do:

mount -t debugfs none /sys/kernel/debug
echo xhci-hcd >> /sys/kernel/debug/tracing/set_event

Then add content of
/sys/kernel/debug/tracing/trace
and
dmesg
to the bug

-Mathias
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to