28 read defect data (10) command, Read defect data (10) command – Seagate Fibre Channel Interface User Manual

Page 291

Advertising
background image

Fibre Channel Interface Manual, Rev. D

277

12.28

Read Defect Data (10) command

The Read Defect Data 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 disc drive specific parameters listed in Table 182.

Field definitions (listed alphabetically)

Allocation Length
The number of bytes the initiator has allocated for the returned defect data. An Allocation Length of zero indicates that no
Read Defect Data is transferred. Any other value indicates the maximum number of bytes to be transferred. The disc drive
terminates the Data In phase when the Allocation Length bytes have been transferred or when all available defect data has
been transferred to the initiator, whichever is less.

CDB (Command Descriptor Block)
The disc drive interprets the P and G bits (bits 4 and 3 of byte 2 of the CDB) as follows:
Bit P Bit G Interpretation
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 grown or “G” list as defined in Section 12.5.

1

0

Return the manufacturer’s original ETF list only. This list reflects the manufacturer’s original 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) regard-
less of whether these lists have been reallocated by the drive.

Control
See Section 11.2.1.6.

Table 182: Read Defect Data command (37h)

Bit

Byte

7

6

5

4

3

2

1

0

0

0

0

1

1

0

1

1

1

1

0

0

0

0

0

0

0

0

Reserved

2

0

0

0

P

G

1

0

0 or

CDB

1

0

1

Defect List Format

3

0

0

0

0

0

0

0

0

4

0

0

0

0

0

0

0

0

5

0

0

0

0

0

0

0

0

6

0

0

0

0

0

0

0

0

7

Allocation Length (MSB)

8

Allocation Length (LSB)

9

Control

37h

Table

number

182

182

182

Advertising
This manual is related to the following products: