Read Defect Data (10) Command (37H) - Seagate SCSI Interface Product Manual

Table of Contents

Advertisement

SCSI Interface Product Manual, Rev. J
5.22

Read Defect Data (10) command (37h)

The Read Defect Data (10) command requests that the target transfer the medium defect data to the initiator. If
the drive is unable to access any medium defect data, it terminates the command with Check Condition status.
The sense key is set to either Medium Error (if a medium error occurred) or No Sense (if the list does not exist)
and the additional sense code is set to Defect List Not Found.
This command is implemented with the drive specific parameters listed in Table 127.
Table 127:
Read Defect Data (10) command (37h)
Bit
7
Byte
0
0
1
0
Logical Unit Number [1]
2
0
3
0
4
0
5
0
6
0
7
Allocation Length (MSB) [4]
8
Allocation Length (LSB) [4]
9
0
Notes.
[1]
The Logical Unit Number must be zero.
[2]
The drive interprets the P and G bits (bits 4 and 3 of byte 2 of the CDB) as follows:
Bit P
Bit G
0
0
Return Defect List header only. Target returns only the Defect List header.
0
1
Return the growth "G" list only. This list reflects the growth or "G" list as defined in Section
5.5.
1
0
Return the manufacturer's original ETF list only. This list reflects the manufacturer's origi-
nal ETF list. These defects may or may not have been reallocated, depending on the last
format command received (the last format may or may not have requested the P list flaws
be reallocated during the format function).
1
1
Return all lists. The returned list contains all of the requested drive's defect lists (i.e., P, G,
C, and D) regardless of whether these lists have been reallocated by the drive.
[3]
The Defect List Format field indicates the defect data format preferred by the initiator. The meaning is the
same as the Defect List Format field in the Format Unit command (indicated in Table 38).
The Defect List Format bits (bits 2, 1, 0 in the CDB) should be: 1 0 0, respectively, to signify a defect list in
the Bytes from Index format, or 1 0 1, respectively, to signify a defect list in the Physical Sector format. If
neither of these two, the drive responds with the defect list in the drives default format (physical sector)
and creates the check condition status with Recovered Error Sense Key (1h) and additional sense error
code (1C) at the end of the Read Defect Data transfer.
[4]
Allocation Length specifies the number of bytes the initiator has allocated for the returned defect data. An
Allocation Length of zero indicates that no Read Defect Data shall be transferred. Any other value indi-
cates the maximum number of bytes to be transferred. The drive shall terminate the Data In phase when
6
5
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
4
3
1
0
0
0
P
G
[2]
0
0
0
0
0
0
0
0
0
0
2
1
1
1
0
0
1
0
0 or 1
Defect List Format [3]
0
0
0
0
0
0
0
0
0
Flag [5]
Link [5]
169
0
1
0
0
0
0
0

Advertisement

Table of Contents
loading

Table of Contents