mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michal Pecio <michal.pecio@gmail.com>
To: wakasio <scarabeeta@gmail.com>
Cc: Mathias Nyman <mathias.nyman@intel.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: xhci_hcd / ASMedia ASM4242: Bulk-OUT -EPROTO with Logitec 0789:0308 during DVD+RW recording
Date: Tue, 8 Sep 2026 13:10:46 +0200	[thread overview]
Message-ID: <20260908131046.1fa7034f.michal.pecio@gmail.com> (raw)
In-Reply-To: <20260908104935.13248-1-scarabeeta@gmail.com>

On Tue,  8 Sep 2026 19:49:35 +0900, wakasio wrote:
> Hi Michal,
> 
> Thanks for the link. Bug 220936 looks like the same issue, same board
> family (MSI X870E), same controller, same suspend timeout messages.
> 
> To answer your question: no device was connected to bus 5 or bus 6 at
> any point before it happened. Full sequence from that boot:
> 
>   10:59:35.014709 xhci_hcd 0000:77:00.0: xHCI Host Controller
>   10:59:35.014756 new USB bus registered, assigned bus number 5
>   10:59:35.014848 xhci_hcd 0000:77:00.0: xHCI Host Controller
>   10:59:35.014893 new USB bus registered, assigned bus number 6
>   10:59:35.014938 Host supports USB 3.2 Enhanced SuperSpeed
>   10:59:35.015160 usb usb5: SerialNumber: 0000:77:00.0
>   10:59:35.015534 usb usb6: SerialNumber: 0000:77:00.0
>   11:00:48.349628 Clearing Run/Stop bit failed -110
>   11:00:48.349744 PM: suspend_common(): xhci_pci_suspend returns -110
>   11:00:48.349812 can't suspend (hcd_pci_runtime_suspend returned -110)
> 
> Nothing else touches bus 5 or bus 6 in between. This was autosuspend
> on an idle, empty controller, about 73 seconds after boot.
> 
> After that I tried unbind and bind on the PCI device by hand, that
> did not recover it either:
> 
>   11:03:30.975422 xhci_hcd 0000:77:00.0: remove, state 4
>   11:03:30.975812 USB bus 6 deregistered
>   11:03:30.976136 Host halt failed, -110
>   11:03:30.976262 Host controller not halted, aborting reset.
>   11:03:30.976325 USB bus 5 deregistered
>   11:03:33.058079 can't setup: -110
>   11:03:33.058350 init 0000:77:00.0 fail, -110
>   11:03:33.058416 probe with driver xhci_hcd failed with error -110

That's odd, not sure what excuse it could possibly have for refusing
to halt idefinitely in a completely idle state.

> Separately, I applied the TRB dump patch on top of the previous two
> and reproduced the write failure again. Same pattern as the last two
> times: 11 soft-resets then a hard-reset, all 12 Transfer error events
> at the same TRB address (this run: ffffd140425178e0) with the same
> resid (23552).
> 
> The dump itself printed fine, event ring and endpoint ring, about
> 1061 lines total. I could not tell which dumped entry corresponds to
> the failing TRB though. The "Transfer error ... at %px" address is a
> kernel virtual address, but dump_ring() prints each TRB using
> (u64)seg->dma + offset, which is the DMA address. I do not have a way
> to convert between the two from here, so I do not want to guess which
> line in the dump is the one that failed.
> 
> I have the full dump saved. It is about 1061 lines, too long to paste
> directly into this mail. Let me know if you want it pasted anyway, or
> sent some other way, or if there is a specific part of it you want
> first.

We should be able to find the offending TRB by looking at transfer
events. 1061 lines isn't huge, you could send it as an attachment.

Regards,
Michal

  reply	other threads:[~2026-09-08 11:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-04 15:46 wakasio
2026-09-04 18:30 ` Michal Pecio
2026-09-05  3:10   ` wakasio
2026-09-05  8:18     ` Michal Pecio
2026-09-05 13:45       ` wakasio
2026-09-05 21:49         ` Michal Pecio
2026-09-06  2:13           ` wakasio
2026-09-06 10:15             ` Michal Pecio
2026-09-06 10:27             ` Michal Pecio
2026-09-08 10:49               ` wakasio
2026-09-08 11:10                 ` Michal Pecio [this message]
2026-09-10 11:04                   ` wakasio
2026-09-10 11:32                     ` Michal Pecio
2026-09-10 11:38                       ` wakasio
2026-09-10 12:16                         ` Michal Pecio
2026-09-10 12:55                           ` wakasio

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=20260908131046.1fa7034f.michal.pecio@gmail.com \
    --to=michal.pecio@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mathias.nyman@intel.com \
    --cc=scarabeeta@gmail.com \
    /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

all inboxes | Powered by JetHome®