linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-usb@vger.kernel.org
Subject: [Bug 213081] usb-storage / uas Genesys Logic Card Reader no longer working on 5.12
Date: Sun, 16 May 2021 01:20:27 +0000	[thread overview]
Message-ID: <bug-213081-208809-xfXyX2J5ey@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-213081-208809@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=213081

--- Comment #6 from Alan Stern (stern@rowland.harvard.edu) ---
Here's where the difference shows up.  In the 5.11 log:

ffff8881259c3540 48224904 S Bo:6:004:2 -115 31 = 55534243 03000000 60000000
80000603 00000060 00000000 00000000 000000
ffff8881259c3540 48224939 C Bo:6:004:2 0 31 >
ffff888102854900 48224942 S Bi:6:004:1 -115 96 <
ffff888102854900 48225040 C Bi:6:004:1 -121 18 = 70000200 0000000a 00000000
3a000000 0000
ffff8881259c3540 48225042 S Bi:6:004:1 -115 13 <
ffff8881259c3540 48225112 C Bi:6:004:1 -32 0
ffff8881259c3540 48225115 S Co:6:004:0 s 02 01 0000 0081 0000 0
ffff8881259c3540 48225522 C Co:6:004:0 0 0
ffff8881259c3540 48225525 S Bi:6:004:1 -115 13 <
ffff8881259c3540 48225598 C Bi:6:004:1 0 13 = 55534253 03000000 4e000000 00

In the 5.12 log:

ffff88812366e6c0 273105524 S Bo:6:010:2 -115 31 = 55534243 03000000 60000000
80000603 00000060 00000000 00000000 000000
ffff88812366e6c0 273105551 C Bo:6:010:2 0 31 >
ffff88815e5c5c00 273105558 S Bi:6:010:1 -115 96 <
ffff88815e5c5c00 273105676 C Bi:6:010:1 -121 18 = 70000200 0000000a 00000000
3a000000 0000
ffff88812366e6c0 273105682 S Bi:6:010:1 -115 13 <
ffff88812366e6c0 273105860 C Bi:6:010:1 0 0
ffff88812366e6c0 273105864 S Bi:6:010:1 -115 13 <
ffff88812366e6c0 303293804 C Bi:6:010:1 -104 0

In both of these, the computer asks for a 96-bytes of sense data and the device
responds with only 18 bytes.  Then when the computer asks for a status code,
the device is supposed to respond with a STALL (code -32 in the trace).  This
does happen (in the sixth line) under 5.11, but under 5.12 the STALL isn't
reported.  Things get worse from there.

This appears to be a bug in the xhci-hcd driver.  I can't tell you how to debug
that driver; your best approach is probably to use bisection to find the commit
between 5.11 and 5.12 responsible for introducing the bug.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2021-05-16  1:20 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-15 12:43 [Bug 213081] New: usb-storage / uas Genesys Logic Card Reader no longer working on 5.12 bugzilla-daemon
2021-05-15 15:36 ` [Bug 213081] " bugzilla-daemon
2021-05-15 17:44 ` bugzilla-daemon
2021-05-15 17:44 ` bugzilla-daemon
2021-05-15 17:45 ` bugzilla-daemon
2021-05-15 17:51 ` bugzilla-daemon
2021-05-16  1:20 ` bugzilla-daemon [this message]
2021-05-16  9:51 ` bugzilla-daemon
2021-05-16 15:01 ` bugzilla-daemon
2021-05-17 19:15 ` bugzilla-daemon
2021-05-18  1:47 ` bugzilla-daemon
2021-05-18 16:59 ` bugzilla-daemon
2021-05-18 17:57 ` bugzilla-daemon
2021-05-18 19:01 ` bugzilla-daemon
2021-05-18 19:48 ` bugzilla-daemon
2021-05-18 21:19 ` bugzilla-daemon
2021-05-19 12:13 ` bugzilla-daemon
2021-05-19 17:31 ` bugzilla-daemon
2021-05-19 17:38 ` bugzilla-daemon
2021-05-19 17:59 ` bugzilla-daemon
2021-05-19 20:12 ` bugzilla-daemon
2021-05-19 21:24 ` bugzilla-daemon
2021-05-19 21:26 ` bugzilla-daemon
2021-05-20 20:04 ` bugzilla-daemon
2021-05-20 21:04 ` bugzilla-daemon
2021-05-21 16:54 ` bugzilla-daemon
2021-05-21 17:01 ` bugzilla-daemon
2021-05-21 19:25 ` bugzilla-daemon
2021-05-21 20:39 ` bugzilla-daemon
2021-05-21 21:56 ` bugzilla-daemon
2021-06-05  7:29 ` bugzilla-daemon

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=bug-213081-208809-xfXyX2J5ey@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.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;
as well as URLs for NNTP newsgroup(s).