"Mailing Lists" wrote: > On Fri, Apr 7, 2017 at 8:46 AM, Christian Franke > <Chr ...> wrote:
BTW: PCYMTNQREAIYR https://cygwin.com/acronyms/#PCYMTNQREAIYR > ... >>> `smartctl -q noserial -x /dev/sda -dsat > >>> smartctl-maxtor-d3-station-2tb.txt` produces this kernel message on >>> kernel 4.4.0-71-generic 64 bit (ubuntu xenial) >>> >>> [Apr 4 12:36] sd 5:0:0:0: [sda] tag#0 FAILED Result: >>> hostbyte=DID_ERROR driverbyte=DRIVER_SENSE >>> [ +0.000014] sd 5:0:0:0: [sda] tag#0 Sense Key : Hardware Error >>> [current] [descriptor] >>> [ +0.000007] sd 5:0:0:0: [sda] tag#0 Add. Sense: No additional sense >>> information >>> [ +0.000010] sd 5:0:0:0: [sda] tag#0 CDB: ATA command pass >>> through(16) 85 06 2c 00 da 00 00 00 00 00 4f 00 c2 00 b0 00 >> >> This is the SCSI command SAT ATA-PASS-THROUGH for the ATA command SMART >> RETURN STATUS. It returns its result (PASSED/FAILED) via SCSI sense. The >> kernel should not log this as the SCSI sense does not indicate an error in >> this case. >> >> Please provide output of 'smartctl -r ioctl,2 -q noserial -d sat -H >> /dev/sda' >> > (it's sdb now after a reboot) > > root@linux:~# smartctl -r ioctl,2 -q noserial -d sat -H /dev/sdb > smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.4.0-72-generic] (local build) > ... > REPORT-IOCTL: Device=/dev/sdb Command=SMART STATUS CHECK > Input: FR=0xda, SC=...., LL=...., LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 > [ata pass-through(16): 85 06 2c 00 da 00 00 00 00 00 4f 00 c2 00 b0 00 ] > scsi_status=0x0, host_status=0x7, driver_status=0x8 > info=0x1 duration=20 milliseconds resid=0 > >>> Sense buffer, len=22: > 00 72 04 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00 > 10 00 4f 00 c2 40 50 > status=2: [desc] sense_key=4 asc=0 ascq=0 The sense_key is bogus and reports an error. Same issue was reported here: https://www.smartmontools.org/ticket/548 > ATA status (0x50) indicates success, ignoring SCSI sense_key This indicates that the workaround mentioned in the ticket is in effect https://www.smartmontools.org/changeset/4118 The kernel assumes a SCSI error and therefore logs it. Could be safely ignored in this case. Could not be suppressed, AFAIK. Thanks, Christian ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Smartmontools-database mailing list Smartmontools-database@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/smartmontools-database