External USB SSD drive not recognized by 24.04

I have two machines running UM 24.04. The first machine (newer) can detect and mount the External USB SSD drive with no issues. The second (older) cannot. This is what I get with dmesg:

[21380.945673] usb 1-1: stat urb: status -71
[21380.945726] scsi 6:0:0:0: tag#28 uas_zap_pending 0 uas-tag 1 inflight: CMD
[21380.945737] scsi 6:0:0:0: tag#28 CDB: Inquiry 12 00 00 00 24 00
[21381.955294] usb 1-1: new high-speed USB device number 6 using xhci_hcd
[21382.082578] usb 1-1: New USB device found, idVendor=0634, idProduct=5600, bcdDevice= 1.00
[21382.082594] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[21382.082602] usb 1-1: Product: Crucial X8 SSD
[21382.082609] usb 1-1: Manufacturer: Micron Technology Inc
[21382.082615] usb 1-1: SerialNumber: 1943E3282790
[21382.090324] scsi host6: uas
[21382.345933] usb 1-1: USB disconnect, device number 6
[21382.346487] scsi 6:0:0:0: tag#0 uas_zap_pending 0 uas-tag 1 inflight: CMD
[21382.346501] scsi 6:0:0:0: tag#0 CDB: Inquiry 12 00 00 00 24 00
[21383.353309] usb 1-1: new high-speed USB device number 7 using xhci_hcd
[21383.480571] usb 1-1: New USB device found, idVendor=0634, idProduct=5600, bcdDevice= 1.00
[21383.480590] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[21383.480598] usb 1-1: Product: Crucial X8 SSD
[21383.480604] usb 1-1: Manufacturer: Micron Technology Inc
[21383.480610] usb 1-1: SerialNumber: 1943E3282790
[21383.486635] scsi host6: uas
[21383.742549] usb 1-1: USB disconnect, device number 7
[21383.742710] usb 1-1: stat urb: status -71

I truncated it because it just repeats. The only difference in the rest is the tag# and the USB device number.

Additionally, plugging the drive on a different port yields the same error. Plugging different USB thumb drives works with no issues.

I don't know what's happening and would really appreciate some help with this.

On my other UM 24.04 PC, this is what dmesg outputs:
[ 2485.683733] usb 1-5: new high-speed USB device number 6 using xhci_hcd
[ 2485.811255] usb 1-5: New USB device found, idVendor=0634, idProduct=5600, bcdDevice= 1.00
[ 2485.811271] usb 1-5: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 2485.811276] usb 1-5: Product: Crucial X8 SSD
[ 2485.811280] usb 1-5: Manufacturer: Micron Technology Inc
[ 2485.811284] usb 1-5: SerialNumber: 1943E3282790
[ 2486.486672] usbcore: registered new interface driver usb-storage
[ 2486.491453] scsi host8: uas
[ 2486.491634] usbcore: registered new interface driver uas
[ 2487.383702] scsi 8:0:0:0: Direct-Access Micron Crucial X8 SSD 0 PQ: 0 ANSI: 6
[ 2487.388443] sd 8:0:0:0: Attached scsi generic sg1 type 0
[ 2488.660164] sd 8:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[ 2488.660497] sd 8:0:0:0: [sdb] Write Protect is off
[ 2488.660503] sd 8:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 2488.661235] sd 8:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2488.661362] sd 8:0:0:0: [sdb] Preferred minimum I/O size 512 bytes
[ 2488.661367] sd 8:0:0:0: [sdb] Optimal transfer size 33553920 bytes
[ 2488.666834] sdb: sdb1 sdb2
[ 2488.667366] sd 8:0:0:0: [sdb] Attached SCSI disk
[ 2511.251307] sd 8:0:0:0: [sdb] Synchronizing SCSI cache
[ 2511.373301] sd 8:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[ 2511.386488] usb 1-5: USB disconnect, device number 6
[ 2574.943072] usb 1-5: new high-speed USB device number 7 using xhci_hcd
[ 2575.071083] usb 1-5: New USB device found, idVendor=0634, idProduct=5600, bcdDevice= 1.00
[ 2575.071099] usb 1-5: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 2575.071104] usb 1-5: Product: Crucial X8 SSD
[ 2575.071108] usb 1-5: Manufacturer: Micron Technology Inc
[ 2575.071111] usb 1-5: SerialNumber: 1943E3282790
[ 2575.075652] scsi host8: uas
[ 2575.967121] scsi 8:0:0:0: Direct-Access Micron Crucial X8 SSD 0 PQ: 0 ANSI: 6
[ 2575.970664] sd 8:0:0:0: Attached scsi generic sg1 type 0
[ 2577.242681] sd 8:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[ 2577.242880] sd 8:0:0:0: [sdb] Write Protect is off
[ 2577.242886] sd 8:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 2577.243376] sd 8:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2577.243488] sd 8:0:0:0: [sdb] Preferred minimum I/O size 512 bytes
[ 2577.243494] sd 8:0:0:0: [sdb] Optimal transfer size 33553920 bytes
[ 2577.248486] sdb: sdb1 sdb2
[ 2577.248968] sd 8:0:0:0: [sdb] Attached SCSI disk

Is the USB interface on your USB drive itself USB3-capable?

And are you trying to plug that into a chassis-port which is limited to USB2-capable?

If your answer is yes to both of those questions, you may wish to consider reading the article which is spotlighted on the cover of the Ubuntu Full Circle Magazine, at page 39, entitled

  • USB3 HDD on USB2 Hardware

That details how I had to work thru the process to resolve the issue.

2 Likes

Thanks for the solution you came up with. However, both my external USB SSD and the PC I use have US3B3 ports, and I have tried connecting the SSD from the front and rear USB3 ports and got the same error. Also, I do not need the USB SSD plugged in at all times.

What I did try though was create an ignore_uas.conf file with the following line:
options usb-storage quirks=idVendor:idProduct:u

After saving and rebooting, I get this:

{ 437.034561] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 437.034891] usb-storage 1-1:1.0: Quirks match for vid 0634 pid 5600: 800000
[ 437.035055] scsi host6: usb-storage 1-1:1.0
[ 438.329376] usb 1-1: USB disconnect, device number 8
[ 439.336603] usb 1-1: new high-speed USB device number 9 using xhci_hcd
[ 439.463843] usb 1-1: New USB device found, idVendor=0634, idProduct=5600, bcdDevice= 1.00
[ 439.463859] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 439.463868] usb 1-1: Product: Crucial X8 SSD
[ 439.463874] usb 1-1: Manufacturer: Micron Technology Inc
[ 439.463880] usb 1-1: SerialNumber: 1943E3282790
[ 439.466226] usb 1-1: UAS is ignored for this device, using usb-storage instead
[ 439.466238] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 439.466599] usb-storage 1-1:1.0: Quirks match for vid 0634 pid 5600: 800000
[ 439.466730] scsi host6: usb-storage 1-1:1.0: USB Mass Storage device detected

No error but the USB SSD still doesn't come up and I cannot mount it as a result.

EDIT: Addendum: Inserting USB thumb drives (USB3/USB2) on the same ports work.

Have you tried booting a different distro on the machine that fails? You can use a live cd image to test including a U-Mate 24.04 image in case the installation went sideways.

If it fails on other distros I would conclude that it's a hardware problem. If so, you can live with the situation or report it as a bug specifying the hardware used (both the computer as well as the external ssd).

3 Likes

That's an idea. I'll try that!

UPDATE: Made an Endeavor OS live USB. Got that stat urb -71 error again with the SSD drive.

3 Likes

It might be that your USB2 port doesn't supply enough power to let the drives start up.
see this: https://www.etechnophiles.com/usb-port-power-output/

You can work around this by using a powered USB hub between your computer and the drive.

The newer computer might deliver more power, the in the link mentioned values are minimum values that the USB ports on the computer have to meet.

2 Likes

@checkmate said earlier that both device and computer port were USB3, with no USB2 involved. :frowning:

3 Likes

Oh... , Indeed, you're right.
How I came to think of USB2 is a mistery.

Anyway, There still is a possibility that the power for the USB ports is not up to par, so trying it with an external powered USB-hub might give some certainty about that.