Re: what could cause a cmd cmplt err -2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 30, 2022 at 01:55:35PM -0500, James wrote:
> What do these mean?
> I get a lot of them in dmesg.
> sda is
> 
> [885862.931385] usb 2-2.1: cmd cmplt err -2

This means a data transfer was cancelled (probably because the device 
didn't respond after 30 seconds or so).

> [885863.015996] usb 2-2.1: reset SuperSpeed USB device number 3 using
> xhci_hcd
> [885863.040134] scsi host0: uas_eh_device_reset_handler success
> [893205.111118] sd 0:0:0:0: [sda] tag#1 uas_eh_abort_handler 0 uas-tag 4
> inflight: CMD IN
> [893205.111147] sd 0:0:0:0: [sda] tag#1 CDB: Read(10) 28 00 51 20 ab 90 00
> 00 08 00
> [893205.127136] scsi host0: uas_eh_device_reset_handler start

The command that was cancelled was a READ(10).  After the cancellation, 
the device was reset so that it ought to be ready to accept a new 
command.

It's not easy to tell why the command timed out.  Maybe the drive 
encountered a problem and therefore wasn't able to execute the command.  
Or maybe it did execute the command but the response message going back 
to the computer got lost.

Alan Stern

> sda is Bus 002 Device 003: ID 0bc2:ab5a Seagate RSS LLC One Touch HDD USB3
> hard drive.
> It's on a powered hub with the wireless adapter.
> 
> 
> $ lsusb -tv
> \/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
>     ID 1d6b:0003 Linux Foundation 3.0 root hub
>     |__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
>         ID 05e3:0612 Genesys Logic, Inc. Hub
>         |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=uas, 5000M
>             ID 0bc2:ab5a Seagate RSS LLC
>         |__ Port 3: Dev 4, If 0, Class=Vendor Specific Class,
> Driver=mt76x2u, 5000M
>             ID 0e8d:7612 MediaTek Inc. MT7612U 802.11a/b/g/n/ac Wireless
> Adapter



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux