Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2014 01:50:01 GMT
From:      Gavin Stone-Tolcher <gavinst@optusnet.com.au>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/186095: sysutils/smartmontools 6.2_1 &quot; -n standby&quot; argument broken in this port release
Message-ID:  <201401260150.s0Q1o19i011697@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/186095; it has been noted by GNATS.

From: Gavin Stone-Tolcher <gavinst@optusnet.com.au>
To: bug-followup@FreeBSD.org, gavinst@optusnet.com.au
Cc:  
Subject: Re: ports/186095: sysutils/smartmontools 6.2_1 &quot;-n standby&quot;
  argument broken in this port release
Date: Sun, 26 Jan 2014 11:23:17 +1000

 Latest port version to a sleeping drive:
 
 # /usr/ports/sysutils/smartmontools/work/smartmontools-6.2/smartctl -r 
 ioctl,2 -n standby -A /dev/da10
 smartctl 6.2 2013-07-26 r3841 [FreeBSD 9.2-STABLE amd64] (local build)
 Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
 
   [inquiry: 12 00 00 00 24 00 ]  status=0
    Incoming data, len=36:
   00     00 00 05 12 45 00 00 02  41 54 41 20 20 20 20 20
   10     53 41 4d 53 55 4e 47 20  48 44 32 30 34 55 49 20
   20     30 30 30 31
 device on mpt controller, patching PDT
   [ata pass-through(16): 85 08 0e 00 00 00 01 00 00 00 00 00 00 00 ec 00 
 ]  status=0
    Incoming data, len=512 [only first 256 bytes shown]:
   00     40 00 ff 3f 37 c8 10 00  00 00 00 00 3f 00 00 00
   10     00 00 00 00 32 53 46 48  31 4a 5a 53 30 38 32 31
   20     32 30 20 20 20 20 20 20  00 00 ff ff 04 00 41 31
   30     31 51 30 30 31 30 41 53  53 4d 4e 55 20 47 44 48
   40     30 32 55 34 20 49 20 20  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 00 00  ff ff ff 0f 00 00 07 00
   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  06 15 00 00 4c 00 40 00
   a0     ff 01 28 00 6b 74 69 7f  23 41 69 74 41 bc 23 41
   b0     7f 40 a5 00 a5 00 00 00  fe ff 00 00 00 fe 00 00
   c0     00 00 00 00 00 00 00 00  b0 88 e0 e8 00 00 00 00
   d0     00 00 00 00 00 40 00 00  02 50 90 4e f7 03 3d 29
   e0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 1c 40
   f0     1c 40 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 
 REPORT-IOCTL: Device=/dev/da10 Command=CHECK POWER MODE
   Input:   FR=...., SC=...., LL=...., LM=...., LH=...., DEV=...., CMD=0xe5
   [ata pass-through(16): 85 06 2c 00 00 00 00 00 00 00 00 00 00 00 e5 00 
 ](pass2:mpt0:0:2:0): ATA COMMAND PASS THROUGH(16). CDB: 85 06 2c 00 00 
 00 00 00 00 00 00 00 00 00 e5 00
 (pass2:mpt0:0:2:0): CAM status: SCSI Status Error
 (pass2:mpt0:0:2:0): SCSI status: Check Condition
 (pass2:mpt0:0:2:0): SCSI sense: RECOVERED ERROR asc:0,1d (ATA pass 
 through information available)
 (pass2:mpt0:0:2:0): Descriptor 0x9: 00 00 00 00 00 00 00 00 00 00 00 50
   [Duration: 0.001s]
 CHECK POWER MODE: incomplete response, ATA output registers missing
 REPORT-IOCTL: Device=/dev/da10 Command=CHECK POWER MODE returned -1 
 errno=78 [Function not implemented]
 Sector Count Register (BASE-16): 00
 CHECK POWER MODE not implemented, ignoring -n option
 
 REPORT-IOCTL: Device=/dev/da10 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 
 ]  status=0
    Incoming data, len=512 [only first 256 bytes shown]:
   00     40 00 ff 3f 37 c8 10 00  00 00 00 00 3f 00 00 00
   10     00 00 00 00 32 53 46 48  31 4a 5a 53 30 38 32 31
   20     32 30 20 20 20 20 20 20  00 00 ff ff 04 00 41 31
   30     31 51 30 30 31 30 41 53  53 4d 4e 55 20 47 44 48
   40     30 32 55 34 20 49 20 20  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 00 00  ff ff ff 0f 00 00 07 00
   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  06 15 00 00 4c 00 40 00
   a0     ff 01 28 00 6b 74 69 7f  23 41 69 74 41 bc 23 41
   b0     7f 40 a5 00 a5 00 00 00  fe ff 00 00 00 fe 00 00
   c0     00 00 00 00 00 00 00 00  b0 88 e0 e8 00 00 00 00
   d0     00 00 00 00 00 40 00 00  02 50 90 4e f7 03 3d 29
   e0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 1c 40
   f0     1c 40 00 00 00 00 00 00  00 00 00 00 00 00 00 00
   [Duration: 0.007s]
 REPORT-IOCTL: Device=/dev/da10 Command=IDENTIFY DEVICE returned 0
 
 ===== [IDENTIFY DEVICE] DATA START (BASE-16) =====
 000-015: 40 00 ff 3f 37 c8 10 00 00 00 00 00 3f 00 00 00 |@..?7.......?...|
 016-031: 00 00 00 00 32 53 46 48 31 4a 5a 53 30 38 32 31 |....2SFH1JZS0821|
 032-047: 32 30 20 20 20 20 20 20 00 00 ff ff 04 00 41 31 |20 ......A1|
 048-063: 31 51 30 30 31 30 41 53 53 4d 4e 55 20 47 44 48 |1Q0010ASSMNU GDH|
 064-079: 30 32 55 34 20 49 20 20 20 20 20 20 20 20 20 20 |02U4 I          |
 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 00 00 ff ff ff 0f 00 00 07 00 |?...............|
 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 06 15 00 00 4c 00 40 00 |............L.@.|
 160-175: ff 01 28 00 6b 74 69 7f 23 41 69 74 41 bc 23 41 |..(.kti.#AitA.#A|
 176-191: 7f 40 a5 00 a5 00 00 00 fe ff 00 00 00 fe 00 00 |.@..............|
 192-207: 00 00 00 00 00 00 00 00 b0 88 e0 e8 00 00 00 00 |................|
 208-223: 00 00 00 00 00 40 00 00 02 50 90 4e f7 03 3d 29 |.....@...P.N..=)|
 224-239: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1c 40 |...............@|
 240-255: 1c 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |.@..............|
 256-271: 21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |!...............|
 272-287: 00 00 00 00 00 00 00 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: 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 3f 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 18 15 00 00 00 00 00 00 00 00 1f 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 01 00 00 04 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 a5 18 |................|
 ===== [IDENTIFY DEVICE] DATA END (512 Bytes) =====
 
 
 REPORT-IOCTL: Device=/dev/da10 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 
 ]  status=0
    Incoming data, len=512 [only first 256 bytes shown]:
   00     10 00 01 2f 00 64 64 0c  00 00 00 00 00 00 02 26
   10     00 38 38 60 49 00 00 00  00 00 03 23 00 44 43 f6
   20     26 00 00 00 00 00 04 32  00 64 64 65 03 00 00 00
   30     00 00 05 33 00 fc fc 00  00 00 00 00 00 00 07 2e
   40     00 fc fc 00 00 00 00 00  00 00 08 24 00 fc fc 00
   50     00 00 00 00 00 00 09 32  00 64 64 9e 1d 00 00 00
   60     00 00 0a 32 00 fc fc 00  00 00 00 00 00 00 0b 32
   70     00 64 64 04 00 00 00 00  00 00 0c 32 00 64 64 3a
   80     00 00 00 00 00 00 b5 22  00 64 64 58 d2 00 00 00
   90     00 00 bf 22 00 64 64 ef  01 00 00 00 00 00 c0 22
   a0     00 fc fc 00 00 00 00 00  00 00 c2 02 00 40 36 1d
   b0     00 10 00 2e 00 00 c3 3a  00 64 64 00 00 00 00 00
   c0     00 00 c4 32 00 fc fc 00  00 00 00 00 00 00 c5 32
   d0     00 fc fc 00 00 00 00 00  00 00 c6 30 00 fc fc 00
   e0     00 00 00 00 00 00 c7 36  00 c8 c8 00 00 00 00 00
   f0     00 00 c8 2a 00 64 64 31  00 00 00 00 00 00 df 32
   [Duration: 9.326s]
 REPORT-IOCTL: Device=/dev/da10 Command=SMART READ ATTRIBUTE VALUES 
 returned 0
 
 ===== [SMART READ ATTRIBUTE VALUES] DATA START (BASE-16) =====
 000-015: 10 00 01 2f 00 64 64 0c 00 00 00 00 00 00 02 26 |.../.dd........&|
 016-031: 00 38 38 60 49 00 00 00 00 00 03 23 00 44 43 f6 |.88`I......#.DC.|
 032-047: 26 00 00 00 00 00 04 32 00 64 64 65 03 00 00 00 |&......2.dde....|
 048-063: 00 00 05 33 00 fc fc 00 00 00 00 00 00 00 07 2e |...3............|
 064-079: 00 fc fc 00 00 00 00 00 00 00 08 24 00 fc fc 00 |...........$....|
 080-095: 00 00 00 00 00 00 09 32 00 64 64 9e 1d 00 00 00 |.......2.dd.....|
 096-111: 00 00 0a 32 00 fc fc 00 00 00 00 00 00 00 0b 32 |...2...........2|
 112-127: 00 64 64 04 00 00 00 00 00 00 0c 32 00 64 64 3a |.dd........2.dd:|
 128-143: 00 00 00 00 00 00 b5 22 00 64 64 58 d2 00 00 00 |.......".ddX....|
 144-159: 00 00 bf 22 00 64 64 ef 01 00 00 00 00 00 c0 22 |...".dd........"|
 160-175: 00 fc fc 00 00 00 00 00 00 00 c2 02 00 40 36 1d |.............@6.|
 176-191: 00 10 00 2e 00 00 c3 3a 00 64 64 00 00 00 00 00 |.......:.dd.....|
 192-207: 00 00 c4 32 00 fc fc 00 00 00 00 00 00 00 c5 32 |...2...........2|
 208-223: 00 fc fc 00 00 00 00 00 00 00 c6 30 00 fc fc 00 |...........0....|
 224-239: 00 00 00 00 00 00 c7 36 00 c8 c8 00 00 00 00 00 |.......6........|
 240-255: 00 00 c8 2a 00 64 64 31 00 00 00 00 00 00 df 32 |...*.dd1.......2|
 256-271: 00 64 64 04 00 00 00 00 00 00 e1 32 00 64 64 6d |.dd........2.ddm|
 272-287: 03 00 00 00 00 00 00 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 80 00 a0 50 00 5b |.............P.[|
 368-383: 03 00 01 00 02 ff 00 58 01 00 00 00 00 00 00 00 |.......X........|
 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 96 |................|
 ===== [SMART READ ATTRIBUTE VALUES] DATA END (512 Bytes) =====
 
 
 REPORT-IOCTL: Device=/dev/da10 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 
 ]  status=0
    Incoming data, len=512 [only first 256 bytes shown]:
   00     10 00 01 33 00 00 00 00  00 00 00 00 00 00 02 00
   10     00 00 00 00 00 00 00 00  00 00 03 19 00 00 00 00
   20     00 00 00 00 00 00 04 00  00 00 00 00 00 00 00 00
   30     00 00 05 0a 00 00 00 00  00 00 00 00 00 00 07 33
   40     00 00 00 00 00 00 00 00  00 00 08 0f 00 00 00 00
   50     00 00 00 00 00 00 09 00  00 00 00 00 00 00 00 00
   60     00 00 0a 33 00 00 00 00  00 00 00 00 00 00 0b 00
   70     00 00 00 00 00 00 00 00  00 00 0c 00 00 00 00 00
   80     00 00 00 00 00 00 b5 00  00 00 00 00 00 00 00 00
   90     00 00 bf 00 00 00 00 00  00 00 00 00 00 00 c0 00
   a0     00 00 00 00 00 00 00 00  00 00 c2 00 00 00 00 00
   b0     00 00 00 00 00 00 c3 00  00 00 00 00 00 00 00 00
   c0     00 00 c4 00 00 00 00 00  00 00 00 00 00 00 c5 00
   d0     00 00 00 00 00 00 00 00  00 00 c6 00 00 00 00 00
   e0     00 00 00 00 00 00 c7 00  00 00 00 00 00 00 00 00
   f0     00 00 c8 00 00 00 00 00  00 00 00 00 00 00 df 00
   [Duration: 0.132s]
 REPORT-IOCTL: Device=/dev/da10 Command=SMART READ ATTRIBUTE THRESHOLDS 
 returned 0
 
 ===== [SMART READ ATTRIBUTE THRESHOLDS] DATA START (BASE-16) =====
 000-015: 10 00 01 33 00 00 00 00 00 00 00 00 00 00 02 00 |...3............|
 016-031: 00 00 00 00 00 00 00 00 00 00 03 19 00 00 00 00 |................|
 032-047: 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 |................|
 048-063: 00 00 05 0a 00 00 00 00 00 00 00 00 00 00 07 33 |...............3|
 064-079: 00 00 00 00 00 00 00 00 00 00 08 0f 00 00 00 00 |................|
 080-095: 00 00 00 00 00 00 09 00 00 00 00 00 00 00 00 00 |................|
 096-111: 00 00 0a 33 00 00 00 00 00 00 00 00 00 00 0b 00 |...3............|
 112-127: 00 00 00 00 00 00 00 00 00 00 0c 00 00 00 00 00 |................|
 128-143: 00 00 00 00 00 00 b5 00 00 00 00 00 00 00 00 00 |................|
 144-159: 00 00 bf 00 00 00 00 00 00 00 00 00 00 00 c0 00 |................|
 160-175: 00 00 00 00 00 00 00 00 00 00 c2 00 00 00 00 00 |................|
 176-191: 00 00 00 00 00 00 c3 00 00 00 00 00 00 00 00 00 |................|
 192-207: 00 00 c4 00 00 00 00 00 00 00 00 00 00 00 c5 00 |................|
 208-223: 00 00 00 00 00 00 00 00 00 00 c6 00 00 00 00 00 |................|
 224-239: 00 00 00 00 00 00 c7 00 00 00 00 00 00 00 00 00 |................|
 240-255: 00 00 c8 00 00 00 00 00 00 00 00 00 00 00 df 00 |................|
 256-271: 00 00 00 00 00 00 00 00 00 00 e1 00 00 00 00 00 |................|
 272-287: 00 00 00 00 00 00 00 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 86 |................|
 ===== [SMART READ ATTRIBUTE THRESHOLDS] DATA END (512 Bytes) =====
 
 === START OF READ SMART DATA SECTION ===
 SMART Attributes Data Structure revision number: 16
 Vendor Specific SMART Attributes with Thresholds:
 ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE UPDATED  
 WHEN_FAILED RAW_VALUE
    1 Raw_Read_Error_Rate     0x002f   100   100   051    Pre-fail 
 Always       -       12
    2 Throughput_Performance  0x0026   056   056   000    Old_age 
 Always       -       18784
    3 Spin_Up_Time            0x0023   068   067   025    Pre-fail 
 Always       -       9974
    4 Start_Stop_Count        0x0032   100   100   000    Old_age 
 Always       -       869
    5 Reallocated_Sector_Ct   0x0033   252   252   010    Pre-fail 
 Always       -       0
    7 Seek_Error_Rate         0x002e   252   252   051    Old_age 
 Always       -       0
    8 Seek_Time_Performance   0x0024   252   252   015    Old_age 
 Offline      -       0
    9 Power_On_Hours          0x0032   100   100   000    Old_age 
 Always       -       7582
   10 Spin_Retry_Count        0x0032   252   252   051    Old_age 
 Always       -       0
   11 Calibration_Retry_Count 0x0032   100   100   000    Old_age 
 Always       -       4
   12 Power_Cycle_Count       0x0032   100   100   000    Old_age 
 Always       -       58
 181 Program_Fail_Cnt_Total  0x0022   100   100   000    Old_age 
 Always       -       53848
 191 G-Sense_Error_Rate      0x0022   100   100   000    Old_age 
 Always       -       495
 192 Power-Off_Retract_Count 0x0022   252   252   000    Old_age 
 Always       -       0
 194 Temperature_Celsius     0x0002   064   054   000    Old_age 
 Always       -       29 (Min/Max 16/46)
 195 Hardware_ECC_Recovered  0x003a   100   100   000    Old_age 
 Always       -       0
 196 Reallocated_Event_Count 0x0032   252   252   000    Old_age 
 Always       -       0
 197 Current_Pending_Sector  0x0032   252   252   000    Old_age 
 Always       -       0
 198 Offline_Uncorrectable   0x0030   252   252   000    Old_age 
 Offline      -       0
 199 UDMA_CRC_Error_Count    0x0036   200   200   000    Old_age 
 Always       -       0
 200 Multi_Zone_Error_Rate   0x002a   100   100   000    Old_age 
 Always       -       49
 223 Load_Retry_Count        0x0032   100   100   000    Old_age 
 Always       -       4
 225 Load_Cycle_Count        0x0032   100   100   000    Old_age 
 Always       -       877
 
 -----------
 
 older port version to a sleeping drive:
 
 # smartctl -r ioctl,2 -n standby -A /dev/da9
 smartctl 6.2 2013-07-26 r3841 [FreeBSD 9.2-STABLE amd64] (local build)
 Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
 
   [inquiry: 12 00 00 00 24 00 ]  status=0
    Incoming data, len=36:
   00     00 00 05 12 45 00 00 02  41 54 41 20 20 20 20 20
   10     53 41 4d 53 55 4e 47 20  48 44 32 30 34 55 49 20
   20     30 30 30 31
 device on mpt controller, patching PDT
   [ata pass-through(16): 85 08 0e 00 00 00 01 00 00 00 00 00 00 00 ec 00 
 ]  status=0
    Incoming data, len=512 [only first 256 bytes shown]:
   00     40 00 ff 3f 37 c8 10 00  00 00 00 00 3f 00 00 00
   10     00 00 00 00 32 53 46 48  31 4a 5a 53 30 38 35 30
   20     34 34 20 20 20 20 20 20  00 00 ff ff 04 00 41 31
   30     31 51 30 30 31 30 41 53  53 4d 4e 55 20 47 44 48
   40     30 32 55 34 20 49 20 20  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 00 00  ff ff ff 0f 00 00 07 00
   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  06 15 00 00 4c 00 40 00
   a0     ff 01 28 00 6b 74 69 7f  23 41 69 74 41 bc 23 41
   b0     7f 40 aa 00 aa 00 00 00  fe ff 00 00 00 fe 00 00
   c0     00 00 00 00 00 00 00 00  b0 88 e0 e8 00 00 00 00
   d0     00 00 00 00 00 40 00 00  02 50 90 4e f6 03 d2 9a
   e0     00 00 00 00 00 00 00 00  00 00 00 00 00 00 1c 40
   f0     1c 40 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 
 REPORT-IOCTL: Device=/dev/da9 Command=CHECK POWER MODE
   Input:   FR=...., SC=...., LL=...., LM=...., LH=...., DEV=...., CMD=0xe5
   [ata pass-through(16): 85 06 2c 00 00 00 00 00 00 00 00 00 00 00 e5 00 
 ]  status=0
    Incoming data, len=0:
 Values from ATA Return Descriptor are:
   00     09 0c 00 00 00 00 00 00  00 00 00 00 00 50
   [Duration: 0.001s]
   Output: ERR=0x00, SC=0x00, LL=0x00, LM=0x00, LH=0x00, DEV=0x00, STS=0x50
 REPORT-IOCTL: Device=/dev/da9 Command=CHECK POWER MODE returned 0
 Sector Count Register (BASE-16): 00
 Device is in STANDBY mode, exit(2)
 -------
 
 # camcontrol devlist
 <ATA SAMSUNG HD204UI 0001>         at scbus0 target 0 lun 0 (da8,pass0)
 <ATA SAMSUNG HD204UI 0001>         at scbus0 target 1 lun 0 (da9,pass1)
 <ATA SAMSUNG HD204UI 0001>         at scbus0 target 2 lun 0 (da10,pass2)
 <ATA SAMSUNG HD204UI 0001>         at scbus0 target 3 lun 0 (da11,pass3)
 <ATA SAMSUNG HD204UI 0001>         at scbus0 target 4 lun 0 (da12,pass4)
 <ATA SAMSUNG HD204UI 0001>         at scbus0 target 5 lun 0 (da13,pass5)
 <ATA SAMSUNG HD204UI 0001>         at scbus0 target 6 lun 0 (da14,pass6)
 <ATA SAMSUNG HD204UI 0001>         at scbus0 target 7 lun 0 (da15,pass7)
 <ATA WDC WD30EFRX-68A 0A80>        at scbus2 target 0 lun 0 (da0,pass8)
 <ATA WDC WD30EFRX-68A 0A80>        at scbus2 target 1 lun 0 (da1,pass9)
 <ATA WDC WD30EFRX-68A 0A80>        at scbus2 target 2 lun 0 (da2,pass10)
 <ATA WDC WD30EFRX-68A 0A80>        at scbus2 target 3 lun 0 (da3,pass11)
 <ATA WDC WD30EFRX-68A 0A80>        at scbus2 target 4 lun 0 (da4,pass12)
 <ATA WDC WD30EFRX-68A 0A80>        at scbus2 target 5 lun 0 (da5,pass13)
 <ATA WDC WD30EFRX-68A 0A80>        at scbus2 target 6 lun 0 (da6,pass14)
 <ATA WDC WD30EFRX-68A 0A80>        at scbus2 target 7 lun 0 (da7,pass15)
 <Hitachi HTE722020K9A300 DC4OC76A>  at scbus3 target 0 lun 0 (ada0,pass16)
 <Hitachi HTE722020K9A300 DC4OC76A>  at scbus4 target 0 lun 0 (ada1,pass17)
 <SAMSUNG HD204UI 1AQ10001>         at scbus5 target 0 lun 0 (ada2,pass18)
 <SAMSUNG HD204UI 1AQ10001>         at scbus6 target 0 lun 0 (ada3,pass19)
 <WDC WD30EFRX-68AX9N0 80.00A80>    at scbus7 target 0 lun 0 (ada4,pass20)
 <WDC WD30EFRX-68AX9N0 80.00A80>    at scbus8 target 0 lun 0 (ada5,pass21)
 <Initio INIC-1610P 1.07>           at scbus9 target 0 lun 0 (pass22,da16)
 --------------
 
 Cheers,
 Gavin....



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401260150.s0Q1o19i011697>