Changes between Version 14 and Version 15 of USB


Ignore:
Timestamp:
Jan 31, 2018, 1:16:48 PM (6 years ago)
Author:
Christian Franke
Comment:

Explain failing SAT when UAS is enabled under Linux

Legend:

Unmodified
Added
Removed
Modified
  • USB

    v14 v15  
    2727Smartmontools was successfully tested with [wiki:Supported_USB-Devices many USB devices] on several Platforms. If the USB ID can be obtained from the operating system, smartmontools also supports auto-detection of (the already tested) USB devices. Then it is not necessary to specify the '-d' option. See the following table for details:
    2828||= '''Platform''' =||= '''...has SCSI pass-through''' =||= '''smartmontools supports SCSI''' =||= '''... supports USB''' =||= '''... auto-detection''' =||= '''... in smartd DEVICESCAN''' =||= '''Comment''' =||
    29 || Linux || Yes || Yes || YES || YES || YES || See comment about SAT in above table ||
     29|| Linux || Yes || Yes || YES || YES || YES || May not work with UAS, see below ||
    3030|| Mac OS X || No || No || (Yes) || (Yes) || (Yes) || via OS-X-SAT-SMART-Driver, see below ||
    3131|| FreeBSD || Yes || Yes || YES || YES || YES ||   ||
     
    3737|| Windows || Yes || Yes || YES || YES || YES ||   ||
    3838
     39If [https://en.wikipedia.org/wiki/USB_Attached_SCSI UAS] transfer mode is enabled under Linux, `-d sat[,12]` may fail with error message `scsi error: unsupported field in scsi command` (see ticket [comment:3:ticket:971 #971]).
     40This is because the Linux kernel rejects SAT ATA pass-through commands for certain devices with broken pass-through support.
     41This depends on Kernel version and may include
     42[https://github.com/torvalds/linux/commit/7fee72d5e8f1e7b8d8212e28291b1a0243ecf2f1 all Seagate enclosures],
     43[https://github.com/torvalds/linux/commit/bda13e35d584dabf52c9f77e0fe62683ac4d9f86 Initio INIC-3069] and
     44[https://github.com/torvalds/linux/commit/673029fe9c16c95600bdaca4760673527af32edf VIA VL711].
     45
    3946The [https://github.com/kasbert/OS-X-SAT-SMART-Driver OS X SAT SMART Driver] provides access to SMART data for SAT, JMicron and Sunplus capable USB and Firewire devices on Mac OS X. On OSX El Capitan (10.11+) you may need a signed driver, which can be downloaded from the [http://binaryfruit.com/drivedx/usb-drive-support/ DriveDx website].
    4047Note that this does not support 48-bit ATA commands ({{{-l xerror}}}) or non-SMART ATA commands ({{{-s apm,N}}}). Full USB support would require SCSI pass-through support which does not yet exist on Mac OS X.