Linux USB
 help / color / mirror / Atom feed
From: Oliver Neukum <oneukum@suse.com>
To: Jonathan Woithe <jwoithe@just42.net>, linux-usb@vger.kernel.org
Cc: Mathias Nyman <mathias.nyman@linux.intel.com>
Subject: Re: Samsung T5 500 GB USB3.1 SSD fails with ASMedia ASM1142, 250 GB version works
Date: Mon, 22 Feb 2021 11:24:18 +0100	[thread overview]
Message-ID: <cdb0ab8e14de5f93dfae2164f18d9d1703b3fc36.camel@suse.com> (raw)
In-Reply-To: <20210219102218.GA29156@marvin.atrad.com.au>

Am Freitag, den 19.02.2021, 20:52 +1030 schrieb Jonathan Woithe:
> Hi all
> 
> 

Hi,

> Since some people have reported success with ASMedia cards if the uas driver
> is prevented from loading, I tried this too.
> 
>   rmmod uas
>   rmmod usb-storage
>   modprobe usb-storage quirks=04e8:61f5:u

this rules out an issue with UAS.

> This still ended in failure along similar lines:
> 
>   usb 4-1: new SuperSpeedPlus Gen 2 USB device number 3 using xhci_hcd
>   usb-storage 4-1:1.0: USB Mass Storage device detected
>   usb-storage 4-1:1.0: Quirks match for vid 04e8 pid 61f5: 800000
>   scsi host10: usb-storage 4-1:1.0
>   usb 4-1: reset SuperSpeedPlus Gen 2 USB device number 3 using xhci_hcd (x6)
>   sd 10:0:0:0: [sdd] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x00 cmd_age=0s
>   sd 10:0:0:0: [sdd] tag#0 CDB: opcode=0x2a 2a 00 23 1c 34 30 00 02 00 00
> 
> After 7 repeats of the above sequence the operation failed.
> 
> It may be helpful to know that the same 500 GB SSD does work on a different
> machine when connected to usbc or usb3 ports with kernel 4.4.19.  These
> ports on that machine are provided by a mainboard host controller:

Is it bus powered or self powered?
It is possible that the other machine can just supply more power.

> 00:14.0 USB controller: Intel Corporation C610/X99 series chipset USB xHCI Host Controller (rev 05) (prog-if 30 [XHCI])
>         Subsystem: Gigabyte Technology Co., Ltd C610/X99 series chipset USB xHCI Host Controller
>         Flags: bus master, medium devsel, latency 0, IRQ 19
>         Memory at fa220000 (64-bit, non-prefetchable) [size=64K]
>         Capabilities: [70] Power Management version 2
>         Kernel driver in use: xhci_hcd
>         Kernel modules: xhci_pci
> 38:00.0 USB controller: Intel Corporation Device 15b6 (prog-if 30 [XHCI])
>         Subsystem: Device 2222:1111
>         Flags: bus master, fast devsel, latency 0, IRQ 41
>         Memory at f3f00000 (32-bit, non-prefetchable) [size=64K]
>         Capabilities: [80] Power Management version 3
>         Capabilities: [88] MSI: Enable+ Count=1/8 Maskable- 64bit+
>         Capabilities: [c0] Express Endpoint, MSI 00
>         Capabilities: [100] Device Serial Number 92-5c-85-88-c2-23-04-00
>         Capabilities: [200] Advanced Error Reporting
>         Capabilities: [300] Virtual Channel
>         Capabilities: [400] Power Budgeting <?>
>         Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=0d8 <?>
>         Capabilities: [600] Latency Tolerance Reporting
>         Capabilities: [700] #19
>         Kernel driver in use: xhci_hcd
>         Kernel modules: xhci_pci
> 
> This shows there's nothing inherently wrong with the SSD.

Either this is a power issue or an issue in the HC triggered by the
xhci driver. That looks like a report for Mathias.

	Regards
		Oliver




  reply	other threads:[~2021-02-22 10:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-19 10:22 Samsung T5 500 GB USB3.1 SSD fails with ASMedia ASM1142, 250 GB version works Jonathan Woithe
2021-02-22 10:24 ` Oliver Neukum [this message]
2021-02-22 11:17   ` Jonathan Woithe
2021-02-26 12:32     ` Jonathan Woithe

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=cdb0ab8e14de5f93dfae2164f18d9d1703b3fc36.camel@suse.com \
    --to=oneukum@suse.com \
    --cc=jwoithe@just42.net \
    --cc=linux-usb@vger.kernel.org \
    --cc=mathias.nyman@linux.intel.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