[Smartmontools-database] TOSHIBA-MQ04UBF100 on Windows

Arioch The ariochthe at gmail.com
Sun Aug 23 21:14:31 CEST 2020


Okay, seems i found something.
After reading the article above (or actually it's Russian blob source)
i seem to find a hack-around.

> i am not sure if this key anyhow corresponds with
> \Device\Harddisk1\DR1 and \Device\Harddisk1\DR6
>
> Looking into HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\partmgr\Enum
>
> 0 --> Legacy
> 1 --> SATA Seagate HDD (C: and D:)
> 6 --> "USBSTOR\Disk&Ven_TOSHIBA&Prod_External_USB_3.0&Rev_5438\20190628014710F&0"
> 2..5 --> cardreader (USB, internal)
>
> This PDF/DOCX doc might be (or not) of some help:
> https://github.com/sysprg-46/EnumerateDevicesAndVolumesWin

HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
  \DosDevices\E:  => short format, 98 59 78 AA - 00 00 10 00 - 00 00 00 00

Interlinked with

HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\MultifunctionAdapter\0\DiskController\0\DiskPeripheral\1
Identifier -> b154375a-aa785998-A

Was it why smartctl tries to open DR1 instead of DR6?

So, i renamed the branch
HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\MultifunctionAdapter\0\DiskController\0\DiskPeripheral\1
into ....\6

After that smartctl seemed to work - but only ONCE, and not again

~~~~~~~~~~~~~~~

D:\tosh_white>smartctl -r ioctl,2 -i /dev/sdb
smartctl 7.2 2020-08-22 r5078 [x86_64-w64-mingw32-win7-sp1] (CircleCI)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

 \\.\PhysicalDrive1: successfully opened
  IOCTL_STORAGE_QUERY_PROPERTY returns:
    Vendor:   "TOSHIBA"
    Product:  "External USB 3.0"
    Revision: "5438"
    Removable: No
    BusType:   0x07
\.\\PHYSICALDRIVE1 --> "TOSHIBA External USB 3.0 USB Device":
 \\PC-ANALYTICDEV\root\cimv2:Win32_USBController.DeviceID="PCI\\VEN_1002&DEV_439
8&SUBSYS_83891043&REV_00\\3&267A616A&0&91":
  |   "USB\\ROOT_HUB\\4&36AC09D0&0"
 \\PC-ANALYTICDEV\root\cimv2:Win32_USBController.DeviceID="PCI\\VEN_1002&DEV_439
8&SUBSYS_83891043&REV_00\\3&267A616A&0&99":
  |   "USB\\ROOT_HUB\\4&2386B151&0"
 \\PC-ANALYTICDEV\root\cimv2:Win32_USBController.DeviceID="PCI\\VEN_1002&DEV_439
9&SUBSYS_83891043&REV_00\\3&267A616A&0&A5":
  |   "USB\\ROOT_HUB\\4&1B906A66&0"
 \\PC-ANALYTICDEV\root\cimv2:Win32_USBController.DeviceID="PCI\\VEN_1002&DEV_439
6&SUBSYS_83891043&REV_00\\3&267A616A&0&92":
  |   "USB\\ROOT_HUB20\\4&20D008E6&0"
  +-> "USB\\VID_0424&PID_2514\\5&2D41F132&0&6" [0x0424:0x2514]
  +-> "USB\\VID_046D&PID_C077\\6&3A496EC0&0&3" [0x046d:0xc077]
  |   "HID\\VID_046D&PID_C077\\7&10B28CD4&0&0000"
  +-> "USB\\VID_1A2C&PID_2C27\\6&3A496EC0&0&4" [0x1a2c:0x2c27]
  +-> "USB\\VID_1A2C&PID_2C27&MI_00\\7&12305AAF&0&0000" [0x1a2c:0x2c27]
  |   "HID\\VID_1A2C&PID_2C27&MI_00\\8&26BC11A7&0&0000"
  +-> "USB\\VID_1A2C&PID_2C27&MI_01\\7&12305AAF&0&0001" [0x1a2c:0x2c27]
  |   "HID\\VID_1A2C&PID_2C27&MI_01&COL01\\8&29C5282&0&0000"
  |   "HID\\VID_1A2C&PID_2C27&MI_01&COL02\\8&29C5282&0&0001"
 \\PC-ANALYTICDEV\root\cimv2:Win32_USBController.DeviceID="PCI\\VEN_1002&DEV_439
6&SUBSYS_83891043&REV_00\\3&267A616A&0&9A":
  |   "USB\\ROOT_HUB20\\4&7EEAF3B&0"
  +-> "USB\\VID_058F&PID_6362\\058F312D81B" [0x058f:0x6362]
  +--> "USBSTOR\\DISK&VEN_GENERIC&PROD_USB_SD_READER&REV_1.00\\058F312D81B&0"
  +---> ("Generic USB SD Reader USB Device")
  +--> "USBSTOR\\DISK&VEN_GENERIC&PROD_USB_CF_READER&REV_1.01\\058F312D81B&1"
  +---> ("Generic USB CF Reader USB Device")
  +--> "USBSTOR\\DISK&VEN_GENERIC&PROD_USB_SM_READER&REV_1.02\\058F312D81B&2"
  +---> ("Generic USB SM Reader USB Device")
  +--> "USBSTOR\\DISK&VEN_GENERIC&PROD_USB_MS_READER&REV_1.03\\058F312D81B&3"
  +---> ("Generic USB MS Reader USB Device")
 \\PC-ANALYTICDEV\root\cimv2:Win32_USBController.DeviceID="PCI\\VEN_1002&DEV_439
7&SUBSYS_83891043&REV_00\\3&267A616A&0&90":
  |   "USB\\ROOT_HUB\\4&1A5E08AA&0"
 \\PC-ANALYTICDEV\root\cimv2:Win32_USBController.DeviceID="PCI\\VEN_1002&DEV_439
7&SUBSYS_83891043&REV_00\\3&267A616A&0&98":
  |   "USB\\ROOT_HUB\\4&1439A827&0"
 \\PC-ANALYTICDEV\root\cimv2:Win32_USBController.DeviceID="PCI\\VEN_1033&DEV_019
4&SUBSYS_84131043&REV_03\\4&4197880&0&0030":
  |   "NUSB3\\ROOT_HUB30\\5&D4C8B8E&0"
  +-> "USB\\VID_0480&PID_B207\\20190628014710F" [0x0480:0xb207]
  +--> "USBSTOR\\DISK&VEN_TOSHIBA&PROD_EXTERNAL_USB_3.0&REV_5438\\20190628014710
F&0"
  +===> "TOSHIBA External USB 3.0 USB Device" [0x0480:0xb207]

REPORT-IOCTL: Device=/dev/sdb Command=IDENTIFY DEVICE
 Input:   FR=...., SC=0x01, LL=...., LM=...., LH=...., DEV=...., CMD=0xec IN
 [ata pass-through(16): 85 08 0e 00 00 00 01 00 00 00 00 00 00 00 ec 00 ]
  Incoming data, len=512, resid=0 [only first 256 bytes shown]:
 00     40 00 ff 3f 37 c8 10 00  00 00 00 00 3f 00 00 00
 10     00 00 00 00 20 20 20 20  20 20 20 20 20 20 36 20
 20     53 39 54 35 31 31 54 46  00 00 00 00 00 00 55 4a
 30     30 30 55 32 20 20 4f 54  48 53 42 49 20 41 51 4d
 40     34 30 42 55 31 46 30 30  20 20 20 20 20 20 20 20
 50     20 20 20 20 20 20 20 20  20 20 20 20 20 20 10 80
 60     00 00 00 2f 00 40 00 02  00 00 07 00 ff 3f 10 00
 70     3f 00 10 fc fb 00 10 01  ff ff ff 0f 07 00 07 00
 80     03 00 78 00 78 00 78 00  78 00 0a 01 00 00 00 00
 90     00 00 00 00 00 00 1f 00  06 ef 04 00 4c 00 40 00
 a0     f8 07 6d 00 6b 74 09 7d  63 61 69 74 09 bc 63 61
 b0     3f 20 63 80 63 80 80 00  fe ff 00 00 00 00 00 00
 c0     00 00 00 00 00 00 00 00  b0 6d 70 74 00 00 00 00
 d0     00 00 00 00 03 60 00 00  00 00 00 00 00 00 00 00
 e0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 5e 42
 f0     1c 40 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 [Duration: 0.063s]
REPORT-IOCTL: Device=/dev/sdb Command=IDENTIFY DEVICE returned 0

===== [IDENTIFY DEVICE] DATA START (BASE-16) =====
000-015: 40 00 ff 3f 37 c8 10 00 00 00 00 00 3f 00 00 00 |@..?7.......?...|
016-031: 00 00 00 00 20 20 20 20 20 20 20 20 20 20 36 20 |....          6 |
032-047: 53 39 54 35 31 31 54 46 00 00 00 00 00 00 55 4a |S9T511TF......UJ|
048-063: 30 30 55 32 20 20 4f 54 48 53 42 49 20 41 51 4d |00U2  OTHSBI AQM|
064-079: 34 30 42 55 31 46 30 30 20 20 20 20 20 20 20 20 |40BU1F00        |
080-095: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 10 80 |              ..|
096-111: 00 00 00 2f 00 40 00 02 00 00 07 00 ff 3f 10 00 |.../. at .......?..|
112-127: 3f 00 10 fc fb 00 10 01 ff ff ff 0f 07 00 07 00 |?...............|
128-143: 03 00 78 00 78 00 78 00 78 00 0a 01 00 00 00 00 |..x.x.x.x.......|
144-159: 00 00 00 00 00 00 1f 00 06 ef 04 00 4c 00 40 00 |............L. at .|
160-175: f8 07 6d 00 6b 74 09 7d 63 61 69 74 09 bc 63 61 |..m.kt.}cait..ca|
176-191: 3f 20 63 80 63 80 80 00 fe ff 00 00 00 00 00 00 |? c.c...........|
192-207: 00 00 00 00 00 00 00 00 b0 6d 70 74 00 00 00 00 |.........mpt....|
208-223: 00 00 00 00 03 60 00 00 00 00 00 00 00 00 00 00 |.....`..........|
224-239: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5e 42 |..............^B|
240-255: 1c 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |. at ..............|
256-271: 21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |!...............|
272-287: 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
288-303: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
304-319: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
320-335: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
336-351: 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
352-367: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
368-383: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
384-399: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
400-415: 00 00 00 00 00 00 00 00 00 00 00 00 3d 00 00 00 |............=...|
416-431: 00 00 00 40 00 00 00 00 00 00 01 00 00 00 00 00 |... at ............|
432-447: 00 00 18 15 00 00 00 00 00 00 00 00 ff 11 00 00 |................|
448-463: 00 00 00 00 00 00 00 00 00 00 00 00 b0 6d 70 74 |.............mpt|
464-479: 00 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 |................|
480-495: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
496-511: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a5 10 |................|
===== [IDENTIFY DEVICE] DATA END (512 Bytes) =====

=== START OF INFORMATION SECTION ===
Model Family:     Toshiba 2.5" HDD MQ04UBF... (USB 3.0)
Device Model:     TOSHIBA MQ04UBF100
Serial Number:    69S5T11FT
LU WWN Device Id: 0 000000 000000000
Firmware Version: JU002U
User Capacity:    1 000 204 886 016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
TRIM Command:     Unavailable
Zoned Device:     Device managed zones
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.3, 3.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Sun Aug 23 22:10:07 2020 RTZ
SMART support is: Available - device has SMART capability.
SMART support is: Enabled


D:\tosh_white>smartctl -i /dev/sdb
smartctl 7.2 2020-08-22 r5078 [x86_64-w64-mingw32-win7-sp1] (CircleCI)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sdb [SAT] failed: \\.\PhysicalDrive1: Open failed, Er
ror=32

D:\tosh_white>smartctl -r ioctl,2 -i /dev/sdb
smartctl 7.2 2020-08-22 r5078 [x86_64-w64-mingw32-win7-sp1] (CircleCI)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

 \\.\PhysicalDrive1: successfully opened (without admin rights)
  IOCTL_STORAGE_QUERY_PROPERTY returns:
    Vendor:   "TOSHIBA"
    Product:  "External USB 3.0"
    Revision: "5438"
    Removable: No
    BusType:   0x07
\.\\PHYSICALDRIVE1 --> "TOSHIBA External USB 3.0 USB Device":
 \\PC-ANALYTICDEV\root\cimv2:Win32_USBController.DeviceID="PCI\\VEN_1002&DEV_439
8&SUBSYS_83891043&REV_00\\3&267A616A&0&91":
  |   "USB\\ROOT_HUB\\4&36AC09D0&0"
 \\PC-ANALYTICDEV\root\cimv2:Win32_USBController.DeviceID="PCI\\VEN_1002&DEV_439
8&SUBSYS_83891043&REV_00\\3&267A616A&0&99":
  |   "USB\\ROOT_HUB\\4&2386B151&0"
 \\PC-ANALYTICDEV\root\cimv2:Win32_USBController.DeviceID="PCI\\VEN_1002&DEV_439
9&SUBSYS_83891043&REV_00\\3&267A616A&0&A5":
  |   "USB\\ROOT_HUB\\4&1B906A66&0"
 \\PC-ANALYTICDEV\root\cimv2:Win32_USBController.DeviceID="PCI\\VEN_1002&DEV_439
6&SUBSYS_83891043&REV_00\\3&267A616A&0&92":
  |   "USB\\ROOT_HUB20\\4&20D008E6&0"
  +-> "USB\\VID_0424&PID_2514\\5&2D41F132&0&6" [0x0424:0x2514]
  +-> "USB\\VID_046D&PID_C077\\6&3A496EC0&0&3" [0x046d:0xc077]
  |   "HID\\VID_046D&PID_C077\\7&10B28CD4&0&0000"
  +-> "USB\\VID_1A2C&PID_2C27\\6&3A496EC0&0&4" [0x1a2c:0x2c27]
  +-> "USB\\VID_1A2C&PID_2C27&MI_00\\7&12305AAF&0&0000" [0x1a2c:0x2c27]
  |   "HID\\VID_1A2C&PID_2C27&MI_00\\8&26BC11A7&0&0000"
  +-> "USB\\VID_1A2C&PID_2C27&MI_01\\7&12305AAF&0&0001" [0x1a2c:0x2c27]
  |   "HID\\VID_1A2C&PID_2C27&MI_01&COL01\\8&29C5282&0&0000"
  |   "HID\\VID_1A2C&PID_2C27&MI_01&COL02\\8&29C5282&0&0001"
 \\PC-ANALYTICDEV\root\cimv2:Win32_USBController.DeviceID="PCI\\VEN_1002&DEV_439
6&SUBSYS_83891043&REV_00\\3&267A616A&0&9A":
  |   "USB\\ROOT_HUB20\\4&7EEAF3B&0"
  +-> "USB\\VID_058F&PID_6362\\058F312D81B" [0x058f:0x6362]
  +--> "USBSTOR\\DISK&VEN_GENERIC&PROD_USB_SD_READER&REV_1.00\\058F312D81B&0"
  +---> ("Generic USB SD Reader USB Device")
  +--> "USBSTOR\\DISK&VEN_GENERIC&PROD_USB_CF_READER&REV_1.01\\058F312D81B&1"
  +---> ("Generic USB CF Reader USB Device")
  +--> "USBSTOR\\DISK&VEN_GENERIC&PROD_USB_SM_READER&REV_1.02\\058F312D81B&2"
  +---> ("Generic USB SM Reader USB Device")
  +--> "USBSTOR\\DISK&VEN_GENERIC&PROD_USB_MS_READER&REV_1.03\\058F312D81B&3"
  +---> ("Generic USB MS Reader USB Device")
 \\PC-ANALYTICDEV\root\cimv2:Win32_USBController.DeviceID="PCI\\VEN_1002&DEV_439
7&SUBSYS_83891043&REV_00\\3&267A616A&0&90":
  |   "USB\\ROOT_HUB\\4&1A5E08AA&0"
 \\PC-ANALYTICDEV\root\cimv2:Win32_USBController.DeviceID="PCI\\VEN_1002&DEV_439
7&SUBSYS_83891043&REV_00\\3&267A616A&0&98":
  |   "USB\\ROOT_HUB\\4&1439A827&0"
 \\PC-ANALYTICDEV\root\cimv2:Win32_USBController.DeviceID="PCI\\VEN_1033&DEV_019
4&SUBSYS_84131043&REV_03\\4&4197880&0&0030":
  |   "NUSB3\\ROOT_HUB30\\5&D4C8B8E&0"
  +-> "USB\\VID_0480&PID_B207\\20190628014710F" [0x0480:0xb207]
  +--> "USBSTOR\\DISK&VEN_TOSHIBA&PROD_EXTERNAL_USB_3.0&REV_5438\\20190628014710
F&0"
  +===> "TOSHIBA External USB 3.0 USB Device" [0x0480:0xb207]
Smartctl open device: /dev/sdb [SAT] failed: \\.\PhysicalDrive1: Open failed, Er
ror=32
~~~~~~~~~~~~~~~


More information about the Smartmontools-database mailing list