uas vs usb-storage vs smartctl -d sat on usb bridge [2109:0711]

Maciej Żenczykowski <[email protected]> Thu, 18 Feb 2016 15:30:00 +0100
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <CAHo-Oox0UZ9O6AKPo7-1h=y_cfFL3fqOc_PnYPjDPHrvTcSQhQ@mail.gmail.com>
Basically:

#  uname -a
Linux chronos 4.3.5-300.fc23.x86_64 #1 SMP Mon Feb 1 03:18:41 UTC 2016
x86_64 x86_64 x86_64 GNU/Linux

# rmmod uas; rmmod usb-storage; modprobe usb-storage; modprobe uas
# smartctl -a /dev/sdd
smartctl 6.4 2015-06-04 r4109 [x86_64-linux-4.3.5-300.fc23.x86_64] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sdd: Unknown USB bridge [0x2109:0x0711 (0x507)]
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

# smartctl -d sat -a /dev/sdd
smartctl 6.4 2015-06-04 r4109 [x86_64-linux-4.3.5-300.fc23.x86_64] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: scsi error unsupported field in scsi command

A mandatory SMART command failed: exiting. To continue, add one or
more '-T permissive' options.

# rmmod uas; rmmod usb-storage; modprobe usb-storage
quirks=2109:0711:u; modprobe uas
# smartctl -d sat -a /dev/sdd
smartctl 6.4 2015-06-04 r4109 [x86_64-linux-4.3.5-300.fc23.x86_64] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     WDC WD20NPVZ-00WFZT0
Serial Number:    WD-WXA1A45H1Z1N
LU WWN Device Id: 5 0014ee 20ca6f656
Firmware Version: 01.01A01
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5200 rpm
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Feb 18 15:17:01 2016 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART Status not supported: Incomplete response, ATA output registers missing
SMART overall-health self-assessment test result: PASSED
...etc...

But I appear to be able to mount the drive and use it just fine through uas...

Is uas in general not usable with smartctl?
Something else that's wrong here?

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140