On Fri, Apr 7, 2017 at 8:46 AM, Christian Franke
<christian.fra...@t-online.de> 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.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)
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 |....XXXXXXXXXXXX|
032-047: 58 58 58 58 58 58 58 58 00 00 00 00 04 00 43 43 |XXXXXXXX......CC|
048-063: 36 34 20 20 20 20 54 53 30 32 30 30 4d 44 30 30 |64    TS0200MD00|
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 00 00 00 |...@............|
432-447: 00 00 20 1c 00 00 00 00 00 00 00 00 7e 10 00 00 |.. .........~...|
448-463: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
464-479: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
480-495: 00 00 00 00 00 00 07 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 2d |...............-|
===== [IDENTIFY DEVICE] DATA END (512 Bytes) =====


REPORT-IOCTL: Device=/dev/sdb Command=SMART READ ATTRIBUTE VALUES
 Input:   FR=0xd0, SC=0x01, LL=...., LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 IN
 [ata pass-through(16): 85 08 0e 00 d0 00 01 00 00 00 4f 00 c2 00 b0 00 ]
  scsi_status=0x0, host_status=0x0, driver_status=0x0
  info=0x0  duration=88 milliseconds  resid=0
  Incoming data, len=512 [only first 256 bytes shown]:
 00     0a 00 01 0f 00 73 63 f8  10 45 05 00 00 00 03 03
 10     00 60 60 00 00 00 00 00  00 00 04 32 00 64 64 1d
 20     00 00 00 00 00 00 05 33  00 64 64 00 00 00 00 00
 30     00 00 07 0f 00 64 fd fa  9f 03 00 00 00 00 09 32
 40     00 63 63 64 04 00 00 00  00 00 0a 13 00 64 64 00
 50     00 00 00 00 00 00 0c 32  00 64 64 0e 00 00 00 00
 60     00 00 b7 32 00 64 64 00  00 00 00 00 00 00 b8 32
 70     00 64 64 00 00 00 00 00  00 00 bb 32 00 64 64 00
 80     00 00 00 00 00 00 bc 32  00 64 64 00 00 00 00 00
 90     00 00 bd 3a 00 64 64 00  00 00 00 00 00 00 be 22
 a0     00 39 30 2b 00 1c 30 00  00 00 bf 32 00 64 64 00
 b0     00 00 00 00 00 00 c0 32  00 64 64 03 00 00 00 00
 c0     00 00 c1 32 00 61 61 4a  19 00 00 00 00 00 c2 22
 d0     00 2b 34 2b 00 00 00 18  00 00 c5 12 00 64 64 00
 e0     00 00 00 00 00 00 c6 10  00 64 64 00 00 00 00 00
 f0     00 00 c7 3e 00 c8 c8 00  00 00 00 00 00 00 f0 00
 [Duration: 0.091s]
REPORT-IOCTL: Device=/dev/sdb Command=SMART READ ATTRIBUTE VALUES returned 0

===== [SMART READ ATTRIBUTE VALUES] DATA START (BASE-16) =====
000-015: 0a 00 01 0f 00 73 63 f8 10 45 05 00 00 00 03 03 |.....sc..E......|
016-031: 00 60 60 00 00 00 00 00 00 00 04 32 00 64 64 1d |.``........2.dd.|
032-047: 00 00 00 00 00 00 05 33 00 64 64 00 00 00 00 00 |.......3.dd.....|
048-063: 00 00 07 0f 00 64 fd fa 9f 03 00 00 00 00 09 32 |.....d.........2|
064-079: 00 63 63 64 04 00 00 00 00 00 0a 13 00 64 64 00 |.ccd.........dd.|
080-095: 00 00 00 00 00 00 0c 32 00 64 64 0e 00 00 00 00 |.......2.dd.....|
096-111: 00 00 b7 32 00 64 64 00 00 00 00 00 00 00 b8 32 |...2.dd........2|
112-127: 00 64 64 00 00 00 00 00 00 00 bb 32 00 64 64 00 |.dd........2.dd.|
128-143: 00 00 00 00 00 00 bc 32 00 64 64 00 00 00 00 00 |.......2.dd.....|
144-159: 00 00 bd 3a 00 64 64 00 00 00 00 00 00 00 be 22 |...:.dd........"|
160-175: 00 39 30 2b 00 1c 30 00 00 00 bf 32 00 64 64 00 |.90+..0....2.dd.|
176-191: 00 00 00 00 00 00 c0 32 00 64 64 03 00 00 00 00 |.......2.dd.....|
192-207: 00 00 c1 32 00 61 61 4a 19 00 00 00 00 00 c2 22 |...2.aaJ......."|
208-223: 00 2b 34 2b 00 00 00 18 00 00 c5 12 00 64 64 00 |.+4+.........dd.|
224-239: 00 00 00 00 00 00 c6 10 00 64 64 00 00 00 00 00 |.........dd.....|
240-255: 00 00 c7 3e 00 c8 c8 00 00 00 00 00 00 00 f0 00 |...>............|
256-271: 00 64 fd 3d 00 00 00 23 4c 22 f1 00 00 64 fd 4d |.d.=...#L"...d.M|
272-287: 60 c9 0c 00 00 00 f2 00 00 64 fd 83 b4 93 00 00 |`........d......|
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: 00 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 50 00 00 73 |............P..s|
368-383: 03 00 01 00 01 d2 02 00 00 00 00 00 00 00 00 00 |................|
384-399: 00 00 00 00 17 03 00 00 05 04 04 04 04 04 04 04 |................|
400-415: 04 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 |................|
416-431: 00 00 00 00 00 00 00 00 93 7a b4 28 ae 03 00 00 |.........z.(....|
432-447: 00 00 00 00 01 00 ac 02 4d 60 c9 0c 00 00 00 00 |........M`......|
448-463: 83 b4 93 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
464-479: 00 00 00 00 00 00 00 00 d1 26 00 00 01 00 00 00 |.........&......|
480-495: 00 00 00 00 e8 dd 1b 00 00 00 00 00 00 00 00 01 |................|
496-511: 00 00 00 00 00 00 00 00 00 00 14 18 00 00 00 af |................|
===== [SMART READ ATTRIBUTE VALUES] DATA END (512 Bytes) =====


REPORT-IOCTL: Device=/dev/sdb Command=SMART READ ATTRIBUTE THRESHOLDS
 Input:   FR=0xd1, SC=0x01, LL=0x01, LM=0x4f, LH=0xc2, DEV=...., CMD=0xb0 IN
 [ata pass-through(16): 85 08 0e 00 d1 00 01 00 01 00 4f 00 c2 00 b0 00 ]
  scsi_status=0x0, host_status=0x0, driver_status=0x0
  info=0x0  duration=8 milliseconds  resid=0
  Incoming data, len=512 [only first 256 bytes shown]:
 00     01 00 01 06 00 00 00 00  00 00 00 00 00 00 03 00
 10     00 00 00 00 00 00 00 00  00 00 04 14 00 00 00 00
 20     00 00 00 00 00 00 05 0a  00 00 00 00 00 00 00 00
 30     00 00 07 1e 00 00 00 00  00 00 00 00 00 00 09 00
 40     00 00 00 00 00 00 00 00  00 00 0a 61 00 00 00 00
 50     00 00 00 00 00 00 0c 14  00 00 00 00 00 00 00 00
 60     00 00 b7 00 00 00 00 00  00 00 00 00 00 00 b8 63
 70     00 00 00 00 00 00 00 00  00 00 bb 00 00 00 00 00
 80     00 00 00 00 00 00 bc 00  00 00 00 00 00 00 00 00
 90     00 00 bd 00 00 00 00 00  00 00 00 00 00 00 be 2d
 a0     00 00 00 00 00 00 00 00  00 00 bf 00 00 00 00 00
 b0     00 00 00 00 00 00 c0 00  00 00 00 00 00 00 00 00
 c0     00 00 c1 00 00 00 00 00  00 00 00 00 00 00 c2 00
 d0     00 00 00 00 00 00 00 00  00 00 c5 00 00 00 00 00
 e0     00 00 00 00 00 00 c6 00  00 00 00 00 00 00 00 00
 f0     00 00 c7 00 00 00 00 00  00 00 00 00 00 00 f0 00
 [Duration: 0.008s]
REPORT-IOCTL: Device=/dev/sdb Command=SMART READ ATTRIBUTE THRESHOLDS returned 0

===== [SMART READ ATTRIBUTE THRESHOLDS] DATA START (BASE-16) =====
000-015: 01 00 01 06 00 00 00 00 00 00 00 00 00 00 03 00 |................|
016-031: 00 00 00 00 00 00 00 00 00 00 04 14 00 00 00 00 |................|
032-047: 00 00 00 00 00 00 05 0a 00 00 00 00 00 00 00 00 |................|
048-063: 00 00 07 1e 00 00 00 00 00 00 00 00 00 00 09 00 |................|
064-079: 00 00 00 00 00 00 00 00 00 00 0a 61 00 00 00 00 |...........a....|
080-095: 00 00 00 00 00 00 0c 14 00 00 00 00 00 00 00 00 |................|
096-111: 00 00 b7 00 00 00 00 00 00 00 00 00 00 00 b8 63 |...............c|
112-127: 00 00 00 00 00 00 00 00 00 00 bb 00 00 00 00 00 |................|
128-143: 00 00 00 00 00 00 bc 00 00 00 00 00 00 00 00 00 |................|
144-159: 00 00 bd 00 00 00 00 00 00 00 00 00 00 00 be 2d |...............-|
160-175: 00 00 00 00 00 00 00 00 00 00 bf 00 00 00 00 00 |................|
176-191: 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 |................|
192-207: 00 00 c1 00 00 00 00 00 00 00 00 00 00 00 c2 00 |................|
208-223: 00 00 00 00 00 00 00 00 00 00 c5 00 00 00 00 00 |................|
224-239: 00 00 00 00 00 00 c6 00 00 00 00 00 00 00 00 00 |................|
240-255: 00 00 c7 00 00 00 00 00 00 00 00 00 00 00 f0 00 |................|
256-271: 00 00 00 00 00 00 00 00 00 00 f1 00 00 00 00 00 |................|
272-287: 00 00 00 00 00 00 f2 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: 00 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 00 00 00 00 |................|
416-431: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
432-447: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
448-463: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
464-479: 00 00 00 00 00 00 00 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 00 fd |................|
===== [SMART READ ATTRIBUTE THRESHOLDS] DATA END (512 Bytes) =====

=== START OF READ SMART DATA SECTION ===

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
ATA status (0x50) indicates success, ignoring SCSI sense_key
Values from ATA Return Descriptor are:
 00     09 0c 00 00 00 00 00 00  00 4f 00 c2 40 50
 [Duration: 0.018s]
 Output: ERR=0x00, SC=0x00, LL=0x00, LM=0x4f, LH=0xc2, DEV=0x40, STS=0x50
REPORT-IOCTL: Device=/dev/sdb Command=SMART STATUS CHECK returned 0
SMART overall-health self-assessment test result: PASSED


> 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

Reply via email to