Re: [PATCH] usb-storage: apply IGNORE_UAS for Realtek on RTL9210

From: Michał Pecio
Date: Wed Mar 26 2025 - 03:24:16 EST


> 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