← Back to team overview

kernel-packages team mailing list archive

[Bug 1161985] Re: Error sending ATA command IDENTIFY DEVICE

 

Hi all,

I seem to also be affected. I know that I used to have no problems with
the enclosure (lsusb details below), but nowadays in Ubuntu I get
the errors.

Searching google for 14cd:6116 gives several error reports from different
distributions etc., also it looks similar to
launchpad bug https://launchpad.net/bugs/1176355 and
maybe https://launchpad.net/bugs/1082215.

It seems to me that the USB device "14cd:6116" shows different
failure modes depending on the bcdDevice number (release number),
the number for my problematic device is "1.50", but others seem to
be also problematic. 

Killing all "udisks" processes (all that show up from "ps fax|grep udisk")
helps to be able to mount the disk and use it, but I seems that when
a process "/usr/lib/udisks2/udisksd --no-debug" is running again
(started by some under the hood mechanism that I was not aware
of, when using KDE program gwenview to access the disk), then
the disk is again going into failure mode.
Downgrading the udisks2 package as described above leads to a
situation where even such a  "/usr/lib/udisks2/udisksd --no-debug"
process running does not put the disk into failure mode.

I did not test with the regular udisks processes running though,
because I do not know how to restart them properly.

Regards
Simon

below:
* dmesg of the problem with comments
* lsusb -vvv -d 14cd:6116

dmesg, with comments:
Note that I run the module usb_storage with delay_use=5
(sudo modprobe usb_storage delay_use=5), from an earlier attempt to
fix the problem.

plugging, having killed all instances of "udisks" processes prior:

[16596.788460] usb 2-5: new high-speed USB device number 13 using ehci-pci
[16596.921661] usb 2-5: New USB device found, idVendor=14cd, idProduct=6116
[16596.921673] usb 2-5: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[16596.921681] usb 2-5: Product: USB 2.0  SATA BRIDGE   
[16596.921687] usb 2-5: Manufacturer: Super Top   
[16596.921693] usb 2-5: SerialNumber: M6116018VE15
[16596.922963] ums-cypress 2-5:1.0: USB Mass Storage device detected
[16596.924248] scsi15 : usb-storage 2-5:1.0
[16601.933622] scsi 15:0:0:0: Direct-Access     FUJITSU  MHV2100BH PL          PQ: 0 ANSI: 0
[16601.934260] sd 15:0:0:0: Attached scsi generic sg2 type 0
[16601.942260] sd 15:0:0:0: [sdb] 195371568 512-byte logical blocks: (100 GB/93.1 GiB)
[16601.943869] sd 15:0:0:0: [sdb] Write Protect is off
[16601.943880] sd 15:0:0:0: [sdb] Mode Sense: 03 00 00 00
[16601.944466] sd 15:0:0:0: [sdb] No Caching mode page found
[16601.944470] sd 15:0:0:0: [sdb] Assuming drive cache: write through
[16601.946860] sd 15:0:0:0: [sdb] No Caching mode page found
[16601.946864] sd 15:0:0:0: [sdb] Assuming drive cache: write through
[16602.020545]  sdb: sdb1
[16602.022864] sd 15:0:0:0: [sdb] No Caching mode page found
[16602.022869] sd 15:0:0:0: [sdb] Assuming drive cache: write through
[16602.022873] sd 15:0:0:0: [sdb] Attached SCSI disk

since I did kill the "udisks" processes/daemons before, I was now able to mount the
disk manually, an use it

[22828.940082] usb 2-5: reset high-speed USB device number 13 using
ehci-pci

I decided to run the KDE program gwenview and have it access the disk.
This put the disk back into a failure mode, as seen below. I checked
and observed that there was again a "udisks" process running,
"/usr/lib/udisks2/udisksd --no-debug" if I remember right.

[22885.448597] sd 15:0:0:0: [sdb] Unhandled sense code
[22885.448605] sd 15:0:0:0: [sdb]  
[22885.448608] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[22885.448612] sd 15:0:0:0: [sdb]  
[22885.448615] Sense Key : Medium Error [current] 
[22885.448621] sd 15:0:0:0: [sdb]  
[22885.448625] Add. Sense: Unrecovered read error
[22885.448634] sd 15:0:0:0: [sdb] CDB: 
[22885.448636] Read(10): 28 00 09 68 e5 7f 00 00 f0 00
[22885.448650] blk_update_request: 407 callbacks suppressed
[22885.448652] end_request: critical target error, dev sdb, sector 157869439
[22885.448657] quiet_error: 548 callbacks suppressed
[22885.448660] Buffer I/O error on device sdb1, logical block 19733672
[22885.448669] Buffer I/O error on device sdb1, logical block 19733673
[22885.448673] Buffer I/O error on device sdb1, logical block 19733674
[22885.448676] Buffer I/O error on device sdb1, logical block 19733675
[22885.448679] Buffer I/O error on device sdb1, logical block 19733676
[22885.448683] Buffer I/O error on device sdb1, logical block 19733677
[22885.448686] Buffer I/O error on device sdb1, logical block 19733678
[22885.448689] Buffer I/O error on device sdb1, logical block 19733679
[22885.448692] Buffer I/O error on device sdb1, logical block 19733680
[22885.448696] Buffer I/O error on device sdb1, logical block 19733681
[22885.460127] sd 15:0:0:0: [sdb] Unhandled sense code
[22885.460133] sd 15:0:0:0: [sdb]  
[22885.460137] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[22885.460141] sd 15:0:0:0: [sdb]  
[22885.460144] Sense Key : Medium Error [current] 
[22885.460149] sd 15:0:0:0: [sdb]  
[22885.460153] Add. Sense: Unrecovered read error
[22885.460157] sd 15:0:0:0: [sdb] CDB: 
[22885.460159] Read(10): 28 00 09 68 e6 6f 00 00 f0 00
[22885.460175] end_request: critical target error, dev sdb, sector 157869679
[22885.468108] sd 15:0:0:0: [sdb] Unhandled sense code
[22885.468113] sd 15:0:0:0: [sdb]  
[22885.468117] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[22885.468120] sd 15:0:0:0: [sdb]  
[22885.468123] Sense Key : Medium Error [current] 
[22885.468128] sd 15:0:0:0: [sdb]  
[22885.468132] Add. Sense: Unrecovered read error
[22885.468136] sd 15:0:0:0: [sdb] CDB: 
[22885.468138] Read(10): 28 00 09 68 e7 5f 00 00 20 00
[22885.468151] end_request: critical target error, dev sdb, sector 157869919
[22885.475979] sd 15:0:0:0: [sdb] Unhandled sense code
[22885.475985] sd 15:0:0:0: [sdb]  
[22885.475988] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[22885.475991] sd 15:0:0:0: [sdb]  
[22885.475999] Sense Key : Medium Error [current] 
[22885.476010] sd 15:0:0:0: [sdb]  
[22885.476012] Add. Sense: Unrecovered read error
[22885.476014] sd 15:0:0:0: [sdb] CDB: 
[22885.476015] Read(10): 28 00 09 68 e5 7f 00 00 08 00
... and so on and so forth ...

... the communication to the disk at this point is dead, only option is to
unplug the cable...

When I downgraded udisks as described above, using the package from

 www.ubuntuupdates.org/package/core/quantal/main/base/udisks2

then I did not observe the problem when running gwenview on the disk,
even though a "/usr/lib/udisks2/udisksd --no-debug" process is running again.

lsusb of the drive enclosure:

Bus 002 Device 014: ID 14cd:6116 Super Top M6116 SATA Bridge
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x14cd Super Top
  idProduct          0x6116 M6116 SATA Bridge
  bcdDevice            1.50
  iManufacturer           1 Super Top   
  iProduct                3 USB 2.0  SATA BRIDGE   
  iSerial                 2 M6116018VE15
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7                                                                                                                                                   
        bDescriptorType         5                                                                                                                                                   
        bEndpointAddress     0x81  EP 1 IN                                                                                                                                          
        bmAttributes            2                                                                                                                                                   
          Transfer Type            Bulk                                                                                                                                             
          Synch Type               None                                                                                                                                             
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to libatasmart in Ubuntu.
https://bugs.launchpad.net/bugs/1161985

Title:
  Error sending ATA command IDENTIFY DEVICE

Status in ATA S.M.A.R.T. Disk Health Monitoring Library:
  Confirmed
Status in “libatasmart” package in Ubuntu:
  Confirmed
Status in “udisks2” package in Ubuntu:
  Confirmed

Bug description:
  I'm not able to mount my external HDD using Xubuntu 13.04 (udisks2),
  not even while booting into a live medium. However, Windows 7 and
  Ubuntu 12.04.2 (udisks) are able to mount the device without problem.

  Syslog is showing following entries:
  Mar 29 19:19:41 local kernel: [   46.012101] usb 2-2: new high-speed USB device number 5 using ehci-pci
  Mar 29 19:19:41 local kernel: [   46.145401] usb 2-2: New USB device found, idVendor=14cd, idProduct=6116
  Mar 29 19:19:41 local kernel: [   46.145409] usb 2-2: New USB device strings: Mfr=1, Product=3, SerialNumber=2
  Mar 29 19:19:41 local kernel: [   46.145412] usb 2-2: Product: USB 2.0  SATA BRIDGE   
  Mar 29 19:19:41 local kernel: [   46.145416] usb 2-2: Manufacturer: Super Top   
  Mar 29 19:19:41 local kernel: [   46.145419] usb 2-2: SerialNumber: M6116018VE15
  Mar 29 19:19:41 local kernel: [   46.153488] Initializing USB Mass Storage driver...
  Mar 29 19:19:41 local kernel: [   46.153614] usbcore: registered new interface driver usb-storage
  Mar 29 19:19:41 local kernel: [   46.153617] USB Mass Storage support registered.
  Mar 29 19:19:41 local kernel: [   46.157283] scsi6 : usb-storage 2-2:1.0
  Mar 29 19:19:41 local kernel: [   46.157457] usbcore: registered new interface driver ums-cypress
  Mar 29 19:19:42 local kernel: [   47.156812] scsi 6:0:0:0: Direct-Access     WDC WD32 00BEVT-22ZCT0         PQ: 0 ANSI: 0
  Mar 29 19:19:42 local kernel: [   47.157700] sd 6:0:0:0: Attached scsi generic sg2 type 0
  Mar 29 19:19:42 local kernel: [   47.159898] sd 6:0:0:0: [sdb] 625142448 512-byte logical blocks: (320 GB/298 GiB)
  Mar 29 19:19:42 local kernel: [   47.160903] sd 6:0:0:0: [sdb] Write Protect is off
  Mar 29 19:19:42 local kernel: [   47.160909] sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
  Mar 29 19:19:42 local kernel: [   47.161741] sd 6:0:0:0: [sdb] No Caching mode page present
  Mar 29 19:19:42 local kernel: [   47.161748] sd 6:0:0:0: [sdb] Assuming drive cache: write through
  Mar 29 19:19:42 local kernel: [   47.165016] sd 6:0:0:0: [sdb] No Caching mode page present
  Mar 29 19:19:42 local kernel: [   47.165023] sd 6:0:0:0: [sdb] Assuming drive cache: write through
  Mar 29 19:19:42 local kernel: [   47.206914]  sdb: sdb1 sdb2
  Mar 29 19:19:42 local kernel: [   47.209109] sd 6:0:0:0: [sdb] No Caching mode page present
  Mar 29 19:19:42 local kernel: [   47.209115] sd 6:0:0:0: [sdb] Assuming drive cache: write through
  Mar 29 19:19:42 local kernel: [   47.209120] sd 6:0:0:0: [sdb] Attached SCSI disk
  Mar 29 19:19:50 local kernel: [   54.928067] usb 2-2: reset high-speed USB device number 5 using ehci-pci
  Mar 29 19:19:50 local udisksd[1881]: Error probing device: Error sending ATA command IDENTIFY DEVICE to /dev/sdb: Unexpected sense data returned:#0120000: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00    ................#0120010: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00    ................#012 (g-io-error-quark, 0)

  thad@local:~$ apt-cache policy udisks2
  udisks2:
    Installed: 2.1.0-2
    Candidate: 2.1.0-2
    Version table:
   *** 2.1.0-2 0
          500 http://archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/libatasmart/+bug/1161985/+subscriptions