From: Greg KH <gregkh@linuxfoundation.org>
To: Angelo Dureghello <angelo@kernel-space.org>
Cc: linux-usb@vger.kernel.org
Subject: Re: testusb: epipe errors on test 9 and 10
Date: Thu, 27 Nov 2025 09:22:34 +0100 [thread overview]
Message-ID: <2025112737-frisk-prototype-f011@gregkh> (raw)
In-Reply-To: <cbb3bbc1-e8c1-450b-a38f-7b3f4cda6006@kernel-space.org>
On Thu, Nov 27, 2025 at 09:06:24AM +0100, Angelo Dureghello wrote:
> Hi all,
>
> looking for some help on testusb tool tests 9,10 always failing with
> -EPIPE, kind of ep stall. Peripheral side has g_zero loaded.
>
> Devices under test are custom boards, have same qualcomm 8 cores cpu, and
> kernel is android 5.4. Involved drivers in both devices are xhci and dwc3.
> Anyway, connection under tests is 2.0 microusb connector on both side.
5.4 is _very_ old and obsolete and odds are you are paying for support
for that kernel from a company if you are stuck with it (hint, it is
going to go end-of-life in 3 days). Please contact them as you are
paying for this kind of thing from your vendor.
If you can reproduce this with the latest release (6.17), please let us
know.
> /dev/bus/usb/001/007 test 9 --> 5 (I/O error)
> /dev/bus/usb/001/007 test 10 --> 32 (Broken pipe)
>
> usbmon shows for both cases some EPIPE:
>
> ffffff85bf04b100 1951528285 S Ci:1:007:0 s 80 00 0000 0000 0002 2 <
> ffffff85bf04b100 1951528785 C Ci:1:007:0 0 2 = 0100
> ffffff85bf04b100 1951529102 S Ci:1:007:0 s 81 00 0000 0000 0002 2 <
> ffffff85bf04b100 1951529554 C Ci:1:007:0 -32 0 <== EPIPE
> /dev/bus/usb/001/007 test 9 --> 5 (I/O error)
>
> ffffff85bb5b2100 3778244155 C Ci:1:007:0 0 18 = 12010002 ff000040 2505a0a4
> 04050102 0302
> ffffff85bb5b2100 3778244178 S Ci:1:007:0 s 80 06 0100 0000 0012 18 <
> ffffff85bb5b0100 3778245631 C Ci:1:007:0 0 9 = 09024500 010304c0 00
> ffffff85bb5b0100 3778245693 S Ci:1:007:0 s 80 06 0200 0000 0009 9 <
> ffffff85bb5b1500 3778247900 C Ci:1:007:0 0 1 = 00
> ffffff85bb5b1500 3778247964 S Ci:1:007:0 s 81 0a 0000 0000 0001 1 <
> ffffff85bb5b4100 3778249094 C Ci:1:007:0 -32 0 EPIPE
> ffffff85bb5b7100 3778249432 C Ci:1:007:0 -104 0 ECONNRESET
> ffffff85bb5b4500 3778249493 C Ci:1:007:0 -104 0
> ffffff85bb5b3500 3778249519 C Ci:1:007:0 -104 0
> ffffff85bb5b3900 3778249544 C Ci:1:007:0 -104 0
> ffffff85bb5b6500 3778249569 C Co:1:007:0 -104 0
> ffffff85bb5b6900 3778249602 C Ci:1:007:0 -104 0
> ffffff85c5b6e100 3778249631 C Ci:1:007:0 -104 0
> ffffff85c5b6ed00 3778249653 C Ci:1:007:0 -104 0
> ffffff85c5b6dd00 3778249674 C Ci:1:007:0 -104 0
> ffffff85c5b6d500 3778249697 C Ci:1:007:0 -104 0
> ffffff85c5b6b500 3778249727 C Ci:1:007:0 -104 0
> ffffff85c5b6fd00 3778249755 C Ci:1:007:0 -104 0
> ffffff85c5b6a900 3778249775 C Ci:1:007:0 -104 0
> ffffff85c5b6ad00 3778249795 C Ci:1:007:0 -104 0
> ffffff85c5b6b100 3778249815 C Ci:1:007:0 -104 0
> ffffff85c5b6c500 3778249844 C Ci:1:007:0 -104 0
> ffffff85c5b6d900 3778249869 C Ci:1:007:0 -104 0
> /dev/bus/usb/001/007 test 10 --> 32 (Broken pipe)
Any hints on logs from the device side as to what is happening? Any
debug logs? If this is an i/o error, the controller might be logging
something that went wrong.
thanks,
greg k-h
next prev parent reply other threads:[~2025-11-27 8:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-27 8:06 testusb: epipe errors on test 9 and 10 Angelo Dureghello
2025-11-27 8:22 ` Greg KH [this message]
2025-11-27 12:53 ` Angelo Dureghello
2025-11-27 13:21 ` Greg KH
2025-11-28 3:23 ` Alan Stern
2025-11-28 14:20 ` Angelo Dureghello
2025-11-28 15:20 ` Alan Stern
2025-11-28 16:10 ` Alan Stern
2025-11-28 21:21 ` Angelo Dureghello
2025-12-01 23:29 ` Thinh Nguyen
2025-12-02 3:09 ` Alan Stern
2025-12-02 4:23 ` Thinh Nguyen
2025-12-02 16:25 ` Alan Stern
2025-12-02 23:22 ` Thinh Nguyen
2025-12-04 22:26 ` Alan Stern
2025-12-10 14:20 ` Angelo Dureghello
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=2025112737-frisk-prototype-f011@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=angelo@kernel-space.org \
--cc=linux-usb@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox