Summary of Contents for Hitachi DK32EJ - Ultrastar Series 36.9 GB Hard Drive
Page 1
OEM MANUAL:K6602771 HITACHI 3.5 INCH MAGNETIC DISK DRIVE Reference Manual For DK32EJ FC-AL Interface Specification Document Number : K6602771 SCSI 2/3 SPECIFICATIONS Hitachi, Ltd. Tokyo, Japan Revision: 2 / Date: 2002.12.19 Page: 1 / 313...
Page 2
Further, Hitachi reserves the right to revise this publication and to make changes from time to time in the content hereof without obligation to notify any person of such revisions or changes.
Page 3
OEM MANUAL:K6602771 REVISION TABLE Remarks AD : Addition, CH : Change, CR : Correction, DL : Deletion Date Signature Page Description Remarks ’02.03.29 DWN : Shiino Initial Release CHK : Watanabe APPD : Takayasu ’02.06.13 DWN : Shiino Change of revision number of related CHK : Watanabe Document.
OEM MANUAL:K6602771 Preface This manual describes the specifications of the Small Computer System Interface (SCSI) functions supported by the HITACHI 3 1/2 model magnetic disk drives. GENERAL DESCRIPTION APPLICATION This manual applies to the SCSI logical interface specification and Fibre Channel logical interface of the magnetic disk drive.
OEM MANUAL:K6602771 FUNCTION OUTLINE The disk drive is connected to the host computer through the Fibre Channel Interface. The word “Controller” may be substituted for the disk drive since this manual describes only Fibre Channel interface functions which are implemented by the controller in the disk drive.
Page 17
OEM MANUAL:K6602771 COMMAND QUEUING One command per initiator(host computer) is enqueued(Untagged Command Queuing) and/or maximum 128 commands as total number of commands from all host computers are enqueued(Tagged Command Queuing). COMMAND RE-ORDERING The disk drive executes the multiple tagged commands with the advanced command re-ordering algorithm.
Page 18
OEM MANUAL:K6602771 (16) SECTOR INTERLEAVE A 1 : 1 interleave is supported. (17) SELECTABLE BLOCK LENGTH A 512 bytes block length is supported as a default and other block length is also available after the disk re-format. Refer to the Product Specification for details. (18) SMART(Self-Monitoring Analysis and Reporting) The SMART(Self-Monitoring Analysis and Reporting) function is supported.
OEM MANUAL:K6602771 GLOSSARY Bit number A number that represents the weighted position of one byte. Bit n represents a value of 2 n . Command Descriptor Block A command block that is used to communicate requests from (CDB) : an initiator to a target. , XXh A hexadecimal representation of a number (XX with a subscript H/h represents a hexadecimal number).
Page 20
OEM MANUAL:K6602771 L_Port A port connectable with FC-AL. (In Node, it is NL_Port. In Fabric,it is FL_Port) Circuit It is built by two arbitrary ports on FC-AL. Transmission of a frame is possible only among 2 ports which built the circuit.
OEM MANUAL:K6602771 PRODUCT SPECIFICATION OUTLINE This chapter describes the logical subjects of Product Specification. Refer to the Product Specification for physical information which are not included herein. ADDRESSING The host computer addresses the target logical unit (controller and drive) using the methods described below.
OEM MANUAL:K6602771 · Control parameters (MODE SELECT, INQUIRY and LOG) · Defect list (manufacture and grown) · Control program (Downloadable Firmware) etc. The data in system area is duplicated for data integrity. The user area consists of the diagnostic cylinder, the data area. The user area, except the data area, may not be accessible from the host computer.
Page 23
OEM MANUAL:K6602771 Alternate Spare Area The controller allocates 14 local alternate cylinders per notch as an Alternate Spare Area for the defective sector. Defect Management Defect management is the assignment of alternate spare sectors for defective sectors caused by media flaws. The host computer may access the data block as defect-free media by the defect management.
OEM MANUAL:K6602771 Figure 2-1 explains the details of Track Skew. Sector Sector Number Head 0 Head 1 n sectors Figure 2-1 Track Skew (Skew Factor n) Cylinder Skew The controller implements Cylinder Skew which shifts the sector array between cylinders ( i.e., between the last track of a cylinder and the first track of the next cylinder) to avoid a rotational latency when a 1 track seek is performed.
OEM MANUAL:K6602771 The replacement sector is assigned to the next defective sector, to reduce rotational latency. The controller executes a verification after formatting if C scheme is specified. If an error is found, the controller identifies the error sector as defective and reformats the track and the cylinder.
OEM MANUAL:K6602771 · It is suggested to specify P, G and C schemes ( i.e., to use Primary and Grown lists, and to execute verify processing ) when specifying defect management. · The D scheme of defect management is not necessary for normal operation. Since the controller automatically reads P and G lists in system area and formats medium, the host computer does not need to specify the defect.
OEM MANUAL:K6602771 2.3.3 VERIFY ERROR RETRY The controller performs the same retry as the read error retry mentioned in section 2.3.1 READ ERROR RETRY for the verify error during the verify operation. The host computer can change the error management of the controller with the verify error recovery parameter (Page Code 7 H ) of the MODE SELECT command.
OEM MANUAL:K6602771 ·However, if the error in the data field is correctable by ECC the controller corrects the error using ECC, and terminates the recovery procedure (this is applicable when EER=1). Retry Count The host computer can select the retry count by specifying the counts to the retry count field of the error recovery parameter.
OEM MANUAL:K6602771 Table 2-2 Commands Not Supported Operation Code Group 0 Command Name COPY PREVENT/ALLOW MEDIUM REMOVAL Operation Code Group 1 Command Name SEARCH DATA HIGH SEARCH DATA EQUAL SEARCH DATA LOW SET LIMITS PRE-FETCH LOCK/UNLOCK CACHE COMPARE COPY AND VERIFY Operation Code Group 2 Command Name CHANGE DEFINITION...
OEM MANUAL:K6602771 FIBRE CHANNEL INTERFACE This chapter describes the Fibre Channel(FC) Interface that this controller support as the host interface. TOPOLOGY Fibre Channel has three types of its topology as listed below. Point-to-Point Topology Fabric Topology Loop Topology See the Figure 3-1 and the Table 3-1. Loop point to point Public Loop...
OEM MANUAL:K6602771 Table 3-1 Summary of Fibre Channel Topology Topology Description Loop Private Topology that many number of nodes (up to 126) are connected without Fabric on loop. Public Topology that many number of nodes (up to 126) are connected with Fabric on loop. Point to point Topology between 2 nodes.
OEM MANUAL:K6602771 Fabric Node FL_Port NL_Port NL_Port NL_Port Node Node Figure 3-3 Topology of public loop A controller has two independent ports and connection with the following loops is possible for it. ·A connection with two independent loops containing a different node(Multi Loop) ·A connection with the loop which consisted of same nodes and doubled only the loop(Redundant Loop) The Figure 3-4 and the Figure 3-35 show this controller supports the outline of...
OEM MANUAL:K6602771 FRAMES 3.2.1 FRAME FORMAT The Figure 3-6 shows the frame format used with the Fibre Channel. Start of Frame Frame Header Data Field End of Frame 4Bytes 24Bytes 0-2112Bytes 4Bytes 4Bytes Figure 3-6 Frame Format (1) Start of Frame The Start of Frame(SOF) delimiter is an Ordered Set that immediately precedes the frame context.
Page 36
OEM MANUAL:K6602771 (1) R_CTL (Routing Control) The R_CTL field is used to categorize the frame function. (2) D_ID (Destination ID) The D_ID field contains the address identifier of an N_Port or F_Port within the destination entity. (3) CS_CTL (Class Control) The CS_CTL field contains the control information classified by class.
OEM MANUAL:K6602771 This controller support only FT_1 (data frame) in the data field, and the kind of data frame is defined by R_CTL of a frame header, and TYPE. The Table 3-2 shows the specification of the R_CTL/TYPE field supported by this controller.
OEM MANUAL:K6602771 The Table 3-3 shows the specification of the F_CTL field supported by this controller. Table 3-3 F_CTL field Byte Contents Support Note Exchange Context FC-PH 0 = Originator of Exchange, 1 = Responder of Exchange Sequence Context FC-PH 0 = Originator of Sequence, 1 = Responder of Sequence First_Sequence FC-PH...
OEM MANUAL:K6602771 FIBRE CHANNEL ARBITRATED LOOP(FC-AL) 3.3.1 ARBITRATED LOOP PHYSICAL ADDRESS(AL_PA) Each port on the Arbitrated Loop have an Arbitrated Loop Physical Address(AL_PA), which is determined in the Loop Initialization Process described in 3.3.2. The Table 3-4 shows AL_PA addressing and the Table 3-5 shows AL_PA value priorities and the Table 3-6 shows AL_PA mapped to bit maps.
OEM MANUAL:K6602771 Table 3-6 AL_PA mapped to bit maps AL_PA Bit AL_PA Bit AL_PA Bit AL_PA Bit (hex) Word (hex) Word (hex) Word (hex) Word ‘-‘is reserved for the Lbit(Fabric Login required); 3 FIBRE CHANNEL INTERFACE Revision: 2 / Date: 2002.12.19 Page: 40 / 313...
OEM MANUAL:K6602771 3.3.2 LOOP INITIALIZATION When this controller is turned on and becomes ready and the Arbitrated Loop is detected, this controller perform the Loop Initialization process. The Loop Initialization is performed by ARBx(Arbitrate), LIP(Loop Initialization), CLS(Close) primitives, and the following Loop Initialization frames. LISM: Select Master based on 8-byte Port_Name LIFA: Fabric Assign AL_PA bit map LIPA: Previously Acquired AL_PA bit map...
OEM MANUAL:K6602771 Start Initializing Transmit LIP Received, Transmit received LIP . Transmit Idle for AL_TIME(=15ms) Select Loop Master Transmit LISM, Received LISM Not Arb(F0),and Compare LISM not equal Loop Master Transmit Arb(F0) Received Arb(F0) *Transmit LIFA Receive LIFA Receive LIFA *Transmit LIFA *Transmit LIPA Receive LIPA...
Page 44
OEM MANUAL:K6602771 (1) Loop Initialization Select Master Procedure Loop Initialization requires a temporary loop master which originates a number of initialization frames on the loop. If there are not FL_Port on the loop, NL_Port with the lowest Port_Name will become the temporary loop master. When FL_Port/NL_Port received LIP, they transmits LIP of the same type as received, and transmits Idle for AL_TIME (value for AL_TIME is 15ms).After each loop port has transmitted Idle for AL_TIME, each ports begins transmitting a loop initializing frame called the LISM frame...
Page 45
OEM MANUAL:K6602771 received Loop Initialization Sequence (LI_ID = ‘LIPA’). The L_Port shall check if the bit that corresponds to its Hard Assigned AL_PA is set. If it in not set to 1, the L_Port shall set the bit to 1(unless a bit was set in LIFA or LIPA); if the bit is already set to 1, the ports on the Loop may attempt a Soft Assigned AL_PA.
OEM MANUAL:K6602771 3.3.3 ARBITRATED LOOP ACCESS This controller support the access fairness algorithm. In case that each NL_Port continuously arbitrates to access the loop, the lower priority NL_Ports cannot gain access to the loop. The access fairness algorithm gives all NL_Ports an opportunity to arbitrate and win access to the loop. When an NL_Port has arbitrated for and won access to the Loop and does not detect that another NL_Port is arbitrating, that NL_Port may keep the existing circuit open indefinitely or close that circuit and retain ownership of the loop to...
OEM MANUAL:K6602771 This controller use the Private Loop Addressing and the Public Loop Addressing shown in Table 3-8. Table 3-8 Private Loop Addressing and Public Loop Addressing Frame sent from Frame received by OPN AL_PD S_ID(Note 1) D_ID(Note 1) (Note 1) (Note 1) Source dest.
OEM MANUAL:K6602771 This Controller determine a 24-bit NL_Port address according to the sequence shown in Figure 3-11. Start of Initialization received Exchange s suspended Select Loop Master LISM Complete Loop Initialization Sequences End of OPEN-INIT Non-FLA Operation Not needed FLOGI fails Need to do FLOGI? Needed FAN indicates change or timeout...
OEM MANUAL:K6602771 ORDERED SETS The Table 3-9 shows the Ordered Sets defined by the Fibre Channel Interface and this controller support Ordered Sets. Table 3-9 Ordered Sets Classification Name Support Remarks Frame Delimiters SOF(Start of Frame) Support only SOFi3,SOFn3 EOF(End of Frame) Support only EOFi,EOFn,EOFa Primitive Signals IDLE...
OEM MANUAL:K6602771 Table 3-11 EOF Delimiters Name Meanings Remarks EOFt This delimiter indicates the Sequence associated with this SEQ_ID is complete. EOFdt This delimiter removes a Dedicated Connection through a Fabric, and also Not supported Identifies the last ACK of a Sequence and indicates that all Class 1 Sequences associated with this S_ID are terminated.
OEM MANUAL:K6602771 (3) Primitive Sequences A Primitive Sequence is an Ordered Set that is transmitted repeatedly and continuously. The Table 3-13 shows Primitive Sequences. Table 3-13 Primitive Sequences Name Meaning Remarks Not supported This Primitive Sequence transmitted to indicate that the Port transmitting this Sequence has detected a Link Failure condition or is Offline, waiting for OLS to be received Not supported...
OEM MANUAL:K6602771 LINK SERVICE The Table 3-14 shows the Link Service frames supported by this controller. Table 3-14 Link Service Frames Classification Name Support Remarks Transmit Receive Basic Link ABTS(Abort Sequence) Service BA_ACC(Basic_Accept) BA_RJT(Basic_Reject) NOP(No Operation) RMC(Remove Connection) Extended Link ABTX(Abort_Exchange) Service LS_RJT(Link Service Reject)
OEM MANUAL:K6602771 3.5.1 ABORT SEQUENCE(ABTS) The Abort Sequence (ABTS) is used to abort a single or multiple Sequence(s) on a detection of an error. The ABTS has no payload. The BA_ACC(Basic Accept) is used for the response of anABTS. The R_CTL for ABTS is 81h. 3.5.2 BASIC ACCEPT(BA_ACC) The Basic Accept(BA_ACC) is used to notify the transmitter of a Basic Link Service request frame that the request has been completed.
OEM MANUAL:K6602771 SEQ_ID of last Sequence deliverable to ULP Valid when the SEQ_ID Validity = 80H OX_ID Same Value with received ABTS RX_ID FFFFh Low SEQ_CNT Not used by this controller. High SEQ_CNT FFFFh 3.5.3 BASIC REJECT(BA_RJT) The Basic Reject(BA_RJT) is used to notify the transmitter of a Basic Link Service request frame that the request has been rejected.
OEM MANUAL:K6602771 3.5.4 ACCEPT(ACC) The Accept(ACC) is used to notify the transmitter of an Extended Link Service request that the Extended Link Service request Sequence has been completed. The Table 3-17 shows the payload of the ACC. The payload content is defined within individual Extended Link Service command.
OEM MANUAL:K6602771 3.5.5 LINK SERVICE REJECT(LS_RJT) The Link Service Reject(LS_RJT) is used to notify the transmitter of an Extended Link Service request that the Extended Link Service request Sequence has been rejected. The Table 3-18 shows the payload of the LS_RJT. No Reply Sequence is generated for the LS_RJT.
Page 57
OEM MANUAL:K6602771 0Fh: Invalid Common Service Parameters 11h: Invalid Association Header 13h: Association Header Required 15h: Invalid Originator S_ID 17h: Invalid OX_ID-RX_ID combination 19h: Command (request) already in progress 1Fh: Invalid N_Port Identifier 21h: Invalid SEQ_ID 23h: Attempt to abort invalid Exchange 25h: Attempt to abort inactive Exchange 27h: Recovery_Qualifier required 29h: Insufficient resources to support Login...
OEM MANUAL:K6602771 3.5.6 N_PORT LOGIN(PLOGI) The N_Port Login(PLOGI) is used to transfer Service Parameters from the initiated N_Port to the N_Port. The Table 3-19 shows the payload of the PLOGI, and the Table 3-25 shows the ACC payload for the PLOGI. Table 3-19 PLOGI payload Byte Link Service Command Code...
OEM MANUAL:K6602771 Random Relative Offset This controller does not use this field.(Not checked) Valid Vendor Version Level This controller does not use this field.(Not checked) N_Port/F_Port(N) Indicates N_Port. or F_Port. Alternate BB_Credit Management Indicates that the N_Port is capable of supporting Alternate BB_Credit Management. 1b:This controller response value.
OEM MANUAL:K6602771 00: X_ID reassignment not supported 01: X_ID reassignment supported 10: Reserved 11: X_ID reassignment required and supported This controller does not use this field and specification of 11b received by LS_RJT. Initial Process Associator 00: Initial Process_Associator not supported 01: Initial Process_Associator supported 10: Reserved 11: Initial Process_Associator required and supported...
OEM MANUAL:K6602771 3.5.7 LOGOUT(LOGO) The Logout(LOGO) requests invalidation of the Service Parameters and Port_Name which have been saved by the FC Disk Drive, freeing those resources. The Table 3-26 shows the payload of the LOGO, and the Table 3-27 shows the ACC payload for the LOGO.
OEM MANUAL:K6602771 3.5.8 FABRIC LOGIN(FLOGI) The Fabric Login(FLOGI) is used to transfer Service Parameters from this Controller. The Table 3-28 shows the payload of the FLOGI, and the Table 3-34 shows the ACC payload for the FLOGI. Table 3-28 FLOGI payload Byte Link Service Command Code 4-19...
OEM MANUAL:K6602771 Random Relative Offset This controller does not use this field.(Not checked) Valid Vendor Version Level This controller does not use this field.(Not checked) N_Port/F_Port(N) Indicates N_Port. or F_Port. Alternate BB_Credit Management Indicates that the N_Port is capable of supporting Alternate BB_Credit Management. 1b:This controller response value.
OEM MANUAL:K6602771 00: X_ID reassignment not supported 01: X_ID reassignment supported 10: Reserved 11: X_ID reassignment required and supported This controller does not use this field and specification of 11b received by LS_RJT. Initial Process Associator 00: Initial Process_Associator not supported 01: Initial Process_Associator supported 10: Reserved 11: Initial Process_Associator required and supported...
OEM MANUAL:K6602771 3.5.9 READ LINK ERROR BLOCK(RLS) The Read Link Error Status Block (RLS) requests this controller to return the Link Error Status Block associated with the Port Identifier specified in the RLS payload. The Table 3-35 shows the payload of the RLS, and the Table 3-36 shows the ACC payload for the RLS.
OEM MANUAL:K6602771 Link Failure Count The accumulation value which detected Link Failure. Loss of Synchronization Count The accumulation value which detected Loss of Synchronization Count. Loss of Signal Count The accumulation value which detected Loss of Signal Count.(Not support) Primitive Sequence Protocol Error The accumulation value which detected Primitive Sequence Protocol Error.
OEM MANUAL:K6602771 3.5.11 REQUEST NODE CAPABILITIES INFORMATION(RNC) (Not support) The Request Node Capabilities Information (RNC) may be used to query an N_Port to discover what document identifiers it supports. The Table 3-39 shows the payload of the RNC, and the Table 3-40 shows ACC Payload for RNC.
OEM MANUAL:K6602771 3.5.12 FABRIC ADDRESS NOTIFICATION(FAN) The Fabric Address Notification (FAN) is sent by the Fabric F_Port to all known previously logged in (FLOGI) and attached ports following an initialization event. This controller does not reject this link service, but it has no response. This controller perform FLOGI if FAN indicates change or timeout after receiving FAN (Refer to Figure 3-11).
OEM MANUAL:K6602771 3.5.13 PROCESS LOGIN(PRLI) The Process Login(PRLI) is transmitted from an originator N_Port to this Controller to identify the capabilities and requirements. The Table 3-42 shows the payload of the PRLI, and the Table 3-43 shows the ACC payload for PRLI and the Table 3-44 shows Response Code. Table 3-42 PRLI payload Byte Link Service Command Code...
Page 77
OEM MANUAL:K6602771 Table 3-42 PRLI payload (cont’d) Reserved Reserved Data Initiator Target Command Data/Resp Read Write Overlay Function Function /Data onse XFER_RD XFER_RD Allowed Mixed mixed Y Disabled Y Diasbled Allowed Allowed Originator process associator valid This controller does not use this field.(Not checked) Responder process associator valid This controller does not use this field.(Not checked) Establish Image pair...
OEM MANUAL:K6602771 Table 3-43 ACC payload for PRLI Byte Link Service Command Code Page Length Payload Length Type Code or common Service parameters Type Code extension Originator Responder Establish Reserved Response Code process process Image associator associator pair valid valid Reserved Originator Process associator Responder process associator...
OEM MANUAL:K6602771 Table 3-44 Response Code Code Meanings Remarks 0000 Reserved 0001 Request executed. 0010 Target image has no resources available for establishing image pairs between the specified source and destination N_Ports. The PRLI request may be retried. 0011 Initialization is not complete for the target image. The PRLI request may be retried.
OEM MANUAL:K6602771 3.5.14 PROCESS LOGOUT(PRLO) The Process Logout(PRLO) is transmitted from an originator N_Port to this controller to indicate that the process image pair specified in the service parameter page of the PRLO are being discontinued by the originator. The Table 3-45 shows the payload of the PRLO, and the Table 3-46 shows the ACC payload for PRLO and the Table 3-47 shows Response Code.
OEM MANUAL:K6602771 Table 3-45 PRLO payload (cont’d) Reserved Reserved Reserved Originator process associator valid This controller does not use this field.(Not checked) Responder process associator valid This controller does not use this field.(Not checked) Originator process associator This controller does not use this field.(Not checked) Responder process associator This controller does not use this field.(Not checked) Table 3-46 ACC payload for PRLO...
OEM MANUAL:K6602771 Table 3-46 ACC payload for PRLO (cont’d) Responder process associator Reserved Reserved Reserved Reserved Table 3-47 Response Code Code Meanings Remarks 0000 Reserved 0001 Request executed. 0010 Reserved 0011 Reserved 0100 The Target image corresponding to the Responder Process Associator specified in the PRLO request and PRLO Accept response does not exists.
OEM MANUAL:K6602771 3.5.15 DISCOVER N_PORT SERVICE PARAMETERS(PDISC) The Discover N_Port Service Parameters(PDISC) transfers Service Parameters From an initiating N_Port to this controller without affecting the operating Environment between two ports. The Table 3-48 shows the payload of the PDISC, and the Table 3-49 shows the ACC payload for PDISC.
OEM MANUAL:K6602771 Table 3-49 ACC payload for PDISC Byte Link Service Command Code 4-19 Common Service Parameters 20-27 N_Port Name 28-35 Node Name 36-51 Class 1 Service Parameters(Not supported) 52-67 Class 2 Service Parameters(Not supported) 68-83 Class 3 Service Parameters 84-99 Reserved 100-115...
OEM MANUAL:K6602771 3.5.16 DISCOVER ADDRESS(ADISC) The Discover Address (ADISC) exchanges addresses and identifiers of communication N_Ports. The Table 3-50 shows the payload of the ADISC, and the Table 3-51 shows the ACC payload for ADISC. Table 3-50 ADISC payload Byte Link Service Command Code Reserved Hard Address of Originator...
OEM MANUAL:K6602771 Table 3-51 ACC payload for ADISC (cont’d) 8-15 Port Name of Originator 16-23 Node Name of Originator Reserved 25-27 N_Port ID of Originator 3.5.17 THIRD PARTY PROCESS LOGOUT(TPRLO) (Not support) The Third Party Process Logout (TPRLO) shall be used to invalidate the operating environments between the specified image at the recipient N_Port and the specified image in the specified N_Port which have performed Process Login with the recipient N_Port for the specified TYPE.
Page 87
OEM MANUAL:K6602771 Table 3-53 ACC payload for TPRLO (cont’d) Third Responder Third Global Reserved Party process Party Process Originator associator Originator Logout process validity N_Port ID associator Validity validity Reserved Third Party Originator process associator 8-11 Responder process associator Reserved 13-15 Third Party Originator N_Port ID 16-19...
OEM MANUAL:K6602771 SCSI BUS This chapter describes the SCSI bus interface that is common to all SCSI controller commands. Refer to the appropriate specifications or documents for the physical specifications, SCSI bus signal definitions, bus phases, and bus signal timings of the SCSI bus.
OEM MANUAL:K6602771 Tagged Queuing The host computer can issue plural commands for a logical unit by using the Queue Tag message. The controller contains a single queue slot which can enqueue SCSI commands from a single or multiple hosts up to 128 commands. The controller selects a queued command and executes it based on the command type of the Queue Tag message specified by the host computer.
OEM MANUAL:K6602771 FCP INFORMATION UNIT This chapter describes the explanation abort FCP Information Unit. This controller supports the 6 Information Units shown in the Table 4-1. Table 4-1 Information Unit No. Information Unit Name Function Support Remarks FCP_CMND Transfers SCSI Command or Task Management FCP_XFER_READY Notifies FCP_DATA will be transferred.
Page 91
OEM MANUAL:K6602771 Logical Unit Number Zero is the only valid LUN for this controller. If LUN dose not set zero,this controller will return Check condition status. Task Attribute 000:SIMPLE_QUEUE The SIMPLE_QUEUE attribute is specified when the task can be executed with the That this controller determines.
Page 92
OEM MANUAL:K6602771 DL(Data Length) The maximum amount of data to be transferred by the command specified in the CDB. If the DL value is zero,no data will be transferred regardless of the CDB. If the DL value is less than the transfer length in the CDB,this controller will transfer up the DL value, set the Resid Over bit in the FCP_RSP,and set insufficient transfer length in the Residual If the DL value is greater than the transfer length in the CDB,this controller will transfer...
OEM MANUAL:K6602771 4.2.2 FCP_XFER_READY The FCP_XFER_READY is sent to the Initiator before data transfer with FCP_DATA, and notifies the Initiator of the length and the offset of the data contained in the FCP_DATA. In case of read operation, the FCP_XFER_READY is not used when the Read XFER_READY Disabled is specified in the PRLI payload.
OEM MANUAL:K6602771 4.2.4 FCP_RSP The FCP_RSP is used to report a result of the operation(SCSI command or Task Management) specified by the FCP_CMND. The Table 4-5 shows the format of the FCP_RSP. Table 4-5 FCP_RSP Payload Byte (MSB) Reserved (LSB) Reserved Resid Resid...
Page 95
OEM MANUAL:K6602771 SCSI Status 00h:GOOD status This status is sent from the controller to the host computer to indicate that the execution of a command is complete 02h:CHECK CONDITION status This status indicates that the command has been terminated abnormally due to an error that causes sense data to be loaded, exception, or abnormal condition.
OEM MANUAL:K6602771 Table 4-6 Response Information Byte (MSB) Reserved (LSB) Response Information Code (MSB) Reserved (LSB) Response Information Code 00h: No Failure or Task Management Function complete Indicate that the execution of the Task Management Function(Taget Reset,Clear Task Set, Abort Task Set) directed FCP_CMND. 01h: FCP_DATA length different than BURST_LEN Indicate that the numbers of bytes of the data received by the number of bytes specified by Burst Length of FCP_XFER_READY and FCP_DATA differed.
OEM MANUAL:K6602771 FRAME SEQUENSE The example of a frame sequence by the FCP information unit is shown below. Read Command All data is transmitted in one FCP_DATA(Not supported) Initiator IU Direction Target IU FCP_CMND ----------------------------------> <---------------------------------- FCP_XFER_READY <---------------------------------- FCP_DATA <---------------------------------- FCP_RSP All data is transmitted divides into more FCP_DATA (Not supported) Initiator IU...
Page 98
OEM MANUAL:K6602771 Write Command All data is transmitted in one FCP_DATA Initiator IU Direction Target IU FCP_CMND ----------------------------------> <---------------------------------- FCP_XFER_READY FCP_DATA ----------------------------------> <---------------------------------- FCP_RSP All data is transmitted divides into more FCP_DATA Initiator IU Direction Target IU FCP_CMND ----------------------------------> <---------------------------------- FCP_XFER_READY FCP_DATA ---------------------------------->...
SFF-8045 format. If the SEL_0 – SEL_3 value is not complemented within 1 microsecond after the Hitachi FC Disk Drive asserts Parallel ESI, this controller considers that the enclosure is compliant with SFF-8045. Discovery Flow Chart is shown in Figure 4-1.
OEM MANUAL:K6602771 Assert –P_ESI Do bits SEL_(0:3) invert in <1 usec Does –ENCL_ACK assert in <1 sec Assert –DSK_RD, -DSK_WR ASC/ASCQ = 35 02 Does –ENCL_ACK negate in <100 usec Assume enclosure is SFF-8045 with Parallel ESI. Negate –DSK_RD, -DSK_WR Provide ESI information Assume enclosure is SFF-8067 continue command and data transfer...
READ or WRITE SEL_ID Figure 4-2 Phase in SFF-8067 enclosure When the Hitachi FC Disk Drive recognizes that the enclosure supports SFF-8067, it sends an ESI command, which has format shown inTable 4-7, to the enclosure. Table 4-7 ESI command format...
OEM MANUAL:K6602771 4.4.3 WRITE PROCESS This controller places ESI data on the SEL ID to send data to the enclosure and assert –DSK_WR The enclosure shall respond by asserting –ENCL_ACK after a minimum of 100 nanoseconds as shown in Figure 4-3. This controller shall negate –DSK_WR after asserting –ENCL_ACK and then the enclosure shall negate –ENCL_ACK.
OEM MANUAL:K6602771 SCSI COMMANDS The SCSI commands are defined as the data structure viewed through the SCSI interface. A single command may transfer one or more logical blocks of data. The controller may disconnect from the SCSI bus while making preparations for data transfer to make the SCSI bus available to other SCSI devices.
OEM MANUAL:K6602771 This controller supports group 0 (6-byte commands) and group 1 and 2 (10-byte commands) and group 5(12-byte commands) commands. When the controller receives an unsupported or undefined command, it creates the CHECK CONDITION status with ILLEGAL REQUEST sense key. See Chapter 5 for the operation of the controller when it receives supported and unsupported commands.
OEM MANUAL:K6602771 5.1.5 TRANSFER LENGTH The Transfer Length specifies the amount of data to be transferred (normally in logical blocks). In some commands, the transfer length represents the number of requested bytes as explained in their command descriptions. In such cases, this field is referred to as the byte transfer length field. Commands (6-byte commands) that allocates one byte to the transfer length field can transfer a maximum of 256 blocks of data.
OEM MANUAL:K6602771 5.1.6 CONTROL BYTE The control byte is the last byte of the CDB. Table 5-5 Control Byte Format Byte Vendor Unique Reserved Flag Link The host computer should set the Vendor Unique bits of control byte to 0 since these bits for certain commands may be used to test the drive during the manufacturing process.
OEM MANUAL:K6602771 COMMAND DESCRIPTIONS FORMAT UNIT:(04 Byte Operation Code (04 FmtData Logical Unit Number CmpLst Defect List Format Certification Pattern Interleave (MSB) Interleave (LSB) Vendor Unique Reserved Flag Link The FORMAT UNIT command formats the medium so that all of the addressable data blocks can be accessed by the host.
Page 110
OEM MANUAL:K6602771 < C = Target Certification > Includes defects that are detected by the controller during an optional verify process executed during the FORMAT UNIT command. The controller includes the list into the G list and records it in a specific location on the device. <...
OEM MANUAL:K6602771 The Interleave field requests that the logical blocks are related in a specific manner to physical blocks to facilitate speed matching between the host bus data transfer rate and the block data transfer rate of the device. This controller supports the Interleave value one only but ignores the Interleave field. The host computer can specify the format for the defect management schemes and defect list according to the definition of CDB byte 1, bits 0-4, as summarized in Table 6-1.
OEM MANUAL:K6602771 Table 6-2 Defect List Header Byte Reserved DPRY DCRT STPF Immed Defect List Length (MSB) Defect List Length (LSB) The host computer can control the following format processing by defining byte 1, bits 2-7 of the defect list header. Bit 7 : The FOV (Format Options Valid) bit, when set to 0, specifies that the default values of the controller are used for the functions defined in bits 2-6.
Page 113
OEM MANUAL:K6602771 Bit 4 : The STPF (Stop Format) bit, when set to 0, specifies that the controller is to execute the formatting even if an unrecoverable error occurs while accessing either list of defects P or G recorded on the device. In this case, if no error occurred except during the access to the defect list, the controller creates the CHECK CONDITION status with RECOVERED ERROR sense key after completion of the format process.
OEM MANUAL:K6602771 When no 4-byte header is transferred or when an invalid defect list length is specified, the controller creates the CHECK CONDITION status with ILLEGAL REQUEST sense key. Table 6-3 Defect List --- Block Format Byte Defect Descriptor (s) Defect Block Address (MSB) Defect Block Address Defect Block Address...
OEM MANUAL:K6602771 If the defect location is identified as invalid or the defect descriptors are not in the ascending order of address, the controller returns CHECK CONDITION status with ILLEGAL REQUEST sense key. Note 1 : When the G list is read by the READ DEFECT DATA command, the obtained Defect Bytes from Index value appears with respect to only the first defect in the same sector.
OEM MANUAL:K6602771 Table 6-6 Initialization Pattern Descriptor (cont’d) Initialization Pattern Pattern Pattern When the IP bit (Byte 1, Bit 3 in Defect List Header) is set to 1, the Initialization pattern Descriptor is transferred immediately after the Defect List Header. The IP Modifier field is used to specify the initialization pattern as follows.
Page 117
OEM MANUAL:K6602771 The Initialization pattern Length field specifies the following Initialization Pattern length in bytes. The available value to specifies is n (= 0 to bytes/sector). - - - - - - - - The data pattern specified the Certification Pattern field of the command descriptor block is used.
OEM MANUAL:K6602771 INQUIRY:(12 Byte Operation Code (12 Logical Unit Number Reserved EVPD Page Code Reserved Allocation Length Vendor Unique Reserved Flag Link The INQUIRY command transfers the parameter information regarding the controller to the host computer. The EVPD (Enable Vital Product Data) bit of 0 indicates that Standard Inquiry Data is transferred from the controller to the host computer.
Page 120
56-95 Reserved 96-143 Copyright (in ASCII) “Copyright (C) 2002 Hitachi All right reserved” Note : € denotes a space character (code 20 The Standard Inquiry Data (Table 6-8) consists of a 5-byte header, followed by 139 bytes of additional parameters.
Page 121
OEM MANUAL:K6602771 The ISO Version (International Standard Organization Version) field is loaded with code 0 and indicates that the controller does not conform with the ISO version specification. The ECMA Version (European Computer Manufacture Association Version) field is loaded with code 0 and indicates that the controller does not conform with the ECMA Version specification.
The SftRe (Soft Reset) bit is set to 0 and indicates that the controller only uses the Hard Reset. The vendor identification field contains ''HITACHI'' in ASCII code. The product identification field contains the product name in ASCII code .
OEM MANUAL:K6602771 The Copyright field contains ''Copyright (C) 2002 Hitachi All right reserved'' in ASCII code. Note : The ASCII data fields are loaded with data starting at their first byte position. Any remaining byte positions are padded with space characters (code 20...
OEM MANUAL:K6602771 [ Page Code:80 (EVPD=1) ] Table 6-11 Unit Serial Number Byte Peripheral Qualifier Peripheral Device Type Page Code (80 Reserved Page Length (14 Product Serial Number Card Serial Number The Peripheral Qualifier and Peripheral Device Type are returned as described in the explanation following the Table 6-8 (Standard Inquiry Data).
OEM MANUAL:K6602771 [ Page Code:81 (EVPD=1) ] Table 6-12 Implemented Operating Definition Page Byte Peripheral Qualifier Peripheral Device Type Page Code (81 Reserved Page Length (04 Current Operating Definition SavImp Default Operating Definition Supported Operating Definition List SavImp SavImp The Peripheral Qualifier and Peripheral Device Type are returned as described in the explanation following the Table 6-8 (Standard Inquiry Data).
OEM MANUAL:K6602771 Each operating definition is defined in Table 6-13. The host computer , however , cannot change the operating definition since this controller does not support CHANGE DEFINITION command. Table 6-13 Operating Definition Operating Operating definition definition value Current SCSI-1 SCSI-2 SCSI-3...
OEM MANUAL:K6602771 The Page Code of 83 indicates that this page indicates the device identification page. The Page Length indicates the data length of the following operating definition. The Code Set field is loaded with code 1 and indicates that the identifier field contains binary values.
Page 128
OEM MANUAL:K6602771 Table 6-15 Jumper Information Page(cont’d) Byte Drive Jumper Information Reserved Code Set Reserved Data Length ID Jumper Vendor Unique Auto Delay Vendor Start Start Unique Device Control Vendor Unique Vendor Unique Write Protect The Peripheral Qualifier and Peripheral Device Type are returned as described in the explanation following the Table 6-8(Standard Inquiry Data).
OEM MANUAL:K6602771 LOG SELECT:(4C Byte Operation Code (4C Logical Unit Number Reserved Reserved Reserved Reserved Reserved Reserved Parameter List Length (MSB) Parameter List Length (LSB) Vendor Unique Reserved Flag Link The LOG SELECT command provides a means for the initiator to manage statistical information supported by the drive.
OEM MANUAL:K6602771 A save parameter (SP) bit of one directs the drive to save all log parameters to the disk which are identified as savable by the DS (disable save) bit of their own parameter control byte (see Table 6-17) after performing the specified LOG SELECT operation.
Page 131
OEM MANUAL:K6602771 The parameter list length field designates the length in bytes of the log parameter list (log pages) to be transferred from the initiator to the drive in the phase of DATA OUT. A parameter list of zero indicates no log pages will be sent out from the initiator.
OEM MANUAL:K6602771 Table 6-20 Log Page Codes (cont’d) Last n Error Events Page - 0C Reserved Temperature Page Start-Stop Cycle Counter Page Application Client Page Self-Test Results Page – 2E Reserved Informational Exceptions Page – 3D Vendor Specific Factory Log Page Reserved The page length field specifies the length in bytes of the following log parameters that will be transferred between the initiator and the drive.
Page 134
OEM MANUAL:K6602771 Table 6-21 Log Parameter (cont’d) LBIN Parameter Length (n-3) (MSB) Parameter Value (LSB) The Parameter Code field specifies which log parameter, data counter or list parameter, is being transferred for that log page. The DU, DS, TSD, ETC, TMC, and LP fields are together referred to as the parameter control byte.
Page 135
OEM MANUAL:K6602771 -- LOG SENSE usage -- : A zero value of DU bit of a cumulative log parameter means the updating of that parameter is enabled. The drive will increment the cumulative log parameter value whenever an event should be noted by that parameter. A one value of DU bit for a cumulative log parameter means the updating of that parameter is disabled.
OEM MANUAL:K6602771 Bit 4 : ETC (Enable Threshold Comparison) bit An enable threshold comparison (ETC) bit controls the comparison operation of threshold value and cumulative value of a log parameter. The ETC bit is only defined for cumulative and threshold parameters which are specified by the PC field in the CDB.
Page 137
OEM MANUAL:K6602771 Bit 0 : LP (List Parameter) bit The LP bit indicates the type of the log parameter, data counter or list parameter. If an initiator attempts to set the value of the LP bit to a value other than the one returned for the same parameter in the LOG SENSE command, the drive will terminate the command with CHECK CONDITION status.
OEM MANUAL:K6602771 The Parameter Length field specifies the length in bytes of the following Parameter Value field. If the initiator sends a parameter length value that results in the truncation of the parameter value, the drive will terminate the command with CHECK CONDITION status. The sense key will be set to ILLEGAL REQUEST with the additional sense code set to INVALID FIELD IN PARAMETER LIST.
Page 139
OEM MANUAL:K6602771 Table 6-23 Supported Log Pages (cont’d) (Start-Stop cycle counter Page) (Application client Page) (Self-Test Results Page) (Informational Exceptions Page) (Factory Log Page) The page length field specifies the length in bytes of the following supported page list. There is one byte for one page code ; therefore, the page length also indicates the total number of log pages supported by the drive.
OEM MANUAL:K6602771 Non-Medium Error Page (Page Code = 06 This page records the occurrences of recoverable error events other than write, read, or verify failures. This controller provide two vender specific error counters : track following error and positioning error (Table 6-27). Both of these vendor specific error counts are included in the non-medium error count.
OEM MANUAL:K6602771 Table 6-27 Non-Medium Error Event Parameter Codes Parameter Code Description 0000 Non-Medium Error Count 0001 -7FFF Reserved 8000 -FFFF Vendor-Specific Error Counts 8009 Track Following Error 8015 Positioning Error Last n Error Events Page (Page Code = 07 Log page 7 is a list parameter page.
Page 143
OEM MANUAL:K6602771 Table 6-28 Last n Error Events Page(Page Code = 7H) (cont’d) Parameter Length (x) (MSB) • Event Description (LSB) n-y+4 • Error Event (Last) (Length y) The parameter code in an error-event record indicates the relative time at which the error occurred.
OEM MANUAL:K6602771 Table 6-29 Temperature Page(Page Code = D Byte Reserved Page Code Reserved (MSB) Page Length (6) (LSB) Parameter Code (MSB) Parameter Code (LSB) LBIN Parameter Length (2) Reserved Temperature (Degrees Celsius) Start-Stop Cycle Counter Page (Page Code = 0E This clause defines the optional start-stop cycle counter page(page code 0E A device that implements the start-stop cycle counter page shall implement one or more of the defined parameters.
Page 145
OEM MANUAL:K6602771 Table 6-30 Start-Stop Cycle Counter Page(Page Code = 0EH) (cont’d) (MSB) Page Length (24 (LSB) (MSB) Parameter Code (0001 Date of Manufacture (LSB) LBIN Parameter Length (06 (MSB) • Year of Manufacture • (4 ASCII Characters) (LSB) (MSB) Week of Manufacture (2 ASCII Characters) (LSB)
OEM MANUAL:K6602771 The value indicates how many stop-start cycle may typically be executed over the lifetime of the device without degrading the device’s operation or reliability outside the limits specified by the manufacture of the device. The accumulated start-stop cycles (parameter code 0004h) is a parameter provided by this controller.
OEM MANUAL:K6602771 Parameter codes 0000h through 003Fh are for general usage application client data. The intended use for this information is to aid in describing the system configuration and system problems, but the exact definition of the data is application client specific. The general usage application client data parameters all have the format shown in Table 6-32.
OEM MANUAL:K6602771 Self-Test Results Page (Page Code = 10 The Self-Test Results log page provides the results from the twenty most recent self-tests. Results from the most recent self-test or the self-test currently in progress shall be reported in the first self-test log parameter; results from the second most recent self-test shall be reported in the second self-test log parameter;...
OEM MANUAL:K6602771 Table 6-35 Self-Test Results Values Self-Test Description Results Value The self-test completed without error. The background self-test was aborted by the application client using a SEND DIAGNOSTIC command(see 6.29) with the Self- Test Code field set to (100)b (Abort background self-test). The self-test routine was aborted by an application client using a method other than a SEND DIAGNOSTIC command(see 6.29) with the Self-Test Code field set to (100)b.
OEM MANUAL:K6602771 The Address of First Failure field contains information that locates the failure on the media. If the logical unit implements logical blocks, the content of the Address of First Failure field is the first logical block address where a self-test error occurred.
Page 153
OEM MANUAL:K6602771 Table 6-36 Informational Exceptions Page (Page Code = 2FH) (cont’d) Informational Exception Additional Sense Code Qualifier Current Measured Temperature(Degrees Celsius) Maximum Temperature Threshold(Degrees Celsius) If the informational exception additional sense code field contains zero, no informational exception condition is pending and contents of the informational exception additional sense code qualifier field are unspecified.
OEM MANUAL:K6602771 LOG SENSE:(4D Byte Operation Code (4D Logical Unit Number Reserved Page Code Reserved Reserved (MSB) Parameter Pointer (LSB) (MSB) Allocation Length (LSB) Vendor Unique Reserved Flag Link The LOG SENSE command provides a way for the initiator to retrieve drive statistical information maintained by the drive.
Page 156
OEM MANUAL:K6602771 The SP bit works as it does in the LOG SELECT command. It provides the option for the initiator to save all log parameters, identified as savable by the DS bit, of the specified log page to the disk after the LOG SENSE operation has been performed. The PC (page control) field defines the type of parameter values to be selected (see Table 6-18).
OEM MANUAL:K6602771 MODE SELECT:(15 Byte Operation Code (15 Logical Unit Number Reserved Reserved Reserved Parameter List Length Vendor Unique Reserved Flag Link The MODE SELECT command provides a means for the host computer to specify or change medium, logical unit, controller, or peripheral device parameters to the controller.
Page 158
OEM MANUAL:K6602771 By making use of the save function, the host computer can eliminate the reissuing of the MODE SELECT command each time the controller is powered on; that is, the controller can automatically restore the current values from the saved values. The PF (Page Format) bit is ignored.
Page 159
OEM MANUAL:K6602771 In this case, the controller creates CHECK CONDITION status with RECOVERED ERROR sense key after executing the command and the additional sense code (Sense data byte 12) set to 37 (ROUNDED PARAMETER). The host computer can also check the rounded value using a MODE SENSE command requesting the current value.
OEM MANUAL:K6602771 Table 6-38 Mode Select Parameter List Byte MODE SELECT Header Reserved Medium Type(00 Reserved DPOFUA Reserved Block Descriptor Length Block Descriptor Number of Blocks (MSB) Number of Blocks Number of Blocks Number of Blocks (LSB) Reserved Block Length (MSB) Block Length Block Length (LSB) Page Descriptor (s)
Page 161
OEM MANUAL:K6602771 The Medium Type field must always be loaded with code 00 and identify the default medium type. The controller ignores WP and DPOFUA bit in MODE SELECT command. The Block Descriptor Length field specifies the total length in bytes of the block descriptors.
Page 162
OEM MANUAL:K6602771 The Page Length field specifies the number of bytes that follow the page length field. The Page Length field must be loaded with a page length value that is supported by the controller. This value is reported by the controller to the host computer by checking it in the page length field of the Mode Sense data.
Page 164
OEM MANUAL:K6602771 The drive performs automatic reallocation upon the abnormal termination of write operation after the drive proceeds error recovery process which is specified by mode select. The drive shall create CHECK CONDITION status with sense key of MEDIUM ERROR when the drive fails to do automatic reallocation. When set to 0, this bit indicates that the controller does not perform automatic reallocation of defective data blocks during write operations.
Page 165
OEM MANUAL:K6602771 Bit 3 : EER (Enable Early Recovery) When set to 1, this bit specifies that the controller is to attempt error correction, if possible, before applying retries. When this bit is set to 0, it specifies that the controller is to carry out the predetermined number of retries before attempting error correction.
OEM MANUAL:K6602771 Table 6-40 Error Control Bit Combinations Description - Retries then correction are attempted (EER & DCR off). - Recovered data are transferred to the host computer with no CHECK CONDITION status (PER off). Data transfer stops only when an unrecoverable error is encountered, in which case the CHECK CONDITION status is created.
Page 167
OEM MANUAL:K6602771 Table 6-40 Error Control Bit Combinations (cont’d) - Invalid request (EER on, DCR on) (PER off, DTE on) - Same as (0100) above except that correction is applied first (EER on, DCR off). - Invalid request (EER on, DCR on) - Same as (0110) above except that correction is applied first (EER on, DCR off).
Page 168
OEM MANUAL:K6602771 Recovery Time Limit specifies the time limit in 1ms increments, in which the controller can execute the data error retrials. The controller attempts the error recovery operation per command, within the shorter time either of the Retry Count or the Recovery Time Limit. There is the case that the time out is held pending until one operation finishes even if the time out is detected after starting error recovery operation.
OEM MANUAL:K6602771 [ Mode Page 2 Table 6-41 Disconnect - Reconnect Page (Page Code = 2 Byte Reserved Page Code(02 Page Length(0E Bus Full Ratio Buffer Empty Ratio Bus Inactivity Limit (MSB) Bus Inactivity Limit (LSB) Disconnect Time Limit (MSB) Disconnect Time Limit (LSB) Connect Time Limit (MSB) Connect Time Limit (LSB)
Page 170
OEM MANUAL:K6602771 The controller calculates the timing to be considered as Buffer Full / Empty in the number of blocks based on the specified ratio, the transfer data size and the buffer size. Buffer Full Ratio specifies the amount of data considered as Buffer Full during the READ operation, and the controller uses it as a timing of reconnection for data transfer to the host computer.
Page 171
OEM MANUAL:K6602771 Connect Time Limit is specified by the host computer the maximum time in 100 micro seconds increments which the controller continues connection until disconnection is initiated. Connect Time Limit of 0 shows that there is no limit in time. This field needs to be always specified to 0 as the controller does not support this field.
Page 172
OEM MANUAL:K6602771 [ Mode Page 3 Table 6-42 Format Device Page (Page Code = 3 Byte Reserved Page Code(03 Page Length(16 HANDLING OF DEFECTS FIELDS Tracks per Zone (MSB) Tracks per Zone (LSB) Alternate Sectors per Zone (MSB) Alternate Sectors per Zone (LSB) Alternate Tracks per Zone (MSB) Alternate Tracks per Zone (LSB) Alternate Tracks per Logical Unit (MSB)
OEM MANUAL:K6602771 Table 6-42 Format Device Page (Page Code = 3 ) (Cont`d) SECTOR FORMAT FIELDS Data Bytes per Physical Sector (MSB) Data Bytes per Physical Sector (LSB) Interleave (MSB) (00 Interleave (LSB) (01 Track Skew Factor (MSB) Track Skew Factor (LSB) Cylinder Skew Factor (MSB) Cylinder Skew Factor (LSB) DRIVE TYPE FIELD...
Page 174
OEM MANUAL:K6602771 The Alternate Sector per Zone field specifies the number of sectors that the controller reallocates from the host computer addressable blocks during the execution of FORMAT UNIT command. The controller can use these sectors as alternate spare sectors for defective sectors. The Alternate Tracks per Zone field specifies the number of tracks that the controller reallocates from the host computer addressable blocks during the FORMAT UNIT command.
Page 175
OEM MANUAL:K6602771 < Drive Type Field > The SSEC (Soft Sector) bit set to 1 specifies that the controller is to use soft sector formatting. Since this SCSI controller does not support soft sector formatting, the host computer must always set this bit to 0. The HSEC (Hard Sector) bit set to 1 specifies that the controller is to use hard sector formatting.
Page 177
OEM MANUAL:K6602771 Starting Cylinder-Write Precompensation specifies the starting cylinder of the write data peak shift precompensation. Since the disk drives controlled by the controller need not to precompensate the write data peak shift, there should be 0 Starting Cylinder-Reduced Write Current specifies the starting cylinder of the reducing write current.
Page 180
OEM MANUAL:K6602771 Caching Page is specified to control look ahead caching. A IC(Initiator Control) bit of one indicates that controller use the number of cache segments or cache segment size fields, dependent upon the SIZE bit, to control the caching algorithm rather than the controller own adaptive algorithm. Since the controller does not support IC bit, this bit is ignored.
Page 181
OEM MANUAL:K6602771 A RCD (Read Cache Disable) bit of zero indicates that the controller may return data requested by a READ command by accessing either the cache or media (if the requested data has not been cached yet). A RCD bit of one indicates that the controller shall transfer all requested data by accessing the media without using pre-fetched data.
OEM MANUAL:K6602771 If this number of blocks is greater than the Maximum Pre-fetch Ceiling, then the number of logical blocks maximally pre-fetched shall be truncated to the value stored in the Maximum Pre-fetch Ceiling field. A FSW(Force Sequential Write) bit of one indicates that the controller writes the multiple block writes to the media in an ascending, sequential, logical block order.
Page 183
OEM MANUAL:K6602771 Table 6-46 Control Mode Page (Page Code = AH) (cont’d) Queue Algorithm Modifier Reserved QErr DQue EECA Reserved RAENP UAAENP EAENP Reserved Ready AEN Holdoff Period (MSB) Ready AEN Holdoff Period (LSB) Busy Timeout Period(MSB) Busy Timeout Period(LSB) Extended Self-Test Completion Time(MSB) Extended Self-Test Completion Time(LSB) The GLTSD (Global Logging Target Save Disable) bit of zero allows the controller...
Page 184
OEM MANUAL:K6602771 This means that, if the transmission of new service delivery requests is halted at any time, the final value of all data observable on the medium shall have exactly the same value as it would have if all the tasks had been given the ORDERED task attribute.
OEM MANUAL:K6602771 The controller does not report an UNIT ATTENTION condition by AEN after power-on or reset sequence. The EAENP (Error AEN Permission) bit of 0 indicates that the controller shall not report it by AEN when a deferred error is detected. The EAENP bit of 1 indicates that such a report is permissible.
Page 186
OEM MANUAL:K6602771 Table 6-47 Notch and Partition Page (Page Code = CH) (cont’d) Reserved Maximum Number of Notches (MSB) Maximum Number of Notches (LSB) Active Notch (MSB) Active Notch (LSB) Starting Boundary (MSB) Starting Boundary (LSB) Ending Boundary (MSB) Ending Boundary (LSB) Pages Notched (MSB) Pages Notched (LSB) This page specifies the parameters for direct-access devices supporting a variable...
Page 187
OEM MANUAL:K6602771 When the LPN bit is set to 0, the boundaries indicate physical parameter. When the LPN bit is set to 1, the boundaries indicate logical block address. Since the controller supports only the Cylinder & Head number format, LPN bit should be set to 0 The Maximum Number of Notched field indicates the number of notches supported by the drive.
Page 188
OEM MANUAL:K6602771 Table 6-48 XOR Control Page (Page Code = 10H) (cont’d) Maximum XOR Write Size (MSB) Maximum XOR Write Size (LSB) Reserved Reserved Maximum Regenerate Size (MSB) Maximum Regenerate Size (LSB) Maximum Rebuild Read Size (MSB) Maximum Rebuild Read Size (LSB) Reserved Reserved Rebuild Delay (MSB)
OEM MANUAL:K6602771 The Maximum Rebuild Read Size is used to control the maximum number of amount transferred with REBUILD(81h) commands.The value of the Maximum Rebuild Read Size indicates the amount of logical blocks to be transferred. But this field is ignored because this controller not support the REBUILD(81h) command. The Rebuild Delay is used to control the minimum operation time (ms) between successive Read commands during REBUILD(81h) operation.
OEM MANUAL:K6602771 [ Mode Page 19 Table 6-50 Fibre Channel Specification Page (Page Code = 19 Byte Reserved Page Code(19 Page Length Reserved DTFD PLPB DDIS ALWLI DTIPE DTOLI Reserved Reserved Reserved Reserved The DTFD (Disable Target Fabric Discovery) bit is used to force targets to only support private loop behavior even if there is a fabric present on the loop.
Page 191
OEM MANUAL:K6602771 The DLM (Disable Loop Master) bit is used to control whether or not the controller may became loop master (i.e., transmit LISM). The DLM bit of 0 indicate that the controller may became loop master. The DLM bit of 1 indicate that the controller does not became loop master.
OEM MANUAL:K6602771 [ Mode Page 1A Table 6-51 Power Condition Control Page (Page Code = 1A Byte Reserved Page Code(1A Page Length Reserved Reserved Idle Standby (MSB) Idle Condition Timer (LSB) (MSB) Standby Condition Timer (LSB) An Idle bit of one indicates that the logical unit shall use the idle condition timer field to determine the length of inactivity time to wait before entering the idle condition.
Page 193
OEM MANUAL:K6602771 The standby condition timer field indicates the inactivity time in 100 millisecond increments that the logical unit shall wait before entering the standby condition. This timer shall only count if the idle condition timer is equal to zero. Since the controller does not support standby condition timer field, this field ignore.
Page 194
OEM MANUAL:K6602771 Table 6-52 Informational Exceptions Control Page (Page Code = 1CH)(cont’d) Report Count (MSB) Report Count Report Count Report Count (LSB) The informational exceptions control page defines the methods to control the reporting of specific informational exception conditions in the controller. The informational exception conditions occur as the result of exceeding the threshold of informational exceptions in the controller.
OEM MANUAL:K6602771 A DExcpt bit of 1 indicates that the informational exception operations are disabled. A Test bit of 1 indicates that the controller reports the results of informational exception test at each interval time ( if the DExcpt bit = 0). The conditions are reported with an additional sense code and an additional sense code qualifier of 5D A Test bit of 0 indicates that the controller does not report the results of...
Page 196
OEM MANUAL:K6602771 Table 6-53 Method of Reporting Informational Exceptions field (cont’d) Unconditionally generate recovered error : The controller reports informational exceptions conditions by returning CHECK CONDITION status on the commands other than(Reassign Blocks, Request Sense, Inquiry, Start/Stop Unit, Mode Select)in regardless of the value of the PER (Post Error) bit in mode parameter (Error recovery parameters).
OEM MANUAL:K6602771 MODE SELECT (10):(55 Byte Operation Code (55 Logical Unit Number Reserved Reserved Reserved Reserved Reserved Reserved Parameter List Length (MSB) Parameter List Length (LSB) Vendor Unique Reserved Flag Link The MODE SELECT (10) command is the same as the MODE SELECT command except that the MODE SELECT (10) command has 2-byte length of Parameter List Length and 8-byte length of MODE SELECT Header as follows.
OEM MANUAL:K6602771 MODE SENSE:(1A Byte Operation Code (1A Logical Unit Number Reserved Page Code Sub Page Code Allocation Length Vendor Unique Reserved Flag Link The MODE SENSE command provides a means for the controller to report its medium, logical unit, or controller parameters to the host computer. It is a complementary command to the MODE SELECT command (See 6.5).
Page 200
OEM MANUAL:K6602771 [ Changeable values ] - Fields and bits that are changeable by the host computer are set to 1 and fields and bits that are not changeable by the host computer are set to 0. [ Default values ] - Values that are provided for the controller or drive prior to any Mode Parameter changes.
OEM MANUAL:K6602771 This condition must not be considered as an error. Any other allocation length value specifies the maximum number of bytes that can be transferred. The controller terminates the FCP_DATA Payload when the number of bytes specified in the Allocation Length field have been transferred or when all available Mode Sense data have been transferred to the host computer, whichever is less.
OEM MANUAL:K6602771 Table 6-55 Mode Sense Data (cont’d) Page Descriptor (s) Page Code Page Length (in bytes) 2 - n Refer to Page Definition in MODE SELECT The Sense Data Length field specifies the length in bytes of the following Mode Sense data that is available to be transferred during the Data In phase.
Page 203
OEM MANUAL:K6602771 The Block Descriptor Length field specifies the length in bytes of the block descriptor. Since there is only one block descriptor, this field must always be set to 08 The block descriptor contains the number of blocks and the block length and indicates the accessible area from the host for a logical unit.
OEM MANUAL:K6602771 [ Mode Page 3 Table 6-59 Mode Page 3 Descriptor Value Format Device Page (Page 03 Byte Meaning Default Changeable Current/Saved Values Values Values Reserved Page Code Page Length Tracks per Zone Alternate Sectors per Zone Alternate Tracks per Zone Alternate Tracks per Volume...
OEM MANUAL:K6602771 [ Mode Page C Table 6-64 Mode Page C Descriptor Value Notch and Partition Page (Page 0C Byte Meaning Default Changeable Current/Saved Values Values Values Reserved Page Code Page Length Reserved Reserved Maximum Number of Notches Active Notch Starting Boundary Ending...
OEM MANUAL:K6602771 MODE SENSE (10):(5A Byte Operation Code (5A Logical Unit Number Reserved Page Code Sub Page Code Reserved Reserved Reserved Allocation Length (MSB) Allocation Length (LSB) Vendor Unique Reserved Flag Link The MODE SENSE (10) command is the same as the MODE SENSE command except that the MODE SENSE (10) command has 2-byte length of Allocation Length and 8-byte length of MODE SENSE Header as follows.
OEM MANUAL:K6602771 PERSISTENT RESERVE IN:(5Eh) Byte Operation Code(5E Logical Unit Number Service Action Reserved Reserved Reserved Reserved Reserved Allocation Length (MSB) Allocation Length (LSB) Vendor Unique Reserved Flag Link The PERSISTENT RESERVE IN command is used to obtain information about persistent reservations and reservation keys that are active within the controller.
OEM MANUAL:K6602771 Table 6-71 PERSISTENT RESERVE IN Service Action Code Code Name Description READ KEYS Reads all registered Reservation Keys READ RESERVATION Reads the current persistent reservations Reserved Reserved When Service Action Code reserved by Service Action is specified, a controller sets INVALID FIELD IN CDB to a sense key at ILLEGAL REQUEST and a additional sense key, and makes it CHECK CONDITION status.
OEM MANUAL:K6602771 The GENERATION field shall contain a 32-bit counter maintained by the device server that shall be incremented every 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. The counter shall not be incremented by a PERSISTENT RESERVE IN command, by a PERSISTENT RESERVE OUT command that performs a RESERVE or RELEASE service action, or by a PERSISTENT RESERVE OUT command that is terminated due to an error or...
OEM MANUAL:K6602771 Table 6-73 READ RESERVATION Parameter Data (cont’d) Reservation Descriptors (MSB) • Reservation Descriptor • (LSB) The GENERATION field shall contain a 32-bit counter maintained by the device server that shall be incremented every 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.
Page 223
OEM MANUAL:K6602771 Table 6-74 PERSISTENT RESERVE IN reservation descriptor (cont’d) (MSB) • Scope-Specific Address • (LSB) Reserved Scope Type Reserved Reserved If a persistent reservation is present in the logical unit that does not contain elements, there shall be a single reservation descriptor in the list of parameter data returned by the device server in response to the PERSISTENT RESERVE IN command with a READ RESERVATION service action.
OEM MANUAL:K6602771 The value in the scope field shall indicate whether a persistent reservation applies to an entire logical unit or to an element. The values in the scope field are defined in Table 6-75. Table 6-75 Persistent reservation scope codes Code Name Description...
OEM MANUAL:K6602771 Table 6-76 Persistent Reservation Type Code Code Name Description Reserved Reserved WRITE Reads Shared: Any application client on any initiator may EXCLUSIVE initiate tasks that request transfers from the storage medium or cache of the logical unit to the initiator. Writes Exclusive: Any task from any initiator other than the initiator holding the persistent reservation that requests a transfer from the initiator to the storage...
OEM MANUAL:K6602771 6.10 PERSISTENT RESERVE OUT:(5Fh) Byte Operation Code(5F Logical Unit Number Service Action Scope Type Reserved Reserved Reserved Reserved Parameter List Length(MSB) Parameter List Length(LSB) Vendor Unique Reserved Flag Link The PERSISTENT RESERVE OUT command is used to request service actions that reserve a logical unit or element for the exclusive or shared use of the host computer initiator.
OEM MANUAL:K6602771 This controller can register one Reservation Key per host. That is, Reservation Key of a maximum of 32 can be registered by the whole the controller. The PERSISTENT RESERVE OUT command contains fields that specify a persistent reservation service action, the intended scope of the persistent reservation, and the restrictions caused by the persistent reservation.
OEM MANUAL:K6602771 Table 6-77 PERSISTENT RESERVE OUT Service Action Code (cont’d) PREEMPT Preempts persistent reservations from another initiator and aborts all tasks for all ABORT initiators registered with specified reservation key. REGISTER Register a reservation key with the controller. Yes IGNORE EXISTING –...
Page 229
OEM MANUAL:K6602771 The reservation key field contains an 8-byte value provided by the host computer to the controller to identify the initiator that is the source of the PERSISTENT RESERVE OUT command. The device server shall verify that the contents of the reservation key field in a PERSISTENT RESERVE OUT command parameter data matches the registered reservation key for the initiator from which the task was received, except for:...
OEM MANUAL:K6602771 If the last valid APTPL bit value received by the controller is zero, the loss of power in the target shall release the persistent reservation for all logical units and remove all reservation keys. If the last valid APTPL bit value received by the controller is one, the logical unit shall retain any persistent reservation(s) that may be present and all reservation keys for all initiators even if power is lost and later returned.
OEM MANUAL:K6602771 6.11 READ:(08 Byte Operation Code (08 Logical Unit Number Logical Block Address (MSB) Logical Block Address Logical Block Address (LSB) Transfer Length Vendor Unique Reserved Flag Link The READ command transfers to the host computer the number of consecutive data blocks from the medium specified in the transfer length field starting at the block address specified in the logical block address field.
OEM MANUAL:K6602771 6.12 READ (EXTENDED):(28 Byte Operation Code (28 Logical Unit Number Reserved RelAdr Logical Block Address (MSB) Logical Block Address Logical Block Address Logical Block Address (LSB) Reserved Transfer Length (MSB) Transfer Length (LSB) Vendor Unique Reserved Flag Link The READ command requests the controller to transfer the number of consecutive blocks specified in the Transfer Length field to the host computer starting at the block address specified in the Logical Block Address field.
Page 233
OEM MANUAL:K6602771 A Transfer Length of 0 specifies that no logical block is to be transferred. The controller in this case only seeks to the track containing the block specified in the Logical Block Address. The controller terminates the command with a Check Condition status and with the “Illegal Request”...
OEM MANUAL:K6602771 6.13 READ BUFFER:(3C Byte Operation Code (3C Logical Unit Number Reserved Mode Buffer ID Buffer Offset (MSB) Buffer Offset Buffer Offset (LSB) Allocation Length (MSB) Allocation Length Allocation Length (LSB) Vendor Unique Reserved Flag Link The READ BUFFER command transfers the data from the controller’s data buffer memory to the host computer.
Page 235
OEM MANUAL:K6602771 Table 6-80 Read Buffer Mode (cont’d) Reserved Reserved Reserved Reserved Reserved Reserved Echo Buffer Echo Buffer Descriptor Reserved Reserved The controller does not use the Buffer ID field (ignored). The Buffer Offset specifies the leading buffer address to begin the data transfer. The Allocation Length specifies the maximum number of bytes which the host computer allocated to the data to be transferred during the DATA IN phase.
OEM MANUAL:K6602771 (3) Data In this mode, a header is not transferred but the data is transferred starting from the address as specified in the Buffer Offset field. (4) Descriptor In this mode, the 4-byte Read Buffer Descriptor (see Table 6-82) is Transferred. The Buffer Offset must be specified to 0 and the Allocation Length must be specified to 4 or more.
OEM MANUAL:K6602771 Table 6-82 Read Buffer Descriptor Byte Read Buffer Descriptor Offset Boundary Buffer Capacity (MSB) Buffer Capacity Buffer Capacity (LSB) The Offset Boundary is set to 02 and indicates that the four-byte boundaries assignment is possible as a Buffer Offset. The Buffer Capacity indicates the maximum buffer size.
OEM MANUAL:K6602771 6.14 READ CAPACITY:(25 Byte Operation Code (25 Logical Unit Number Reserved RelAdr Logical Block Address (MSB) Logical Block Address Logical Block Address Logical Block Address (LSB) Reserved Reserved Vendor Unique Reserved Vendor Unique Reserved Flag Link The READ CAPACITY command requests the controller to transfer the data concerning the logical unit capacity to the host computer.
OEM MANUAL:K6602771 6.15 READ DEFECT DATA:(37 Byte Operation Code (37 Logical Unit Number Reserved Reserved Defect List Format Reserved Reserved Reserved Reserved Allocation Length (MSB) Allocation Length (LSB) Vendor Unique Reserved Flag Link The READ DEFECT DATA command requests the controller to transfer the defect data of the medium to the host computer.
OEM MANUAL:K6602771 The P (Primary) bit set to 1 specifies that the controller is to return the primary list of defects. The P bit of 0 specifies that the controller must not return the primary list of defects. The G (Grown) bit set to 1 specifies that the controller is to return the grown list of defects.
Page 242
OEM MANUAL:K6602771 The Defect List Length field indicates a value that is four times larger than the number of defect descriptors for the block format and eight times larger than the number of defect descriptors for the byte format from index or the physical sector format, irrespective of the value of the Allocation Length value.
OEM MANUAL:K6602771 6.16 READ DEFECT DATA(12) :(B7 Byte Operation Code (B7 Reserved Defect List Format Reserved Reserved Reserved Reserved Allocation Length (MSB) Allocation Length Allocation Length Allocation Length (LSB) Reserved Vendor Unique Reserved Flag Link The READ DEFECT DATA(12) command is the same as the READ DEFECT DATA command except that the READ DEFECT DATA(12) command has 4-byte length of Allocation Length and 8-byte length of Read Defect Header as follows.
OEM MANUAL:K6602771 6.17 READ LONG:(3E Byte Operation Code (3E Logical Unit Number Reserved CORRCT RelAdr Logical Block Address (MSB) Logical Block Address Logical Block Address Logical Block Address (LSB) Reserved Byte Transfer Length (MSB) Byte Transfer Length (LSB) Vendor Unique Reserved Flag Link...
Page 246
OEM MANUAL:K6602771 If the incorrect value is specified in Byte Transfer Length, the controller returns CHECK CONDITION status with ILLEGAL REQUEST sense key. The ILI and Valid bits are set to 1, and the difference of the requested length minus the actual length in bytes is set to Information Byte.
OEM MANUAL:K6602771 6.18 REASSIGN BLOCKS:(07 Byte Operation Code (07 Logical Unit Number Reserved Reserved Reserved Reserved Vendor Unique Reserved Flag Link The REASSIGN BLOCKS command reassigns the defective logical blocks using alternate spare sectors. The host computer transfers a defect list containing the logical block addresses to be reassigned.
OEM MANUAL:K6602771 Table 6-88 Reassign Blocks Defect List Byte Defect List Header Reserved Reserved Defect List Length (MSB) Defect List Length (LSB) Byte Defect Descriptor (s) Defect Logical Block Address (MSB) Defect Logical Block Address Defect Logical Block Address Defect Logical Block Address (LSB) The defect list length specifies the total length in bytes of the subsequent defect descriptors.
Page 249
OEM MANUAL:K6602771 The defects specified in the REASSIGN BLOCKS command are added to the G list (Grown Defect List) at the normal end of this command. Precautions on the host computer side; When the information bytes of the sense data are reported as valid (Valid bit = 1), the host computer should issue another Reassign Blocks command with the reported block address added to the defect descriptors.
OEM MANUAL:K6602771 6.19 RECEIVE DIAGNOSTIC RESULTS:(1C Byte Operation Code (1C Logical Unit Number Reserved Page Code Allocation Length Allocation Length Vendor Unique Reserved Flag Link The RECEIVE DIAGNOSTIC RESULTS command requests the controller to return the results of the SEND DIAGNOSTIC command (see 6.29) to the host computer whose SelfTest bit is set to 0.
OEM MANUAL:K6602771 6.20 RELEASE:(17 Byte Operation Code (17 Logical Unit Number 3rdPty Third Party Device ID Extent Reservation Identification Reserved Reserved Vendor Unique Reserved Flag Link The RELEASE command releases a logical unit that is previously reserved by a host computer.
OEM MANUAL:K6602771 6.21 RELEASE(10):(57 Byte Operation Code (57 Logical Unit Number 3rdPty Reserved Extent Reservation Identification Third Party Device ID Reserved Reserved Reserved Parameter List Length(MSB) Parameter List Length(LSB) Vendor Unique Reserved Flag Link The RELEASE(10) command is the same as the RELEASE command (see 6.20) expect that the RELEASE(10) command has 1-byte length of Third Party Device ID.
OEM MANUAL:K6602771 6.22 REPORT LUNS:(A0h) Byte Operation Code(A0 Logical Unit Number Reserved Reserved Reserved Reserved Reserved Allocation Length(MSB) Allocation Length Allocation Length Allocation Length(LSB) Reserved Vendor Unique Reserved Flag Link The REPORT LUNS command reports the logical unit number which the controller is supporting by REPORT LUNS parameter list(see ).
OEM MANUAL:K6602771 Table 6-89 REPORT LUNS Parameter List Format Byte (MSB) • LUN List Length(N-7) • (LSB) • Reserved • LUN List (MSB) • First LUN • (LSB) • • • • • • (MSB) • Last LUN • (LSB) The controller supports only the logical unit number 0, first LUN in LUN list 0000000000000000 are reported.
OEM MANUAL:K6602771 6.23 REQUEST SENSE:(03 Byte Operation Code (03 Logical Unit Number Reserved Reserved Reserved Allocation Length Vendor Unique Reserved Flag Link The REQUEST SENSE command returns the sense data of the unit describing the CHECK CONDITION status indicated to the host computer. The sense data is held pending in the controller so that it may be transferred to the host computer.
Page 256
OEM MANUAL:K6602771 6.24 RESERVE:(16 Byte Operation Code (16 Logical Unit Number 3rdPty Third Party Device ID Extent Reservation Identification Extent List Length (MSB) Extent List Length (LSB) Vendor Unique Reserved Flag Link The RESERVE command reserves a logical unit for the host computer issuing this command.
Page 257
OEM MANUAL:K6602771 The host computer can reserve any logical unit that has been reserved by the same host computer. Once a reservation is established, if another host computer issues a command other than the INQUIRY, REQUEST SENSE or RELEASE command to the reserved logical unit, that command is rejected with the RESERVATION CONFLICT status set.
OEM MANUAL:K6602771 6.25 RESERVE(10):(56 Byte Operation Code (56 Logical Unit Number 3rdPty Reserved Extent Reservation Identification Third Party Device ID Reserved Reserved Reserved Extent List Length (MSB) Extent List Length (LSB) Vendor Unique Reserved Flag Link The RESERVE(10) command is the same as the RESERVE command expect that the RESERVE(10) command has 1-byte length of Third Party Device ID.
OEM MANUAL:K6602771 6.26 REZERO UNIT:(01 Byte Operation Code (01 Logical Unit Number Reserved Reserved Reserved Reserved Vendor Unique Reserved Flag Link The REZERO UNIT command is used to recover from errors such as seek errors occurring in the selected disk drive. This error recovery command positions the read/write head in the home position (physical cylinder 0, head 0).
OEM MANUAL:K6602771 6.27 SEEK:(0B Byte Operation Code (0B Logical Unit Number Logical Block Address (MSB) Logical Block Address Logical Block Address (LSB) Reserved Vendor Unique Reserved Flag Link The SEEK command positions the read/write head on the track containing the block that is specified in the logical block address field.
OEM MANUAL:K6602771 6.28 SEEK (EXTENDED):(2B Byte Operation Code (2B Logical Unit Number Reserved Logical Block Address (MSB) Logical Block Address Logical Block Address Logical Block Address (LSB) Reserved Reserved Reserved Vendor Unique Reserved Flag Link The Seek command positions the read / write head on the track containing the block that is specified in the Logical Block Address field.
OEM MANUAL:K6602771 6.29 SEND DIAGNOSTIC:(1D Byte Operation Code (1D Self-Test Code SelfTest DevOfL UnitOf Reserved Parameter List Length (MSB) Parameter List Length (LSB) Vendor Unique Reserved Flag Link The SEND DIAGNOSTIC command requests the controller to perform diagnostics on the controller and the selected logical unit. When the SelfTest bit is one the Self-Test Code field shall contain (000)b.
Page 263
OEM MANUAL:K6602771 Table 6-90 Self-Test Code Field Values (cont’d) (100)b Abort The device server shall abort the current self-test backgroun running in background mode. The Parameter List d self-test Length field shall contain zero. This value is only valid if a previous SEND DIAGNOSTIC command specified a background self-test function and that self-test has not completed.
Page 264
OEM MANUAL:K6602771 When the UnitOfL (Logical Unit Offline) bit is set to 1, the controller performs diagnostics that enables write operations on user medium or operation that affect user visible medium positioning. When the UnitOfL bit is set to 0, the diagnostics that enables write operations on user medium or operations that affect user visible medium positioning are inhibited.
OEM MANUAL:K6602771 Table 6-91 Diagnostic Page Format Byte Page Code Reserved Page Length (MSB) Page Length (LSB) Diagnostic Parameters The Page Code specifies either specification (in case of Send Diagnostic command) report (in case of Receive Diagnostic Results command). The controller supports the following pages.
OEM MANUAL:K6602771 Table 6-92 Supported Diagnostic Page (Code = 00 Byte Page Code Reserved Page Length (MSB) Page Length (LSB) Supported Page List For the Send Diagnostic command, the Page Length must be specified to 0. If any value other than 0 is specified, the controller returns the Check Condition status with the Illegal Request Sense Key.
OEM MANUAL:K6602771 Enclosure Configuration page Enclosure Configuration page is used for the report of Enclosure Elements Table 6-93 Enclosure Configuration page Byte Page Code = 01h Number of Sub-Enclosures 2 –3 Page Length 4 – 7 Generation Code Reserved = 00h Sub-Enclosures Identifier Number of Element Types Supported (t) Enclosure Descriptor Length (m)
OEM MANUAL:K6602771 Table 6-95 Enclosure Status page Byte Page Code = 02h Reserved INVOP INFO NON-CRIT CRIT UNRECOV 2 -3 Page Length 4 - 7 Generation Code 8 - 11 Overall Status (First Element Type) 12 - 15 Element Status (First Element of First Element Type) (4 bytes) Element Status (Last Element of First Element Type) (4 bytes)
OEM MANUAL:K6602771 Table 6-98 Enclosure String In page Byte Page Code = 04h Number of Sub-Enclosures 2 –3 Page Length 4 – n Vendor Specific Enclosure Threshold Out/In page Enclosure String Out/In page is used in order to set the Threshold control information or in order to get actually effective threshold information.
OEM MANUAL:K6602771 Enclosure Array Control/Status page Enclosure Control/Status page is used in order to set the Control information each Elements or in order to get the Status information each Elements. Table 6-100 Enclosure Array Control page Byte Page Code = 06h Reserved INFO NON-CRIT...
OEM MANUAL:K6602771 Enclosure Element Descriptor page Enclosure Element Description page is used in order to report the description (information) peculiar to a vender to each Elements. Table 6-102 Enclosure Element Description page Byte Page Code = 07h Reserved = 00h 2 –3 Page Length 4 –...
OEM MANUAL:K6602771 Table 6-104 Translate Address Page (Code = 40 (in case of Send Diagnostic command) Byte Page Code Reserved Page Length (MSB) Page Length (LSB) Reserved Supplied Format Reserved Translate Format Address to Translate The Page Length must be set to 000A .
OEM MANUAL:K6602771 When the Supplied Format is the Logical Block Address, the byte 6 to 9 of Address to Translate field specifies a logical block address in Block Format (see Table 6-3 in Format Unit command). The byte 10 to 13 of the field must be set to 00000000 When the Supplied Format is the Physical Sector Address, the byte 6 to 13 of Address to Transfer field specifies a physical block address in Physical sector...
OEM MANUAL:K6602771 The Page Length indicates the number of bytes that follow the Page Length field. The Supplied Format indicates the code sent by the Send Diagnostic command. The RAREA (Reserved Area) bit of 1 indicates that a part or the whole of address-translated block locates in the reserved area of medium (the area inaccessible by the host using logical block address).
OEM MANUAL:K6602771 The results of the diagnostics specified in the vender unique diagnostic parameters are reported to the host computer by the RECEIVE DIAGNOSTIC RESULTS command. The SEND DIAGNOSTIC command terminates with the GOOD status whether the result of diagnostics is successful or not (normal or abnormal termination).
OEM MANUAL:K6602771 6.30 START / STOP UNIT:(1B Byte Operation Code (1B Logical Unit Number Reserved Immed Reserved Reserved Reserved Start Vendor Unique Reserved Flag Link The START/STOP command specifies whether the logical unit is to be made ready or not ready for the subsequent operations. When the Immed (Immediate) bit is set to 1, the controller returns the status immediately after starting an operation (Spin Up / Down).
OEM MANUAL:K6602771 6.31 SYNCHRONIZED CACHE:(35 Byte Operation Code (35 Logical Unit Number Reserved Immed RelAdr Logical Block Address (MSB) Logical Block Address Logical Block Address Logical Block Address (LSB) Reserved Transfer Length (MSB) Transfer Length (LSB) Vendor Unique Reserved Flag Link The SYNCHRONIZED CACHE command requests the controller to write the unwritten data in the cache memory, within the range specified in the Transfer...
OEM MANUAL:K6602771 6.32 TEST UNIT READY:(00 Byte Operation Code (00 Logical Unit Number Reserved Reserved Reserved Reserved Vendor Unique Reserved Flag Link The TEST UNIT READY command checks whether the selected drive is ready or not. The controller responds to this command with a GOOD status when the selected drive has been powered on and in the ready state (ready to write to and read from its disk storage).
OEM MANUAL:K6602771 6.33 VERIFY:(2F Byte Operation Code (2F Logical Unit Number Reserved BytChk RelAdr Logical Block Address (MSB) Logical Block Address Logical Block Address Logical Block Address (LSB) Reserved Verification Length (MSB) Verification Length (LSB) Vendor Unique Reserved Flag Link The VERIFY command verifies the data in the number of consecutive data blocks specified in the Transfer Length field, starting at the block address specified in the Logical Block Address field.
Page 280
OEM MANUAL:K6602771 The controller terminates the command with a CHECK CONDITION status and with the “ILLEGAL REQUEST” sense key if an invalid logical block address is specified (see Note). For other errors, the controller terminates the command with the CHECK CONDITION status and the appropriate sense key. Note : The information byte field of the sense data is loaded with the last logical block address.
OEM MANUAL:K6602771 6.34 WRITE:(0A Byte Operation Code (0A Logical Unit Number Logical Block Address (MSB) Logical Block Address Logical Block Address (LSB) Transfer Length Vendor Unique Reserved Flag Link The WRITE command writes the number of consecutive data blocks from the host computer specified in the transfer length field to the medium starting at the block address specified in the logical block address field.
OEM MANUAL:K6602771 6.35 WRITE (EXTENDED):(2A Byte Operation Code (2A Logical Unit Number Reserved RelAdr Logical Block Address (MSB) Logical Block Address Logical Block Address Logical Block Address (LSB) Reserved Transfer Length (MSB) Transfer Length (LSB) Vendor Unique Reserved Flag Link The WRITE command writes the number of consecutive data blocks from the host computer specified in the Transfer Length field to the medium starting at the block address specified in the Logical Block Address field.
Page 283
OEM MANUAL:K6602771 The controller terminates the command with a CHECK CONDITION status and with the “ILLEGAL REQUEST” sense key if an invalid logical block address is specified (see Note ). For other errors, the controller terminates the command with the CHECK CONDITION status and the appropriate sense key.
OEM MANUAL:K6602771 6.36 WRITE AND VERIFY:(2E Byte Operation Code (2E Logical Unit Number Reserved BytChk RelAdr Logical Block Address (MSB) Logical Block Address Logical Block Address Logical Block Address (LSB) Reserved Transfer Length (MSB) Transfer Length (LSB) Vendor Unique Reserved Flag Link The WRITE AND VERIFY command writes the number of consecutive data blocks...
Page 285
OEM MANUAL:K6602771 A Transfer Length of 0 specifies that no logical block is to be transferred. The controller in this case only seeks to the track containing the block specified in the Logical Block Address. The controller terminates the command with a CHECK CONDITION status and with the “ILLEGAL REQUEST”...
OEM MANUAL:K6602771 6.37 WRITE BUFFER:(3B Byte Operation Code (3B Logical Unit Number Reserve Mode Buffer ID Buffer Offset (MSB) Buffer Offset Buffer Offset (LSB) Parameter List Length (MSB) Parameter List Length Parameter List Length (LSB) Vendor Unique Reserved Flag Link The WRITE BUFFER command writes the data from the host computer into the data buffer memory in the controller.
OEM MANUAL:K6602771 Table 6-109 Write Buffer Mode Mode Meaning Bit 3 Bit 2 Bit 1 Bit 0 Write Combined Header and Data Write Combined Header and Data (Buffer Offset) Write Data Reserved Device Unique mode Download Microcode and Save Reserved Download Microcode with offsets and save Reserved Reserved...
OEM MANUAL:K6602771 (3) Write Data In this mode, a header is not transferred but the data is transferred into the buffer starting at the address as specified in the Buffer Offset field. (4) Device Unique mode In this mode, device unique motion will be executed. (5) Download Microcode and Save In this mode, the transferred data (Microcode) is written into the system area in the disk medium.
OEM MANUAL:K6602771 6.38 WRITE LONG:(3F Byte Operation Code (3F Logical Unit Number Reserved RelAdr Logical Block Address (MSB) Logical Block Address Logical Block Address Logical Block Address (LSB) Reserved Byte Transfer Length (MSB) Byte Transfer Length (LSB) Vendor Unique Reserved Flag Link The user data and CRC/ECC bytes transferred from the host computer are written in...
OEM MANUAL:K6602771 6.40 XDREAD:(52 Byte Operation Code(52 Logical Unit Number Reserved Logical Block Address (MSB) Logical Block Address Logical Block Address Logical Block Address (LSB) Reserved Transfer Length (MSB) Transfer Length (LSB) Vendor Unique Reserved Flag Link The XDREAD command requests that the target transfer to the initiator the XOR data generated by an XDWRITE command.
OEM MANUAL:K6602771 6.41 XDWRITE:(50 Byte Operation Code(50 Logical Unit Number Reserved Logical Block Address (MSB) Logical Block Address Logical Block Address Logical Block Address (LSB) Reserved Transfer Length (MSB) Transfer Length (LSB) Vendor Unique Reserved Flag Link The XDWRITE command requests that the target XOR the data transferred with the data on the medium.
Page 293
OEM MANUAL:K6602771 The Number of Blocks specifies the number of consecutive logical blocks to be written. The Number of Blocks of 0 specifies to continue writing till the last available logical block. XDWRITE:(50h) 6 COMMAND DESCRIPTIONS Revision: 2 / Date: 2002.12.19 Page: 293 / 313...
OEM MANUAL:K6602771 6.42 XPWRITE:(51 Byte Operation Code(51 Logical Unit Number Reserved Logical Block Address (MSB) Logical Block Address Logical Block Address Logical Block Address (LSB) Reserved Transfer Length (MSB) Transfer Length (LSB) Vendor Unique Reserved Flag Link The XPWRITE command requests that the target XOR the data transferred with the data on the medium and then write the XOR data to the medium.
OEM MANUAL:K6602771 SENSE DATA The sense data is transferred to the host computer through the REQUEST SENSE command (Refer to 6.23). SENSE DATA FORMAT This SCSI controller supports only the extended sense data format. The extended sense data format is shown in Table 7-1. The Error Code 70 (Current Error) or Error Code 71 (Deferred Error) are supported...
Page 296
OEM MANUAL:K6602771 Table 7-1 Extended Sense Data Format(cont’d) SKSV Sense-Key Specific Sense-Key Specific Additional Sense Bytes A Valid bit of 1 indicates that the information bytes have been established. A Valid bit of 0 indicates that no information bytes are established. The Segment Number field is not used and always indicates 00 The Filemark bit is not used and always set to 0.
OEM MANUAL:K6602771 The FRU (Field Replaceable Unit Code) code is not used and always set to 00 When the SKSV (Sense-Key Specific Valid) bit is set to 0, it indicates that the Sense- Key Specific-field is undetermined. When the SKSV bit is set to 1, the contents of the Sense-Key Specific field is validated and varies the definition depending on the sense key.
Page 298
OEM MANUAL:K6602771 Table 7-2 Sense Keys (cont’d) HARDWARE ERROR : Indicates that the controller has detected an unrecoverable hardware error(e.g., controller failure, device failure, parity error, etc.) during the execution of a command or self-test. ILLEGAL REQUEST : Indicates that illegal data has been found in the command descriptor block or an additional parameter which is specified as data for some commands (e.g., FORMAT UNIT, MODE SELECT, etc.).
OEM MANUAL:K6602771 The valid combinations of the Sense Key, Additional Sense Code (ASC) and Additional Sense Code Qualifier (ASCQ are described in the following Table 7-3. Note that all Sense Key, ASC and ASCQ in Table 7-3 are hex values. Table 7-3 Additional Sense Codes &...
Page 300
OEM MANUAL:K6602771 04 09 Logical Unit Not Drive is not ready because Self-Test is in Ready, Self-test in progress. Progress 04 84 Logical Unit Not Drive is not ready because ETF is in Ready, ETF in progress. Progress 08 00 Logical Unit A logical unit interface error occurred.
Page 301
OEM MANUAL:K6602771 0C FF Write Command Write processing time exceeded Recovery Terminate with Time Limit, write processing was Recovery Time Out terminated.. 10 00 ID CRC or ECC A CRC error occurred in an ID field. Error 11 00 Unrecovered Read A read error occurred in a data field.
Page 302
OEM MANUAL:K6602771 14 91 Uncorrectable Data Data has been read after an ID recovery Error on IDRP procedure (IDRP), but this data has ECC Uncorrectable error. 14 93 Data AM Not Data read has been retried after an ID Found recovery procedure(IDRP), but a data AM on IDRP could not be detected in this data.
Page 303
OEM MANUAL:K6602771 17 07 Recovered Data The error has been recovered without ECC without ECC - correction. A reassignment is Recommend recommended. Reassignment 17 09 Recovered Data The error has been recovered without ECC without ECC- correction and data rewritten. Data Rewritten 17 86 Recovered Data...
Page 304
OEM MANUAL:K6602771 1B 00 Synchronous Data An error occurred in synchronous data Transfer Error transfer. 1 or 3 1C 00 Defect List Not Defect list could not be detected. Found 1 or 3 1C 01 Primary Defect List An access to the Primary (P) list has failed. Not Found 1 or 3 1C 02...
Page 305
OEM MANUAL:K6602771 29 04 Device Internal A device internal reset occurred. Reset 2A 00 Parameters The Mode/Log parameters were altered. Changed E. g., Mode Select command altered parameters. E.g., Mode/Log parameters were reset by a Not Ready to Ready transition of the drive. 2 or 6 2A 01 Mode Parameters...
Page 306
OEM MANUAL:K6602771 35 02 Enclosure Services Enclosure was SFF-8067 compliant Unavailable enclosure, but time out has occurred. 35 03 Enclosure Transfer The time between the assertion of Failure – DSK_WR by the device and the assertion of –ENCL_ACK by the enclosure exceeded the device’s timeout.
Page 307
OEM MANUAL:K6602771 44 00 Internal Target A hardware or firmware error was detected Error in the controller during a command execution. 44 01 Cache Allocation Failed to execute a cache allocation Failure 44 80 Incomplete Cache Write data from cache to disk has not completed because of an error.
Page 308
OEM MANUAL:K6602771 44 A2 Reassign ID Verify ID verify error occurred in Reassign target Error track. 44 A5 Reassign Data Save Error occurred on data saving or recovery Error operation of Reassign. 44 A6 Reassign ID Write Failed to write ID of Reassign target sector. Error 44 B1 FC FIFO Overrun...
Page 309
OEM MANUAL:K6602771 44 D7 Ch0 Check Code LBA/CRC Check code error was detected in Error Ch0. 44 D8 Write After Read Write after read check error occurred. Check Error 44 DA DF Interrupt Status Error was detected in DF Interrupt Status Resister Error Resister.
Page 310
OEM MANUAL:K6602771 44 FA Module Sum Error SUM check error was detected in ROM in ROM Mode overwriting. 44 FE Error in S-RAM Unable to download micro program for S- Marks Download Unable error. 44 FF Detected Firmware A firmware error which should be reported Error with Check Condition Status was detected.
Page 311
OEM MANUAL:K6602771 5B 01 Threshold The Log condition has met threshold Condition Met condition. 5B 02 Log Counter at The Log counter have reached to the Maximum maximum value. 5B 03 Log List Codes The Log List codes were exhausted. Exhausted 0 or 1 5D 00...
OEM MANUAL:K6602771 Table 7-4 Field Pointer Byte SKSV Reserved Bit Pointer Field Pointer (MSB) Field Pointer (LSB) When the sense key is Illegal REQUEST and the SKSV bit is set to 1, the Sense-Key Specific field (Byte 15-17) defines the contents as shown in Table 7-4. If the C/D (Command / Data) bit is set to 1, it indicates that the CDB contains an invalid parameter.
OEM MANUAL:K6602771 Table 7-6 Progress Indication Byte SKSV Reserved Progress Indication (MSB) Progress Indication (LSB) When the sense key is NOT READY and the SKSV bit is set to 1, the Sense-Key Specific field (Byte 15-17) defines the contents as shown in Table 7-6. Progress Indication gives a general indication of the amount of progress made during format.