public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
From: "Michał Pecio" <michal.pecio@gmail.com>
To: dengjie03@kylinos.cn
Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
	linux-usb@vger.kernel.org, stern@rowland.harvard.edu,
	usb-storage@lists.one-eyed-alien.net, xiehongyu1@kylinos.cn
Subject: Re: [PATCH] usb-storage: apply IGNORE_UAS for Realtek on RTL9210
Date: Wed, 26 Mar 2025 08:23:53 +0100	[thread overview]
Message-ID: <20250326082353.3a79aa8a@foxbook> (raw)
In-Reply-To: <20250326022019.1593669-1-dengjie03@kylinos.cn>

> The UAS mode of Realtek USB_HDD is reported
> to fail to work on several platforms with
> the following error message,

Possibly related?
https://github.com/raspberrypi/linux/commit/9d3afd87557637a37135aa6e370dea846b839c2d

An RTL9210 hardware bug with a simple driver workaround, solved
by RPi but never submitted upstream. I guess you could try it.

> [  148.437916][ 22] xhci_hcd 0000:ba:02.0: xHCI host not responding to stop endpoint command.
> [  148.462295][ 22] xhci_hcd 0000:ba:02.0: xHCI host controller not responding, assume dead

That's your host controller crashing, maybe a device bug confused it.
It may be the reason why storage drivers never recover from the error.

Out of curiosity, which HC is doing this?

> then after
> re-connecting the device will be offlined
> and not working at all.

Nothing can possibly work after the above, until xhci_hcd is reloaded.

Regards,
Michal

  reply	other threads:[~2025-03-26  7:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-26  2:20 [PATCH] usb-storage: apply IGNORE_UAS for Realtek on RTL9210 Jie Deng
2025-03-26  7:23 ` Michał Pecio [this message]
2025-04-11 13:47 ` Greg KH

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=20250326082353.3a79aa8a@foxbook \
    --to=michal.pecio@gmail.com \
    --cc=dengjie03@kylinos.cn \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    --cc=usb-storage@lists.one-eyed-alien.net \
    --cc=xiehongyu1@kylinos.cn \
    /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