1、American National StandardDeveloped byfor Information Technology Serial Attached SCSI - 1.1(SAS-1.1)ANSI INCITS 417-2006ANSIINCITS417-2006ANSIINCITS 417-2006American National Standardfor Information Technology Serial Attached SCSI - 1.1(SAS-1.1)SecretariatInformation Technology Industry CouncilAppro
2、ved June 12, 2006 American National Standards Institute, Inc.AbstractThis standard specifies the functional requirements for the Serial Attached SCSI (SAS) physical interconnect, which is compatible with the Serial ATA physical interconnect. It also specifies three transport protocols, one to transp
3、ort SCSI commands, another to transport Serial ATA commands to multiple SATA devices, and a third to support interface management. This standard is intended to be used in conjunction with SCSI and ATA command set standards.Approval of an American National Standard requires review by ANSI that thereq
4、uirements for due process, consensus, and other criteria for approval havebeen met by the standards developer.Consensus is established when, in the judgement of the ANSI Board ofStandards Review, substantial agreement has been reached by directly andmaterially affected interests. Substantial agreeme
5、nt means much more thana simple majority, but not necessarily unanimity. Consensus requires that allviews and objections be considered, and that a concerted effort be madetowards their resolution.The use of American National Standards is completely voluntary; theirexistence does not in any respect p
6、reclude anyone, whether he has approvedthe standards or not, from manufacturing, marketing, purchasing, or usingproducts, processes, or procedures not conforming to the standards.The American National Standards Institute does not develop standards andwill in no circumstances give an interpretation o
7、f any American NationalStandard. Moreover, no person shall have the right or authority to issue aninterpretation of an American National Standard in the name of the AmericanNational Standards Institute. Requests for interpretations should beaddressed to the secretariat or sponsor whose name appears
8、on the titlepage of this standard.CAUTION NOTICE: This American National Standard may be revised orwithdrawn at any time. The procedures of the American National StandardsInstitute require that action be taken periodically to reaffirm, revise, orwithdraw this standard. Purchasers of American Nationa
9、l Standards mayreceive current information on all standards by calling or writing the AmericanNational Standards Institute.American National StandardPublished byAmerican National Standards Institute, Inc.25 West 43rd Street, New York, NY 10036Copyright 2006 by Information Technology Industry Council
10、 (ITI)All rights reserved.No part of this publication may be reproduced in anyform, in an electronic retrieval system or otherwise,without prior written permission of ITI, 1250 Eye Street NW, Washington, DC 20005. Printed in the United States of AmericaCAUTION: The developers of this standard have r
11、equested that holders of patents that may be re-quired for the implementation of the standard disclose such patents to the publisher. However, nei-ther the developers nor the publisher have undertaken a patent search in order to identify which, ifany, patents may apply to this standard. As of the da
12、te of publication of this standard, followingcalls for the identification of patents that may be required for the implementation of the standard,notice of one or more such claims has been received. By publication of this standard, no positionis taken with respect to the validity of this claim or of
13、any rights in connection therewith. The knownpatent holder(s) has (have), however, filed a statement of willingness to grant a license underthese rights on reasonable and nondiscriminatory terms and conditions to applicants desiring to ob-tain such a license. Details may be obtained from the publish
14、er. No further patent search is con-ducted by the developer or publisher in respect to any standard it processes. No representation ismade or implied that this is the only license that may be required to avoid infringement in the use ofthis standard.iContentsPageForeword .xlIntroduction . xlii1 Scop
15、e 12 Normative references 32.1 Normative references 32.2 Approved references. 32.3 References under development 42.4 Other references. 43 Definitions, symbols, abbreviations, keywords, and conventions . 63.1 Definitions . 63.2 Symbols and abbreviations. 193.3 Keywords 223.4 Editorial conventions. 23
16、3.5 Class diagram and object diagram conventions . 243.6 State machine conventions. 293.6.1 State machine conventions overview 293.6.2 Transitions 293.6.3 Messages, requests, indications, confirmations, responses, and event notifications 303.6.4 State machine counters, timers, and variables. 303.6.5
17、 State machine arguments. 303.7 Bit and byte ordering. 313.8 Notation for procedures and functions 314 General . 324.1 Architecture. 324.1.1 Architecture overview 324.1.2 Physical links and phys. 334.1.3 Ports (narrow ports and wide ports) 374.1.4 SAS devices 404.1.5 Expander devices (edge expander
18、devices and fanout expander devices) 414.1.6 Service delivery subsystem 434.1.7 Domains 444.1.8 Expander device topologies 464.1.8.1 Expander device topology overview . 464.1.8.2 Edge expander device set 464.1.8.3 Expander device topologies 474.1.9 Pathways 504.1.10 Connections 514.2 Names and ident
19、ifiers . 534.2.1 Names and identifiers overview 53iiPage4.2.2 SAS address. 544.2.3 Hashed SAS address . 554.2.4 Device names . 554.2.5 Port names . 554.2.6 Port identifiers. 554.2.7 Phy identifiers . 564.3 State machines . 574.3.1 State machine overview 574.3.2 Transmit data path 594.3.3 Receive dat
20、a path. 634.3.4 State machines and SAS device, SAS port, and SAS phy classes 664.4 Resets. 674.4.1 Reset overview . 674.4.2 Hard reset . 694.4.2.1 Hard reset overview 694.4.2.2 Additional hard reset processing by SAS ports 694.4.2.3 Additional hard reset processing by expander ports. 694.5 I_T nexus
21、 loss. 694.6 Expander device model 704.6.1 Expander device model overview . 704.6.2 Expander ports . 714.6.3 Expander connection manager (ECM) . 724.6.4 Expander connection router (ECR). 724.6.5 Broadcast primitive processor (BPP) 724.6.6 Expander device interfaces 724.6.6.1 Expander device interfac
22、e overview . 724.6.6.2 Expander device interfaces detail. 744.6.6.3 ECM interface . 754.6.6.4 ECR interface . 774.6.6.5 BPP interface 794.6.7 Expander device routing . 794.6.7.1 Routing attributes and routing methods 794.6.7.2 Connection request routing. 804.6.7.3 Expander route table 814.7 Discover
23、 process 814.7.1 Discover process overview . 814.7.2 Allowed topologies 834.7.3 Discover process optimization 844.7.4 Expander route index order 854.8 Phy test functions . 925 Physical layer 935.1 Physical layer overview 935.2 Passive interconnect. 935.2.1 SATA connectors and cable assemblies 935.2.
24、2 SAS connectors and cables 935.2.3 Connectors . 985.2.3.1 Connectors overview 98iiiPage5.2.3.2 SAS internal connectors 995.2.3.2.1 SAS Drive connectors. 995.2.3.2.1.1 SAS Drive plug connector. 995.2.3.2.1.2 SAS Drive cable receptacle connector 995.2.3.2.1.3 SAS Drive backplane receptacle connector
25、1005.2.3.2.1.4 SAS Drive connector pin assignments 1015.2.3.2.2 SAS 4i connectors. 1035.2.3.2.2.1 SAS 4i cable receptacle connector . 1035.2.3.2.2.2 SAS 4i plug connector. 1035.2.3.2.2.3 SAS 4i connector pin assignments . 1045.2.3.2.3 Mini SAS 4i connectors . 1065.2.3.2.3.1 Mini SAS 4i cable plug co
26、nnector . 1065.2.3.2.3.2 Mini SAS 4i receptacle connector . 1065.2.3.2.3.3 Mini SAS 4i connector pin assignments 1075.2.3.3 SAS external connectors. 1095.2.3.3.1 SAS 4x connectors 1095.2.3.3.1.1 SAS 4x cable plug connector 1095.2.3.3.1.2 SAS 4x receptacle connector 1095.2.3.3.1.3 SAS 4x connector pi
27、n assignments 1115.2.3.3.2 Mini SAS 4x connectors 1115.2.3.3.2.1 Mini SAS 4x cable plug connector 1115.2.3.3.2.2 Mini SAS 4x receptacle connector 1135.2.3.3.2.3 Mini SAS 4x connector pin assignments. 1165.2.4 Cable assemblies 1165.2.4.1 SAS internal cable assemblies 1165.2.4.1.1 SAS Drive cable asse
28、mblies . 1165.2.4.1.2 SAS internal symmetric cable assemblies 1175.2.4.1.2.1 SAS internal symmetric cable assemblies overview . 1175.2.4.1.2.2 SAS internal symmetric cable assembly - SAS 4i. 1195.2.4.1.2.3 SAS internal symmetric cable assembly - Mini SAS 4i . 1205.2.4.1.2.4 SAS internal symmetric ca
29、ble assembly - SAS 4i to Mini SAS 4i 1215.2.4.1.3 SAS internal fanout cable assemblies. 1225.2.4.1.3.1 SAS internal fanout cable assemblies overview . 1225.2.4.1.3.2 SAS internal controller-based fanout cable assemblies 1235.2.4.1.3.3 SAS internal backplane-based fanout cable assemblies 1255.2.4.2 S
30、AS external cable assemblies. 1265.2.4.2.1 SAS external cable assemblies overview . 1265.2.4.2.2 SAS external cable assembly - SAS 4x 1275.2.4.2.3 SAS external cable assembly - Mini SAS 4x. 1285.2.4.2.4 SAS external cable assembly - SAS 4x to Mini SAS 4x 1305.2.5 Backplanes 1305.2.6 Cable assembly a
31、nd backplane specifications 1315.3 Transmitter and receiver device electrical characteristics. 1365.3.1 Compliance points. 1365.3.2 Test loads 1435.3.2.1 Test loads overview 1435.3.2.2 Zero-length test load 1445.3.2.3 TCTF test load 1455.3.2.4 Low-loss TCTF test load . 1475.3.3 General electrical ch
32、aracteristics 148ivPage5.3.4 Transmitter and receiver device transients. 1515.3.5 Eye masks 1515.3.5.1 Eye masks overview . 1515.3.5.2 Transmitter device eye mask 1525.3.5.3 Receiver device eye mask 1525.3.5.4 Receiver device jitter tolerance eye mask 1535.3.6 Transmitter device characteristics 1545
33、.3.6.1 Transmitter device characteristics overview . 1545.3.6.2 Transmitter device signal output characteristics as measured with the zero-length test load . 1555.3.6.3 Transmitter device signal output characteristics as measured with each test load 1555.3.6.4 Transmitter device maximum jitter 1575.
34、3.6.5 Transmitter device signal output levels for OOB signals 1575.3.7 Receiver device characteristics 1575.3.7.1 Receiver device characteristics overview . 1575.3.7.2 Delivered signal (receiver device signal tolerance) characteristics 1585.3.7.3 Maximum delivered jitter. 1605.3.7.4 Receiver device
35、jitter tolerance. 1605.3.8 Spread spectrum clocking 1615.3.9 Non-tracking clock architecture 1615.4 READY LED signal electrical characteristics 1616 Phy layer. 1636.1 Phy layer overview 1636.2 8b10b coding 1636.2.1 8b10b coding overview . 1636.2.2 8b10b coding introduction. 1636.2.3 8b10b coding not
36、ation conventions 1636.3 Character encoding and decoding 1646.3.1 Introduction . 1646.3.2 Transmission order . 1646.3.3 Data and control characters 1656.3.4 Encoding characters in the transmitter . 1716.3.5 Decoding characters in the receiver . 1726.4 Dwords, primitives, data dwords, and invalid dwo
37、rds . 1726.5 Bit order 1726.6 Out of band (OOB) signals . 1746.6.1 OOB signals overview 1746.6.2 Transmitting OOB signals. 1756.6.3 Receiving OOB signals. 1776.6.4 Transmitting the SATA port selection signal. 1796.7 Phy reset sequences 1796.7.1 Phy reset sequences overview . 1796.7.2 SATA phy reset
38、sequence 1806.7.2.1 SATA OOB sequence. 1806.7.2.2 SATA speed negotiation sequence 1816.7.3 SAS to SATA phy reset sequence 181vPage6.7.4 SAS to SAS phy reset sequence 1826.7.4.1 SAS OOB sequence . 1826.7.4.2 SAS speed negotiation sequence. 1856.7.4.2.1 SAS speed negotiation sequence overview 1856.7.4
39、.2.2 Speed negotiation window 1856.7.4.2.3 SAS speed negotiation sequence. 1866.7.5 Phy reset sequence after devices are attached 1886.8 SP (phy layer) state machine 1896.8.1 SP state machine overview. 1896.8.2 SP transmitter and receiver. 1916.8.3 OOB sequence states. 1926.8.3.1 OOB sequence states
40、 overview 1926.8.3.2 SP0:OOB_COMINIT state 1936.8.3.2.1 State description . 1936.8.3.2.2 Transition SP0:OOB_COMINIT to SP1:OOB_AwaitCOMX 1936.8.3.2.3 Transition SP0:OOB_COMINIT to SP3:OOB_AwaitCOMINIT_Sent . 1936.8.3.2.4 Transition SP0:OOB_COMINIT to SP4:OOB_COMSAS 1936.8.3.3 SP1:OOB_AwaitCOMX state
41、 1936.8.3.3.1 State description . 1936.8.3.3.2 Transition SP1:OOB_AwaitCOMX to SP0:OOB_COMINIT 1946.8.3.3.3 Transition SP1:OOB_AwaitCOMX to SP4:OOB_COMSAS 1946.8.3.4 SP2:OOB_NoCOMSASTimeout state 1946.8.3.4.1 State description . 1946.8.3.4.2 Transition SP2:OOB_NoCOMSASTimeout to SP0:OOB_COMINIT . 19
42、46.8.3.4.3 Transition SP2:OOB_NoCOMSASTimeout to SP4:OOB_COMSAS. 1946.8.3.5 SP3:OOB_AwaitCOMINIT_Sent state 1946.8.3.5.1 State description . 1946.8.3.5.2 Transition SP3:OOB_AwaitCOMINIT_Sent to SP4:OOB_COMSAS 1946.8.3.6 SP4:OOB_COMSAS state 1946.8.3.6.1 State description . 1946.8.3.6.2 Transition SP
43、4:OOB_COMSAS to SP5:OOB_AwaitCOMSAS_Sent 1956.8.3.6.3 Transition SP4:OOB_COMSAS to SP6:OOB_AwaitNoCOMSAS 1956.8.3.6.4 Transition SP4:OOB_COMSAS to SP7:OOB_AwaitCOMSAS. 1956.8.3.7 SP5:OOB_AwaitCOMSAS_Sent state 1956.8.3.7.1 State description . 1956.8.3.7.2 Transition SP5:OOB_AwaitCOMSAS_Sent toSP6:OO
44、B_AwaitNoCOMSAS 1956.8.3.8 SP6:OOB_AwaitNoCOMSAS state. 1956.8.3.8.1 State description . 1956.8.3.8.2 Transition SP6:OOB_AwaitNoCOMSAS to SP0:OOB_COMINIT. 1956.8.3.8.3 Transition SP6:OOB_AwaitNoCOMSAS to SP8:SAS_Start. 1956.8.3.9 SP7:OOB_AwaitCOMSAS state . 1956.8.3.9.1 State description . 1956.8.3.
45、9.2 Transition SP7:OOB_AwaitCOMSAS to SP2:OOB_NoCOMSASTimeout 195viPage6.8.3.9.3 Transition SP7:OOB_AwaitCOMSAS to SP6:OOB_AwaitNoCOMSAS 1966.8.3.9.4 Transition SP7:OOB_AwaitCOMSAS to SP16:SATA_COMWAKE. 1966.8.3.9.5 Transition SP7:OOB_AwaitCOMSAS to SP26:SATA _SpinupHold 1966.8.4 SAS speed negotiati
46、on states. 1966.8.4.1 SAS speed negotiation states overview . 1966.8.4.2 SP8:SAS_Start state 1986.8.4.2.1 State description . 1986.8.4.2.2 Transition SP8:SAS_Start to SP0:OOB_COMINIT 1986.8.4.2.3 Transition SP8:SAS_Start to SP9:SAS_RateNotSupported. 1986.8.4.2.4 Transition SP8:SAS_Start to SP10:SAS_
47、AwaitALIGN. 1986.8.4.3 SP9:SAS_RateNotSupported state 1986.8.4.3.1 State description . 1986.8.4.3.2 Transition SP9:SAS_RateNotSupported to SP14:SAS_Fail 1986.8.4.4 SP10:SAS_AwaitALIGN state 1986.8.4.4.1 State description . 1986.8.4.4.2 Transition SP10:SAS_AwaitALIGN to SP0:OOB_COMINIT 1986.8.4.4.3 T
48、ransition SP10:SAS_AwaitALIGN to SP11:SAS_AwaitALIGN1. 1986.8.4.4.4 Transition SP10:SAS_AwaitALIGN to SP12:SAS_AwaitSNW . 1996.8.4.4.5 Transition SP10:SAS_AwaitALIGN to SP14:SAS_Fail. 1996.8.4.5 SP11:SAS_AwaitALIGN1 state 1996.8.4.5.1 State description . 1996.8.4.5.2 Transition SP11:SAS_AwaitALIGN1
49、to SP0:OOB_COMINIT 1996.8.4.5.3 Transition SP11:SAS_AwaitALIGN1 to SP12:SAS_AwaitSNW . 1996.8.4.5.4 Transition SP11:SAS_AwaitALIGN1 to SP14:SAS_Fail. 1996.8.4.6 SP12:SAS_AwaitSNW state. 1996.8.4.6.1 State description . 1996.8.4.6.2 Transition SP12:SAS_AwaitSNW to SP0:OOB_COMINIT. 1996.8.4.6.3 Transition SP12:SAS_AwaitSNW to SP13:SAS_Pass. 1996.8.4.7 SP13:SAS_Pass state 1996.8.4.7.1 State description . 1996.8.4.7.2 Transition SP13:SAS_Pass to SP0:OOB_COMINIT 2006.8.4.7.3 Transition SP13:SAS_Pass to SP8:SAS_Start 2006.8.4.7.4 Transition SP13:SAS_Pass to SP15:SAS_P