Re: [Smartmontools-database] maxtor d3 station 2tb

2017-04-17 Thread Christian Franke
"Mailing Lists" wrote:
> On Fri, Apr 7, 2017 at 8:46 AM, Christian Franke
>  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.14] sd 5:0:0:0: [sda] tag#0 Sense Key : Hardware Error
>>> [current] [descriptor]
>>> [  +0.07] sd 5:0:0:0: [sda] tag#0 Add. Sense: No additional sense
>>> information
>>> [  +0.10] 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


Re: [Smartmontools-database] maxtor d3 station 2tb

2017-04-12 Thread Mailing Lists
On Fri, Apr 7, 2017 at 8:46 AM, Christian Franke
 wrote:
> "Mailing Lists" wrote:
>>
>> # smartctl -i /dev/sda
>> smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.4.0-71-generic] (local
>> build)
>> Copyright (C) 2002-16, Bruce Allen, Christian Franke,
>> www.smartmontools.org
>>
>> /dev/sda: Unknown USB bridge [0x0bc2:0x6123 (0x209)]
>
>
> Added to my TODO list.
>

Thank you!

>> `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.14] sd 5:0:0:0: [sda] tag#0 Sense Key : Hardware Error
>> [current] [descriptor]
>> [  +0.07] sd 5:0:0:0: [sda] tag#0 Add. Sense: No additional sense
>> information
>> [  +0.10] 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)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org


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 ]
  scsi_status=0x0, host_status=0x0, driver_status=0x0
  info=0x0  duration=0 milliseconds  resid=0
  Incoming data, len=512 [only first 256 bytes shown]:
 00 5a 0c 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 20 20
 20 34 57 33 5a 4c 4e 34 44  00 00 00 00 04 00 43 43
 30 36 34 20 20 20 20 54 53  30 32 30 30 4d 44 30 30
 40 2d 31 45 31 31 52 34 36  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 40 00 2f 00 40 00 02  00 02 07 00 ff 3f 10 00
 70 3f 00 10 fc fb 00 10 50  ff ff ff 0f 00 00 07 04
 80 03 00 78 00 78 00 78 00  78 00 00 00 00 00 00 00
 90 00 00 00 00 00 00 1f 00  0e 85 04 00 cc 00 40 00
 a0 f0 03 1f 00 6b 34 69 7d  63 41 69 34 49 bc 63 41
 b0 7f 00 65 00 65 00 80 80  fe ff 00 00 d0 d0 00 00
 c0 00 00 00 00 00 00 00 00  b0 88 e0 e8 00 00 00 00
 d0 00 00 00 00 03 60 00 00  00 50 00 c5 45 9b 28 c9
 e0 00 00 00 00 00 00 00 00  00 00 00 00 00 00 5e 40
 f0 1c 40 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 [Duration: 0.001s]
REPORT-IOCTL: Device=/dev/sdb Command=IDENTIFY DEVICE returned 0

= [IDENTIFY DEVICE] DATA START (BASE-16) =
000-015: 5a 0c ff 3f 37 c8 10 00 00 00 00 00 3f 00 00 00 |Z..?7...?...|
016-031: 00 00 00 00 58 58 58 58 58 58 58 58 58 58 58 58 ||
032-047: 58 58 58 58 58 58 58 58 00 00 00 00 04 00 43 43 |..CC|
048-063: 36 34 20 20 20 20 54 53 30 32 30 30 4d 44 30 30 |64TS0200MD00|
064-079: 2d 31 45 31 31 52 34 36 20 20 20 20 20 20 20 20 |-1E11R46|
080-095: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 10 80 |  ..|
096-111: 00 40 00 2f 00 40 00 02 00 02 07 00 ff 3f 10 00 |.@./.@...?..|
112-127: 3f 00 10 fc fb 00 10 50 ff ff ff 0f 00 00 07 04 |?..P|
128-143: 03 00 78 00 78 00 78 00 78 00 00 00 00 00 00 00 |..x.x.x.x...|
144-159: 00 00 00 00 00 00 1f 00 0e 85 04 00 cc 00 40 00 |..@.|
160-175: f0 03 1f 00 6b 34 69 7d 63 41 69 34 49 bc 63 41 |k4i}cAi4I.cA|
176-191: 7f 00 65 00 65 00 80 80 fe ff 00 00 d0 d0 00 00 |..e.e...|
192-207: 00 00 00 00 00 00 00 00 b0 88 e0 e8 00 00 00 00 ||
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 40 |..^@|
240-255: 1c 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |.@..|
256-271: 21 00 b0 88 e0 e8 b0 88 e0 e8 20 20 02 00 40 01 |!.  ..@.|
272-287: 00 01 00 50 06 3c 0a 3c 00 00 3c 00 00 00 08 00 |...P.<.<..<.|
288-303: 00 00 00 00 ff 05 80 02 00 00 00 00 08 00 00 00 ||
304-319: 00 00 00 00 00 00 00 80 00 00 00 00 00 58 00 80 |.X..|
320-335: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ||
336-351: 02 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 85 10 00 00 ||
416-431: 00 00 00 40 00 00 00 00 00 00 00 00 00 

Re: [Smartmontools-database] maxtor d3 station 2tb

2017-04-06 Thread Christian Franke
"Mailing Lists" wrote:
> # smartctl -i /dev/sda
> smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.4.0-71-generic] (local build)
> Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
>
> /dev/sda: Unknown USB bridge [0x0bc2:0x6123 (0x209)]

Added to my TODO list.

> `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.14] sd 5:0:0:0: [sda] tag#0 Sense Key : Hardware Error
> [current] [descriptor]
> [  +0.07] sd 5:0:0:0: [sda] tag#0 Add. Sense: No additional sense
> information
> [  +0.10] 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'

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