logo资料库

AHCI-command-manual开发手册.pdf

第1页 / 共458页
第2页 / 共458页
第3页 / 共458页
第4页 / 共458页
第5页 / 共458页
第6页 / 共458页
第7页 / 共458页
第8页 / 共458页
资料共458页,剩余部分请下载后查看
1.0 Definitions, symbols, abbreviations, keywords, and conventions
1.1 Definitions
1.2 Symbols and abbreviations
1.3 Keywords
1.4 Conventions
2.0 General Concepts
2.1 Command Descriptor Block (CDB)
2.1.1 CDB usage and structure
2.1.2 The fixed length CDB formats
2.1.3 The variable length CDB formats
2.2 Common CDB fields
2.2.1 Operation Code
2.2.2 SERVICE ACTION
2.2.3 Logical block address
2.2.4 TRANSFER LENGTH
2.2.5 PARAMETER LIST LENGTH
2.2.6 ALLOCATION LENGTH
2.2.7 CONTROL
2.2.8 Grouping function
2.3 Parameter rounding
2.4 Sense data
2.4.1 Sense data introduction
2.4.1.1 Descriptor format sense data
2.4.1.2 Fixed format sense data
2.4.1.3 Current errors
2.4.1.4 Deferred errors
2.4.1.5 Sense key and sense code definitions
2.4.1.6 Additional Sense and Additional Sense Qualifier codes
3.0 Command Reference
3.1 CHANGE DEFINITION command
3.2 COMPARE command
3.3 COPY command
3.4 COPY AND VERIFY command
3.5 FORMAT UNIT command
3.5.1 FORMAT UNIT command overview
3.5.2 FORMAT UNIT parameter list
3.5.2.1 FORMAT UNIT parameter list overview
3.5.3 Parameter list header
3.5.4 Initialization pattern descriptor
3.5.5 Address descriptor formats
3.5.5.1 Address descriptor formats overview
3.5.5.2 Short block format address descriptor
3.5.5.3 Long block format address descriptor
3.5.5.4 Bytes from index format address descriptor
3.5.5.5 Physical sector format address descriptor
3.6 INQUIRY command
3.6.1 INQUIRY command introduction
3.6.2 Standard INQUIRY data
3.6.3 SCSI Parallel Interface specific INQUIRY data
3.6.4 Vital product data
3.7 LOCK-UNLOCK Cache (10) command
3.8 LOCK-UNLOCK Cache (16) command
3.9 LOG SELECT command
3.9.1 Processing LOG SELECT when the parameter list length is zero
3.10 LOG SENSE command
3.11 MODE SELECT(6) command
3.12 MODE SELECT(10) command
3.13 MODE SENSE(6) command
3.13.1 MODE SENSE(6) command introduction
3.13.1.1 Current values
3.13.1.2 Changeable values
3.13.1.3 Default values
3.13.1.4 Saved values
3.13.1.5 Initial responses
3.14 MODE SENSE(10) command
3.15 PERSISTENT RESERVE IN command
3.15.1 PERSISTENT RESERVE IN command introduction
3.15.2 READ KEYS service action
3.15.3 READ RESERVATION service action
3.15.3.1 READ RESERVATION service action introduction
3.15.3.2 PERSISTENT RESERVE IN parameter data for READ RESERVATION
3.15.3.3 Persistent reservations scope
3.15.3.4 Persistent reservations type
3.15.4 REPORT CAPABILITIES service action
3.15.5 READ FULL STATUS service action
3.16 PERSISTENT RESERVE OUT command
3.16.1 PERSISTENT RESERVE OUT command introduction
3.16.2 PERSISTENT RESERVE OUT service actions
3.16.3 Basic PERSISTENT RESERVE OUT parameter list
3.16.4 PERSISTENT RESERVE OUT command with REGISTER AND MOVE service
3.17 PRE-FETCH (10) command, PRE-FETCH (16) command
3.18 PREVENT ALLOW MEDIUM REMOVAL command
3.19 READ (6) command
3.20 READ (10) command
3.21 READ (12) command
3.22 READ (16) command
3.23 READ (32) command
3.24 READ BUFFER command
3.24.1 READ BUFFER command introduction
3.24.1.1 Vendor specific mode (01h)
3.24.1.2 Data mode (02h)
3.24.1.3 Descriptor mode (03h)
3.24.1.4 Echo buffer mode (0Ah)
3.24.1.5 Echo buffer descriptor mode (0Bh)
3.24.1.6 Enable expander communications protocol and Echo buffer (1Ah)
3.24.1.7 Error history mode (1Ch)
3.25 READ CAPACITY (10) command
3.25.1 READ CAPACITY (10) overview
3.25.2 READ CAPACITY (10) parameter data
3.26 READ CAPACITY (16) command
3.26.1 READ CAPACITY (16) command overview
3.26.2 READ CAPACITY (16) parameter data
3.27 READ DEFECT DATA (10) command
3.27.1 READ DEFECT DATA (10) command overview
3.27.2 READ DEFECT DATA (10) parameter data
3.28 READ DEFECT DATA (12) command
3.28.1 READ DEFECT DATA (12) command overview
3.28.2 READ DEFECT DATA (12) parameter data
3.29 READ LONG (10) command
3.30 READ LONG (16) command
3.31 REASSIGN BLOCKS command
3.31.1 REASSIGN BLOCKS command overview
3.31.2 REASSIGN BLOCKS parameter list
3.32 RECEIVE DIAGNOSTIC RESULTS command
3.33 RELEASE(6) command
3.34 RELEASE (10) command
3.34.1 RELEASE(10) command introduction
3.34.2 Logical unit release
3.34.3 Third-party release
3.35 REPORT DEVICE IDENTIFIER command
3.36 REPORT IDENTIFYING INFORMATION
3.36.1 IDENTIFYING INFORMATION SUPPORTED parameter data
3.37 REPORT LUNS command
3.38 REPORT SUPPORTED OPERATION CODES command
3.38.1 Introduction
3.38.2 All-commands parameter data format
3.38.3 One_command parameter data format
3.38.4 Command timeouts descriptor
3.38.4.1 Overview
3.38.4.2 WRITE BUFFER command timeouts descriptor COMMAND SPECIFIC field usage
3.39 REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS commands
3.40 REPORT TIMESTAMP command
3.41 REQUEST SENSE command
3.42 RESERVE(6) command
3.43 RESERVE (10) command
3.43.1 RESERVE (10) command introduction
3.43.2 Logical unit reservation
3.43.3 Third-party reservation
3.43.4 Superseding reservations
3.44 REZERO UNIT command
3.45 SECURITY PROTOCOL IN command
3.45.1 Command description
3.45.2 Security protocol information description
3.45.2.1 Overview
3.45.2.2 CDB description
3.45.2.3 Supported security protocols list description
3.45.2.4 Certificate data description
3.46 SECURITY PROTOCOL OUT command
3.47 SEEK command
3.48 SEEK EXTENDED command
3.49 SEND DIAGNOSTIC command
3.50 SET IDENTIFYING INFORMATION command
3.51 SET TIMESTAMP command
3.52 START STOP UNIT command
3.53 .SYNCHRONIZE CACHE (10) command
3.54 SYNCHRONIZE CACHE (16) command
3.55 TEST UNIT READY command
3.56 UNMAP command
3.56.1 UNMAP command overview
3.56.2 UNMAP parameter list
3.57 VERIFY (10) command
3.58 VERIFY (12) command
3.59 VERIFY (16) command
3.60 VERIFY (32) command
3.61 WRITE (6) command
3.62 WRITE (10) command
3.63 WRITE (12) command
3.64 WRITE (16) command
3.65 WRITE (32) command
3.66 WRITE AND VERIFY (10) command
3.67 WRITE AND VERIFY (12) command
3.68 WRITE AND VERIFY (16) command
3.69 WRITE AND VERIFY (32) command
3.70 WRITE BUFFER command
3.70.1 WRITE BUFFER command introduction
3.70.2 Combined header and data mode (00h)
3.70.3 Vendor specific mode (01h)
3.70.4 Data mode (02h)
3.70.5 Download microcode and activate mode (04h)
3.70.6 Download microcode, save, and activate mode (05h)
3.70.7 Download microcode with offsets and activate mode (06h)
3.70.8 Download microcode with offsets and save mode (07h)
3.70.9 Write data to echo buffer mode (0Ah)
3.70.10 Download microcode with offsets, save, and defer activate mode (0Eh)
3.70.11 Activate deferred microcode mode (0Fh)
3.70.12 Enable expander communications protocol and Echo buffer mode (1Ah)
3.70.13 Disable expander communications protocol mode (1Bh)
3.70.14 Download application log mode (1Ch)
3.71 WRITE LONG (10) command
3.72 WRITE LONG (16) command
3.73 WRITE SAME (10) command
3.74 WRITE SAME (16) command
3.75 WRITE SAME (32) command
4.0 Parameters for all device types
4.1 Diagnostic parameters
4.1.1 Diagnostic page format and page codes for all device types
4.1.2 Supported diagnostic pages (00h)
4.1.3 Translate Address input page (40h)
4.1.4 Translate Address Output diagnostic page (40h)
4.1.5 SCSI Enclosure Services pages (01h - 2Fh)
4.2 Log parameters
4.2.1 Log page structure and page codes for all device types
4.2.1.1 Log page format
4.2.1.2 Log parameter format
4.2.1.3 Parameter control byte values for data counter parameters
4.2.1.4 Parameter control byte values for list parameters
4.2.2 Application Client log page (0Fh)
4.2.3 Background Scan Results log page (15h)
4.2.4 Format Status log page
4.2.5 Cache Statistics page (37h)
4.2.6 Error counter log pages (WRITE, READ, and VERIFY, 02h, 03h, and 05h)
4.2.7 Factory Log page (3Eh)
4.2.8 Informational Exceptions log page (2Fh)
4.2.9 Non-Medium Error log page (06h)
4.2.10 Power Condition Transitions log page
4.2.11 Protocol-Specific Port log page (18h)
4.2.11.1 Phy event descriptor
4.2.12 Self-Test Results log page (10h)
4.2.13 Start-Stop Cycle Counter log page (0Eh)
4.2.14 Supported Log Pages log page (00h)
4.2.15 Temperature log page (0Dh)
4.3 Mode parameters
4.3.1 Mode parameters overview
4.3.2 Mode parameter list format
4.3.3 Mode parameter header formats
4.3.4 Mode parameter block descriptors
4.3.4.1 Mode block descriptors overview
4.3.4.2 Short LBA mode parameter block descriptor
4.3.4.3 Long LBA mode parameter block descriptor
4.3.5 Mode page and subpage formats and page codes
4.3.6 Background Control mode page (1Ch)
4.3.7 Caching Parameters page (08h)
4.3.8 Control mode page (0Ah)
4.3.9 Control Extension mode page (0Ah)
4.3.10 Disconnect-Reconnect mode page (02h)
4.3.10.1 Disconnect-Reconnect mode page for Parallel SCSI
4.3.10.2 Disconnect-Reconnect mode page for FCP (02h)
4.3.10.3 Disconnect-Reconnect mode page for SAS (02h)
4.3.11 Format Parameters page (03h)
4.3.12 Informational Exceptions Control mode page (1Ch)
4.3.13 Notch page (0Ch)
4.3.14 Power Condition mode page (1Ah)
4.3.15 Read-Write Error Recovery mode page (01h)
4.3.16 Protocol Specific Logical Unit mode page (18h)
4.3.16.1 Protocol specific parameters
4.3.16.2 Fibre Channel Logical Unit Control mode page (18h)
4.3.16.3 SAS Protocol-Specific Logical Unit mode page
4.3.17 Protocol Specific Port mode page (19h)
4.3.17.1 Port Control Mode page (19h) for Parallel SCSI
4.3.17.2 Port Control Mode page (19h) for Fibre Channel (FC)
4.3.17.3 Protocol Specific Port Mode page (19h) for Serial Attached SCSI (SAS)
4.3.18 Rigid Drive Geometry Parameters page (04h)
4.3.19 Unit Attention parameters page (00h)
4.3.20 Verify Error Recovery mode page (07h)
4.4 Vital product data parameters
4.4.1 Vital product data parameters overview and page codes
4.4.2 ASCII Information VPD page (01h - 7Fh)
4.4.3 Block Limits VPD page
4.4.4 Date Code page (C1h)
4.4.5 Device Behavior page (C3h)
4.4.6 Extended INQUIRY Data VPD page (86h)
4.4.7 Firmware Numbers page (C0h)
4.4.8 Device Identification VPD page (83h)
4.4.9 Jumper Settings page (C2h)
4.4.10 Mode Page Policy VPD page
4.4.11 Supported Vital Product Data pages (00h)
4.4.12 Unit Serial Number page (80h)
Numerics
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
Product Manual SCSI Commands Reference Manual Parallel SCSI Fibre Channel (FC) Serial Attached SCSI (SAS) 100293068 Rev. D December 2010
© 2010 Seagate Technology LLC. All rights reserved. Publication number: 100293068, Rev. D December 2010 Seagate, Seagate Technology and the Wave logo are registered trademarks of Seagate Technology LLC in the United States and/or other countries. SeaTools is a trademarks of Seagate Technology LLC or one of its affiliated companies in the United States and/or other countries. All other trade- marks or registered trademarks are the property of their respective owners. No part of this publication may be reproduced in any form without written permission of Seagate Technology LLC. Call 877-PUB-TEK1(877-782-8351) to request permission.
Table of Contents 2.1.1 2.1.2 2.1.3 2.4.1 1.0 Definitions, symbols, abbreviations, keywords, and conventions ............................................... 1 1.1 Definitions ................................................................................................................................... 2 1.2 Symbols and abbreviations ...................................................................................................... 12 1.3 Keywords .................................................................................................................................. 15 1.4 Conventions ............................................................................................................................. 16 2.0 General Concepts ........................................................................................................................... 17 2.1 Command Descriptor Block (CDB) ........................................................................................... 17 CDB usage and structure ............................................................................................ 17 The fixed length CDB formats ..................................................................................... 18 The variable length CDB formats ................................................................................ 22 2.2 Common CDB fields ................................................................................................................. 24 2.2.1 Operation Code ........................................................................................................... 24 SERVICE ACTION ...................................................................................................... 24 2.2.2 Logical block address .................................................................................................. 25 2.2.3 TRANSFER LENGTH .................................................................................................. 25 2.2.4 2.2.5 PARAMETER LIST LENGTH ...................................................................................... 25 ALLOCATION LENGTH .............................................................................................. 25 2.2.6 2.2.7 CONTROL ................................................................................................................... 26 2.2.8 Grouping function ........................................................................................................ 27 2.3 Parameter rounding .................................................................................................................. 27 2.4 Sense data ............................................................................................................................... 28 Sense data introduction ............................................................................................... 28 Descriptor format sense data ....................................................................... 29 Fixed format sense data .............................................................................. 41 Current errors ............................................................................................... 43 Deferred errors ............................................................................................. 43 Sense key and sense code definitions ......................................................... 44 Additional Sense and Additional Sense Qualifier codes .............................. 45 3.0 Command Reference ...................................................................................................................... 54 3.1 CHANGE DEFINITION command ............................................................................................ 57 3.2 COMPARE command .............................................................................................................. 59 3.3 COPY command ...................................................................................................................... 59 3.4 COPY AND VERIFY command ................................................................................................ 59 3.5 FORMAT UNIT command ........................................................................................................ 60 FORMAT UNIT command overview ............................................................................ 60 FORMAT UNIT parameter list ..................................................................................... 64 FORMAT UNIT parameter list overview ...................................................... 64 Parameter list header .................................................................................................. 65 Initialization pattern descriptor ..................................................................................... 69 Address descriptor formats .......................................................................................... 72 Address descriptor formats overview ........................................................... 72 Short block format address descriptor ......................................................... 73 Long block format address descriptor .......................................................... 73 Bytes from index format address descriptor ................................................ 74 Physical sector format address descriptor ................................................... 75 3.6 INQUIRY command .................................................................................................................. 76 INQUIRY command introduction ................................................................................. 76 Standard INQUIRY data .............................................................................................. 78 SCSI Parallel Interface specific INQUIRY data ........................................................... 84 Vital product data ........................................................................................................ 85 3.7 LOCK-UNLOCK Cache (10) command .................................................................................... 86 2.4.1.1 2.4.1.2 2.4.1.3 2.4.1.4 2.4.1.5 2.4.1.6 3.5.5.1 3.5.5.2 3.5.5.3 3.5.5.4 3.5.5.5 3.6.1 3.6.2 3.6.3 3.6.4 3.5.2.1 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 SCSI Commands Reference Manual, Rev. D iii
3.9.1 3.8 LOCK-UNLOCK Cache (16) command ....................................................................................86 3.9 LOG SELECT command ...........................................................................................................87 Processing LOG SELECT when the parameter list length is zero ...............................89 3.10 LOG SENSE command ............................................................................................................92 3.11 MODE SELECT(6) command ...................................................................................................94 3.12 MODE SELECT(10) command .................................................................................................96 3.13 MODE SENSE(6) command .....................................................................................................97 3.13.1 MODE SENSE(6) command introduction ....................................................................97 3.13.1.1 Current values ..............................................................................................99 3.13.1.2 Changeable values .......................................................................................99 3.13.1.3 Default values ...............................................................................................99 3.13.1.4 Saved values ................................................................................................99 3.13.1.5 Initial responses .........................................................................................100 3.14 MODE SENSE(10) command .................................................................................................101 3.15 PERSISTENT RESERVE IN command ..................................................................................102 3.15.1 PERSISTENT RESERVE IN command introduction .................................................102 3.15.2 READ KEYS service action .......................................................................................103 3.15.3 READ RESERVATION service action .......................................................................104 3.15.3.1 READ RESERVATION service action introduction ....................................104 3.15.3.2 PERSISTENT RESERVE IN parameter data for READ RESERVATION ..104 3.15.3.3 Persistent reservations scope ....................................................................105 3.15.3.4 Persistent reservations type .......................................................................106 3.15.4 REPORT CAPABILITIES service action ....................................................................107 3.15.5 READ FULL STATUS service action .........................................................................110 3.16 PERSISTENT RESERVE OUT command ..............................................................................113 3.16.1 PERSISTENT RESERVE OUT command introduction .............................................113 3.16.2 PERSISTENT RESERVE OUT service actions .........................................................115 3.16.3 Basic PERSISTENT RESERVE OUT parameter list .................................................116 3.16.4 PERSISTENT RESERVE OUT command with REGISTER AND MOVE service .....119 3.17 PRE-FETCH (10) command, PRE-FETCH (16) command ....................................................121 3.18 PREVENT ALLOW MEDIUM REMOVAL command ..............................................................121 3.19 READ (6) command ................................................................................................................122 3.20 READ (10) command ..............................................................................................................124 3.21 READ (12) command ..............................................................................................................129 3.22 READ (16) command ..............................................................................................................130 3.23 READ (32) command ..............................................................................................................131 3.24 READ BUFFER command ......................................................................................................132 3.24.1 READ BUFFER command introduction .....................................................................132 3.24.1.1 Vendor specific mode (01h) .......................................................................134 3.24.1.2 Data mode (02h) ........................................................................................134 3.24.1.3 Descriptor mode (03h) ................................................................................134 3.24.1.4 Echo buffer mode (0Ah) .............................................................................135 3.24.1.5 Echo buffer descriptor mode (0Bh) ............................................................136 3.24.1.6 Enable expander communications protocol and Echo buffer (1Ah) ...........136 3.24.1.7 Error history mode (1Ch) ............................................................................137 3.25 READ CAPACITY (10) command ...........................................................................................142 3.25.1 READ CAPACITY (10) overview ...............................................................................142 3.25.2 READ CAPACITY (10) parameter data .....................................................................143 3.26 READ CAPACITY (16) command ...........................................................................................144 3.26.1 READ CAPACITY (16) command overview ...............................................................144 3.26.2 READ CAPACITY (16) parameter data .....................................................................145 3.27 READ DEFECT DATA (10) command ....................................................................................147 3.27.1 READ DEFECT DATA (10) command overview ........................................................147 3.27.2 READ DEFECT DATA (10) parameter data ..............................................................148 3.28 READ DEFECT DATA (12) command ....................................................................................150 3.28.1 READ DEFECT DATA (12) command overview ........................................................150 iv SCSI Commands Reference Manual, Rev. D
age 3.28.2 READ DEFECT DATA (12) parameter data .............................................................. 151 3.29 READ LONG (10) command .................................................................................................. 152 3.30 READ LONG (16) command .................................................................................................. 153 3.31 REASSIGN BLOCKS command ............................................................................................ 155 3.31.1 REASSIGN BLOCKS command overview ................................................................ 155 3.31.2 REASSIGN BLOCKS parameter list .......................................................................... 156 3.32 RECEIVE DIAGNOSTIC RESULTS command ...................................................................... 158 3.33 RELEASE(6) command .......................................................................................................... 161 3.34 RELEASE (10) command ....................................................................................................... 162 3.34.1 RELEASE(10) command introduction ....................................................................... 162 3.34.2 Logical unit release .................................................................................................... 162 3.34.3 Third-party release .................................................................................................... 162 3.35 REPORT DEVICE IDENTIFIER command ............................................................................ 163 3.36 REPORT IDENTIFYING INFORMATION .............................................................................. 164 3.36.1 IDENTIFYING INFORMATION SUPPORTED parameter data ................................. 166 3.37 REPORT LUNS command ..................................................................................................... 168 3.38 REPORT SUPPORTED OPERATION CODES command .................................................... 170 3.38.1 Introduction ................................................................................................................ 170 3.38.2 All-commands parameter data format ....................................................................... 172 3.38.3 One_command parameter data format ..................................................................... 173 3.38.4 Command timeouts descriptor ................................................................................... 175 3.38.4.1 Overview .................................................................................................... 175 3.38.4.2 WRITE BUFFER command timeouts descriptor COMMAND SPECIFIC field us- ..................................................................................................................... 176 3.39 REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS commands ........................... 177 3.40 REPORT TIMESTAMP command .......................................................................................... 179 3.41 REQUEST SENSE command ................................................................................................ 181 3.42 RESERVE(6) command ......................................................................................................... 184 3.43 RESERVE (10) command ...................................................................................................... 185 3.43.1 RESERVE (10) command introduction ...................................................................... 185 3.43.2 Logical unit reservation ............................................................................................. 185 3.43.3 Third-party reservation .............................................................................................. 186 3.43.4 Superseding reservations .......................................................................................... 187 3.44 REZERO UNIT command ...................................................................................................... 188 3.45 SECURITY PROTOCOL IN command ................................................................................... 189 3.45.1 Command description ................................................................................................ 189 3.45.2 Security protocol information description ................................................................... 191 3.45.2.1 Overview .................................................................................................... 191 3.45.2.2 CDB description ......................................................................................... 191 3.45.2.3 Supported security protocols list description .............................................. 192 3.45.2.4 Certificate data description ........................................................................ 193 3.46 SECURITY PROTOCOL OUT command ............................................................................... 194 3.47 SEEK command ..................................................................................................................... 196 3.48 SEEK EXTENDED command ................................................................................................ 197 3.49 SEND DIAGNOSTIC command ............................................................................................. 198 3.50 SET IDENTIFYING INFORMATION command ...................................................................... 201 3.51 SET TIMESTAMP command .................................................................................................. 203 3.52 START STOP UNIT command ............................................................................................... 205 3.53 .SYNCHRONIZE CACHE (10) command .............................................................................. 208 3.54 SYNCHRONIZE CACHE (16) command ............................................................................... 209 3.55 TEST UNIT READY command ............................................................................................... 210 3.56 UNMAP command .................................................................................................................. 211 3.56.1 UNMAP command overview ...................................................................................... 211 3.56.2 UNMAP parameter list ............................................................................................... 212 3.57 VERIFY (10) command .......................................................................................................... 215 3.58 VERIFY (12) command .......................................................................................................... 227 SCSI Commands Reference Manual, Rev. D v
3.59 VERIFY (16) command ...........................................................................................................228 3.60 VERIFY (32) command ...........................................................................................................229 3.61 WRITE (6) command ..............................................................................................................231 3.62 WRITE (10) command ............................................................................................................232 3.63 WRITE (12) command ............................................................................................................237 3.64 WRITE (16) command ............................................................................................................238 3.65 WRITE (32) command ............................................................................................................239 3.66 WRITE AND VERIFY (10) command ......................................................................................241 3.67 WRITE AND VERIFY (12) command ......................................................................................242 3.68 WRITE AND VERIFY (16) command ......................................................................................243 3.69 WRITE AND VERIFY (32) command ......................................................................................244 3.70 WRITE BUFFER command ....................................................................................................246 3.70.1 WRITE BUFFER command introduction ....................................................................246 3.70.2 Combined header and data mode (00h) ....................................................................247 3.70.3 Vendor specific mode (01h) .......................................................................................248 3.70.4 Data mode (02h) ........................................................................................................248 3.70.5 Download microcode and activate mode (04h) ..........................................................248 3.70.6 Download microcode, save, and activate mode (05h) ...............................................248 3.70.7 Download microcode with offsets and activate mode (06h) .......................................249 3.70.8 Download microcode with offsets and save mode (07h) ...........................................250 3.70.9 Write data to echo buffer mode (0Ah) ........................................................................251 3.70.10 Download microcode with offsets, save, and defer activate mode (0Eh) ..................251 3.70.11 Activate deferred microcode mode (0Fh) ...................................................................251 3.70.12 Enable expander communications protocol and Echo buffer mode (1Ah) .................252 3.70.13 Disable expander communications protocol mode (1Bh) ..........................................252 3.70.14 Download application log mode (1Ch) .......................................................................252 3.71 WRITE LONG (10) command .................................................................................................256 3.72 WRITE LONG (16) command .................................................................................................260 3.73 WRITE SAME (10) command .................................................................................................261 3.74 WRITE SAME (16) command .................................................................................................263 3.75 WRITE SAME (32) command .................................................................................................264 4.0 Parameters for all device types ....................................................................................................266 4.1 Diagnostic parameters ............................................................................................................266 Diagnostic page format and page codes for all device types .....................................266 Supported diagnostic pages (00h) .............................................................................268 Translate Address input page (40h) ...........................................................................269 Translate Address Output diagnostic page (40h) ......................................................271 SCSI Enclosure Services pages (01h - 2Fh) .............................................................272 4.2 Log parameters .......................................................................................................................273 Log page structure and page codes for all device types ............................................273 Log page format .........................................................................................273 Log parameter format .................................................................................275 Parameter control byte values for data counter parameters ......................279 Parameter control byte values for list parameters ......................................280 Application Client log page (0Fh) ...............................................................................282 4.2.2 Background Scan Results log page (15h) .................................................................284 4.2.3 Format Status log page ..............................................................................................290 4.2.4 Cache Statistics page (37h) .......................................................................................292 4.2.5 Error counter log pages (WRITE, READ, and VERIFY, 02h, 03h, and 05h) .............292 4.2.6 Factory Log page (3Eh) .............................................................................................294 4.2.7 Informational Exceptions log page (2Fh) ...................................................................294 4.2.8 Non-Medium Error log page (06h) .............................................................................296 4.2.9 4.2.10 Power Condition Transitions log page .......................................................................297 4.2.11 Protocol-Specific Port log page (18h) ........................................................................300 4.2.11.1 Phy event descriptor ...................................................................................307 4.2.1.1 4.2.1.2 4.2.1.3 4.2.1.4 4.1.1 4.1.2 4.1.3 4.1.4 4.1.5 4.2.1 vi SCSI Commands Reference Manual, Rev. D
4.2.12 Self-Test Results log page (10h) ............................................................................... 308 4.2.13 Start-Stop Cycle Counter log page (0Eh) .................................................................. 311 4.2.14 Supported Log Pages log page (00h) ........................................................................ 314 4.2.15 Temperature log page (0Dh) ..................................................................................... 315 4.3 Mode parameters ................................................................................................................... 317 4.3.1 Mode parameters overview ....................................................................................... 317 4.3.2 Mode parameter list format ........................................................................................ 317 4.3.3 Mode parameter header formats ............................................................................... 317 4.3.4 Mode parameter block descriptors ............................................................................ 319 4.3.4.1 Mode block descriptors overview ............................................................... 319 4.3.4.2 Short LBA mode parameter block descriptor ............................................. 319 Long LBA mode parameter block descriptor .............................................. 321 4.3.4.3 4.3.5 Mode page and subpage formats and page codes ................................................... 323 Background Control mode page (1Ch) ...................................................................... 326 4.3.6 Caching Parameters page (08h) ............................................................................... 328 4.3.7 4.3.8 Control mode page (0Ah) .......................................................................................... 331 4.3.9 Control Extension mode page (0Ah) ......................................................................... 336 4.3.10 Disconnect-Reconnect mode page (02h) .................................................................. 337 4.3.10.1 Disconnect-Reconnect mode page for Parallel SCSI ................................ 338 4.3.10.2 Disconnect-Reconnect mode page for FCP (02h) ..................................... 341 4.3.10.3 Disconnect-Reconnect mode page for SAS (02h) ..................................... 344 4.3.11 Format Parameters page (03h) ................................................................................. 347 4.3.12 Informational Exceptions Control mode page (1Ch) .................................................. 349 4.3.13 Notch page (0Ch) ...................................................................................................... 353 4.3.14 Power Condition mode page (1Ah) ........................................................................... 355 4.3.15 Read-Write Error Recovery mode page (01h) ........................................................... 358 4.3.16 Protocol Specific Logical Unit mode page (18h) ........................................................ 364 4.3.16.1 Protocol specific parameters ...................................................................... 364 4.3.16.2 Fibre Channel Logical Unit Control mode page (18h) ................................ 366 4.3.16.3 SAS Protocol-Specific Logical Unit mode page ......................................... 367 4.3.17 Protocol Specific Port mode page (19h) .................................................................... 368 4.3.17.1 Port Control Mode page (19h) for Parallel SCSI ........................................ 369 4.3.17.2 Port Control Mode page (19h) for Fibre Channel (FC) .............................. 378 4.3.17.3 Protocol Specific Port Mode page (19h) for Serial Attached SCSI (SAS) .. 381 4.3.18 Rigid Drive Geometry Parameters page (04h) .......................................................... 401 4.3.19 Unit Attention parameters page (00h) ....................................................................... 403 4.3.20 Verify Error Recovery mode page (07h) .................................................................... 405 4.4 Vital product data parameters ................................................................................................ 407 Vital product data parameters overview and page codes .......................................... 407 4.4.1 ASCII Information VPD page (01h - 7Fh) .................................................................. 408 4.4.2 Block Limits VPD page .............................................................................................. 409 4.4.3 Date Code page (C1h) .............................................................................................. 412 4.4.4 Device Behavior page (C3h) ..................................................................................... 413 4.4.5 Extended INQUIRY Data VPD page (86h) ................................................................ 414 4.4.6 Firmware Numbers page (C0h) ................................................................................. 416 4.4.7 Device Identification VPD page (83h) ........................................................................ 419 4.4.8 4.4.9 Jumper Settings page (C2h) ...................................................................................... 424 4.4.10 Mode Page Policy VPD page .................................................................................... 426 4.4.11 Supported Vital Product Data pages (00h) ................................................................ 428 4.4.12 Unit Serial Number page (80h) .................................................................................. 429 SCSI Commands Reference Manual, Rev. D vii
viii SCSI Commands Reference Manual, Rev. D
分享到:
收藏