background image

 

4.1   Control/Sense Commands  

 

C141-C013 

205 

The specification of the "Service Action Reservation Key" field is necessary for the 
REGISTER, PREEMPT, and PREEMPT and ABORT Service Actions.  For the 
REGISTER Service Action, a Reservation Key to be newly registered is set in this 
field.  For the PREEMPT and, PREEMPT and ABORT Service Actions, the 
Reservation Key of the INIT that holds a reserve condition to be cleared (preempted) is 
set in this field.   For the PREEMPT and, PREEMPT and ABORT Service Actions, if 
the value specified in this field does not match any of the Reservation Keys registered, 
the drive reports the RESERVATION CONFLICT status.  For the Service Actions 
listed below, the value specified in this field is ignored. 

When the Scope value indicates Element Reservation, an element address (with the 
high byte filled with zeroes) is set in the Scope-specific Address field.  If the Service 
Action is REGISTER, REGISTER and IGNORE EXISTING KEY, or CLEAR, or if 
the Scope indicates LU Reservation, set zero in the Scope-specific Address field.  
The Activate Persist Through Power Loss (APTPL) bit is valid only for the 
REGISTER Service Action.  For the other Service Actions, this bit is ignored.  The 
support of the APTPL bit is optional, and if this bit is set for a drive that does not 
support this bit, the drive terminates this command with the CHECK CONDITION 
status.  At this time, the sense key is set to ILLEGAL REQUEST [= 5], and the 
sense data is set to INVALID FIELD IN PARAMETER LIST [= 26-00]. 

If the value of the APTPL bit that is last received by the drive is '0,' the power 
shutdown of the TARG releases all the PERSISTENT RESERVATIONs and 
clears all the Reservation Keys.  If the value of the APTPL bit that is last received 
by the drive is '1,' the logical unit maintains all the PERSISTENT 
RESERVATIONs and Reservation Keys for all the INITs throughout power 
shutdown and re-power-on sequences (the SA space is used to save the 
registration information).  The APTPL value, which controls the logical unit 
behavior while the power is turned off, is valid regardless of which INIT the bit 
value has been received from. 

Table 4.32 explains which fields are set by an application client and how such 
fields are recognized by a drive as regards each Service Action and Scope value.  
As for Reservation Keys and APTPL, they are as explained above. 

Summary of Contents for MBA3073RC SERIES

Page 1: ...C141 C013 01EN MBA3073RC MBA3147RC MBA3300RC SERIES MBB2073RC MBB2147RC SERIES MBC2036RC MBC2073RC SERIES DISK DRIVES SERIAL ATTACHED SCSI INTERFACE SPECIFICATIONS ...

Page 2: ...e systems mass transport vehicle operating controls medical devices for life support or weapons firing controls where particularly high reliability requirements exist where the pertinent levels of safety are not guaranteed or where a failure or operational error could threaten a life or cause a physical injury hereafter referred to as mission critical use Customers considering the use of these pro...

Page 3: ...Revision History 1 1 Edition Date Revised section 1 Added Deleted Altered Details 01 2007 02 28 1 Section s with asterisk refer to the previous edition when those were deleted C141 C013 ...

Page 4: ...This page is intentionally left blank ...

Page 5: ...as necessary The organization of this manual related reference manual and conventions for alert messages follow Overview of Manual This manual consists of the following six chapters glossary abbreviation and index Chapter 1 SAS Interface This chapter describes the topology physical and electrical requirements interface protocol and other operations of the interface Chapter 2 Command Processing Thi...

Page 6: ...ry to be executed through host system software and retry processing Chapter 7 Disk Media Management This chapter describes the procedure for initializing the disk media methods of treating media defects and data recovery methods Glossary The glossary explains technical terms which are necessary to the reader s understanding when reading this manual Acronyms and Abbreviations This list shows the fu...

Page 7: ...the operating environment and formatting Disk size 3 3 5 inch 2 2 5 inch Type BA 3 5 inch 15 000rpm BB 2 5 inch 10 025rpm BC 2 5 inch 15 000rpm Decimal numbers are represented normally Hexadecimal numbers are represented as shown in the following examples X 17B9 17B9h 17B9H or 17B9H Binary number is represented as 010 010b An X is used to represent mode parameters that are ignored by the MODE SELE...

Page 8: ... alert signal also indicates that damages to the product or other property may occur if the user does not perform the product correctly This indicates information that could help the user use the product more efficiently In the text the alert signal is centered followed below by the indented message A wider line space precedes and follows the alert message to show where the alert message begins an...

Page 9: ...ation Requirements 5 Installation 6 Diagnostics and Maintenance 7 Error Analysis Interface Specifications This Manual 1 Serial Attached SCSI SAS Interface 2 Command Processing 3 Data Buffer Management 4 Command Specifications 5 Parameter Data Formats 6 Sense Data and Error Recovery 7 Disk Media Management C141 C013 5 ...

Page 10: ...S 1 1 American national Standards Institute ANSI T10 1236D Revision 20 Information technology SCSI Primary Commands 2 SPC 2 American national Standards Institute ANSI T10 996D Revision 8C Information Technology SCSI 3 Block Commands SBC American national Standards Institute ANSI T10 1157D Revision 24 Information technology SCSI 3 Architecture Model SAM 2 American national Standards Institute ANSI ...

Page 11: ...ns of the link reset sequence 33 1 3 4 Out of band OOB signals 33 1 3 5 SAS OOB sequency 36 1 3 5 1 Exception handling in the OOB sequence 38 1 3 6 SAS speed negotiation sequence 38 1 3 6 1 Phy reset sequence after devices are attached 42 1 3 6 2 When the speed negotiation sequence is successful 43 1 3 6 3 Exception handling in the speed negotiation sequence 43 1 3 7 Phy layer dword synchronizatio...

Page 12: ...5 NAK negative acknowledgement 56 1 4 4 6 RRDY 56 1 4 4 7 SOF Start of frame 56 1 4 5 Clock skew management 57 1 4 6 Idle physical link 57 1 4 7 Scrambling 58 1 5 Address frames 59 1 5 1 Address frames overview 59 1 5 2 IDENTIFY address frame 60 1 5 3 OPEN address frame 62 1 5 4 Identification and hard reset sequence 65 1 5 5 Connections 66 1 5 5 1 Connections overview 66 1 5 5 2 Connection reques...

Page 13: ...information unit 92 1 6 3 Sequences of SSP frames 96 1 6 4 Exceptional event processing of a drive 98 CHAPTER 2 Command Processing 103 2 1 Command Format 103 2 2 Status Byte 108 2 3 Command Queuing Function 110 2 4 UNIT ATTENTION Condition 111 2 4 1 Generation of the UNIT ATTENTION condition 111 2 4 2 Response and release condition at UNIT ATTENTION condition hold state 112 2 4 3 UNIT ATTENTION co...

Page 14: ... 1 Caching operation 130 3 2 2 Caching parameters 133 3 2 3 Look Ahead operation Look Ahead volume 133 CHAPTER 4 Command Specifications 135 4 1 Control Sense Commands 135 4 1 1 TEST UNIT READY 00 135 4 1 2 INQUIRY 12 136 4 1 3 READ CAPACITY 25 151 4 1 4 MODE SELECT 15 153 4 1 5 MODE SELECT EXTENDED 55 163 4 1 6 MODE SENSE 1A 166 4 1 7 MODE SENSE EXTENDED 5A 174 4 1 8 REZERO UNIT 01 177 4 1 9 START...

Page 15: ...EEK EXTENDED 2B 222 4 2 9 SYNCHRONIZE CACHE 35 223 4 3 Format Commands 224 4 3 1 FORMAT UNIT 04 224 4 3 2 REASSIGN BLOCKS 07 235 4 3 3 READ DEFECT DATA 37 239 4 3 4 READ DEFECT DATA B7 244 4 4 Maintenance Diagnostic Commands 246 4 4 1 SEND DIAGNOSTIC 1D 246 4 4 2 RECEIVE DIAGNOSTIC RESULTS 1C 258 4 4 3 WRITE BUFFER 3B 263 4 4 4 READ BUFFER 3C 270 4 4 5 READ LONG 3E 275 4 4 6 WRITE LONG 3F 277 4 4 ...

Page 16: ...2 1 Support Log Page X 00 329 5 2 2 Buffer Overrun Underrun Page X 01 330 5 2 3 Write Error Count Page X 02 331 5 2 4 Read Error Count Page X 03 335 5 2 5 Verify Error Count Page X 05 338 5 2 6 Non Medium Error Count Page X 06 342 5 2 7 Temperature Page X 0D 342 5 2 8 Start Stop Cycle Counter Page X 0E 344 5 2 9 Application Client Page X 0F 347 5 2 10 Self Test Result Page X 10 348 5 2 11 Backgrou...

Page 17: ...uring installation 392 7 2 2 Re initialization 393 7 3 Alternate Block Allocation Processing 395 7 4 Background Media Scan BMS 396 7 4 1 Overview 396 7 4 2 Background Media Scan 396 7 4 2 1 Background Media Scan BMS mode 396 7 4 2 2 Pre Scan mode 396 7 4 2 3 Write command operation during a Pre Scan 397 7 4 2 4 Conditions for operation 397 7 4 3 Mode Page 398 7 4 4 Background Media Scan Log Page 4...

Page 18: ... Monitoring Analysis and Reporting Technology 410 7 6 1 Overview 410 7 6 2 Data analysis 411 7 6 3 Failure prediction method 412 7 6 4 Reporting function 416 Glossary 417 Acronyms and Abbreviations 419 Index 421 14 C141 C013 ...

Page 19: ...ction example 70 Figure 1 17 Interlocked frames 75 Figure 1 18 Non interlocked frames with the same tag 76 Figure 1 19 Non interlocked frames with different tags 76 Figure 1 20 Closing an SSP connection example 77 Figure 1 21 Example of XFER_RDY frames 88 Figure 1 22 Example of TASK frame 96 Figure 1 23 Example of write command 97 Figure 1 24 Example of read command 97 Figure 1 25 Example of the p...

Page 20: ... 62 Table 1 23 CONNECTION RATE field 63 Table 1 24 ARBITRATION WAIT TIME field 64 Table 1 25 Connection responses 67 Table 1 26 Arbitration priority for OPEN address frames passing on a physical link 68 Table 1 27 Abort connection responses 69 Table 1 28 Close connection responses 70 Table 1 29 Break connection responses 71 Table 1 30 Rate matching ALIGN and or NOTIFY insertion requirements 72 Tab...

Page 21: ...page 167 Table 4 16 MODE SENSE data type specifications 168 Table 4 17 MODE SENSE command group 0 parameter configuration 170 Table 4 18 MODE SENSE EXTENDED command group 2 parameter configuration 175 Table 4 19 PC page control 188 Table 4 20 LOG SELECT command parameter configuration 188 Table 4 21 Page code 189 Table 4 22 Log parameter 190 Table 4 23 Page Code assignment for the log pages 193 Ta...

Page 22: ...ing address format 255 Table 4 55 SELF TEST 257 Table 4 56 RECEIVE DIAGNOSTIC RESULTS command response data configuration 259 Table 4 57 RECEIVE DIAGNOSTIC RESULTS response data page code list 260 Table 4 58 RECEIVE DIAGNOSTIC RESULTS response data logical physical address conversion 261 Table 4 59 Address format 262 Table 4 60 WRITE BUFFER transfer mode 264 Table 4 61 WRITE BUFFER command buffer ...

Page 23: ...able 5 27 Total write errors posted page 02 code 0002 333 Table 5 28 Total recoverable write errors posted to INIT page 02 code 0003 333 Table 5 29 Total write bytes processed page 02 code 0005 334 Table 5 30 Total unrecoverable write errors posted to INIT page 02 code 0006 334 Table 5 31 Read error count page X 03 335 Table 5 32 Read errors recovered without delays page 03 code 0000 335 Table 5 3...

Page 24: ... 5 58 Self test results values 349 Table 5 59 Background medium scan page X 15 350 Table 5 60 Background medium scan status parameter 350 Table 5 61 BMS status 351 Table 5 62 Background medium scan parameter 352 Table 5 63 Reassign status 352 Table 5 64 Protocol specific port log page format 353 Table 5 65 Log parameter format 354 Table 5 66 SMART status page X 2F 357 Table 5 67 SMART data page X ...

Page 25: ...S Interface 1 1 Topologies in SAS Interface 1 2 Names and identifiers 1 3 Phy layer 1 4 Link layer 1 5 Address frames 1 6 Transport layer This chapter describes the topology interface protocol and operation of the SAS interface ...

Page 26: ...two connection patterns point to point connection and expander connection Figure 1 1 SAS drive connection patterns SAS supports the three protocols listed below Among these protocols SAS drives support only SSP Serial SCSI Protocol SSP Serial ATA Tunneled Protocol STP Serial Management Protocol SMP ...

Page 27: ...ed to cables connectors and signals Phy transceiver layer 8B 10B code OOB and speed negotiation Link layer Primitives address frames and connection control Port layer Wide port control Transport layer Frame control Application layer SCSI commands mode pages and log pages Physical layer Phy layer Link layer Port layer Transport layer Application layer Figure 1 2 SAS control layers ...

Page 28: ... shows two phys attached with a physical link An attached phy is the phy to which a phy is attached over a physical link A device may contain one or more phys Each phy has a phy identifier which is unique within the device Figure 1 3 Physical links and phys 1 1 3 Ports narrow ports and wide ports A port contains one or more phys Ports in a device are associated with physical phys based on the iden...

Page 29: ...ure 1 4 shows examples of narrow ports and wide ports with a representation of the SAS address transmitted during the identification sequence Although several phys on the left transmit SAS addresses of B only phys attached to the same SAS addresses become part of the same ports The set of phys with SAS address B attached to the set of phys with SAS address D become one port while the set of phys w...

Page 30: ...ning one or more phys i e a SAS port may be a narrow port or a wide port Each single HDD unit is a separate SAS device Usually it is a single port or dual port device but does not use a wide port Figure 1 5 shows examples of SAS devices with different port and phy configurations Figure 1 5 SAS devices ...

Page 31: ... TARG phy The physical links may or may not be using the same physical link rate A pathway is a set of physical links between a SAS INIT phy and a SAS TARG phy being used by a connection Figure 1 6 shows examples of potential pathways Figure 1 6 Example of potential pathways A partial pathway is the set of physical links participating in a connection request that has not reached the destination ph...

Page 32: ...stablished through the connection request Every phy shall support a 1 5 Gbps connection rate regardless of its physical link rate One connection may be active on a physical link at a time If the connection is an SSP or SMP connection and there are no dwords to transmit associated with that connection idle dwords are transmitted The number of connections established by a SAS port shall not exceed t...

Page 33: ... Address Authority IEEE Registered format identification descriptor defined in SPC 3 The SAS address shall be worldwide unique A SAS address of 00000000_00000000h indicates an invalid SAS address Table 1 1 SAS address format Bit Byte 7 6 5 4 3 2 1 0 0 NAA 5h MSB 1 2 IEEE COMPANY ID 3 LSB MSB 4 5 6 7 LSB SAS addresses represent any types of WWNs a device SAS address representing a device address a ...

Page 34: ...CH 63 39 9 codes Table 1 2 lists the parameters for the code Table 1 2 Hashed SAS address code parameter Parameter Value Number of bits per codeword 63 Number of data bits 39 Number of redundant bits 24 Minimum distance of the code 9 The generator polynomial for this code is G x x 6 x 1 x 6 x 4 x 2 x 1 x 6 x 5 x 2 x 1 x 6 x 3 1 After multiplication of the factors the generator polynomial is G x x ...

Page 35: ...ned in SAS ALIGN K28 6 SATA_ERROR used on the physical link layer of SATA Not used Dxx y Data Data A single data dword is a dword that starts with a data character Running disparity shall be maintained separately on each physical link During a connection expander devices shall convert incoming 10 bit characters to 8 bit bytes and generate the 10 bit character with correct disparity for the output ...

Page 36: ...tream 1 3 2 Link reset sequence The link reset sequence consists of the phy reset sequence and the identification sequence The phy reset sequence consists of the out of band OOB sequence and speed negotiation sequence The hard reset sequence is performed only when the HARD_RESET primitive is detected after the completion of the speed negotiation The HARD_RESET primitive detected at any time later ...

Page 37: ...the burst time ALIGN 0 primitives are transmitted repeatedly The signals are differentiated by the length of idle time between the burst times Table 1 4 OOB signal timing specifications Parameter Minimum Nominal Maximum Comments OOB interval OOBI 1 666 600 ps 666 666 ps 666 733 ps The time basis for burst times and idle times used to create OOB signals Based on 1 5 Gbps clock tolerance COMSAS dete...

Page 38: ...n circuitry as required for any signaling that may be A C coupled If G2 ALIGNs are used the number of ALIGNs doubles compared with G1 ALIGNs A SAS transmitter should transmit ALIGNs at the G1 physical link rate to create the burst portion of the OOB signal but may transmit ALIGNs at its lowest supported physical link rate if it is not able to transmit at the G1 physical link rate and shall not tra...

Page 39: ...es the OOB signal receiver requirements for detecting negation times assuming Tidle is the length of the detected idle time Table 1 8 OOB signal receiver negation time detection requirements Signal Detection requirements COMINIT COMRESET Tidle 525 ns COMSAS Tidle 1575 ns A receiver shall detect an OOB signal after receiving four consecutive idle time burst time pairs It is not an error to receive ...

Page 40: ...eceived the COMSAS signal from each other the OOB sequence is recognized as having been performed successfully Depending on the power on timing reception of the COMINIT signal from the other side may not be detected In such a case however the OOB sequence is recognized as having been performed successfully if the COMINIT and COMSAS signals have been sent by the time the COMSAS signal from the othe...

Page 41: ...arts SAS OOB sequence A B Time 0 Time z COMINIT COMINIT COMSAS COMSAS Phy A Tx Phy B Rx Phy A Rx Phy B Tx Scenario 3 SAS phy B misses SAS phy A s COMINIT COMINIT COMSAS B A Phy A Tx Phy B Rx Phy A Rx Phy B Tx Time 0 Time z COMINIT COMSAS A SAS phy A power on B SAS phy B power on Time 0 SAS phy reset sequence begins Time z SAS speed negotiation sequence begins Figure 1 10 SAS to SAS OOB sequence ...

Page 42: ...he COMSAS signal but the COMSAS signal from the other side cannot be detected the drive waits for the reception of the COMSAS signal from the INIT or expander until the hot plug timeout time 500 ms elapses If the hot plug timeout time elapses before the COMSAS signal from the other side has been received the drive sends the COMSAS signal again to start a new link reset sequence 1 3 6 SAS speed neg...

Page 43: ...is transmitted at each physical link rate during the speed negotiation sequence Derived from OOBI x 4096 x 40 Speed negotiation lock time SNLT 153 600 OOBI The maximum time during the speed negotiation window for a transmitter to reply with ALIGN 1 Derived from OOBI x 3840 x 40 Speed negotiation window time 913 840 OOBI The duration of a speed negotiation window Derived from RCDT SNTT The speed ne...

Page 44: ... to the next speed negotiation window A phy shall participate in all speed negotiation windows a up to its highest supported physical link rate plus one or b until it runs a speed negotiation window that does not detect a valid physical link rate after having detected a valid physical link rate in a previous speed negotiation window If the phy has detected a valid physical link rate in the previou...

Page 45: ...tion sequence fails Figure 1 13 shows the same speed negotiation sequence as in Figure 1 12 when phy B does not obtain dword synchronization during the final speed negotiation window If this occurs the handshake is not complete and the OOB sequence shall be retried starting with COMINIT forcing the phy to retry the whole reset sequence Hot Plug Timeout delay Phy A Tx Phy B Rx Phy A Rx Phy B Tx RCD...

Page 46: ...d some time before phy B s second hot plug timeout occurs Phy B s OOB detection circuitry detects a COMINIT after the attachment and therefore phy B transmits COMSAS since it has both transmitted and received a COMINIT Upon receiving COMSAS phy A transmits its own COMSAS The SAS speed negotiation sequence follows A Phy A Tx COMINIT COMINIT COMINIT COMSAS Hot Plug Timeout Hot Plug Timeout Phy A Rx ...

Page 47: ...ive sends the COMINIT signal again to start a new link reset sequence At the same time the value in the PHY RESET PROBLEM field of the Protocol Specific log page page 18 is incremented when synchronization cannot be established at the last negotiated rate 1 3 7 Phy layer dword synchronization DWS The dword synchronization monitoring performed by the drive after the completion of the speed negotiat...

Page 48: ...VED WAITING ON PARTIAL NoConn I E T single Supported 1 ALIGN 0 ALL I E T I E T single supported supported ALIGN 1 ALL I E T I E T single supported supported ALIGN 2 ALL I E T I E T single supported supported ALIGN 3 ALL I E T I E T single supported supported BREAK ALL I E T I E T redundant supported supported BROADCAST CHANGE NoConn I E I E T redundant supported ignored BROADCAST RESERVED CHANGE 0...

Page 49: ...N NoConn E I T single supported supported OPEN_REJECT CONNECTION RATE NOT SUPPORTED NoConn I E T I T single supported supported OPEN_REJECT NO DESTINATION NoConn E I T single supported supported OPEN_REJECT RESERVED INITIALIZE 0 NoConn I T single OPEN_REJECT RESERVED INITIALIZE 1 NoConn I T single OPEN_REJECT PATHWAY BLOCKED NoConn E I T single supported supported OPEN_REJECT RESERVED STOP 0 NoCon...

Page 50: ...upported supported NAK RESERVED 0 Conn I T single NAK RESERVED 1 Conn I T single NAK RESERVED 2 Conn I T single RRDY NORMAL Conn I T I T single supported supported RRDY RESERVED 0 Conn I T single RRDY RESERVED 1 Conn I T single SOF Conn I T I T single supported supported 1 These primitives are received as AIP primitives 2 When this primitive is received the connection request is canceled and the c...

Page 51: ...ection request is being processed and specify the status of the connection request A drive performs the following processing when an AIP primitive is received 1 When the drive receives an AIP primitive after sending the OPEN frame the drive initializes the open timer held in the drive and restarts it 2 When the drive receives an AIP primitive before sending the OPEN frame the received AIP primitiv...

Page 52: ...hin 1 ms the connection is regarded as having been closed After the BREAK primitive is sent when any primitives and or frames other than the BREAK primitive are received all of these except NOTIFY primitives are discarded When the BREAK primitive is not received within 1 ms of sending the BREAK primitive a drive may start the link reset sequence 1 4 3 4 BROADCAST BROADCASTs are used to notify all ...

Page 53: ...eceives an invalid dword or an ERROR When a drive receives an ERROR primitive the drive discards it When a received address frame contains the ERROR primitive the whole address frame is discarded even if CRC is correct When a drive receives an SSP frame containing the ERROR primitive the drive discards the whole SSP frame even if CRC is correct and sends the NAK primitive 1 4 3 8 HARD_RESET HARD_R...

Page 54: ...e wakeup for the START STOP UNIT command received through SAS TARG port B The NOTIFY RESERVED 0 NOTIFY RESERVED 1 and NOTIFY RESERVED 2 primitives are ignored by all devices 1 4 3 10 OPEN_ACCEPT The OPEN_ACCEPT primitive indicates the acceptance of a connection request The recipient of an OPEN frame must send the OPEN_ACCEPT primitive within 1 ms when it can accept the connection request 1 4 3 11 ...

Page 55: ...tive again the drive cancels the connection request and aborts the TASK command OPEN_REJECT PROTOCOL NOT SUPPORTED Destination phy If the driver receives this OPEN_REJECT primitive it cancels the connection request and aborts the TASK command OPEN_REJECT RESERVED ABANDON 0 Unknown Performs the same processing as the OPEN_REJECT WRONG DESTINATION OPEN_REJECT RESERVED ABANDON 0 Unknown Performs the ...

Page 56: ... processing as the OPEN_REJECT RETRY OPEN_REJECT RESERVED CONTINUE 1 Unknown Performs the same processing as the OPEN_REJECT RETRY OPEN_REJECT RESERVED INITIALIZE 0 Unknown Performs the same processing as the OPEN_REJECT NO DESTINATION OPEN_REJECT RESERVED INITIALIZE 1 Unknown Performs the same processing as the OPEN_REJECT NO DESTINATION OPEN_REJECT RESERVED STOP 0 Unknown Performs the same proce...

Page 57: ...r INITs for one of its ports and if it receives a connection request from a fifth INIT through the same port the drive sends the OPEN_REJECT RETRY primitive 6 When the drive cannot receive an SSP frame temporarily due to the recovery processing of an internal drive error the drive sends the OPEN_REJECT RETRY primitive 7 When the SAS address of a drive does not match the DESTINATION SAS ADDRESS fie...

Page 58: ...stead of an RRDY primitive After sending the CREDIT_BLOCKED primitive the drive must wait until the connection is closed before it can send an RRDY primitive Meanwhile when a drive receives the CREDIT_BLOCKED primitive from the initiator the drive performs any of the following processing 1 At the time of the receipt of the CREDIT_BLOCKED primitive if the drive holds credits that have been given be...

Page 59: ...e sends an OPEN frame and establishes connection and it becomes that there are no frame to be sent the drive sends the DONE NORMAL primitive 2 When credit timeout is detected before the drive sends an SSP frame the drive sends the DONE CREDIT TIMEOUT primitive 3 When the drive receives the CREDIT_BLOCKED primitive during an inside connection the drive sends the DONE CREDIT TIMEOUT primitive during...

Page 60: ...hat an SSP frame cannot be received normally When a drive receives an SSP frame and the drive detects a CRC error after checking the CRC field in the SSP frame the drive sends the NAK primitive If a received SSP frame contains the ERROR primitive or an invalid dword the drive sends the NAK primitive even if the CRC field in the SSP field is correct 1 4 4 6 RRDY During connection when a drive detec...

Page 61: ... needed in an internal buffer this is called an underrun To solve this problem transmitting devices insert ALIGNs or NOTIFYs in the dword stream A phy that is the original source for the dword stream i e a phy that is not an expander phy forwarding dwords from another expander phy shall insert one ALIGN or NOTIFY for clock skew management as described in Table 1 16 Table 1 16 Clock skew management...

Page 62: ... frame After an SOF all data dwords shall be scrambled until the EOF Inside SSP connection SSP idle dword When there are no other dwords to transmit vendor specific scrambled data dwords shall be transmitted To generate scrambled values that are to be encoded and transferred on the physical link layer dwords to be sent are XOR ed with the predefined pattern If there is no transmission error the re...

Page 63: ...te 7 6 5 4 3 2 1 0 0 ADDRESS FRAME TYPE 1 27 Frame Type dependent bytes 28 MSB 31 CRC LSB The ADDRESS FRAME TYPE field indicates the type of the address frame as follows An ADDRESS FRAME TYPE field value of 0 indicates an IDENTIFY address frame An ADDRESS FRAME TYPE field value of 1 indicates an OPEN address frame The CRC field contains the CRC value calculated for all the data of an address frame...

Page 64: ...ed for OPEN address frame 2 Reserved SSP INITIATOR PORT STP INITIATOR PORT SMP INITIATOR PORT Restricted for Open address frame 3 Reserved SSP TARGET PORT STP TARGET PORT SMP TARGET PORT Restricted for Open address frame 4 11 Restricted for Open address frame 12 19 SAS ADDRESS 20 PHY IDENTIFIYR 21 27 Reserved 28 MSB 31 CRC LSB The DEVICE TYPE field specifies the type of device containing the phy a...

Page 65: ...e name of the expander device transmitting the IDENTIFY address frame The PHY IDENTIFIER field specifies the phy identifier of the phy transmitting the IDENTIFY address frame A wide port shall set the DEVICE TYPE field SSP INITIATOR PORT bit STP INITIATOR PORT bit SMP INITIATOR PORT bit SSP TARGET PORT bit STP TARGET PORT bit and SMP TARGET PORT bit to the same set of values on each phy in the wid...

Page 66: ... 19 SOURCE SAS ADDRESS 20 COMPATIBLE FEATURES 21 PATHWAY BLOCKED COUNT 22 MSB 23 ARBITRARION WAIT TIME LSB 24 27 MORE COMPATIBLE FEATURES 28 MSB 31 CRC LSB An INITIATOR PORT bit set to one specifies that the source port is acting as a SAS INIT port An INITIATOR PORT bit set to zero specifies that the source port is acting as a SAS TARG port The PROTOCOL field specifies the protocol for the connect...

Page 67: ...om the SAS TARG port the INITIATOR CONNECTION TAG field is set to FFFFh If the initiator port requires field support the INITIATOR CONNECTION TAG field should be set to the value that is peculiar to the SAS TARG port When the SAS TARG port issues a connection request to the SAS INIT port the SAS TARG port must set the INITIATOR CONNECTION TAG field to any of the following the last received value t...

Page 68: ... from 0000h to 7FFFh the Arbitration Wait Time timer increments in one microsecond steps For values from 8000h to FFFFh the Arbitration Wait Time timer increments in one millisecond steps The maximum value represents 32767 ms 32768 µs Table 1 24 describes several values of the ARBITRATION WAIT TIME field Table 1 24 ARBITRATION WAIT TIME field Code Description 0000h 0 µs 0001h 1 µs 7FFFh 32 767 µs ...

Page 69: ... it is attached The combination of a phy reset sequence an optional hard reset sequence and an identification sequence is called a link reset sequence See Section 1 3 2 If a device supports more than one phy it shall transmit the same SAS address on all phys for which it is capable of sharing within a port If a device detects the same SAS address incoming on different phys it shall consider those ...

Page 70: ...ction request the source port shall transmit an OPEN address frame through an available phy The source phy shall transmit idle dwords after the OPEN address frame until it receives a response or aborts the connection request with BREAK After transmitting an OPEN address frame the source phy shall initialize and start a 1 ms Open Timeout timer Whenever an AIP is received the source phy shall reinit...

Page 71: ...mitive or an OPEN_REJECT primitive must be sent If an AIP primitive has not been detected yet this indicates that two connection requests have crossed over the physical link At this time arbitration fairness is used to determine which request should take priority BREAK The destination port or expander port may reply with BREAK indicating the connection is not being established Open Timeout timer e...

Page 72: ...mount of unfairness and helps prevent livelocks The expander port that receives an OPEN address frame shall set the Arbitration Wait Time timer to the value of the incoming ARBITRATION WAIT TIME field and start the Arbitration Wait Time timer as it arbitrates for internal access to the outgoing expander port When the expander device transmits the OPEN address frame out another expander port it sha...

Page 73: ...out timer to 1 ms and start the Break Timeout timer Table 1 27 lists the responses to a BREAK being transmitted before a connection response has been received Table 1 27 Abort connection responses Response Description BREAK This confirms that the connection request has been aborted Break Timeout timer expires The originating phy shall assume the connection request has been aborted Figure 1 15 show...

Page 74: ...and start the Close Timeout timer Table 1 28 lists the responses to a CLOSE being transmitted Table 1 28 Close connection responses Response Description CLOSE This confirms that the connection has been closed Close Timeout timer expires The originating phy shall attempt to break the connection Figure 1 16 shows example sequences for closing a connection Figure 1 16 Closing a connection example ...

Page 75: ...uence In addition to a BREAK a connection is considered broken due to loss of dword synchronization The following shall be the responses by an SSP phy to a broken connection a Received frames having no CRC error may be considered valid regardless of whether an ACK has been transmitted in response to the frame prior to the broken connection b Transmitted frames for which an ACK has been received pr...

Page 76: ...erting ALIGNs and or NOTIFYs for rate matching after a transmitting the first dword in a CLOSE b transmitting the first dword in a BREAK c receiving an OPEN_REJECT for a connection request or d losing arbitration to a received OPEN address frame 1 5 6 SSP link layer An SSP phy that accepts an OPEN address frame shall transmit at least one RRDY in that connection within 1 ms of transmitting an OPEN...

Page 77: ...olding RRDY because it needs to transmit a frame itself It may refuse to provide credit for other reasons e g temporary buffer full conditions When the drive sends an OPEN frame and then receives the OPEN_ACCEPT primitive from the initiator due to abort processing in the drive e g when receiving the TASK frame the drive sends the CREDIT_BLOCKED primitive instead of an RRDY primitive In this way th...

Page 78: ... frames After sending a non interlocked frame an SSP phy may send another non interlocked frame with the same tag if credit is available The SSP phy must not send the following frames until all SSP frames have been acknowledged with ACK or NAK even if credit is available a a non interlocked frame with a different tag or b an interlocked frame Interlocking does not prevent sending and receiving int...

Page 79: ... g ERROR Meanwhile the primitives that may be inserted in SSP frames sent from the drive are as follows a ACK b NAK c RRDY d CREDIT_BLOCKED Figure 1 17 shows an example of the transfer of interlocked frames Figure 1 18 shows an example of the transfer of non interlocked frames with the same tag Figure 1 19 shows an example of the transfer of non interlocked frames with different tags Figure 1 17 I...

Page 80: ...ferent tags 1 5 6 4 Closing an SSP connection DONE shall be exchanged prior to closing an SSP connection There are several versions of the DONE primitive indicating additional information about why the SSP connection is being closed a DONE NORMAL specifies normal completion the transmitter has no more SSP frames to transmit ...

Page 81: ...e connection is closed If the transmitter has no more SSP frames to transmit and receives a CREDIT_BLOCKED it may transmit either DONE NORMAL or DONE CREDIT TIMEOUT After transmitting DONE the transmitting phy initializes and starts a 1 ms DONE Timeout timer After transmitting DONE the transmitting phy shall not transmit any more SSP frames during this connection However the phy may transmit ACK N...

Page 82: ... information unit part and CRC Table 1 32 SSP frame format Bit Byte 7 6 5 4 3 2 1 0 0 FRAME TYPE 1 MSB 3 HASHED DESTINATION SAS ADDRESS LSB 4 Reserved 5 MSB 7 HASHED SOURCE SAS ADDRESS LSB 8 Reserved 9 Reserved 10 Reserved RETRY DATA FRAMES RETRA NSMIT CHANGING DATA POINTER 11 Reserved NUMBER OF FILL BYTES 12 Reserved 13 15 Reserved 16 MSB 17 TAG LSB 18 MSB 19 TARGET PORT TRANSFER TAG LSB 20 MSB 2...

Page 83: ...t to one this bit specifies that the SSP INIT port may retry write DATA frames that fail The RETRANSMIT bit is set to one for TASK frames RESPONSE frames and XFER_RDY frames and shall be set to zero for all other frame types This bit specifies that the frame is a retransmission after the SSP port failed in its previous attempt to transmit the frame The CHANGING DATA POINTER bit is set to one for D...

Page 84: ... when receiving a write DATA frame i e determine the command to which the write data corresponds SSP TARG ports may set the TARGET PORT TRANSFER TAG field to any value when transmitting any SSP frame SSP TARG ports that use this field should set the TARGET PORT TRANSFER TAG field in every XFER_RDY frame to a value that is unique for the L_Q portion of the I_T_L_Q nexus i e that is unique for every...

Page 85: ...nes the command IU The COMMAND frame is sent by an SSP INIT port to request that a command be processed by the device server in a logical unit Table 1 34 COMMAND information unit Bit Byte 7 6 5 4 3 2 1 0 0 MSB 7 LOGICAL UNIT NUMBER LSB 8 Reserved 9 ENABLE FIRST BURST Reserved TASK ATTRIBUTE 10 Reserved 11 ADDITIONAL CDB LENGTH n dwords Reserved 12 MSB 27 CDB LSB 28 27 n x 4 ADDITIONAL CDB BYTES Th...

Page 86: ...L CDB BYTES fields together contain the CDB to be interpreted by the addressed logical unit The contents of the CDB are defined in the SCSI command standards e g SPC 3 When a drive receives a COMMAND frame the following items are checked HASHED DESTINATION SAS ADDRESS field When this field contains a value different from the Hashed SAS address of the drive the drive sends the ACK and CREDIT_BLOCKE...

Page 87: ...f the drive receives a command when the queue is full the drive sends the ACK primitive to temporarily close the connection Then after re establishing a connection the drive reports the QUEUE FULL status LOGICAL UNIT NUMBER field TASK ATTRIBUTE field CDB field Refer to Chapter 2 Command Processing and Chapter 4 Command Specification Reserved field The drive ignores the Reserved fields except the C...

Page 88: ...it Table 1 36 TASK information unit Bit Byte 7 6 5 4 3 2 1 0 0 MSB 7 LOGICAL UNIT NUMBER LSB 8 Reserved 9 Reserved 10 TASK MANAGEMENT FUNCTION 11 Reserved 12 MSB 13 TAG OF TASK TO BE MANAGED LSB 14 27 Reserved The LOGICAL UNIT NUMBER field contains the address of the logical unit Table 1 37 contains the definition of the TASK MANAGEMENT FUNCTION field However drives do not support the CLEAR ACA ta...

Page 89: ...SK MANAGEMENT FUNCTION SUCCEEDED When not maintaining a task that matches with respect to I T L Q reports TASK MANAGEMENT FUNCTION COMPLETE All others Reserved If TASK MANAGEMENT FUNCTION is set to ABORT TASK or QUERY TASK the TAG OF TASK TO BE MANAGED field specifies the TAG value from the COMMAND frame that contained the task to be aborted or checked For all other task management functions the T...

Page 90: ...f this field is other than ABORT TASK ABORT TASK SET CLEAR TASK SET LOGICAL UNIT RESET or QUERY TASK the drive sets the response code to TASK MANAGEMENT FUNCTION NOT SUPPORTED 0x04 and sends the RESPONSE frame of RESPONSE DATA 1 6 2 3 XFER_RDY information unit Table 1 38 defines the transfer ready IU The XFER_RDY frame is sent by an SSP TARG port to request write data from the SSP INIT port Table ...

Page 91: ...ve sends a XFER_RDY frame the following values are set HASHED DESTINATION SAS ADDRESS field The hashed SAS address of the COMMAND frame is set HASHED SOURCE SAS ADDRESS field The hashed SAS address of the drive is set NUMBER OF FILL BYTES field Always set to zero TAG field The tag value of the COMMAND frame is set TARGET PORT TRANSFER TAG field The drive sets a value between 0 and 7 DATA OFFSET fi...

Page 92: ...field This field is used to set the number of data bytes that the drive can receive The WRITE DATA LENGTH field indicates the actual number of data bytes to be received by the drive and may not be divisible by four Figure 1 21 shows an example case where multiple XFER_RDY frames are sent Figure 1 21 Example of XFER_RDY frames ...

Page 93: ...ue in the MAXIMUM BURST SIZE field on the Disconnect Reconnect mode page is not zero the maximum amount of data that is transferred at one time by an SSP TARG port per I_T_L_Q nexus is limited by the value in the MAXIMUM BURST SIZE field Drives do not support the MAXIMUM BURST SIZE field However the maximum data amount a drive can request with a single XFER_RDY frame is limited to 64 Kbytes An SSP...

Page 94: ...e SOURCE SAS ADDRESS field of the OPEN frame the drive sends the CREDIT_BLOCKED primitive and discards the DATA frame CRC field When a CRC error is detected the drive sends the NAK primitive and discards the DATA frame At this time the SENSE DATA for INFORMATION UNIT iuCRC ERROR DETECTED is reported Frame length When the IU length is greater than 1024 bytes the drive discards the DATA frame At thi...

Page 95: ...hile when a drive sends a read DATA frame the following values are set HASHED DESTINATION SAS ADDRESS field The hashed SAS address of the COMMAND frame is set HASHED SOURCE SAS ADDRESS field The hashed SAS address of the drive is set NUMBER OF FILL BYTES field If the transferred bytes in the last DATA frame for the command are not aligned on a four byte boundary the number of the extra bytes 4 the...

Page 96: ...ed 16 MSB 19 SENSE DATA LENGTH n bytes LSB 20 MSB 23 REPONSE DATA LENGTH m bytes LSB 24 RESPONSE DATA DATAPRES 01h 23 m 24 m SENSE DATA DATAPRES 10b 23 m n Table 1 42 defines the DATAPRES field Table 1 42 DATAPRES field Code Name Description 00b NO_DATA The SENSE DATA LENGTH field is zero and the RESPONSE DATA LENGTH is zero 01b RESPONSE_DATA The SENSE DATA LENGTH field is zero and the RESPONSE DA...

Page 97: ... and the RESPONSE DATA LENGTH field to zero c the SSP TARG port shall not include the SENSE DATA field and the RESPONSE DATA field RESPONSE information unit RESPONSE_DATA format If the DATAPRES field is set to RESPONSE_DATA then a the SSP TARG port shall set the STATUS field to zero and the SENSE DATA LENGTH field to zero b the SSP TARG port shall not include the SENSE DATA field c the SSP TARG po...

Page 98: ...AGEMENT FUNCTION FAILED 08h TASK MANAGEMENT FUNCTION SUCCEEDED 09h INVAILD LOGICAL UNIT NUMBER 0Ah OVERLAPPED TAG ATTEMPTED All others Reserved RESPONSE information unit SENSE_DATA format If the DATAPRES field is set to SENSE_DATA then a The STATUS field contains the status code for a command whose processing has ended b The RESPONSE DATA LENGTH field is set to zero c No RESPONSE DATA field exists...

Page 99: ... sends a RESPONSE frame the drive resends the RESPONSE frame with this bit set to 1 TAG field The tag value of the COMMAND frame is set TARGET PORT TRANSFER TAG field This field is set to 0xFFFF by the drive DATA OFFSET field Set to zero DATAPRES field Refer to Table 1 42 STATUS field The SCSI status byte is set see Chapter 2 SENSE DATA LENGTH field When sense data is sent this field is set to 0x3...

Page 100: ...multiple commands and or task management functions are outstanding Frames may be transmitted during one or more connections e g the COMMAND frame could be transmitted in a connection originated by the SSP INIT port and the DATA frames and RESPONSE frame transmitted in one or more connections originated by the SSP TARG port Figure 1 22 shows the sequence of SSP frames for a task management function...

Page 101: ...yer C141 C013 97 Figure 1 23 shows the sequence of SSP frames for a write command Figure 1 23 Example of write command Figure 1 24 shows the sequence of SSP frames for a read command Figure 1 24 Example of read command ...

Page 102: ...al event occurs the CREDIT_BLOCKED primitive instead of an RRDY primitive is sent to stop SSP frames from the initiator 2 The connection is temporarily closed 3 The recovery processing for the exceptional event abort processing is started 4 If the recovery processing has not been completed the OPEN_REJECT RETRY primitive is sent in response to the connection request from the initiator 5 After the ...

Page 103: ...1 6 Transport layer C141 C013 99 Figure 1 25 shows an example of the processing sequence a drive performs for an exceptional event Figure 1 25 Example of the processing sequence for an exceptional event ...

Page 104: ... CLEAR ACA Reports TASK MANAGEMENT FUNCTION NOT SUPPORTED TASK management TASK frame LUN 0 Reports INVALID LOGICAL UNIT NUMBER Overlapped TAG Reports for TAGGED OVERLAPPED COMMANDS 0B 4E 00 Queue full Reports the QUEUE FULL status DATA OFFSET error Reports for DATA OFFSET ERROR 0B 4B 05 DATA overrun Reports for TOO MUCH WRITE DATA 0B 4B 02 DATA frame CRC error Reports for INFORMATION UNIT iuCRC ER...

Page 105: ...stem I_Tnexus loss timer timeout in RESPONSE frame sending Aborts all the tasks of the INIT and reports UNIT ATTENTION 06 29 07 When Check Status is reported with the setting of Qerr 01 Reports and aborts all the commands in the Queue When Check Status is reported with the setting of Qerr 10 Reports and aborts all the commands in the Queue When Preemp Abort is ServiceAction at Persistent Reserve S...

Page 106: ...SAS Interface 102 C141 C013 ...

Page 107: ...particularly clear distinction is necessary 2 1 Command Format Input Output commands from the INIT Initiator to the HDD are executed by the CDB Command Descriptor Block The CDB is information which is transmitted from the INIT to the TARG in the CMND frame In a number of commands other than the CDB specifications parameters which are necessary in executing a command are specified in the DATA frame...

Page 108: ... Address 3 Logical Block Address LSB 4 Transfer Data Length 5 Control Byte Table 2 2 10 Byte CDB basic format Bit Byte 7 6 5 4 3 2 1 0 0 Operation Code 1 Reserved 0 0 0 0 0 2 Logical Block Address MSB 3 Logical Block Address 4 Logical Block Address 5 Logical Block Address LSB 6 0 0 0 0 0 0 0 0 7 Transfer Data Length MSB 8 Transfer Data Length LSB 9 Control Byte ...

Page 109: ...ed below Depending on the type of command the basic format of the CDB and the definition and meaning of a field may differ Details are described in the specifications for individual commands in Chapter 4 1 Operation code Table 2 4 Operation code Bit 7 6 5 4 3 2 1 0 Group Code Command Code The top byte of all CDBs shows the format and type of command that is being executed a Group code The group co...

Page 110: ... blocks or the number of bytes In subsequent descriptions the former is called the Number of Transfer Blocks and the latter is called the Transfer Byte Length or the Parameter List Length Furthermore depending on the command use of this field can have other meanings or no meaning at all There are also some commands which allocate 3 or more bytes as the transfer data length field Detailed standards...

Page 111: ...ormation The HDD transfers either the number of effective bytes of information specified by the command or the value specified in the Transfer Byte Length whichever value has the smaller number of bytes 4 Control byte Table 2 5 Control byte Bit 7 6 5 4 3 2 1 0 0 0 0 0 0 0 0 0 a Bits 7 6 vendor unique When any value other than 0 is specified for these bits the HDD terminates command processing with...

Page 112: ...d 08h BUSY Status 10h INTERMEDIATE Status Not supported 14h INTERMEDIATE CONDITION MET Status Not supported 18h RESERVATION CONFLICT Status 22h COMMAND TERMINATED Status Not supported 28h TASK SET FULL Status 1 GOOD status This status indicates that execution of the command ended normally 2 CHECK CONDITION status This status is reported in the case of a c below The HDD generates sense data when th...

Page 113: ...e while the HDD has commands in its command queue that have not been executed yet 5 INTERMEDIATE status Not supported 6 INTERMEDIATE CONDITION MET Status Not supported 7 RESERVATION CONFLICT status This status indicates that the HDD is currently reserved by another INIT and use is impossible until the reservation status is released Normally an INIT that receives this status reissues the original c...

Page 114: ...nd received with ORDERED specified are regardless of the INIT executed before the command received with ORDERED specified All the commands received with SIMPLE specified after a command received with ORDERED specified are executed after the command received with ORDERED specified Commands received with a HEAD OF QUEUE are registered at the top of the queue for waiting execution The HDD does not in...

Page 115: ... Condition The Unit Attention condition is a function for notifying the INIT asynchronously of events status changes which occur in the TARG or logical unit 2 4 1 Generation of the UNIT ATTENTION condition Events which cause the Unit Attention condition to be generated are any of the following events 1 When a Power On or RESET occurs If the HDD is reset by a power on HARD RESET or LOGICAL UNIT RES...

Page 116: ...tention condition if it receives a command from an INIT which is the object of the hold one of the operations below depending on the type of command issued is performed by the HDD 1 Commands other than the INQUIRY REQUEST SENSE and REPORT LUNS commands The HDD reports the CHECK CONDITION status in response to the issued command Through the CHECK CONDITION status report the Unit Attention condition...

Page 117: ...ther Unit Attention condition occurs which is caused by other factors before the first Unit Attention condition is cleared by the INIT for which that condition is held those multiple Unit Attention conditions are held and the HDD reports multiple unit attention conditions in sequence 2 5 Sense Data Hold State If the status is the Check Condition status when the status is reported this HDD adds tha...

Page 118: ...or The HDD enters the Active state after the motor is successfully started When the HDD receives a command that cannot be executed due to not ready while starting the motor the HDD reports the CHECK CONDITION status In this case NOT READY 02 LOGICAL UNIT IS IN PROCESS OF BECOMING READY 04 01 is reported as sense data When the HDD receives the STOP command it enters the Stopped state Active state I...

Page 119: ...E BUFFER command READ BUFFER command INQUIRY command REQUEST SENSE command When the HDD is in the sense data holding state and the REQUEST SENSE command is executed normally the HDD sends the sense data held at this time to the INIT When the HDD is not in the sense data holding state the HDD sends sense data corresponding to the state of the HDD at this time to the INIT Operation when formatting i...

Page 120: ...ogress 1 Flashes 1 0 s ON 1 0 s OFF 1 These display items take priority over display items caused by power conditions Even if a command is received while Motor being started or stopped or Formatting in progress is displayed the LED display stays unchanged 2 8 Command Processing Exceptions 2 8 1 Overlapped tag The HDD recognizes that commands and tasks have been overlapped when it receives a comman...

Page 121: ...SET LOGICAL UNIT RESET or HARD RESET command specifying the logical unit in order to terminate processing of a command that is currently disconnecting Shown in item 2 8 5 2 Overlapped command specifications are applicable without dependence on the type of command that was issued second For example even if the command that was issued second is an INQUIRY or REQUEST SENSE command the HDD reports the...

Page 122: ...ocessing procedure See Chapter 4 Command Specifications concerning details of the MODE SELECT and MODE SELECT EXTENDED commands An outline of the error recovery processing executed by the HDD is shown below 1 Recovery procedures for disk drive errors The HDD executes error recovery processing like that shown in Table 2 8 for errors detected during data access on the disk medium Caution is necessar...

Page 123: ...s completed 2 8 5 Abort processing Abort measures which can be performed by the INIT are as shown below HARD RESET LOGICAL UNIT RESET CLEAR TASK SET ABORT TASK SET ABORT TASK Table 2 9 Comparison between SAS and SCSI about definition Definition by SAS Definition by SCSI HARD RESET Comparable to SRST LOGICAL UNIT RESET Bus Device Reset Message CLEAR TASK SET Clear Task Set Message ABORT TASK SET Ab...

Page 124: ...L nexus commands specified by an INIT Environment settings and conditions such as MODE SELECT parameters that have been specified in advance are not changed After this task is performed the unit attention condition for Command Cleared by Another INIT 06 2F 00 is generated for the INITs whose commands have been subject to abortion except for the INIT that has issued this task 4 ABORT TASK SET ABORT...

Page 125: ...ecessary for the INIT to reissue the command REASSIGN BLOCKS At the point when processing of alternate blocks which are currently being assigned is completed execution of the command is halted Not all the alternate blocks specified for reassignment processing by the INIT will necessarily have been processed MODE SELECT MODE SELECT EXTENDED LOG SENSE Specifying parameter save If a parameter save op...

Page 126: ... during execution of a command and termination processing such as a CHECK CONDITION status report cannot be executed the HDD may halt rotation of the spindle motor After this state occurs the HDD reports the CHECK CONDITION status for all input output operation requests except the REQUEST SENSE command The sense data reported at this time indicate HARDWARE ERROR 4 Internal target failure 44 nn For...

Page 127: ... sectors on the disk medium through HDD internal defect management data blocks for replacement are assigned in defective sector units Through this defect management the INIT can regard all the logical data blocks in the user space as error free and can access them For details concerning the data format on the disk medium cylinder configuration track format and sector format as well as details on d...

Page 128: ...ysical cylinder Zone 0 Zone x 1 Zone 1 Cell 0 Cell Cell n 1 Cell Head 0 Cylinder Head a 1 Head 1 Cylinder 0 Cylinder 1 Alternate cell Alternate cylinder User space System space Cylinder 0 Last cylinder Figure 2 1 Data space configuration ...

Page 129: ...0 the top logical data block and allocates subsequent logical data blocks in the order described below to addresses in ascending order 1 Within the same track logical data blocks are allocated to sector numbers in ascending order 2 Within the same head of the same cell succeeding logical data blocks are allocated to the sectors in each track according to 1 in the ascending order of cylinder number...

Page 130: ...cal data block addresses Access to allocated sectors as alternate blocks within the alternate area is performed automatically by the HDD s defect management sector slip processing and alternate block processing so it is not particularly necessary for the user to access the alternate area Also data blocks in the alternate area cannot be clearly specified and accessed directly ...

Page 131: ... with one port allocated for transfers with the disk media and the other port for data transfers with the interface INIT Mutual ports operate asynchronously and since it is possible to efficiently absorb variations in data transfer speed between the ports the INIT can perform data transfer operations with the HDD while being virtually unaware of differences between the interface data transfer rate...

Page 132: ...k has been located the HDD reads the data form the disk media to the data buffer At this time if a recoverable error is detected the HDD performs error recovery processing according to the specification in the MODE SELECT parameter or corrects the data in the data buffer 3 When the HDD has read out to the data buffer the amount of data that the HDD itself has specified it performs reconnection pro...

Page 133: ...a buffer to the disk media If the target data block location operation is completed during the data pre fetch processing in 1 writing of data to the disk media is performed in parallel with the data pre fetch to the data buffer 3 If the data transfer speed of the INIT is lower than the data transfer speed of the disk drive since the data pre fetch of data that are to be written to that data block ...

Page 134: ...liminated and effective access time greatly reduced An INIT can prohibit the operation of this Look Ahead cache feature by setting the caching parameter described in Section 5 1 6 1 Caching object commands Commands which execute caching operations are the commands shown below READ READ EXTENDED If all the data blocks which are objects of the processing specified in these commands or a portion of t...

Page 135: ... EXTENDED command are objects of caching d Data transferred from the INIT and written to the disk media by WRITE AND VERIFY command is not the objects of caching 3 Disabling caching data Various data which are objects of caching in the data buffer are disabled in the following cases a If any of the following commands is issued for the same data block as data which are the object of caching that da...

Page 136: ...g are stored is used by any of the following commands the data existing in that data buffer which are objects of caching are disabled READ READ EXTENDED WRITE WRITE EXTENDED WRITE AND VERIFY VERIFY d If any of the following events occurs all the data which are objects of caching are disabled Receiving HARD RESET primitive Receiving ABORT TASK TASK IU 0x01 Receiving ABORT TASK SET TASK IU 0x02 Rece...

Page 137: ...is halted and that command is executed immediately 2 When commands exist in the queue the look ahead operation is halted at the point when reading of the specified amount of data at the minimum pre fetch volume is completed then execution of the new command starts When there are no commands that need to be newly executed the data look ahead operation is continued even after the volume of data spec...

Page 138: ...This page is intentionally left blank ...

Page 139: ... Bit Byte 7 6 5 4 3 2 1 0 0 X 00 1 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0 5 0 0 0 0 0 0 0 0 This command checks the status of the disk drive If the HDD is in the ready state and it is possible for it to be used by the INIT initiator which issues this command a GOOD status is reported for this command If the HDD is not in the ready state it reports a CHECK CONDITION s...

Page 140: ...ondition is not cleared This command is also executed normally when the disk drive is not in the ready state A CHECK CONDITION status is reported for this command and it is terminated abnormally only in the case that one of the following conditions is detected There is an error in the specifications of the CDB It is impossible to send INQUIRY data because of an HDD hardware error Applicability to ...

Page 141: ...tion b If the EVPD bit is zero and the CmdDt bits is one this field specifies the operation code CDB byte 0 of commands generated command supported data 4 Transfer Byte Length Byte 4 of the CDB the Transfer Byte Length field shows the number of bytes of standard INQUIRY data or VPD information that the application client can receive by this command The HDD transfers data with the byte length speci...

Page 142: ... 0 1 0 1 1 0 1 1 5 SCCS Reserved 0 0 0 0 0 0 0 0 6 BQue EncServ VS MultiP MCHNGR Obsolete Addr16 0 0 0 0 1 0 0 0 0 7 Obsolute Obsolute Wbus16 Sync Linked Obsolute CmdQue VS 0 0 0 0 0 0 1 0 8 9 15 FUJITSU Vendor ID ASCII 16 17 31 Product ID ASCII 32 33 34 35 Microcode Version No ASCII Product Revision ASCII 36 37 47 Device Serial No ASCII 48 55 X 00 Vendor Specific 56 Reserved CLOCKING QAS IUS 0 0 ...

Page 143: ...e 0 1 1 Shows that the specified logical unit is not supported When this code is reported it X 1F is shown in the Device Type Code field b Device type code 0 0 0 0 0 Direct access device 1 1 1 1 1 Undefined device c RMB bit When this bit is 1 it indicates that the storage media is a removable disk device The HDD is a fixed disk device so this bit is always reported as 0 d Version The VERSION field...

Page 144: ... positions shown below are the functions which the HDD supports are shown in the bit correspondence 1 indicates that that function is supported and 0 indicates that that function is not supported Byte 3 NORMACA Normal ACA supported ACA support 0 HISUP Hierarchical support Defined the hierarchical addressing model to assign LUN 1 Byte 5 SCCS SCC support Embedded storage array controller equipment 0...

Page 145: ...ue bits VS Vendor specific Not defined 0 h Vendor ID field This field indicates the name of the product s supplier in left justified ASCII code and always indicates FUJITSU The unused right end is space for the ASCII code i Product ID field The product s model name is displayed in left justified ASCII code in this field j Product Revision field The HDD s microcode version number is displayed in AS...

Page 146: ...dentifying up to eight standards to which the Device claims conformance The HDD shall be indicated as shown below Table 4 4 Version descriptor BYTE Code Description 58 to 59 OX00 OX40 SAM2 60 to 61 OX0B OXFC SAS 62 to 63 OX01 OX3C SPC ANSI 3 301 1997 64 to 65 OX01 OX9B SBC T10 0996 D rev08C 66 to 67 OX00 OX00 68 to 69 OX00 OX00 70 to 71 OX00 OX00 72 to 73 OX00 OX00 142 C141 C013 ...

Page 147: ...pecified in the CmdDt bit Table 4 5 Command support data Bit Byte 7 6 5 4 3 2 1 0 0 Qualifier Device Type Code 1 0 0 0 0 0 Support 2 Version 3 X 00 Reserved 4 X 00 Reserved 5 CDB Size m 5 6 m CDB Usage Data a Qualifier Device Type Code Version These fields are the same as those in the previously mentioned standard INQUIRY data b Support This field indicates the value defined in Table 4 6 C141 C013...

Page 148: ...being queried and the size of the CDB Usage Data field in the return data d CDB usage data This field contains information about the CDB for the operation code being queried The first byte of the CDB usage data contains the operation code for the operation being queried All bytes except the first byte of the CDB usage data contains a usage map for bits in the CDB for the operation code being queri...

Page 149: ...Furthermore if page codes other than those shown above VPD information that is not supported by the HDD are specified in the CDB that command is terminated with a CHECK CONDITION status ILLEGAL REQUEST 5 Invalid field in CBD 24 00 The format and contents of each type of VPD information are shown below a Page code list This VPD information reports the page code list of VPD information supported by ...

Page 150: ...This VPD information reports the device serial number of the HDD The format of this VPD information is shown in Table 4 9 Table 4 9 VPD information device serial No Bit Byte 7 6 5 4 3 2 1 0 0 Qualifier Device Type Code 1 X 80 Page Code 2 X 00 3 X 0C Page Length 4 5 Device Serial No ASCII 15 The values indicated in the Qualifier and Device Type Code fields in byte 0 are the same as those in the pre...

Page 151: ...OCOL IDENTIFIER 0h CODE SET 1h 5 PIV 0b Reserved 0 b Association 00b Identifier type 3h 6 Reserved X 00 7 Identifier length X 08 8 MSB IDENTIFIER for the logical unit 15 LSB Target port identifier 16 PROTOCOL IDENTIFIER 6h CODE SET 1h 17 PIV 1b Reserved 0 b Association 01b Identifier type 3h 18 Reserved X 00 19 Identifier length X 08 20 MSB IDENTIFIER for the target port i e the SAS address 27 LSB...

Page 152: ...PROTOCOL IDENTIFIER 6h CODE SET 1h 37 PIV 1b Reserved 0 b Association 10b Identifier type 3h 38 Reserved 39 Identifier length X 08 40 MBS IDENTIFIER for the SAS target device 47 LSB Target device name SCSI name string format 48 PROTOCOL IDENTIFIER 6h CODE SET 3h 49 PIV 1b Reserved 0 b Association 10b Identifier type 8h 50 Reserved 51 Identifier length X 18 52 n X 6E 53 a X 61 54 a X 61 55 X 2E 56 ...

Page 153: ...TIFIER field is associated with the target port that received the request 10b The IDENTIFIER field is associated with the SAS target device that contains the addressed logical unit 11b Reserved e Identifier type Indicates the Identifier type and the organization that has issued the Identifier 0h No organization issues this Identifier this is a Vender Specific ID 1h The first eight bytes are the Ve...

Page 154: ...R for the logical unit Indicates the device unique WWN h IDENTIFIER for the target port Indicates the SAS address i Relative target port identifier Indicates the relative port identifier of the target port on which the INQUIRY command was received 0001h Relative port 1 historically known as portA 0002h Relative port 2 historically known as portB j ASCII of IDENTIFIER Indicates the target device de...

Page 155: ...cal block address and block length byte length of data blocks which satisfy either of the following conditions is transferred to the INIT The data block on the track where the specified block exists which is just before the block where the first alternate sector processing not including defective block sector slip processing is implemented However when alternate sector processing is being implemen...

Page 156: ...11 READ CAPACITY data Bit Byte 7 6 5 4 3 2 1 0 0 Logical Block Address MSB 1 Logical Block Address 2 Logical Block Address 3 Logical Block Address LSB 4 Block Length MSB 5 Block Length 6 Block Length 7 Block Length LSB 152 C141 C013 ...

Page 157: ...red from the INIT by this command are in the Page Descriptor format The HDD disregards the value specified in this bit and regards the MODE SELECT parameters transferred from the INIT as being in the Page Descriptor format and executes this command The SP save pages bit in CDB byte 1 specifies whether or not to save the MODE SELECT parameters specified in this command on the disk It is possible fo...

Page 158: ...the command are disabled Three types of values exist in the MODE SELECT parameters Current Save and Default values Current values are parameters which actually control the HDD s operation and the parameters specified by this command are converted to Current values Save values are parameter values specified by this command which are preserved on the disk And Default values are values which the HDD ...

Page 159: ...e INIT as desired parameters which the INIT cannot change which whose values are determined by the HDD unilaterally and parameters which can be changed by the INIT within certain appropriate limits The HDD also contains parameter fields which are applicable for rounding processing rounding up or rounding down of parameter values specified by the INIT to values which the HDD can use in actual opera...

Page 160: ...d reads the values for the Current parameters then compares them with the parameter values sent in the MODE SELECT command Parameter fields which are the object of rounding processing are explained in the descriptions of each page descriptor in this item Table 4 12 lists the data configuration of the parameter list transferred by the INIT in this command The parameter list is configured from heade...

Page 161: ...0 0 3 X 00 or X 08 Product Descriptor Length Block Descriptor Bit Byte 7 6 5 4 3 2 1 0 0 Data Block Count MSB 1 Data Block Count 2 Data Block Count 3 Data Block Count LSB 4 X 00 5 Data Block Length MSB 6 Data Block Length 7 Data Block Length LSB Page Descriptor Bit Byte 7 6 5 4 3 2 1 0 0 0 0 Page Code 1 Page Length 2 n Page Header Parameter Field C141 C013 157 ...

Page 162: ...ed in these bits are disregarded in the MODE SELECT and MODE SELECT EXTENDED commands 0 must always be specified by the INIT in the other bit positions Block descriptor length This field indicates the length block count of the Block descriptor which follows the header not including the length of the Page descriptor It is possible to define only 1 Block descriptor to the HDD and either X 00 or X 08...

Page 163: ... be effect Data block length This field specifies the byte length of a logical data block on the disk media The logical data block length and physical data block length are the same in the HDD The data block length can be specified at 512 to 528 bytes 4 byte boundary If less than 512 bytes is specified in this field the HDD performs rounding processing there is a rounding processing report setting...

Page 164: ... SELECT command is terminated with the CHECK CONDITION status ILLEGAL REQUEST 5 Invalid Field in Parameter List 26 00 and all the parameters specified with the command are invalidated Page length This field indicates the length in bytes of the parameter field subsequent to byte 2 or byte 4 when using subpage format excluding the page header of the Page Descriptor This length is specific to each pa...

Page 165: ...6 Page 3 Format Parameter 24 Page 4 Drive Parameter 24 Page 7 Verify Error Recovery Parameter 12 Page 8 Caching Parameter 20 Page A Control Mode Parameter 12 Page C Notch Parameter 24 Page 19 Port Control Parameter Sub Page 00 8 Sub Page 01 104 Page 1A Power Condition Parameter 12 Page 1C Information Exception Control Parameter Sub Page 00 12 Sub Page 01 16 Page 21 Additional Error Recovery Parame...

Page 166: ...of using the MODE SENSE and MODE SENSE EXTENDED command to determine the types of parameters the TARG is actually equipped with and the attributes of those parameters such as whether or not they can be changed 2 After changing anything in the Block descriptor with the MODE SELECT or MODE SELECT EXTENDED command it is impossible to execute a command to access the data on the disk media until execut...

Page 167: ...ELECT command Section 4 1 4 except that the format of its data transferred by the INIT differs partially from that of the MODE SELECT data format Table 4 14 shows the configuration of the parameter list MODE SELECT parameters transferred by this command from the INIT Compared to the 4 byte header in the Group 0 MODE SELECT command it is necessary for an 8 byte header to be transferred in this comm...

Page 168: ... X 00 Block Descriptor Length MSB 7 X 00 or X 08 Block Descriptor Length LSB Block Descriptor Bit Byte 7 6 5 4 3 2 1 0 0 Data Block Count MSB 1 Data Block Count 2 Data Block Count 3 Data Block Count LSB 4 X 00 5 Data Block Length MSB 6 Data Block Length 7 Data Block Length LSB Page Descriptor Bit Byte 7 6 5 4 3 2 1 0 0 0 0 Page Code 1 Page Length 2 n Page Header Parameter Field 164 C141 C013 ...

Page 169: ...mands Table 4 14 MODE SELECT EXTENDED command group 2 parameter configuration 2 2 Sub Page Descriptor Bit Byte 7 6 5 4 3 2 1 0 0 PS SPF Page Code 1 Sub Page Code 2 3 Page Length 4 n Parameter Field Page Header C141 C013 165 ...

Page 170: ...escribe each type of parameter each of which will be described later in this item When 1 is specified in the DBD disable block descriptors bit of CDB byte 1 it indicates that a Block descriptor is not included in the MODE SENSE data transferred to the INIT by this command and the HDD transfers MODE SENSE data composed from the Header and the specified Page descriptor only to INIT When 0 is specifi...

Page 171: ...e HDD are transferred to the INIT in the ascending order of the page code Also when X 00 is specified in the Page code field the Page descriptor is not transferred If page codes other than the above mentioned ones Page descriptors which are not supported by the HDD are specified the command is terminated with a CHECK CONDITION status ILLEGAL REQUEST 5 Invalid field in CDB 24 00 Also the PC page co...

Page 172: ...tions in each page descriptor and 0 is reported in the fields and bit positions which cannot be changed See the description of each page descriptor for the MODE SELECT command Chapter 5 concerning the variability of each parameter 10 Default Values Reports the Default value of each parameter See the description of each page descriptor for the MODE SELECT command Chapter 5 concerning the actual def...

Page 173: ...ero is specified in the Transfer Byte Length field this command is terminated without anything being transferred Table 4 17 lists the data configuration in the parameter list MODE SENSE data transferred to the INIT by this command The parameter list consists of a 4 byte header an 8 byte block descriptor and one or more page descriptors specified in the CDB which are transferred in order However wh...

Page 174: ...POFUA 0 0 0 0 3 X 00 or X 08 Block Descriptor Length Block Descriptor Bit Byte 7 6 5 4 3 2 1 0 0 Data Block Count MSB 1 Data Block Count 2 Data Block Count 3 Data Block Count LSB 4 X 00 5 Data Block Length MSB 6 Data Block Length 7 Data Block Length LSB Page Descriptor Bit Byte 7 6 5 4 3 2 1 0 0 PS 0 Page Code 1 Page Length 2 n Page Header Parameter Field 170 C141 C013 ...

Page 175: ...fied in the CDB regardless of the specification of the Transfer byte length field in the CDB In order for the INIT to confirm that all the parameter list requested in the command has been transferred it should check whether the value which has the length of the Sense data length field itself added to the value indicated in this field is less than the value specified in the Transfer byte length fie...

Page 176: ...ng Furthermore when this command specifies to transfer the Default value and Variable value the value shown in this field is X 000000 which means the maximum number of logical data blocks that it is possible to rank in the User Space b Data block length This field indicates the length byte length of 1 logical data block on the disk media 3 Page descriptor The Page descriptor is configured from a p...

Page 177: ...meter requested in the PC page control field of the CDB and reports all the parameter fields that Page descriptor in byte 2 and subsequent bytes c Parameter field The parameter field in byte 2 and subsequent bytes indicates parameter values of the type current values variable values default values or save values requested in the PC page control field of the CDB See the description of the MODE SELE...

Page 178: ...ctions of this command are the same as those of the Group 0 MODE SENSE command Section 4 1 6 except that the format of data MODE SENSE data transferred to the INIT differs somewhat Table 4 18 lists the data configuration of the parameter list MODE SENSE data transferred to the INIT by this command Compared to the 4 byte header in the case of a Group 0 MODE SENSE command an 8 byte header is transfe...

Page 179: ...POFUA 0 0 0 0 4 X 00 5 X 00 6 X 00 Block Descriptor Length MSB 7 X 00 or X 08 Block Descriptor Length LSB Block Descriptor Bit Byte 7 6 5 4 3 2 1 0 0 Data Block Count MSB 1 Data Block Count 2 Data Block Count 3 Data Block Count LSB 4 X 00 5 Data Block Length MSB 6 Data Block Length 7 Data Block Length LSB Page Descriptor Bit Byte 7 6 5 4 3 2 1 0 0 PS 0 Page Code 1 Page Length 2 n Parameter Field C...

Page 180: ...ons Table 4 18 MODE SENSE EXTENDED command group 2 parameter configuration 2 2 Sub Page Descriptor Bit Byte 7 6 5 4 3 2 1 0 0 PS SPF Page Code 1 Sub Page Code 2 3 Page Length 4 n Parameter Field Page Header 176 C141 C013 ...

Page 181: ... 0 0 0 0 0 0 0 0 This command moves the read write heads of the disk drive to the initial position physical cylinder 0 physical track 0 A data block with the physical block address of zero exists at the initial position Initialization of the disk drive s positioning control system and automatic adjustment are also performed by this command C141 C013 177 ...

Page 182: ...state to the Active_Wait state Setting the Start bit to 1 does not transform the power condition state when it is in a state other than the Stopped state Bit 1 LoEj load eject of byte 4 of the CDB is the exclusive bit which controls devices with replaceable recording media and it has no meaning for the HDD The HDD disregards the value specified in this bit and controls the Power Condition in accor...

Page 183: ...od in which the system waits the NOTIFY ENABLE SPINUP primitive Therefore the INIT needs to issue the NOTIFY ENABLE SPINUP primitive after this command is issued and before the spindle motor becomes ready b In the case of the stop specification Start bit 0 When the Immed bit is 1 after the power condition state becomes Stopped instructing the drive to stop the spindle motor is sufficient so that t...

Page 184: ...ned until any one of the following conditions occurs 1 Reserve is released by a RELEASE command from the INIT that issued this command 2 Receiving HARD RESET primitive from any INIT 3 Switching the HDD s power off or on When an HDD is reserved for any SAS device if this command is issued by an INIT that doesn t have the Reserve Right for that HDD this command is terminated with a RESERVATION CONFL...

Page 185: ...upported by the drive If the 3rd Pty bit of CDB byte 1 is 0 the HDD is reserved for the INIT that has issued this command The INIT has the reserve right for the HDD If the 3rd Pty bit is 1 execution of this command is terminated with the CHECK CONDITION status ILLEGAL REQUEST 5 Invalid field in CDB 24 00 C141 C013 181 ...

Page 186: ... 1 0 0 X 56 1 0 0 0 3rd Pty 0 0 0 0 2 3 Third Party Device ID 4 0 0 0 0 0 0 0 0 5 0 0 0 0 0 0 0 0 6 0 0 0 0 0 0 0 0 7 8 9 0 0 0 0 0 0 0 0 Together with the RELEASE command this command controls exclusive access to the HDD under a multi initiator environment 182 C141 C013 ...

Page 187: ... is disregarded but it is desirable for X 00 to be specified by the INIT in this byte 1 Release function This command releases a reserve state if a reserve state exists and if the INIT which issued this command has a reserve right for the entire HDD logical unit 2 Release object and third party release function The third party reserve function is not supported by the drive If the 3rd Pty bit of CD...

Page 188: ... 4 1 13 RELEASE EXTENDED 57 Bit Byte 7 6 5 4 3 2 1 0 0 X 57 1 0 0 0 3rd Pty 0 0 0 0 2 3 Third Party Devices ID 4 0 0 0 0 0 0 0 0 5 0 0 0 0 0 0 0 0 6 0 0 0 0 0 0 0 0 7 8 9 0 0 0 0 0 0 0 0 Same as RELEASE command 184 C141 C013 ...

Page 189: ...this command and are sent to the INIT and the Unit Attention condition is cleared If this command is issued when no valid sense data are being held the HDD sends sense data with a sense key which shows NO SENSE The Transfer Byte Length field in the CDB show the number of bytes of sense data that can be received by the INIT The HDD transfers sense data with a length that is specified in the Transfe...

Page 190: ...mpossible due to an HDD hardware error 2 When an irrecoverable error is detected on the SAS interface 3 If an overlapped command occurs In cases other than the above this command sends sense data to the INIT and terminates with the GOOD Status 186 C141 C013 ...

Page 191: ...eters to the disc medium A SP bit of zero specifies that parameters are not saved It is not an error to set the SP bit to one and to set the DS bit of a log parameter to one In this case the parameter value for that log parameter is not saved The Parameter Code Reset PCR bit of one and a Parameter list length of zero cause all implemented parameters to be set to zero It also clears the SMART Failu...

Page 192: ...uncation of any log parameter the HDD terminates this command with CHECK CONDITION status ILLEGAL REQUEST 5 Invalid field in CDB 24 00 A Parameter List Length of zero indicates that no pages shall be transferred This condition shall not be considered an error The HDD does not support that the application client should send pages in ascending order by page code value if the Data Out Buffer contains...

Page 193: ...y 0002 0F Application Client Log Page Enable 10 Self Test Result Log Page Disable 15 Background Medium Scan Page Disable 18 Protocol Specific Port Log Page Disable b Page length This field specifies the length in bytes of the following log parameters If the application client sends a page length that results in the truncation of any parameter the device server terminates the command with CHECK CON...

Page 194: ...r 2 DS Disable Save 1 The HDD does not support saving that log parameter in response to LOG SELECT or LOG SENSE command with an SP bit of one 0 The HDD supports saving for that log parameter The HDD saves the current parameter value in response to LOG SELECT or LOG SENSE command with a SP bit of one 3 TSD Target Save Disable The HDD does not support this bit For LOG SENSE command See 4 1 16 the HD...

Page 195: ...nd this bit is zero then the list parameter is a string of ASCII graphic codes If the LP bit is one and this bit is one then the list parameter is a list of binary information 7 LP List Parameter 1 The parameter is a data counter 0 The parameter is a list parameter If these bits are specified by LOG SELECT command the HDD terminates normally But the HDD s action is not changed For LOG SENSE comman...

Page 196: ...er performs the specified this command and does not save any log parameters If saving log parameters is implemented an SP bit of one indicates that the device server performs the specified this command and saves all log parameters identified as savable by the DS bit to the disc medium The Page Control PC field defined the type of parameter values to be selected see 4 1 15 for the definition of the...

Page 197: ... field is larger than the largest available parameter code known to the device server for the specified page the HDD terminates the command with CHECK CONDITION status ILLEGAL REQUEST 5 Invalid field in CDB 24 00 The Parameter List Length field in the CDB specifies the total number of bytes of log parameter which can be transferred to the INIT by this command The HDD transfers the number of bytes ...

Page 198: ...rget when the target receives this command the command is rejected with the report of the RESERVATION CONFLICT status When the reserved state implemented with the PERSISTENT RESERVATION command is valid this command is always executed normally The length of the PERSISTENT RESERVE IN parameter data that can be reported with this command is indicated in the parameter data When a byte count that is t...

Page 199: ...2 All the Reservation keys currently registered eight bytes for each key If multiple INITs have registered with the same key the key appears in the list once for the registration of each INIT and as many times as there are registered INITs keys appear in the list not in the order in which they have been registered in the drive but in ascending order of IDs starting with the last INITs that has reg...

Page 200: ...time a PERSISTENT RESERVE OUT command requests a REGISTER a REGISTER AND IGNORE EXISTING KEY a CLEAR a PREEMPT or a PREEMPT AND ABORT service action When the PERSISTENT RESERVE IN command is executed the RESERVE or RELEASE Service Action of the PERSISTENT RESERVE OUT command is executed or the PERSISTENT RESERVE OUT command cannot be executed because of an error or RESERVATION CONFLICT this counte...

Page 201: ...E IN command with the READ RESERVATIONS Service Action is shown in Table 4 26 Table 4 26 PERSISTENT RESERVE IN parameter data for READ RESERVATIONS Bit Byte 7 6 5 4 3 2 1 0 0 MSB Generation 3 LSB 4 MSB Additional Length n 7 7 LSB 8 n MSB Reservation descriptor s see below LSB The Generation field shall be as defined for the PERSISTENT RESERVE IN READ KEYS Service Action parameter data see 4 1 17 2...

Page 202: ... INIT that holds the reserve conditions It also contains the Type and Scope reserve condition values specified by the PERSISTENT RESERVE OUT command The Reservation key field indicates the Reservation key registered with its reserve condition If each INIT uses a key specific to itself the application needs to know the association of the INIT that holds a reserve condition with a Reservation key If...

Page 203: ...rive that supports PERSISTENT RESERVE OUT must also support the Logical Unit scope b Element scope not supported This Scope field value indicates that reservation has been applied to the element specified in the Scope specific Address field of the PERSISTENT RESERVE OUT parameter list The support of Element Scope is optional Persistent reservations type The Type field value defines the reserve att...

Page 204: ...ites Exclusive Any write type command that is issued by an INIT other than the INIT holding this reservation state results in a Reservation Conflict 4h Reserved Reads Shared Any INIT can execute a read type command 5h Write Exclusive Registrants Only Writes Exclusive Any write type command issued by an INIT that has not registered the Reservation Conflict results in a Reservation Conflict Reads Ex...

Page 205: ...y the RESERVE command An INIT can check to see which INITs hold conflicting or illegal reserve conditions by using the PERSISTENT RESERVE IN command and if necessary an INIT can make new reserve conditions preempt these reserve conditions by using the PERSISTENT RESERVE OUT command Since set reserve conditions cannot be reset by processing such as TARGET RESET task PERSISTENT RESERVATION can be us...

Page 206: ...nt from the registered one If an INIT that has not registered a Reservation key issues this command with the specification of a Service Action except REGISTER or REGISTER and IGNORE EXISTING KEY Service Action this command is rejected with a report indicating a RESERVATION CONFLICT status The PERSISTENT RESERVE OUT command contains the fields for specifying different restrictions imposed according...

Page 207: ...s the device server shall update the generation value as specified in 4 1 17 2 The PERSISTENT RESERVE OUT command service actions are defined in table 4 30 Table 4 30 PERSISTENT RESERVE OUT service action codes Code Name Description 00h REGISTER Register a reservation key with the device server 01h RESERVE Generates a persistent reservation having a specified SCOPE and TYPE 02h RELEASE Releases pe...

Page 208: ...Reservation Key field contains an 8 byte key code provided by the application client to identify the initiator that is the source of the PERSISTENT RESERVE OUT command The drive checks whether the contents of the Reservation Key field received with the PERSISTENT RESERVE OUT command matches the Reservation Key registered by the INIT that has issued the command However if all the registered Reserva...

Page 209: ...ough Power Loss APTPL bit is valid only for the REGISTER Service Action For the other Service Actions this bit is ignored The support of the APTPL bit is optional and if this bit is set for a drive that does not support this bit the drive terminates this command with the CHECK CONDITION status At this time the sense key is set to ILLEGAL REQUEST 5 and the sense data is set to INVALID FIELD IN PARA...

Page 210: ...gnore Existing Key ignored ignored ignored valid ignored Reserve Logical Unit Element valid valid valid ignored ignored ignored valid Element Release Logical Unit Element valid valid valid ignored ignored ignored valid Element Clear ignored ignored valid ignored ignored Preempt Logical Unit Element valid valid valid valid valid ignored valid Element Preempt Abort Logical Unit Element valid valid v...

Page 211: ...This command normally operates under the reserve condition RESERVE or PERSISTENT RESERVE The Allocation Length should be at least 16 bytes If the Allocation Length is less than 16 bytes the HDD reports the CHECK CONDITION status ILLEGAL REQUEST 5 Invalid Field in CDB 24 00 If the Allocation Length is not sufficient to contain the entire logical unit inventory the device server shall report as many...

Page 212: ...h in bytes of the LUN list that is available to be transferred The LUN list length is the number of logical unit numbers in the logical unit inventory multiplied by eight If the allocation length in the command descriptor block is too small to transfer information about the entire logical unit inventory the LUN list length value shall not be adjusted to reflect the truncation The HDD only reports ...

Page 213: ...tion field can be specified only X 05 The Allocation Length field indicates how much space has been reserved for the returned parameter data If the length is not sufficient to contain all the parameter data the first portion of the data shall be returned This shall not be considered an error The actual length of the parameter data is available in the Identifier Length field in the parameter data I...

Page 214: ...SET DEVICE IDENTIFIER command The Identifier field shall contain a vendor specific value The value reported shall be the last value written by a successful SET DEVICE IDENTIFIER command The value of the identifier shall be changed only by a SET DEVICE IDENTIFIER command The identifier value shall persist through resets power cycles media format operations and media replacement The target shall ret...

Page 215: ...tional sense code shall be set to DEVICE IDENTIFIER CHANGED The Service Action field can be specified only X 06 The Allocation Length field specifies the length in bytes of the Identifier that shall be transferred from the application client to the device server The maximum value for this field shall be 512 bytes A parameter list length of zero indicates that no data shall be transferred and that ...

Page 216: ...12 C141 C013 Table 4 35 SET DEVICE IDENTIFIER parameter data Bit Byte 7 6 5 4 3 2 1 0 0 MSB Identifier n LSB The Identifier field shall be a vendor specific value to be returned in subsequent REPORT DEVICE IDENTIFIER commands ...

Page 217: ...ted by this command when the data blocks which are to be processed come to a track boundary cylinder boundary or zone boundary a head switch or cylinder switch is executed automatically and reading of the specified number of blocks is performed When the specifications in the Logical block address field and Transfer block count field in the CDB exceed the maximum logical block address in the HDD th...

Page 218: ...3 If the Look Ahead cache feature is permitted a caching operation is performed using the HDD s data buffer by this command See Chapter 3 Data Buffer Management concerning details of data buffer operation and the Look Ahead cache feature ...

Page 219: ...as those of the Group 0 READ command Section 4 2 1 with the exception that it is possible to specify 4 byte logical block addresses and 2 byte transfer block counts However when zero is specified for the Transfer block count the command is terminated normally without seek and pre fetch being performed FUA force unit access When this bit is 0 it indicates that the HDD satisfy the command by accessi...

Page 220: ...structed by this command when the data blocks which are to be processed come to a track boundary cylinder boundary or zone boundary a head switch or cylinder switch is executed automatically and writing of the specified number of blocks is performed When the specifications in the Logical block address field and Transfer block count field in the CDB exceed the maximum logical block address in the H...

Page 221: ... data buffer from the INIT to the HDD may be executed In this case the length of data transferred from the INIT to the HDD is undefined Also all the data transferred to the HDD will not necessarily be actually written to the disk media However if the command is terminated with a CHECK CONDITION status and the sense key of the sense data indicates ILLEGAL REQUEST 5 the data from that command is not...

Page 222: ...blocks with the logical data block on the disk media specified in the Logical block address field in the CDB as the top The functions of this command are the same as those of the Group 0 WRITE command Section 4 2 3 with the exception that it is possible to specify 4 byte logical block addresses and 2 byte transfer block counts However when zero is specified for the Transfer block count the command...

Page 223: ...e of the WRITE EXTENDED command Section 4 2 4 with the exception that the write cache function and automatic alternate block allocation function cannot be applied When zero is specified in the Transfer block count this command is terminated normally without performing seek or pre fetch The VERIFY check executed by this command is the only the ECC data portion normalcy check Error recovery processi...

Page 224: ...check When zero is specified in the Transfer block count the command is terminated normally without performing seek and pre fetch If 1 is specified in bit 1 of CDB byte 1 the BytChk bit the HDD performs a comparison check of the data read from the disk media and the data transferred from the INIT If the data do not match during this mode the command is terminated with a CHECK CONDITION status MISC...

Page 225: ...cal data block specified in the Logical block address field in the CDB exists When disconnect processing is permitted the HDD performs disconnect processing after receiving the CDB After that the HDD executes reconnect processing at the point when the seek operation is completed and reports the status When disconnect processing is not permitted the HDD executes the seek operation while still conne...

Page 226: ...ss LSB 6 0 0 0 0 0 0 0 0 7 0 0 0 0 0 0 0 0 8 0 0 0 0 0 0 0 0 9 0 0 0 0 0 0 0 0 This command executes a seek operation of the cylinder track where the logical data block specified in the Logical block address field in the CDB exists The functions and operation of this command are the same as those of the Group 0 SEEK command Section 4 2 7 except that it is possible to specify 4 byte logical block a...

Page 227: ...hose data are written to the disk media When the write cache is used unwritten data held in the data buffer which are written to the disk media are written using this command The values specified in the Logical block address field and Block count field in the CDB are disregarded and if any unwritten data exist in the data buffer writing of all those data to the disk media is performed If bit 1 of ...

Page 228: ...User Space At the same time the HDD also implements defect management processing allocating alternate blocks for defective portions of the disk media in accordance with the specifications in this command Furthermore when the disk media is initialized with any of the following format attributes changed the INIT must issue the MODE SELECT or MODE SELECT EXTENDED command before issuing this command a...

Page 229: ... registers this defect information on the disk media as the G List c G List grown defect list The defect information in this list contains defect position information specified by the NIT and position information on defective data blocks detected by the HDD itself The P List is not included in this defect list The HDD stores the G List in an area on the disk media which clearly cannot be accessed ...

Page 230: ...st are added to those of the previously existing G List The Defect List Format field specifies the format of the defect list D List transferred from the INIT when the FmtData format data bit is 1 Any one of the following formats can be specified for the defect list Table 4 36 Defect list format Defect List Format D List Format 0 0 0 Block Address Format 1 0 0 Byte Distance from the Index Format 1 ...

Page 231: ... 1 is specified in the FmtData format data bit of the CDB Table 4 37 FORMAT UNIT command parameter list configuration Header Bit Byte 7 6 5 4 3 2 1 0 0 X 00 1 FOV DPRY DCRT STPF 0 0 Immed 0 2 Defect List Length MSB 3 Defect List Length LSB Defect List D List Bit Byte 7 6 5 4 3 2 1 0 0 1 x xx xx 1 xx x Defect Descriptor n Defect Descriptor 0 ...

Page 232: ... to the values specified in the various control flags DPRY disable primary 0 Specifies execution of format processing using the P List Alternate blocks are allocated as substitutes for sectors in which defects registered in the P List exist and logical data blocks are not positioned there 1 Specifies use of the P List in defect processing Even if this value is specified the P List itself is saved ...

Page 233: ...n transfer of the defect list is completed a GOOD status is reported 0 The specified operation is executed and the status byte is reported at the point when that operation is completed then the command is terminated Defect list length This field specifies the total number of bytes in the Defect list transferred from the INIT following the header The byte length of the Defect descriptor which confi...

Page 234: ...escriptor in this format specifies the cylinder number head track number and byte distance to the top byte of those data 8 bytes of the data which includes defective bits on the disk media One defect is treated as a defect with a length of 8 bytes 64 bits length Therefore for defects with a length which exceeds 8 bytes 2 or more defect descriptors must be specified When multiple defect descriptors...

Page 235: ... No must be specified in the top position and the physical sector No in the bottom position with the defect positions listed in ascending order Sector numbers described in this format are physical sector numbers which to not apply the Track skew factor and the Cylinder skew factor Table 4 39 Defect descriptor physical sector address format Bit Byte 7 6 5 4 3 2 1 0 0 Cylinder No MSB 1 Cylinder No 2...

Page 236: ...ut also the number of consecutive Slips Consequently the concrete Defect numbers cannot be described though the HDD guarantees 12 000 Slip Sectors and 3 000 Alternate Sectors at minimum If defect processing which exceeds this limit is specified in the FORMAT UNIT command that command is terminated with a CHECK CONDITION status HARDWARE ERROR 4 No defect spare location available 32 00 2 A defect de...

Page 237: ...isting G List 2 The previously existing G List is saved 1 0 Note 1 Note 2 Note 3 d d d 1 1 Zero 1 Alternate block allocation is performed for defects registered in the previously existing G List 2 The P List is saved but it is not used in defect processing 3 The previously existing G List is saved 1 1 Note 1 Note 2 d d d 0 1 0 0 Zero 1 Alternate block allocation is performed for defects registered...

Page 238: ...formed for defects registered in the P List and the defects described in the D List transferred from the INIT 2 The P List is saved but it is not used in defect processing 3 The previously existing G List is erased and it is not used in defect processing 4 The D List is added to the previously existing G List Note 1 ddd 0 0 0 D List in the block address format 1 0 0 D List in the byte distance fro...

Page 239: ...ta in the logical data blocks specified in the Defect data list to the allocated alternate data blocks is attempted If the data in logical data blocks which are specified in the Defect data list are correctable by ECC correction the corrected data are copied and those data which are not correctable by ECC are copied as is in the uncorrected state including the errors and in the case of other media...

Page 240: ...fter the header and must be a multiple of 4 Also when zero is specified in this field this command is terminated without transfer of the defect descriptor list and allocation processing of alternate blocks The Defect list length that can be specified for the HDD is 2 044 X 7FC bytes or less Therefore a maximum of 511 defective blocks can be specified in the REASSIGN BLOCKS command The logical bloc...

Page 241: ...nherent information field in the sense data However if alternate block allocation processing of the defect descriptors for which alternate block allocation has not been implemented cannot be specified or if alternate block allocation of all the specified defect descriptors has been completed the Command inherent information field indicates X FFFFFFFF When alternate block allocation processing is s...

Page 242: ...in Section 5 2 in accordance with the contents of the sense data 1 Delete the defect descriptors which precede the defect descriptor that specifies the logical block address displayed in the Command inherent information field of the sense data from the defect descriptor list specified in this command and leave that defect descriptor in the list Logical block address that indicates the Command inhe...

Page 243: ... the time the disk drive was shipped from the factory On the other hand the G List shows the defect position information specified from the INIT by the REASSIGN BLOCKS command or automatic alternate block allocation processing or when executing the FORMAT UNIT command or defective data block positional information from alternate block allocation from Verify operation after initialization The INIT ...

Page 244: ...tion of data transfer Table 4 44 lists the format of defect data transferred to the INIT by this command Table 4 44 READ DEFECT DATA command defect data configuration Bit Byte 7 6 5 4 3 2 1 0 0 X 00 1 0 0 0 PList GList Defect List Format 2 Defect List Length MSB 3 Defect List Length LSB 4 Defect Data n 1 Header a P List primary list bit When this bit is 1 it indicates that P List defect data are i...

Page 245: ...ytes 4 or 8 per defect descriptor quotient the INIT can know the number of defects on the disk media 2 Defect descriptor list The data transferred after the 4 byte header is the Defect descriptor list Defect data in which the defect position information are described with the type and format specified in the CDB One Defect descriptor has a length of 4 bytes when in the Block address format and a l...

Page 246: ...able 4 45 Defect data conditions Defect List Format PList GList Block Address Format 2 2 Byte Distance from the Index Format 1 1 3 Physical Sector Address Format 1 1 1 Regardless of the size of the User Space all the defect position information for the disk media other than the system space is reported Defect position information is also reported for areas which cannot be clearly accessed from the...

Page 247: ...position information is not reported for defects which do not have an influence on data block read write operations When data are in the Byte Distance from the Index Format when the P List is reported multiple defect position information may be reported for a single sector or 2 defective sectors may be reported as a single item of defect position information due to defects which extend across sect...

Page 248: ...r Byte Length LSB 10 0 0 0 0 0 0 0 0 11 0 0 0 0 0 0 0 0 This command transfers the list containing the defect position information of disk media defect data to the INIT The command is the same as the READ DEFECT DATA command 37 described in Section 4 3 3 except for the following the transfer byte length can be specified in four bytes and the defect list length can be specified in four bytes in thi...

Page 249: ...6 READ DEFECT DATA command B7 defect data configuration Bit Byte 7 6 5 4 3 2 1 0 0 X 00 1 0 0 0 PList GList Defect List Format 2 Reserved 3 Reserved 4 Defect List Length MSB 7 Defect List Length LSB 8 Defect Data n Header Defect Descriptor List ...

Page 250: ...erform At this time the PF page format bit and the Parameter list length field in the CDB have no meaning and the values specified there are disregarded Also the DevOfl device off line bit specifies whether or not operations which have an influence on the status of logical units other than the logical unit specified in this command during the self diagnosis test but in the HDD there is only 1 logi...

Page 251: ...de qualifier show Diagnostic failure on component nn 40 nn nn is the code in the range X 80 to X FF which shows the type of error This code is a Fujitsu unique definition for the purpose of analysis when there is a failure and its meaning is not released to the public The user should present the value displayed in this sense data as repair information to the Fujitsu representative Furthermore erro...

Page 252: ...herefore even if the RECEIVE DIAGNOSTIC RESULTS command is executed after this command the self diagnosis test execution results are not reported as response data 2 Parameter specification When 0 is specified in the SelfTest self test bit in the CDB the HDD executes the operations specified in the parameter list transferred from the INIT by this command In this case the HDD reports a GOOD status a...

Page 253: ...e format of the parameter list called the parameter page transferred from the INIT to the HDD by this command The parameter page is configured from the 4 byte Page Header and the Page Parameters which follow it Furthermore the INIT can specify only a single parameter page by this command Even when multiple parameter pages have been specified by the INIT the HDD executes only the operation specifie...

Page 254: ...e specified by the INIT and their functions are as shown Table 4 50 Table 4 50 Page code Page Code Hex Function 00 Reports a list of the supported page codes 3F PHY TEST 40 Logical Physical Address Conversion Page parameter length This field specifies the byte length of the page parameter after byte 4 The INIT must specify the same value as the length specified for each of the parameter pages whic...

Page 255: ...d that specifies this parameter page shown in Section 4 4 2 1 Table 4 51 SEND DIAGNOSTIC parameters page code list Bit Byte 7 6 5 4 3 2 1 0 0 X 00 Page Code 1 0 0 0 0 0 0 0 0 2 X 00 Page parameter length 3 X 00 Page parameter length b PHY Test function This parameter instructs the execution of the PHY Test function for the specified PHY The SEND DIAGNOSTIC command is used to send page data to INIT...

Page 256: ... Reserved 11 PHY Test Pattern DWORD Control 12 19 PHY Test Pattern DWORDS 20 31 X 0000 Reserved Protocol Identifier Specify value 0x06 If a value other than the above value is specified HDD processing ends with a failure with CHECK CONDITION status ILLEGAL REQUEST 5 Invalid field in parameter list 26 00 Page Parameter Length Specify value 0x001C If a value other than the above value is specified H...

Page 257: ...a failure with CHECK CONDITION status ILLEGAL REQUEST 5 Invalid field in parameter list 26 00 00h Stops PHY Test function If the PHY Test function is already stopped the PHY Test function returns Good Status 01h Starts PHY Test function If the PHY Test function is already started HDD processing ends with a failure with CHECK CONDITION status ILLEGAL REQUEST 5 PHY Test in progress 47 06 PHY Test Pa...

Page 258: ...tus ILLEGAL REQUEST 5 Invalid field in parameter list 26 00 When PHY Test Pattern is 01h or 02h this field is ignored 00h The DWORD set in the PHY Test Pattern DWORDS field JTPAT is repeated and sent 08h For the DWORD set in the PHY Test Pattern DWORDS field JTPAT the 12th Byte is encoded as the control character k code repeated and sent 80h For the DWORD set in the PHY Test Pattern DWORDS field J...

Page 259: ...4 53 SEND DIAGNOSTIC parameters logical physical address conversion Bit Byte 7 6 5 4 3 2 1 0 0 X 40 Page Code 1 0 0 0 0 0 0 0 0 2 X 00 Page Parameter Length 3 X 0A Page Parameter Length 4 0 0 0 0 0 Address Format Before Conversion 5 0 0 0 0 0 Address Format After Conversion 6 7 Logical or Physical Address 13 The Address Format Before Conversion field shows the format of the address information spe...

Page 260: ...with a CHECK CONDITION status ILLEGAL REQUEST 5 Invalid field in parameter list 26 00 and address conversion is not executed Details of the address conversion algorithm executed when this parameter page is specified and the data format etc of the conversion results reported to the INIT are explained in RECEIVE DIAGNOSTIC RESULTS command Section 4 4 2 3 Logical unit Self Test When 0 is specified in...

Page 261: ...s this command specified a Background self test function and that function has not completed If either of these conditions is not true then the device server shall it respond by returning a CHECK CONDTION status 1 0 1 The device server shall start its short self test routine in the foreground mode 1 1 0 The device server shall start its extended self test routine in the foreground mode 1 1 1 Reser...

Page 262: ...red Exercise caution in the following points when using this command 1 In order to avoid damage to the results of SEND DIAGNOSTIC command execution response data from a command issued by another INIT during the interval until this command is issued either this command should be executed after the HDD is reserved 2 Response data are valid only when 0 is specified in the SelfTest self test bit and a...

Page 263: ...is the same value as the page code specified in the parameter list transferred form the INIT by the SEND DIAGNOSTIC command executed last and shows a code which identifies the type of response data reported in this command Page parameter length This field shows the byte length of the page parameter after byte 4 Page parameter Data which show the execution results of the operation specified by the ...

Page 264: ...and the RECEIVE DIAGNOSTIC RESULTS command after byte 4 The format and contents of this response data are shown in Table 4 57 Table 4 57 RECEIVE DIAGNOSTIC RESULTS response data page code list Bit Byte 7 6 5 4 3 2 1 0 0 X 00 Page Code 1 0 0 0 0 0 0 0 0 2 X 00 Page parameter length 3 X 02 Page parameter length 4 X 00 Page Code List 5 X 40 Logical Physical Address Conversion ...

Page 265: ...Format Before Conversion 5 0 0 0 0 0 Address Format After Conversion 6 7 Logical or Physical Address 13 The value of the Page Parameter Length field in this response data is a variable length within the range of 2 8n in the FC specifications For example if multiple logical data blocks are located in 1 physical sector or if 1 logical data block is located in multiple physical sectors n address info...

Page 266: ... Logical Block Address Format 1 0 0 Byte Distance from the Index Format 1 0 1 Physical Sector Address Format The description of address information shown in bytes 6 to 13 is the same as the description specifications in the D List transferred from the INIT by the FORMAT UNIT command For details see the description of the FORMAT UNIT command Section 4 3 1 Furthermore when the logical block format i...

Page 267: ...e SAS interface or to download microcode to the HDD The HDD stores data transferred from the INIT in accordance with the specifications in this command s CDB to in the data buffer in the HDD This command must specify data storage positions in 1 byte units and with 4 byte units addresses The INIT can know the HDD s buffer configuration and the units which addresses can be specified in by issuing th...

Page 268: ...must be specified in the Buffer address field of the CDB The Transfer byte length field specifies the total number of bytes of data transferred form the INIT The transfer byte count specification includes the 4 bytes of the header The HDD stores the data transferred from the INIT with the header omitted Transfer byte length 4 bytes in the data buffer beginning in order from the top of the data buf...

Page 269: ... field in the CDB The Transfer byte length field in the CDB specifies the total number of bytes of data transferred by the INIT The transfer byte count specification includes the 4 bytes of the header The HDD stores data transferred from the INIT in a length in which the number of bytes in the header has been deleted from the data Transfer byte length 4 bytes in the data buffer beginning at the by...

Page 270: ...In this mode the controller s microcode or control information is transferred to the HDD s control memory area 0 must be specified in the Buffer ID field and the Buffer address field The Transfer byte length field specifies the total number of transfer bytes of data transferred from the INIT When downloading of microcode is completed the HDD generates a UNIT ATTENTION condition for all the INITs A...

Page 271: ... be cut off such as an instantaneous power failure If a power failure occurs for instance while downloading the microcode to the FLASH ROM the HDD may be severely damaged The worst case scenario in this event would be an inoperable drive 6 Mode 0 1 1 0 Microcode Download with offsets without saving In this mode the INIT may split the transfer of the controller s microcode or control information ov...

Page 272: ...rts is transferred to the data buffer with one or multiple commands When the entire microcode is transferred to the buffer by using the commands for this mode the transferred microcode is saved in the FLASH ROM of the media device and the microcode restarts the device When the last part of the microcode data is transferred and the complete and correct microcode is received in the buffer the HDD sa...

Page 273: ...ance Diagnostic Commands C141 C013 269 8 Mode 1 0 1 0 Echo buffer In this mode the HDD transfers data from the INIT and stores it in the echo buffer The BUFFER ID and BUFFER OFFSET fields are ignored in this mode ...

Page 274: ...AS interface In this command each data byte position in the data buffer must be specified in 4 byte units using buffer addresses The functions of this command and the contents of the data transferred to the INIT are specified by the Mode field in the CDB and one of the transfer modes shown in Table 4 62 can be selected Table 4 62 READ BUFFER transfer mode Mode Bit 3 2 1 0 Transfer Mode 0 0 0 0 Hea...

Page 275: ...data transfer The format of the data transferred to the INIT when this mode is specified is shown in Table 4 63 Table 4 63 READ BUFFER command buffer data mode 0000 0001 Bit Byte 7 6 5 4 3 2 1 0 0 0 0 0 0 0 0 0 0 1 Effective Buffer Data Length MSB 2 Effective Buffer Data Length 3 Effective Buffer Data Length LSB 4 Buffer Data Byte 0 5 Buffer Data Byte 1 n Buffer Data Byte n 4 The Effective buffer ...

Page 276: ... the case of Mode 0 0 0 0 However the Effective buffer data length field in the header indicates the size byte length of the data from the byte position in the data buffer specified in the Buffer offset field in the CDB to the final byte position in the data buffer including that byte Also the length of the buffer data transferred to the INIT by this command is the value for the number of bytes in...

Page 277: ...ied in the WRITE BUFFER Command and the READ BUFFER Command as a Power when expressed as a Power of 2 The HDDs report X 02 22 indicating that it is possible to specify the address in 4 byte units Also the Buffer capacity field indicates the byte length of the size of the data buffer which can be operated by the WRITE BUFFER and READ BUFFER commands Exercise caution regarding the following points w...

Page 278: ...er the lesser of the allocation length or four bytes of READ BUFFER descriptor The READ BUFFER descriptor is defined as shown in Table 4 65 Table 4 65 READ BUFFER command echo buffer descriptor Bit Byte 7 6 5 4 3 2 1 0 0 Reserved EBOS 1 Reserved 2 Reserved Echo Buffer Capacity MSB 3 Echo Buffer Capacity LSB The HDD return one in EBOS field and the HDD verifies that echo buffer data from each initi...

Page 279: ...ied in bit 1 of CDB byte 1 the CORRCT Corrected bit the HDD does not implement ECC correction processing of data read from the disk media When 1 is specified in the CORRCT Corrected bit data errors that can be corrected by ECC are transferred to the INIT after being corrected in the HDD s data buffer When the Transfer byte length specifies zero this command executes a seek operation of the cylinde...

Page 280: ...ngth Remark The calculation formula for the information field expresses 1 logical data block as n physical sectors and when negative as a complement of 2 Error recovery processing during execution of this command is in accordance with the specifications in Page code 1 Read Write Error Recovery Parameter Page code 21 Additional error recovery parameters The ARRE flag and the DTE flag are not applie...

Page 281: ...d s operation is only 1 data block Also the data transferred from the INIT by this command must have the same order and the same length as the data transferred to the INIT from the HDD by the READ LONG command The Transfer byte length field in the CDB indicates the number of bytes of data transferred from the INIT by this command When the Transfer byte length specification is zero this command is ...

Page 282: ...Remark The calculation formula for the information field expresses 1 logical data block as n physical sectors and n sub sectors and when negative as a complement of 2 Error recovery processing during execution of this command is performed in accordance with the specifications in the MODE SELECT parameters Page code 1 Read Write Error Recovery Parameter Page Code 21 Additional Error Recovery Parame...

Page 283: ...our bytes of the data to be written to the current logical block with the logical block address of the block currently being written A Pbdata bit of one requests that the HDD replace the first eight bytes of the data to be written to the current physical sector with the physical address of the sector currently being written using the physical sector format The HDD is not supported a Pbdata bit The...

Page 284: ...cations 280 C141 C013 The Number of Blocks field specifies the number of contiguous logical blocks to be written A Number of Blocks field of zero requests that all the remaining logical blocks on the medium be written ...

Page 285: ... applicable to any SAS devices Pages that are specific to each device format are described in the command standard that applies to the pertinent device format In the diagram that shows the configuration of each individual Page Descriptor the default column shows that parameter s default value and the variable column shows whether or not it is possible to vary that parameter 1 indicates that it can...

Page 286: ... 0 0 0 0 0 1 1 X 0A Page Length 2 AWRE ARRE TB RC ERR PER DTE DCR Default 1 1 0 0 1 0 0 0 Variable 1 1 1 1 1 1 1 1 3 READ RETRY COUNT Default X 3F Variable X FF 4 Correctable Bit Length Default X FF Variable X 00 5 X 00 Head Offset Count 6 X 00 Data Strobe Offset Count 7 X 00 Reserved 8 WRITE RETRY COUNT Default X 3F Variable X FF 9 X 00 Reserved 10 11 Recovery Time Limit Default X 7530 Variable X...

Page 287: ...ration is specified during execution of a write operation 0 An automatic alternate block allocation processing operation is prohibited during execution of a write operation Automatic alternate block allocation processing is explained in Section 6 3 2 b ARRE automatic read reallocation enable 1 An automatic alternate block allocation processing operation is specified during execution of a read oper...

Page 288: ...D disregards this bit and operates according to the default value 1 f PER post error 1 When several errors errors related to the disk drive which were recovered from normally through the HDD s error recovery processing have been detected a CHECK CONDITION status is reported when execution of that command is completed In the sense data generated at this time the sense key indicates RECOVERED ERROR ...

Page 289: ...to the READ READ EXTENDED READ LONG commands and the read test in the SEND DIAGNOSTIC command j Correctable bit length This parameter indicates the burst error length bit length which it is possible to apply data correction according to the ECC to It is impossible to change this parameter from the INIT For information on the maximum capabilities see the Product Manual k Head offset count not suppo...

Page 290: ...ed execution of that command is terminated at that point 5 Transfer of data in blocks which include unrecoverable errors to the INIT is done in accordance with the specification in the TB bit read commands 1 1 0 0 1 When a correctable data check is detected immediately correction is executed according to the ECC For data checks which cannot be corrected rereading is tried repeatedly up to the numb...

Page 291: ...iable X 0000 6 7 X 0000 8 9 Connect Time Limit Default X 0000 Variable X 0000 10 11 Maximum Burst Size Default X 0000 Variable X 0000 12 X 00 Reserved 13 X 00 Reserved 14 15 First Burst Size Default X 0000 Variable X 0000 a Bus inactivity limit This parameter specifies the maximum period of time from the time of OPEN processing for the address frame during which the TARG executes no operations as ...

Page 292: ...in the data frames between the OPEN processing for the address frame and the execution of the DONE CLOSE primitive as a multiple of 512 bytes The HDD ignores the value specified for this parameter d First burst size When the ENABLE FIRST BURST bit of the command frame is set to 1 this parameter specifies the maximum number of write data bytes that an INIT can transfer without transferring XFER_RDY...

Page 293: ...ariable X 0000 6 7 Alternate Track Count Zone Default X 0000 Variable X 0000 8 9 Alternate Track Count Drive Default X xxxx Variable X 0000 10 11 Sector Count Track Default X xxxx Variable X 0000 12 13 Data Byte Length Physical Sector Default X 0200 Variable X 0000 14 15 Interleave Factor Default X 0001 Variable X 0000 16 17 Track Skew Factor Default X xxxx Variable X 0000 18 19 Cylinder Skew Fact...

Page 294: ...unt zone This parameter specifies the number of sectors per one cell as the number of spare sectors secured for use as alternate blocks In the HDD this parameter indicates the number of spare sectors secured in each cell This parameter cannot be changed by the INIT Alternate track count zone This parameter specifies the area secured for alternate blocks as the number of tracks per one cell It is i...

Page 295: ...field is disregarded in the MODE SELECT and MODE SELECT EXTENDED commands Track skew factor This parameter indicates the number of physical sectors existing between the data block with the highest order logical block address on a track and the data block with the next logical block address on the next track of the same cylinder track skew This parameter cannot be changed The HDD disregards the val...

Page 296: ... media of the disk drive can be replaced When this bit is 0 it indicates that the storage media is fixed However since the HDD has a fixed media this bit is disregarded Furthermore it is impossible to change this parameter SURF surface addressing When this bit is 1 it indicates that after logical data block address allocation is performed over all the sectors in order on the same memory surface sa...

Page 297: ... 0x0142A107 0x00000000 0x022EED7DF MBA3147 with sector length 512 bytes 0x094 0x12C 0x028 0x0427 0x142A2 0x04 0x00000000 0x0142A103 0x00000000 0x01172501F MBA3073 with sector length 512 bytes 0x04A 0x12C 0x014 0x0427 0x142A2 0x02 0x00000000 0x0142A101 0x00000000 0x08B40C3F MBB2147 with sector length 512 bytes 0x094 0x078 0x028 0x0420 0x14DC3 0x04 0x00000000 0x014DC203 0x00000000 0x011311F7B MBB207...

Page 298: ...0 6 8 Write Precompensation Starting Cylinder Default X 000000 Variable X 000000 9 11 Reduced Write Current Starting Cylinder Default X 000000 Variable X 000000 12 13 Drive Step Rate Default X 0000 Variable X 0000 14 16 Landing Zone Cylinder Default X 000000 Variable X 000000 17 0 0 0 0 0 0 RPL Default 0 0 0 0 0 0 0 0 Variable 0 0 0 0 0 0 0 0 18 Rotational Synchronization Offset Default X 00 Varia...

Page 299: ...the default value in it c Bytes 6 to 16 The parameter defined in bytes 6 to 16 of this page descriptor is a parameter that it is clearly not necessary for the INIT to specify The HDD disregards the values specified in this field d RPL rotational position locking These bits are used for rotational synchronization of the disk and can be specified The HDD disregards the value specified in this field ...

Page 300: ... 1 1 1 1 X 0A Page Length 2 Reserved EER PER DTE DCR Default 0 0 0 0 1 0 0 0 Variable 0 0 0 0 1 1 1 1 3 Number of retries during VERIFY Default X 3F Variable X FF 4 Correctable Bit Length Default X FF Variable X 00 5 9 X 0000000000 Reserved 10 11 Recovery Time Limit Default X 7530 Variable X 0000 The error recovery parameters divided in this page descriptor are applicable for the following command...

Page 301: ...this field retrying to read data from the disk is prohibited c Correctable bit length This parameter indicates the burst error length bit length that can be applied for data corrections according to the ECC This parameter cannot be changed by the INIT However the HDD disregards the value specified in this parameter and operations according to the Default value d Recovery time limit This parameter ...

Page 302: ...ion Priority Default 0 0 0 0 0 0 0 0 Variable 0 0 0 0 0 0 0 0 4 5 Disable pre fetch transfer length Default X FFFF Variable X 0000 6 7 Minimum pre fetch Default X 0000 Variable X 0000 8 9 Maximum pre fetch Default X xxxx Variable X 0000 10 11 Maximum pre fetch ceiling Default X FFFF Variable X 0000 12 FSW LBCSS DRA VS VS Reserved Default 1 0 0 0 0 0 0 0 Variable 0 0 0 0 0 0 0 0 13 Number of cache ...

Page 303: ...fer the HDD transfers that data without accessing the disk Also depending on the instructions for the bytes beyond byte 4 of the parameter page it reads ahead the data blocks after the requested data in the data buffer b MF multiplication factor not supported This bit specifies how to specify the minimum prefetch count bytes 6 and 7 and maximum prefetch count bytes 8 and 9 parameters in this page ...

Page 304: ...g to the Default value 0 e DISC discontinuity 1 Even if a track switch occurs during Look Ahead the Look Ahead operation continues without interruption 0 Look Ahead is terminated at the point where track switch occurs during Look Ahead This bit cannot be changed The HDD disregards the specification in this bit and operates according to the Default value 1 f IC initiator control enable 1 Dividing o...

Page 305: ...ache memory by other means i Disable pre fetch transfer length This parameter is used to selectively prohibit data Look Ahead operations in the READ command or the READ EXTENDED command When the Transfer block count specified in the CDB of the READ command or the READ EXTENDED command is greater than the value in this parameter data Look Ahead operations are not executed in that command This bit c...

Page 306: ...iple blocks 1 If the HDD writes multiple blocks this indicates that data are recorded on the disk media in the order in which they are transferred from the INIT 0 If the HDD writes multiple blocks this indicates that data are recorded on the disk media with their order changed in order to complete the command in the fastest time This bit cannot be changed The HDD disregards the specification in th...

Page 307: ...r than zero this field advises the device server how many bytes the application client requests that the device server allocate for a buffer function when all other cache segments are occupied by data to be retained If the number is at least one caching functions in the other segments need not be impacted by cache misses to perform the buffer function The impact of this field equals 0 or the sum o...

Page 308: ...ue Algorithm Qualifier Reserved Qerr DQue Default 0 0 0 0 0 0 0 0 Variable 1 1 1 1 0 1 1 1 4 VS RAC Reserved SWP Reserved Default 0 0 0 0 0 0 0 0 Variable 0 0 0 0 0 0 0 0 5 Reserved TAS Reserved AUTOLOAD MODE Default 0 0 0 0 0 0 0 0 Variable 0 0 0 0 0 0 0 0 6 7 X 000 Reserved 8 9 Busy Timeout Period Default X 0000 Variable X 0000 10 11 Extended Self Test Completion Time Default X xxxx Variable X 0...

Page 309: ... 0001 The HDD executes queued commands by the method selected by the HDD At this time the INIT must verify the correctness of the data through appropriate commands 1111 The HDD prohibits to order queued commands When other value is specified in this parameter the HDD reports a CHECK CONDITION status ILLEGAL REQUEST 5 Invalid parameter in List 26 00 c GLTSD global logging target save disable not su...

Page 310: ...s the commands which are queued At this time the HDD generates a UNIT ATTENTION condition UNIT ATTENTION 6 Command Cleared by Another Initiator 2F 00 for each of the INITs that issued the commands which were cleared 10b Reserved 11b The HDD when it has been in any one of various sense hold states then that sense hold state is cleared clears the commands which are queued by abnormal terminated INIT...

Page 311: ...herefore the HDD always report 0 and ignore specified value k Busy Timeout Period The HDD does not support these fields This means that the HDD always reports 0 and ignores any value specified for one of these fields l Extended self test completion time This field contains advisory data that an application client may use to determine the time in seconds that the device server requires to complete ...

Page 312: ...riable X 00000000 16 23 Page Notch Default X 0000000000000008 Variable X 0000000000000000 This page is used to report the top address and final address of each zone If the zone number 1 of the notching zone is set in the Active notch field and this parameter is issued the starting and ending address of the specified zone can be referred to by the MODE SENSE command Also if Page 3 and Page 3F are s...

Page 313: ...ting boundary and ending boundary 1 Since the device is in the notched state the starting boundary and ending boundary for the zone number 1 shown in the active notch is set in the format specified in the LPN Bit b LPN Logical or Physical Notch 0 This shows that the boundary address is based on the physical address format At that time the higher order 3 bytes show the logical cylinder number and t...

Page 314: ...icant bit of this field corresponds to page code 3Fh and the least significant bit corresponds to page code 00h If it is specified the HDD disregards this value 5 1 9 Port Control Parameter Page Code 19 This page is used to set parameters concerning data transfer of the drive and to refer to the current settings and maximum settings of these parameters The support status on this page is as follows...

Page 315: ... FFFF a SPF 0 Indicates that the transfer data is in Short Page Format 1 Indicates that the transfer data is in Long Page Format b Ready LED Meaning Specifies the LED display mode when the drive is not executing a command Depending on the power condition states the items displayed by the LED are as follows 0 Active state The LED is on Active_Wait Stopped The LED is off 1 Active Active_Wait Stopped...

Page 316: ...ime in milliseconds for which the HDD waits for a WRITE data frame A command will end with CHECK CONDITION status Aborted Command B Initiator Response Timeout 4B 06 if this time has elapsed before the arrival of a WRITE data frame Table 5 12 Port control parameter Sub Page Format Long Format Bit Byte 7 6 5 4 3 2 1 0 0 PS SPF 1 0 1 1 0 0 1 1 SUBPAGE CODE 01h 2 MSB 3 Page Length n 3 LSB 4 5 Reserved...

Page 317: ...HED DEVICE TYPE Reserved 0000 b 5 Reserved 0000 b NEGOTIATED PHYSICAL LINK RATE 8h or 9h 6 Reserved 0000 b ATTACH SSP INIT PORT ATTACH STP INIT PORT ATTACH SMP INIT PORT Reserved 0b 7 Reserved 0000 b ATTACH SSP TARGET PORT ATTACH STP TARGET PORT ATTACH SMP TARGET PORT Reserved 0b 8 15 SAS ADDRESS 16 23 ATTACHED SAS ADDRESS 24 ATTACHED PHY IDENTIFIER 25 31 Reserved 32 PROGRAMMED MINIMUM PHYSICAL LI...

Page 318: ...ps 9 3 0 Gbps e ATTACHED SSP INITIATOR PORT Indicates the SSP INIT received from the INIT with an IDENTIFY address frame f ATTACHED STP INITIATOR PORT Indicates the STP INIT received from the INIT with an IDENTIFY address frame g ATTACHED SMP INITIATOR PORT Indicates the SMP INIT received from the INIT with an IDENTIFY address frame h ATTACHED SSP TARGET PORT Indicates the SSP TARGET received from...

Page 319: ...with an IDENTIFY address frame n PROGRAMMED MINIMUM MAXIMUM PHYSICAL LINK RATE Indicates the minimum and maximum values of the PHYSICAL LINK RATE supported by a program Code Description 0h Unsupported 8h 1 5Gbps PROGRAMMED MINIMUM PHYSICAL LINK RATE 9h 3 0Gbps PROGRAMMED MAXIMUM PHYSICAL LINK RATE Others Reserved o HARDWARE MINIMUM MAXIMUM PHYSICAL LINK RATE Indicates the minimum and maximum value...

Page 320: ...on state However because the HDD does not support the above states the parameter cannot be set on this page a Idle Specifies whether to permit the HDD to enter the Idle condition when the HDD does not receive a command within the time specified in the Idle Condition Timer field The HDD disregards this setting and executes Power Save b Idle Condition Timer Specifies the time before the HDD enters t...

Page 321: ...th X 0A 2 Perf 0 EBF EWASC DExcpt Test EBACKERR LogErr Default 0 0 0 0 0 0 0 1 Variable 1 0 1 1 1 1 1 1 3 0 0 0 0 MRIE Default 0 0 0 0 0 0 0 0 Variable 0 0 0 0 0 1 1 1 4 7 Interval Time Default X 00000000 Variable X FFFFFFFF 8 11 Report Count Default X 00000001 Variable X FFFFFFFF This page specifies whether the drive failure prediction function is enabled or disabled and the reporting method when...

Page 322: ...t disables all information exception operations The method of reporting informational exceptions field is ignored when DExcpt is set to one The value of this bit is used to determine whether the HDD may report a failure prediction status according to the SMART function to the initiator See Section 7 6 SMART Self Analysis and Reporting Technology e TEST 1 If 0 is set for DExcpt a failure prediction...

Page 323: ...CKERR bit is set to 1 g Perf performance This bit of zero indicates that informational exception operations that are the cause of delays are acceptable A Perf bit of one indicates the target is not cause delays while doing informational exception operations A Perf bit set to one may cause the target to disable some or all of the informational exceptions operations thereby limiting the reporting of...

Page 324: ...l not be executed before the informational exception condition is reported X 03 Conditionally generate recovered error This method instructs the target to report informational exception conditions dependent on the value of the per bit of the error recovery parameters mode page by returning a CHECK CONDITION status on any command The sense key shall be set to RECOVERED ERROR and the additional sens...

Page 325: ...ndicates the period in 100 millisecond increments for reporting that an informational exception condition has occurred The target does not report informational exception conditions more frequency than the time specified by the Interval Timer field and as soon as possible after the timer interval has elapsed After the informational exception condition has been reported the interval timer is restart...

Page 326: ...DE SELECT parameters background control mode parameter Bit Byte 7 6 5 4 3 2 1 0 0 1 1 0 1 1 1 0 0 1 Subpage Code 01 2 3 Subpage Length 4 Reserved S_L_FULL LOWIR EN_BMS Default 0 0 0 0 0 0 0 1 Variable 0 0 0 0 0 1 1 1 5 Reserved EN_PS Default 0 0 0 0 0 0 0 0 Variable 0 0 0 0 0 0 0 1 6 7 BMS Interval Time Default X 0018 Variable X FFFF 8 9 PRE SCAN Timeout Value Default X 0000 Variable X FFFF 10 11 ...

Page 327: ... scanning means the operation is performed without using any bandwidth on the interface d EN_PS Enable Pre Scan 1 Pre Scan is enabled 0 Pre Scan is disabled The background pre scan feature is enabled by setting the EN_PS bit in the Background Control mode page then setting the EN_PS bit and power cycling the device After power is restored the pre scan timer is set and the device begins scanning th...

Page 328: ...E before Background Scan Displays the time from IDLE status to start of BMS unit milliseconds HDD ignors the values specified for this parameter and operates in accordance with the default value h Maximum TIME to suspend Background Scan Displays the maximum amount of time required until the execution of a command unit milliseconds when a command is received during BMS operation HDD ignores the val...

Page 329: ...k Error Default 0 0 0 0 1 1 1 1 Variable 0 0 0 0 1 1 1 1 3 RFJ Default 0 0 0 0 0 0 0 0 Variable 0 0 0 0 0 0 0 0 a Number of retries during a seek error This parameter specifies the number of times repositioning is retried when a seek error is detected When zero is specified in this field repositioning retries are prohibited The value specified in this field is applicable for all commands which are...

Page 330: ...age08 88 12 14 00 FF FF 00 00 zz zz FF FF 80 08 00 00 00 00 00 00 Page0A 8A 0A 00 00 00 00 00 00 00 00 xx xx Page0C 0C 16 00 00 zz zz 00 00 00 00 00 00 xx xx xx xx 00 00 00 00 00 00 00 08 Page19 99 06 06 00 07 D0 07 D0 59 01 00 zz 00 00 00 0z SubPage01 00 zz zz 00 10 0z 0z 0z zz zz zz zz zz zz zz zz zz zz zz zz zz zz zz zz zz 00 00 00 00 00 00 00 88 99 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...

Page 331: ...MSB 1 Parameter code LSB 2 DU DS TSD ETC TMC LBIN LP 3 Parameter length 4 Parameter value n a Parameter code This field indicates the type of log parameter that is transferred to the log page b DU Disable Update 1 The HDD will not update the value of a log parameter unless the LOG SELECT command specifies a new parameter value for the log parameter 0 The HDD will update the values of log parameter...

Page 332: ...alue specified in the command f TMC Threshold Met Criteria This field is invalid because the ETC bit is 0 The LOG SELEVT command see Section 4 1 15 will be accepted when the value of this field is not 00b However the HDD will ignore the value specified in the command Note that 0 will be posted for the LOG SENSE command g LBIN This bit is only valid when the LP bit is 1 When the LP bit is 1 and thi...

Page 333: ... 0 0 1 X 00 Reserved 2 X 00 Parameter Length 3 X 0E Parameter Length 4 X 00 Supported Page 5 X 01 Supported Page 6 X 02 Supported Page 7 X 03 Supported Page 8 X 05 Supported Page 9 X 06 Supported Page 10 X 0D Supported Page 11 X 0E Supported Page 12 X 0F Supported Page 13 X 10 Supported Page 14 X 15 Supported Page 15 X 18 Supported Page 16 X 2F Supported Page 17 X 38 Supported Page C141 C013 329 ...

Page 334: ...ype 5 0 0 0 0 0 0 0 0 DU DS TSD ETC TMC LBIN LP 6 0 0 0 0 0 0 0 0 7 X 02 Parameter Length 8 9 X 0000 Data Underrun 10 X 00 Reserved Count Basis Cause Type 11 0 0 0 0 0 0 0 0 DU DS TSD ETC TMC LBIN LP 12 0 0 0 0 0 0 0 0 13 X 02 Parameter Length 14 15 X 0000 Data Overrun Cause 0h Undefined 1h SCSI bus busy optional 2h Transfer rate too slow optional 3h Fh Reserved The drive dose not supports this fi...

Page 335: ...due to a hardware limitation Zero is always reported Data Overrun Count of data overruns which occur during read operation when a buffer full condition prevents continued transfer of data from the media to the buffer The drive does not support this field due to a hardware limitation Zero is always reported 5 2 3 Write Error Count Page X 02 Table 5 24 Write error count page X 02 Bit Byte 7 6 5 4 3 ...

Page 336: ...g write operations because no delay is incurred The drive does not support this field due to a hardware limitation Zero is always reported Write errors recovered with possible delays page 02 code 0001 Table 5 26 Write errors recovered with possible delays page 02 code 0001 Bit Byte 7 6 5 4 3 2 1 0 4 5 MSB X 0001 Parameter code Errors Recovered With Possible Delays LSB DU DS TSD ETC TMC LBIN LP 6 0...

Page 337: ...g write operations Implementation If a write error is posted it will force a save of all error log pages information Total recoverable write errors posted to INIT page 02 code 0003 Table 5 28 Total recoverable write errors posted to INIT page 02 code 0003 Bit Byte 7 6 5 4 3 2 1 0 4 5 MSB X 0003 Parameter code Total Posted Recoverable Errors LSB DU DS TSD ETC TMC LBIN LP 6 0 0 0 0 0 0 0 0 7 X 04 Pa...

Page 338: ...Bytes Processed indicates the total processed bytes during write operations Total unrecoverable write errors posted to INIT page 02 code 0006 Table 5 30 Total unrecoverable write errors posted to INIT page 02 code 0006 Bit Byte 7 6 5 4 3 2 1 0 4 5 MSB X 0006 Parameter code Total Posted Unrecoverable Errors LSB DU DS TSD ETC TMC LBIN LP 6 0 0 0 0 0 0 0 0 7 X 04 Parameter Length 8 MSB 9 10 Counter V...

Page 339: ...ter CDB 5 6 Read errors recovered without delays page 03 code 0000 Table 5 32 Read errors recovered without delays page 03 code 0000 Bit Byte 7 6 5 4 3 2 1 0 4 5 MSB X 0000 Parameter code Errors Recovered Without Delays LSB DU DS TSD ETC TMC LBIN LP 6 0 0 0 0 0 0 0 0 7 X 04 Parameter Length 8 MSB 9 10 Counter Value 11 LSB The Counter Value indicates the count of all recovered read errors that woul...

Page 340: ...itiator during read operations because possible delay is incurred Total read errors posted page 03 code 0002 Table 5 34 Total read errors posted page 03 code 0002 Bit Byte 7 6 5 4 3 2 1 0 4 5 MSB X 0002 Parameter code Total Posted Errors LSB DU DS TSD ETC TMC LBIN LP 6 0 0 0 0 0 0 0 0 7 X 04 Parameter Length 8 MSB 9 10 Counter Value 11 LSB The Counter Value indicates the count of all posted errors...

Page 341: ...erface during read operations The value includes the count of all posted recovered verify errors page X 05 Parameter code X 0003 Total read bytes processed page 03 code 0005 Table 5 36 Total read bytes processed page 03 code 0005 Bit Byte 7 6 5 4 3 2 1 0 4 5 MSB X 0005 Parameter code Total Bytes Processed LSB DU DS TSD ETC TMC LBIN LP 6 0 0 0 0 0 0 0 0 7 X 0A Parameter Length 8 MSB 9 16 Total Writ...

Page 342: ... Value 11 LSB The Counter Value indicates the count of all posted unrecovered errors 03 xx xx to the interface during read operations The value includes the count of all posted unrecovered verify errors page X 05 Parameter code X 0006 5 2 5 Verify Error Count Page X 05 Table 5 38 Verify error count page X 05 Bit Byte 7 6 5 4 3 2 1 0 0 0 0 0 0 0 1 0 1 1 X 00 Reserved 2 Page Length MSB 3 Page Length...

Page 343: ...ould not be reported to the initiator during verify operations because no delay is incurred Verify errors recovered with possible delays page 05 code 0001 Table 5 40 Verify errors recovered with possible delays page 05 code 0001 Bit Byte 7 6 5 4 3 2 1 0 4 5 MSB X 0001 Parameter code Errors Recovered With Possible Delays LSB DU DS TSD ETC TMC LBIN LP 6 0 0 0 0 0 0 0 0 7 X 04 Parameter Length 8 MSB ...

Page 344: ...ng verify operations Implementation If a verify error is posted it will force a save of all error log page information Total recoverable verify errors posted to INIT page 05 code 0003 Table 5 42 Total recoverable verify errors posted to INIT page 05 code 0003 Bit Byte 7 6 5 4 3 2 1 0 4 5 MSB X 0003 Parameter code Total Posted Recoverable Errors LSB DU DS TSD ETC TMC LBIN LP 6 0 0 0 0 0 0 0 0 7 X 0...

Page 345: ...ytes Processed indicates the total processed bytes during verify operation Total unrecoverable verify errors posted to INIT page 05 code 0006 Table 5 44 Total unrecoverable verify errors posted to INIT page 05 code 0006 Bit Byte 7 6 5 4 3 2 1 0 4 5 MSB X 0006 Parameter code Total Posted Unrecoverable Errors LSB DU DS TSD ETC TMC LBIN LP 6 0 0 0 0 0 0 0 0 7 X 04 Parameter Length 8 MSB 9 10 Counter ...

Page 346: ...The Counter Value indicates the count of all non medium errors 01 xx xx 02 xx xx 04 xx xx 05 xx xx 06 xx xx 07 xx xx 09 xx xx and 0B xx xx posted to the interface Implementation If a non medium error is posted it will force a save of all error log pages information 5 2 7 Temperature Page X 0D Table 5 46 Temperature page X 0D Bit Byte 7 6 5 4 3 2 1 0 0 0 0 0 0 1 1 0 1 1 X 00 Reserved 2 Page Length ...

Page 347: ...e detected because of a sensor failure or other condition the value returned shall be FFh If EWASC mode page 1C is on comparison is performed between the temperature value specified in parameter 0000h and the reference temperature specified in parameter 0001h Reference temperature page 0D code 0001 Table 5 48 Reference temperature page 0D code 0001 Bit Byte 7 6 5 4 3 2 1 0 4 5 MSB X 0001 Parameter...

Page 348: ... page 0E code 0001 Bit Byte 7 6 5 4 3 2 1 0 4 5 MSB X 0001 Parameter code Date of Manufacture LSB DU DS TSD ETC TMC LBIN LP 6 0 1 0 0 0 0 0 1 7 X 06 Parameter Length 8 MSB 9 10 Year of manufacture 4 ASCII characters 11 LSB 12 13 MSB Week of manufacture 2 ASCII characters LSB The year and week in the year that the device was manufactured shall be set in the parameter field defined by parameter code...

Page 349: ...T command to indicate when the device was placed in service If the parameter is not yet set or is not settable the default value placed in the parameter field shall be 6 ASCII blank characters 20h The field shall not be checked for validity by the device server Specified cycle count over device lifetime page 0E code 0003 Table 5 52 Specified cycle count over device lifetime page 0E code 0003 Bit B...

Page 350: ...mber 11 LSB The Accumulated start stop cycles is a parameter provided by the device sever The accumulated start stop cycles parameter shall not be savable by the application client using the LOG SELECT command The parameter value is a 4 byte binary number The value indicates how many start stop cycles the device has detected since its date of manufacture For rotating magnetic storage device a sing...

Page 351: ...nt parameter data page 0F code 0000 003F Table 5 55 General usage application client parameter data page 0F code 0000 003F Bit Byte 7 6 5 4 3 2 1 0 4 5 MSB X 0000 X 003F Parameter code Application Client Parameter LSB DU DS TSD ETC TMC LBIN LP 6 1 0 0 0 0 0 1 1 7 X FC Parameter Length 8 MSB 9 258 General Usage Parameter Bytes 259 LSB The values stored in the General usage parameter bytes represent...

Page 352: ... result parameter data page 10 code 0001 0014 Table 5 57 Self test result parameter data page 10 code 0001 0014 Bit Byte 7 6 5 4 3 2 1 0 4 5 MSB X 0001 X 0014 Parameter code Self Test Result Parameter LSB DU DS TSD ETC TMC LBIN LP 6 0 0 0 0 0 0 1 1 7 X 10 Parameter Length 8 Self Test Code 0 Self Test Result Value 9 Self Test Segment Number 10 11 MSB Time Stamp LSB 12 MSB Address of First Failure 1...

Page 353: ...cuting the self test and the device server was unable to complete the self test 4h The self test completed with a failure in a test segment and the test segment that failed is not known 5h The first segment of the self test failed 6h The second segment of the self test failed 7h Another segment of the self test failed see the SELF TEST SEGMENT NUMBER field 8h Eh Reserved Fh The self test is in pro...

Page 354: ...0 0 0 1 0 1 0 1 1 0 0 0 0 0 0 0 0 2 Page Length MSB 3 Page Length LSB All of the following parameters have this header Page length will be defined based on the value of Parameter Pointer CDB 5 6 Table 5 60 Background medium scan status parameter Bit Byte 7 6 5 4 3 2 1 0 4 MSB 5 X 0000 Parameter code LSB 6 DU DS TSD ETC TMC LBIN LP 0 0 0 0 0 0 1 1 7 X 0C Parameter Length 8 MSB 9 10 11 Time Stamp LS...

Page 355: ...progress 3h Halt the Medium Scan due to fatal error 4h Halt the Medium Scan due to vendor specific pattern of errors 5h Halt the Medium Scan due to medium formatted without the P List 6h Reserved 7h Halt the Medium Scan due to Irregular Temperature condition 8h Scan suspended until BMS Interval Timer The execution time of the Medium Scan operation is shown in the Number of Scans Performed field Th...

Page 356: ... Code 10 Additional Sense Code Qualifier 11 15 Vender Specific 0x00 16 MSB 23 LBA LSB The values reported to the Reassign Status field are defined below Table 5 63 Reassign status Value Description 0h No Reassign operation 1h Waiting a command REASSIGN BLOCK or WRITE from the application client 2h Automatic Reassign done 3h Reserved 4h Reassign failed 5h Retrieval with Re Write operation 6 Fh Rese...

Page 357: ...0 0 Page Code 18h 1 Reserved x 00 2 MSB 3 Parameter Length n 3 LSB 4 First Protocol log parameter m Nth Protocol log parameter This log page is used to report the information on an error that occurs on the SAS bus As to the log parameters reported in byte 4 and the subsequent bytes refer to Table 5 65 Log parameter format C141 C013 353 ...

Page 358: ...d x 0000 12 Reserved 0b ATTACHED DEVICE TYPE 0 0 1 Reserved 0000 b 13 Reserved 0000 b NEGOTIATED PHYSICAL LINK RATE 8h or 9h 14 Reserved 0000 b ATTACH SSP INIT PORT ATTACH STP INIT PORT ATTACH SMP INIT PORT Reserved 0b 15 Reserved 0000 b ATTACH SSP TARGET PORT ATTACH STP TARGET PORT ATTACH SMP TARGET PORT Reserved 0b 16 23 SAS ADDRESS 24 31 ATTACHED SAS ADDRESS 32 ATTACHED PHY IDENTIFIER 33 39 RES...

Page 359: ...E Indicates the physical link rate that has been established with a speed negotiation sequence For 1 5 Gbps X 8 is reported and for 3 0 Gbps X 9 is reported g ATTACHED SSP INITIATOR PORT Reports the SSP INIT value received from the INIT with an IDENTIFY address frame h ATTACHED STP INITIATOR PORT Reports the STP INIT value received from the INIT with an IDENTIFY address frame i ATTACHED SMP INITIA...

Page 360: ...HED PHY IDENTIFIER Reports the phy address received from the INIT with an IDENTIFY address frame p INVALID DWORD COUNT Reports the cumulative count of INVALID DWORD errors detected in a sequence of SP_WDS other than the PHY RESET sequence q RUNNING DISPARITY ERROR COUNT Reports the cumulative count of RUNNING DISPARITY errors received except in the PHY RESET sequence r LOSS OF DWORD SYNCHRONIZATIO...

Page 361: ...ge The Page Length field indicates the length byte length after byte 4 The SMART Status Parameter field is Fujitsu unique parameters The details of this field are outside the scope of this manual 5 2 14 SMART Data Page X 38 Table 5 67 SMART data page X 38 Fujitsu unique page Bit Byte 7 6 5 4 3 2 1 0 0 0 0 1 1 1 0 0 0 1 X 00 Reserved 2 Page Length MSB 3 Page Length LSB 4 Log Parameters n This page ...

Page 362: ...This page is intentionally left blank ...

Page 363: ... detected in connection with the SAS interface and as a result the command that is currently being executed or the commands in the stack are cleared it generates sense data for the INIT that issued that command Sense data are returned to the INIT at the same time as the status is sent in response to the command 6 1 1 Sense data format The HDD s sense data is in the so called Expanded Sense Data fo...

Page 364: ...ng information will be lost Sufficient caution should be exercised with regard to the devices connected to the INIT and all the sense data of those devices should be read Table 6 1 Sense data format Bit Byte 7 6 5 4 3 2 1 0 0 Valid X 70 or X 71 Error Code 1 X 00 2 0 0 ILI 0 Sense Key 3 MSB 4 5 Information 6 LSB 7 X 28 Additional Sense Data Length 8 MSB 9 10 Command Inherent Information 11 LSB 12 A...

Page 365: ...ITE LONG command For details refer to the descriptions of these commands Sections 4 4 5 and 4 4 6 4 Sense key This field shows the cause of the sense data being generated More details reasons are indicated in the additional sense code field Byte 12 and the additional sense code qualifier field Byte 13 Table 6 3 shows a list of the meanings of sense keys 5 Information This field shows information r...

Page 366: ...tails of the information shown in this field 8 Additional Sense code Additional Sense code Qualifier The codes which indicate the reason for the error displayed by the sense key in detail are reported in these fields The INIT can decide procedures for error recovery according to the sense key and these fields The sense code and sub sense code are defined in Table 6 4 9 SKSV sense key specific vali...

Page 367: ...ey inherent information a Bit Byte 7 6 5 4 3 2 1 0 15 SKSV 0 0 0 0 0 0 0 16 X 00 17 Number of retries executed b Bit Byte 7 6 5 4 3 2 1 0 15 SKSV 0 0 0 0 0 0 0 16 MSB 17 LSB Progressing rate of formatting or Progressing rate of Self Test operation ...

Page 368: ...ferred in the CDB or the specification in the command Also an error in the LUN specification If the HDD detects an illegal parameter in the CDB it terminates the command without changing the contents of the disk media If an illegal parameter is detected in the parameters transferred from the INIT the contents of the disk media may be changed by that command 6 UNIT ATTENTION A UNIT ATTENTION condit...

Page 369: ...unit in process of becoming ready Disk drive is getting ready The spindle motor is not at its regular rotation speed or has reached its regular rotation speed but is still reading the information 2 02 Logical unit not ready Disk drive is in start command waiting state initializing command required 2 04 Logical unit not ready format in progress The drive cannot be accessed since it is being formatt...

Page 370: ...ve direction 1 03 Recovered data with negative head offset A data error was recovered by read retry with offsetting head to negative direction 1 17 06 Recovered data without ECC data auto reallocated Automatic alternate allocation was applied without ECC correcting a data error 1 00 Recovered Data with Error Correction Applied A data error was recovered by read retry with ECC correcting 1 18 07 Re...

Page 371: ...r in a specification in the CDB 5 25 00 Logical unit not supported An illegal LUN was specified 5 26 00 Invalid field in parameter list There is an error in the parameter list specifications transferred from the INIT during command execution 5 27 00 Write protected A write operation was attempted in a write protected area Or a write operation is prohibited at the external operation panel 7 29 01 P...

Page 372: ...Rounding processing of the MODE SELECT parameter specified by the command was performed 1 03 Logical unit failed Self Test The test segment error occurred during the Self Test 4 3E 04 Logical unit unable to update The HDD failed to update the Self Test result log 4 01 Microcode has been changed Microcode was changed by another INIT 6 02 Changed operating definition Operating definition was changed...

Page 373: ...out A response to a XFER_RDY frame or Data frame has not been detected for more than 1 ms B 04 NAK Received A NAK primitive is received for a XFER_RDY frame or Data frame B 05 Data Offset Error A Relative Offset error is detected in a Write Data frame B 4B 06 Initiator Response Timeout A response to a Data frame has not been detected for the Initiator Response Timeout in Mode Page 19 B 4C nn Logic...

Page 374: ...ate attribute has reached the failure threshold 14 The frequency of grown defect allocation attribute has reached the failure threshold 41 The write error rate attribute has reached the failure threshold 43 The seek error rate attribute has reached the failure threshold 56 The spin up time attribute has reached the failure threshold 64 The remaining alternate sector count attribute has reached the...

Page 375: ...here the error occurred When sense data are generated without relation to the INIT issuing a command this field shows zero 3 Detailed information The information displayed in bytes 20 to 47 of sense data is information defined by Fujitsu for the specific product for the purpose of analyzing trouble and the contents of this information are not made public However the user should present this inform...

Page 376: ...tion termination state and recommended procedures for error recovery processing executed by the INIT in accordance with the results are explained 6 2 1 Termination status analysis and error recovery methods Figure 6 1 shows a model of the INIT s general processing flow from issuing of the command until reception of the termination status Figure 6 1 Analysis of the termination status END status rec...

Page 377: ...to the operating states of the other INITs in the system when deciding it Of the INIT which reserved the HDD falls into a state which it cannot recover from for any reason before the reserved state is released it will be impossible for other INITs to access the HDD because that reserved state will continue In such a case it is necessary for the INIT to take one of the following measures to forcibl...

Page 378: ...very processing retried for an error that occurred on the SAS I F or in the disk drive command completion time will be longer than normal 6 2 2 Sense data analysis and error recovery methods The INIT can judge the procedure for error recovery by analyzing the contents of the sense data Table 6 5 the classifications of error information displayed in the sense data are shown and in Table 6 6 the pro...

Page 379: ...essed 02 Logical unit not ready 2 04 04 Logical unit not ready format in progress None 11 The logical unit specified by the command is currently being formatted so access is impossible 3 03 xx Peripheral device write fault Need 7 Write error recommend reassignment 0C 03 Unrecovered write error 11 xx Unrecovered read error Need 12 13 00 Sync Mark not found for data field 14 01 No record found These...

Page 380: ...ernate blocks exist on the disk drive 4 40 nn Diagnostic failure on component nn Need 13 An error was detected in the HDD s self diagnosis 4 44 nn Internal target failure Need 20 An internal hardware error or a microcode detection error was detected in the HDD 4 4C xx Calibration failed Need 10 C4 xx Drive failure The initial seek was terminated abnormally Or a serious error was detected in the dr...

Page 381: ...2 11 xx Unrecovered read error 13 xx Sync byte not found for data field 14 xx Record not found 15 xx Mechanical positioning error 01 Information Unit Too Short B 0E 02 Information Unit Too Long 47 01 Information Unit iuCRC Error Detected Need 6 4B 01 Invalid Target Port Transfer Tag Received 4B 02 Too Much Write Data 4B 03 ACK NAK Time Out 4B 04 NAK Received 4B 05 Data Offset Error 4B 06 Initiator...

Page 382: ...l command Retry 2 If it doesn t recover after 10 retries perform recovery method 1 6 1 Reissue the original command Retry 2 If it doesn t recover after 10 retries perform recovery method 3 7 1 Reissue the original command Retry 2 If it doesn t recover after 10 retries perform recovery method 1 8 1 If the DTE flag in the MODE SELECT parameter is 0 perform recovery method 0 2 If the DTE flag in the ...

Page 383: ...mand is terminated abnormally perform recovery method 1 3 When the START STOP UNIT command is terminated normally reissue the original command Retry 11 1 Wait for formatting FORMAT UNIT command to be completed 2 Reissue the original command Retry 12 1 Set the Number of Retries value in the MODE SELECT parameters at the Default value 2 Reissue the original command Retry Note 3 If the error is not r...

Page 384: ...ogramming error of another INIT so when the value in the parameter read in is illegal recovery method 2 should be performed or the operations of the other INITs should be confirmed 17 If the PRIORITY RESERVE command issued by another INIT is proper in the system perform the necessary recovery processing in the system If not perform recovery method 2 18 1 Issue the MODE SENSE or MODE SENSE EXTENDED...

Page 385: ...the parameters read in are illegal recovery method 2 should be performed or the operations of the other INITs should be confirmed 24 1 Issue the READ or READ EXTENDED command and read the data for the block where the error occurred 2 Investigate the cause of the data not matching and perform data recovery processing from the INIT 25 Reissue the original command Retry It is desirable at this time t...

Page 386: ...de the following information The source which issued the command and the ID of the device which was the target of the command The CDB which was issued The receiving status or when the status was that the command could not be received the code showing the type of error detected by the INIT and its content All bytes reported by the HDD 6 3 Disk Drive Error Recovery Processing This section explains c...

Page 387: ...t the Sync Mark pattern during reading of data or an ECC error for which correction processing is impossible If this error is detected the HDD after waiting one revolution of the disk media tries reading again When the error is not recovered from reading is retried repeatedly the number of times specified in the MODE SELECT parameter Number of Retries during Read or Number of Retries during Write ...

Page 388: ...ber of times specified in the Number of Retries during Read field in the MODE SELECT parameters the HDD allocates an alternate block for that data block and executes copying of the alternate block to the data area Alternate block allocation processing is the same as processing with the REASSIGN BLOCKS command Furthermore recovered data copied to the alternate block are data which are read out skip...

Page 389: ...f AWRE processing If the WRITE WRITE EXTENDED or WRITE AND VERIFY command is executed for the same data block an alternate block is allocated to the data block The data field of the alternate block is verified and the required write data is written in the data field This alternate block allocation is applied with the same processing as that of the REASSIGN BLOCKS command If multiple data blocks ar...

Page 390: ... in Cache the sectors which will be processed in this Write command and the sectors which locate between erroneous Servo 1 and 1 including Split sector This function is also applied for the sector which has already been re assigned 6 3 3 Error recovery processing control The INIT can by specifying the MODE SELECT parameters can control the error recovery processing retries of the HDD with respect ...

Page 391: ...able early recovery PER post error DTE disable transfer on error DCR disable correction Number of retries during verify See Table 6 7 c Additional Error Recovery Parameters Page Code 21 Number of retries during seek error See Table 6 7 Table 6 7 Disk drive errors and number of retries Item Type of Error Number of Tries Specification Default value 1 Seek Error Number of Retries during a Seek Error ...

Page 392: ...ry Methods 388 C141 C013 In processing of data blocks for which alternate sector processing is completed the number of retries on the defective sectors is calculated separately from the number of retries on the alternate sectors ...

Page 393: ...ethods for using the defect lists P List Defect position information at the point when the disk drive was shipped from the factory is recorded in this list The defective portions included in this list are permanent defects and when the disk media is initialized it is necessary that this list is used and alternate block processing is executed D List This list includes defect position information sp...

Page 394: ...n of alternate blocks Alternate cells are secured only in the specified quantity in order from the topmost cells Spare sectors in an alternate cell are used only in the case that the spare sectors within each cell are used up and alternate block allocation is not possible within the same cell b Alternate block allocation methods Alternate block allocation processing is performed using one of the f...

Page 395: ...d initializing the disk media at times when a data block Verify Certification operation is not prohibited the HDD reads all the initialized data blocks and verifies their normalcy If a defective data block is detected during this processing the HDD generates the C List as defect position information and allocates alternate blocks by alternate sector processing for those defective data blocks In th...

Page 396: ...ued and the format attributes on the disk media are specified The necessary parameters at this time are as follows a Block descriptor The logical data block size byte length is specified in the Data block length field Also when desiring to clearly specify the logical data block count specify that value in the Data block count field If not zero may be specified in the Data block count field In that...

Page 397: ...en operated using the FORMAT UNIT command If it is necessary after reinitialization to restore the data that were stored on the disk media it is necessary to save the data before executing reinitialization then execute data restore using system software after reinitialization The INIT can change the size of the spare sector area and its location as well as the number of logical data blocks before ...

Page 398: ...ved and the defect position information for the defective data blocks detected in the Verify operation is added to the G List During initialization alternate blocks for which sector slip processing was applied for previously known defects are reallocated so optimization of the logical data block locations on the disk media can be expected b Specify 0 in the FmtData bit and in the CmpLst bit and 00...

Page 399: ... implement the processing in item 2 and after 2 Specify a logical block address for a data block which is judged to be defective and issue the REASSIGN BLOCKS command 3 If the REASSIGN BLOCKS command is terminated normally verify that logical data block according to the procedure in Section 7 3 If that data block is judged to be correct allocate an alternate block and terminate processing When the...

Page 400: ...in either of the following two modes Background Media Scan BMS mode Pre Scan mode The subsequent sections explain both modes in detail 7 4 2 1 Background Media Scan BMS mode In this mode the entire media surface is verified Once one verification operation ends either normally or midway with an error a verification operation can be repeated after the BMS Interval Time When the previous verification...

Page 401: ...sful alternate processing 01 0C 81 Alternate processing error 03 0C 03 Too many retries 03 0C 03 Error Write error code PER Entirely based on the Mode Page 1 PER configuration 7 4 2 4 Conditions for operation The conditions that suppress scanning include the following Not Ready status During a scan automatic alternate processing is performed based on the ARRE specification If the power is switched...

Page 402: ...LL LOWIR EN_BMS Default 0 0 0 0 0 0 0 1 Variable 0 0 0 0 0 1 1 1 5 Reserved EN_PS Default 0 0 0 0 0 0 0 0 Variable 0 0 0 0 0 0 0 1 6 7 BMS Interval Time Default X 0018 Variable X FFFF 8 9 PRE SCAN Timeout Value Default X 0000 Variable X FFFF 10 11 Minimum IDLE TIME before Background Scan Default X 01F4 Variable X 0000 12 13 Maximum TIME to suspend Background Scan Default X 07D0 Variable X 0000 14 ...

Page 403: ... scanning processing BMS Interval Time Once Background Media Scan including Pre Scan processing is started the next Background Media Scan operation will begin after the time in hours specified in this field When 0 is assigned to this field the minimum value of 1 will be reported Pre Scan Timeout Value When the time in hours specified here elapses Pre Scan scanning processing ends assuming a timeou...

Page 404: ... 15 1 0 0 0 0 0 0 0 0 2 MSB Page length 19 24N 3 3 LSB 4 19 BMS Status parameter Table 5 60 20 43 BMS parameter 1 Table 5 61 19 24N BMS parameter N The maximum value of each of N is 1024 This page can be viewed by using the LOG SENSE command The BMS parameter contains up to 1024 items of up to date data BMS parameter 1 contains the oldest data The LOG SELECT command with PCR SP 1 specified will on...

Page 405: ... the cumulative power on time in minutes which will be reported when the LOG SENSE command is issued The values that may be reported in the BMS Status field are as follows 0h Scanning is not in process 1h Background Medium Scan processing is in progress 2h Pre Scan processing is in progress 3h Scanning stopped due to a hardware error or because the SMART test phase was reached 4h Reserved 5h Scann...

Page 406: ...parameter format Table 7 4 Medium Scan parameter format Bit 7 6 5 4 3 2 1 0 Byte 0 MSB 1 Parameter Code 0x0001 to 0400h LSB 2 DU DS TSD ETC TMC LBIN LP 0 0 0 0 0 0 1 1 3 Parameter Length 0x14 4 MSB 5 6 7 Time Stamp LSB 8 Reassign Status Sense Key 9 Additional Sense Code 10 Additional Sense Code Qualifier 11 15 Vender Specific 0x00 15 MSB 16 LBA LSB The Time Stamp field reports the cumulative power...

Page 407: ...cceeded in recovery 6h From Initiator alternate processing is executed via the Reassign command or Write command 7h From Initiator the Reassign command was issued and alternate processing was executed but the data was not valid 8h From Initiator the Reassign command was issued but the alternate processing failed 9 to Fh Reserved The Sense Key Additional Sense Code and Additional Sense Code Qualifi...

Page 408: ...s completed within two minutes An extended self test consists of one or more segments and the testing time is not limited The test segments that comprise self tests are as shown below These segments will be conducted in ascending order of the numbers assigned to them a Buffer RAM test b Flash ROM test c Pre SMART test d Low Level Format test e Data compare test f Random read test g Sequential read...

Page 409: ...in response to any command other than the following INQUIRY command REPORT LUNS command REQUEST SENSE command If a test segment error occurs while the HDD is executing a self test in foreground mode the HDD will update a test result log page and report CHECK CONDITION status HARDWARE ERROR 04 LOGICAL UNIT FAILED SELF TEST 3E 03 The INIT can obtain additional information on the error by referencing...

Page 410: ... first self test segment If the HDD receives a SEND DIAGNOSTICS command that fulfills one of the conditions below while conducting a self test in background mode it terminates the command with CHECK CONDITION status NOT READY 2 LOGICAL UNIT NOT READY SELF TEST IN PROGRESS 04 09 The SelfTest bit is set to 1 or The SELF TEST CODE field is neither 000b nor 100b If the HDD receives a command other tha...

Page 411: ...completed 7 5 4 Short self test A short self test is divided into several test segments each of which is conducted as a simple test 7 5 5 Extended self test An extended self test is conducted for all test segments that are defined on the HDD Each segment test is always initiated beginning with sub segment number 1 The test execution time is reported using bytes 10 11 on the control mode page PageC...

Page 412: ...rting condition MRIE and the settings of the DESCPT and EWASC bits The failure prediction items that may be reported here are as follows Test Mode Device temperature Read error rate Seek error rate Number of remaining alternate sectors Spin up time G list update frequency Write error rate d Low Level Format test This test segment determines whether the device to be tested is logically accessible I...

Page 413: ... performed based on the verify retry count on the mode page PageCode 07 f Random read test This test segment conducts a random read test The number of blocks that are read by this test segment is 10h beginning with the block on physical sector 0 on the track targeted for reading Retries are performed based on the verify retry count on the mode page PageCode 07 g Sequential read test This test segm...

Page 414: ... saved to disk media at certain time intervals or when a specific operation is performed When the power is turned on again the data that was written to the disk most recently is read and loaded into memory and then data collection for failure prediction resumes If reading statistical information from disk media fails at subsequent power on no transition is made to the ready state In this case the ...

Page 415: ...and is executed 12 When alternate processing is performed 13 When the MODE parameter is changed MODE SELECT command 14 When failure is predicted except in TEST mode 5D FF 15 When the temperature enters a warning state with EWASC 1 on Mode Page 1C 16 When the Background Media Scan function ends 7 6 2 Data analysis The HDD judges its own condition by analyzing data that has been collected to predict...

Page 416: ...eeded its threshold Failure prediction data is always logged and analyzed regardless of the setting of the DExcpt bit MODE SELECT parameter on page 1C The DExcpt bit value specifies whether to allow reporting as described in Section 7 6 4 7 6 3 Failure prediction method a Read error rate attribute The HDD monitors the number of read errors that have occurred during read processing in relation to t...

Page 417: ...has developed The written sectors and write errors counted include those involved in write processing that was explicitly performed by WRITE commands Sample size 1 000 000 written sectors Threshold 300 errors Target WRITE commands WRITE WRITE LONG VERIFY write processing for WRITE AND VERIFY WRITE SAME media validation write during automatic alternate processing FORMAT UNIT command c Seek error ra...

Page 418: ...pin up times with the threshold If the threshold is exceeded the HDD considers that a failure prediction reporting condition has developed Threshold 55 seconds f G list update frequency The HDD monitors the number of G list updates due to automatic alternate processing that is performed during read processing in relation to the number of sectors contained in the sample as indicated in Item a above...

Page 419: ...the measured temperature exceeds the threshold specified by the log parameter Page 0D the HDD issues a warning Specified temperature exceeded 0B 01 Table 7 6 SMART thresholds Attribute Threshold sample size a Read error rate 300 errors 1 000 000 read sectors b Write error rate 300 errors 1 000 000 written sectors c Seek error rate 300 errors 1 000 000 seeks d Number of remaining alternate sectors ...

Page 420: ... warning is issued again to the INIT If Page 1C is specified in the MODE SELECT command a warning will be issued based on the settings that are in effect at that time If the number of reports specified in the Report Count field have been completed or one of the events below occurs while reporting is in progress warning processing resumes based on the mode parameter that is in effect at that time P...

Page 421: ...and output operations on the FC bus In this manual initiator has been abbreviated to INIT Sense Data When several items of error information are included in a command s completion status this is information generated by the target for reporting detailed information on that status Sense Key This is a 4 bit code displayed in the sense data It contains information for classifying the type of error th...

Page 422: ...This page is intentionally left blank ...

Page 423: ...Correction DCRT Disable CeRtificaTion DE Disk Enclosure DEF DEFective block DevOfi Device Offline DPO Disable Page Out DPRY Disable PRimarY DSP Disable Saving Parameters DST Drive Self Test DTE Disable Transfer on Error E ECC Error Correction Code EER Enable Early Recovery EOAF End Of Address Frame primitive EOF End Of Frame primitive EVPD Enable Vital Product Data F FC Fibre Channel FG Frame Grou...

Page 424: ...EQ Request RH Relative Humidity RMB ReMovaBle RST ReSeT RSV ReSerVed S S N Serial Number SBd Synchronized Byte data area SBi Synchronized Byte identifier area SCSI Small Computer System Interface SCT SeCTor SEL SELect SelfTest Self Test SG Signal Ground SOAF Start Of Address Frame primitive SOF Start Of Frame primitive SP Save Page SPR SPaRe block SR Servo SSEC Soft sector STPF Stop sector SURF SU...

Page 425: ...nal sense data length 362 address format 262 B address frame 59 address frame overview 59 background control mode parameter 322 AIP 47 Background medium scan page X 15 350 ALIGN 47 alternate area 126 block descriptor 159 172 392 alternate block allocation 390 block descriptor length 158 172 alternate block allocation method 390 BMS interval time 323 alternate block allocation processing 391 395 BR...

Page 426: ...ommand format 103 data defect list 225 COMMAND information unit 81 DATA information unit 89 command inherent information 362 data only with address specification 266 272 command other than INQUIRY REQUEST SENSE and REPORT LUNS 112 data overrun 331 data space configuration 124 command processing 103 data strobe offset count 285 command processing exception 116 data underrun 331 command queuing func...

Page 427: ...overy method 372 374 disabling caching data 131 error recovery processing 118 DISC 300 error recovery processing control 386 disconnect reconnect parameter 287 error recovery processing procedure 378 discontinuity 300 error state 382 disk drive error and number of retry 387 ETC 190 disk drive error recovery processing 382 event of power on 111 event of RESET 111 disk media initialization 392 EVPD ...

Page 428: ...T 119 120 LBIN 191 hard sectoring 292 LED display 116 HARD_RESET 49 link 107 hashed SAS address 30 link layer 44 hashed SAS address code parameter 30 link reset sequence 32 head offset count 285 link reset sequence start condition 33 header 158 171 228 240 list parameter 191 header data with address specification 265 272 log error 317 log parameter 190 193 header data without address specification...

Page 429: ...microcode download with saving 266 negative acknowledgement 56 microcode download without saving 266 non cache buffer size 303 non medium error count page X 06 342 minimum pre fetch 301 mode 0 0 0 0 264 271 notch drive 309 mode 0 0 0 1 265 272 notch parameter 308 mode 0 0 1 0 266 272 NOTIFY 50 mode 0 0 1 1 273 number of head 295 mode 0 1 0 0 266 number of retry during seek error 325 mode 0 1 0 1 2...

Page 430: ...ter configuration 157 physical sector address format defect descriptor 231 parameter data format 281 parameter field 173 PORT 371 parameter for specifying alternate processing area for defective block 290 port narrow port and wide port 24 post error 284 power condition 114 parameter list configuration 250 pre fetch inhibit block count 301 parameter list length 107 pre scan timeout value 324 parame...

Page 431: ...eserve right and third party reserve function 181 read error count page X 03 335 read error in uncorrectable data 383 reserved operation code 118 read error recovered with possible delay 336 reset processing during write 121 response and release condition at UNIT ATTENTION 112 read error recovered without delay 335 READ EXTENDED 28 215 response data configuration 259 READ KEYS 195 response data fo...

Page 432: ... INQUIRY data 137 138 SEND DIAGNOSTIC 1D 246 start of address frame 53 SEND DIAGNOSTIC command 250 start of frame 56 SEND DIAGNOSTIC parameter 251 255 start specification 178 sense command 135 START STOP UNIT 1B 178 sense data 359 starting boundary 310 sense data additional information 371 start stop cycle counter 346 sense data analysis 374 start stop cycle counter page X 0E 344 sense data and er...

Page 433: ...gth 106 transport layer 78 TSD 190 TST 305 U UNIT ATTENTION condition 111 UNIT ATTENTION condition multiple hold 113 unrecoverable hardware error 122 usage of special character 31 user space logical block address 125 V valid 361 vendor ID field 141 vendor unique 107 VERIFY 2F 220 verify error count page X 05 338 verify error recovered with possible delay 339 verify error recovered without delay 33...

Page 434: ... ATTACHED SCSI INTERFACE SPECIFICATIONS Address Manual code C141 C013 01EN Comments Page Line Comments Reply requested Yes No Please evaluate overall quality of this manual by marking in the appropriate boxes Good Fair Poor Good Fair Poor Good Fair Poor Organization Use of examples Legibility Accuracy Index coverage Handiness Binding Clarity Cross referencing Others Figures tables General appearan...

Page 435: ...This page is intentionally left blank ...

Page 436: ... MBC2036RC MBC2073RC SERIES DISK DRIVES SERIAL ATTACHED SCSI INTERFACE SPECIFICATIONS C141 C013 01EN MBA3073RC MBA3147RC MBA3300RC SERIES MBB2073RC MBB2147RC SERIES MBC2036RC MBC2073RC SERIES DISK DRIVES SERIAL ATTACHED SCSI INTERFACE SPECIFICATIONS C141 C013 01EN ...

Page 437: ......

Page 438: ......

Page 439: ......

Reviews: