Opened 4 years ago

Last modified 4 years ago

#1342 new defect

Prolific PL2507 (0x067b:0x2507) — at Initial Version

Reported by: floogy Owned by:
Priority: minor Milestone: undecided
Component: all Version: 7.1
Keywords: Cc:

Description

Hi, I got an old "Lidl Targa" external USB Drive with a [usbjmicron] Prolific PL2507 (0x067b:0x2507) USB to IDE bridge and an 400GB SAMSUNG HD400LD HDD.

smartctl doesn't work very good on this one, despitze I found some reports it should, but maybe I got a different combination or configuration?

sat, auto gives better output than usbjmicron,0, but no smartoutput either.

-d sat,auto (full see at the end of the report)
{{{ [...]
scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0

Terminate command early due to bad response to IEC mode page

START OF ENABLE/DISABLE COMMANDS SECTION

scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
unable to fetch IEC (SMART) mode page [scsi response fails sanity test]

START OF READ SMART DATA SECTION

Current Drive Temperature: 0 C
Drive Trip Temperature: 0 C

Error Counter logging not supported

scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
Device does not support Self Test logging
}}}

-d test

~$ sudo smartctl -a -T verypermissive --smart=on -d test  /dev/sdk
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-29-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sdk [USB JMicron]: Device of type '**usbjmicron**' [ATA] detected
/dev/sdk [USB JMicron]: Device of type 'usbjmicron' [ATA] opened

but usbmicron gives garbage (see bottom of this report)

Thank you in advance.

floogy

informations and tests

~$ uname -a
Linux ubuntu-SSD1 5.4.0-29-generic #33-Ubuntu SMP Wed Apr 29 14:32:27 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04 LTS
Release:	20.04
Codename:	focal

~$ dpkg -l smartmontools | grep ^ii
ii  smartmontools  7.1-1build1  amd64        control and monitor storage systems using S.M.A.R.T.
~$ apt policy  smartmontools 
smartmontools:
  Installiert:           7.1-1build1
  Installationskandidat: 7.1-1build1
  Versionstabelle:
 *** 7.1-1build1 500
        500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status


$ smartctl -V
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-29-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

smartctl comes with ABSOLUTELY NO WARRANTY. This is free
software, and you are welcome to redistribute it under
the terms of the GNU General Public License; either
version 2, or (at your option) any later version.
See http://www.gnu.org for further details.

smartmontools release 7.1 dated 2019-12-30 at 15:00:11 UTC
smartmontools SVN rev 5022 dated 2019-12-30 at 15:00:49
smartmontools build host: x86_64-pc-linux-gnu
smartmontools build with: C++14, GCC 9.3.0
smartmontools configure arguments: '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-initscriptdir=no' '--docdir=/usr/share/doc/smartmontools' '--with-attributelog=/var/lib/smartmontools/attrlog.' '--with-drivedbdir=/var/lib/smartmontools/drivedb' '--with-exampledir=/usr/share/doc/smartmontools/examples/' '--with-savestates=/var/lib/smartmontools/smartd.' '--with-smartdplugindir=/etc/smartmontools/smartd_warning.d' '--with-smartdscriptdir=/usr/share/smartmontools' '--with-systemdenvfile=/etc/default/smartmontools' '--with-systemdsystemunitdir=/lib/systemd/system' '--with-libsystemd=auto' '--with-selinux' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CXXFLAGS=-g -O2 -fdebug-prefix-map=/build/smartmontools-ZttrSr/smartmontools-7.1=. -fstack-protector-strong -Wformat -Werror=format-security -fsigned-char -Wall -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/smartmontools-ZttrSr/smartmontools-7.1=. -fstack-protector-strong -Wformat -Werror=format-security -fsigned-char -Wall -O2'


[...]
[59856.544333] perf: interrupt took too long (4962 > 4958), lowering kernel.perf_event_max_sample_rate to 40250
[67159.354847] usb 1-1.5.4: USB disconnect, device number 9
[67221.892015] usb 1-1.5.4: new high-speed USB device number 10 using ehci-pci
[67221.922552] usb 1-1.5.4: New USB device found, idVendor=067b, idProduct=2507, bcdDevice= 1.00
[67221.922555] usb 1-1.5.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[67221.922558] usb 1-1.5.4: Product: Mass Storage Device
[67221.922559] usb 1-1.5.4: Manufacturer: Prolific Technology Inc.
[67221.923069] usb-storage 1-1.5.4:1.0: USB Mass Storage device detected
[67221.923327] usb-storage 1-1.5.4:1.0: Quirks match for vid 067b pid 2507: 110
[67221.925284] scsi host10: usb-storage 1-1.5.4:1.0
[67222.936804] scsi 10:0:0:0: Direct-Access     SAMSUNG  HD400LD          WQ10 PQ: 0 ANSI: 0
[67222.937235] sd 10:0:0:0: Attached scsi generic sg10 type 0
[67222.938035] sd 10:0:0:0: [sdk] Adjusting the sector count from its reported value: 781422769
[67222.938041] sd 10:0:0:0: [sdk] 781422768 512-byte logical blocks: (400 GB/373 GiB)
[67222.939145] sd 10:0:0:0: [sdk] Write Protect is off
[67222.939147] sd 10:0:0:0: [sdk] Mode Sense: 03 00 00 00
[67222.940262] sd 10:0:0:0: [sdk] No Caching mode page found
[67222.940268] sd 10:0:0:0: [sdk] Assuming drive cache: write through
[67222.961280] sd 10:0:0:0: [sdk] Adjusting the sector count from its reported value: 781422769
[67222.984199]  sdk: sdk1 sdk2
[67222.985501] sd 10:0:0:0: [sdk] Adjusting the sector count from its reported value: 781422769
[67222.987775] sd 10:0:0:0: [sdk] Attached SCSI disk
[67223.350177] BTRFS warning (device sdj1): duplicate device fsid:devid for 898c8973-ae88-454d-b76b-c540660909d1:1 old:/dev/sdj1 new:/dev/sdk1
[67223.492522] BTRFS warning (device sdj1): duplicate device fsid:devid for 898c8973-ae88-454d-b76b-c540660909d1:1 old:/dev/sdj1 new:/dev/sdk1


floogy@ubuntu-SSD1:~$ lsusb | grep Prolific
Bus 001 Device 010: ID 067b:2507 Prolific Technology, Inc. PL2507 Hi-speed USB to IDE bridge controller

floogy@ubuntu-SSD1:~$ lsusb -d 67b:2507
Bus 001 Device 010: ID 067b:2507 Prolific Technology, Inc. PL2507 Hi-speed USB to IDE bridge controller
floogy@ubuntu-SSD1:~$ lsusb -v -d 67b:2507

Bus 001 Device 010: ID 067b:2507 Prolific Technology, Inc. PL2507 Hi-speed USB to IDE bridge controller
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x067b Prolific Technology, Inc.
  idProduct          0x2507 PL2507 Hi-speed USB to IDE bridge controller
  bcdDevice            1.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0020
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower              100mA
    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     0x01  EP 1 OUT
        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     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
floogy@ubuntu-SSD1:~$ 


floogy@ubuntu-SSD1:~$ sudo smartctl -a -T verypermissive --smart=on -d sat,auto  /dev/sdk
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-29-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               SAMSUNG
Product:              HD400LD
Revision:             WQ10
User Capacity:        400.088.457.728 bytes [400 GB]
Logical block size:   512 bytes
scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
>> Terminate command early due to bad response to IEC mode page

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
unable to fetch IEC (SMART) mode page [scsi response fails sanity test]

=== START OF READ SMART DATA SECTION ===
Current Drive Temperature:     0 C
Drive Trip Temperature:        0 C

Error Counter logging not supported

scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
Device does not support Self Test logging
floogy@ubuntu-SSD1:~$ 

floogy@ubuntu-SSD1:~$ sudo smartctl -a -T verypermissive --smart=on -d test  /dev/sdk
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-29-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sdk [USB JMicron]: Device of type 'usbjmicron' [ATA] detected
/dev/sdk [USB JMicron]: Device of type 'usbjmicron' [ATA] opened


auto gives garbage
floogy@ubuntu-SSD1:~$ sudo smartctl -a -T verypermissive --smart=on -d auto  /dev/sdk
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-29-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: scsi error unsupported scsi opcode

=== START OF INFORMATION SECTION ===
Device Model:     �u�ګ��_�Qz�����#��ـ:����3�D@����qm
Serial Number:    @�����s�����I�V9
LU WWN Device Id: 8 28d498 0ce5074bf
Firmware Version: ���<���W
User Capacity:    1.697.303.176.704 bytes [1,69 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7168 rpm
Form Factor:      3.5 inches
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-4 (unknown minor revision code: 0xdf73)
Transport Type:   Unknown (0x93a4)
Local Time is:    Sun Jun 14 03:42:51 2020 CEST
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.
SMART support is: Unknown - Try option -s with argument 'on' to enable it.
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enable failed: scsi error unsupported scsi opcode

Read SMART Data failed: scsi error unsupported scsi opcode


=== START OF READ SMART DATA SECTION ===
SMART Status command failed: scsi error unsupported scsi opcode
SMART overall-health self-assessment test result: UNKNOWN!
SMART Status, Attributes and Thresholds cannot be read.

Read SMART Error Log failed: scsi error unsupported scsi opcode

Read SMART Self-test Log failed: scsi error unsupported scsi opcode

Selective Self-tests/Logging not supported

floogy@ubuntu-SSD1:~$ 

_______________________________________________________________________________________


floogy@ubuntu-SSD1:~$ sudo smartctl -T verypermissive -x -d usbjmicron,x,0 /dev/sdk
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-29-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: scsi error unsupported scsi opcode

=== START OF INFORMATION SECTION ===
Device Model:     ׋[˟/����3o���k�%
Serial Number:    ���u*��,K�B�0���
Firmware Version: E�)���^
User Capacity:    1.408.203.512.832 bytes [1,40 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    59160 rpm
Form Factor:      3.5 inches
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS >5 (14) (unknown minor revision code: 0xc997)
Transport Type:   Unknown (0x8be5)
Local Time is:    Sun Jun 14 04:09:31 2020 CEST
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.
SMART support is: Unknown - Try option -s with argument 'on' to enable it.AAM feature is:   Unavailable
APM feature is:   Unavailable
Rd look-ahead is: Unavailable
Write cache is:   Unavailable
DSN feature is:   Unavailable
ATA Security is:  Disabled, frozen [SEC2]
Wt Cache Reorder: Unavailable

Read SMART Data failed: scsi error unsupported scsi opcode

=== START OF READ SMART DATA SECTION ===
SMART Status command failed: scsi error unsupported scsi opcode
SMART overall-health self-assessment test result: UNKNOWN!
SMART Status, Attributes and Thresholds cannot be read.

Read SMART Log Directory failed: scsi error unsupported scsi opcode

ATA_READ_LOG_EXT (addr=0x00:0x00, page=0, n=1) failed: scsi error unsupported scsi opcode
Read GP Log Directory failed

SMART Extended Comprehensive Error Log (GP Log 0x03) not supported

Read SMART Error Log failed: scsi error unsupported scsi opcode

SMART Extended Self-test Log (GP Log 0x07) not supported

Read SMART Self-test Log failed: scsi error unsupported scsi opcode

Selective Self-tests/Logging not supported

SCT Commands not supported

Device Statistics (GP/SMART Log 0x04) not supported

Pending Defects log (GP Log 0x0c) not supported

SATA Phy Event Counters (GP Log 0x11) not supported

floogy@ubuntu-SSD1:~$ 


references

Smartmontools USB Device Support
Profilic 0x067b
(No Name) Prolific PL2507 0x067b:0x2507 ? -d usbjmicron,x Linux Ondrej Zary, also ​ML-Archive
https://www.smartmontools.org/wiki/Supported_USB-Devices#idVendor0x0500

[smartmontools-support] Recognizing Samsung HD400LD USB drive
From: bege <bege10@t-...> - 2016-10-19 12:15:25
https://sourceforge.net/p/smartmontools/mailman/message/35437231/

[smartmontools-support] Prolific PL2507 USB Device
From: James Olson <big_spender12@ly...> - 2012-04-27 00:56:50
Please move the Prolific PL2507 (0x067b:0x25070 USB Device from the Unsupported Devices section to the Supported Devices section of the Supported USB Devices page. It uses the jmicron protocol and works with the "smartctl -d usbjmicron,0" command. Note that you must supply the ,0 for the Port or you will get a failure with a "No device connected" message.
https://sourceforge.net/p/smartmontools/mailman/smartmontools-support/thread/1779131327.21974.1335487159222.JavaMail.mail@webmail15/

Change History (0)

Note: See TracTickets for help on using tickets.