Read Defect Data (12) (B7H); Figure 133. Read Defect Data - IBM IC35L036UWDY10 - Ultrastar 36.7 GB Hard Drive Specifications

3.5 inch scsi hard disk drive
Table of Contents

Advertisement

8.20 READ DEFECT DATA (12) (B7h)

Byte
7
6
0
1
Reserved = 0
2
3
4
5
6
(MSB)
|
9
10
11
VU = 0

Figure 133. Read Defect Data (12)

The READ DEFECT DATA command requests that the drive transfer the medium defect data to the
initiator.
If the drive is unable to access any medium defect data it will return a CHECK CONDITION status with the
appropriate sense key. The sense key will be set to either MEDIUM ERROR (03h) if a medium error
occurred or to NO SENSE (00h) if the list does not exist and the additional sense code will be set to
DEFECT LIST ERROR (19h).
! P-list (Primary Defect List) bit set to one indicates that the drive returns the primary list of defects. A
P-list bit of zero indicates that the drive does not return the Primary Defect list of defects.
! G-List (Grown Defect List ) bit set to one indicates that the drive returns the grown defect list. A G-List
bit of zero indicates that the drive does not return the Grown Defect list of defects.
Note: With both bits set to one P-list and G-List the drive will return both the Primary and Grown defect
lists. With both bits set to zero the drive will return only a four-byte Defect List Header.
! Defect List format is used by the initiator to indicate the preferred format for the defect list.
The Defect List Format of '100 (Bytes from Index Format)' and '101 (Physical Sector Format)' are sup-
ported. If the requested format is not supported by the drive, it will return the defect list in its default
format '101' and then terminate the command with CHECK CONDITION status. The sense key will be set
to RECOVERED ERROR (01h) and the additional sense code will be set to DEFECT LIST NOT FOUND
(1Ch).
The drive will transfer all of the Read Defect Data up to the number of bytes allocated by the initiator.
Note: The drive will terminate the Data In phase when the Allocation Length has been transferred or when
all available Defect Data has been transferred to the initiator, whichever is less.
The Read Defect Data contains a four byte header, followed by zero or more defect descriptors.
Bit
5
4
3
Command Code = B7h
P-list
G-List
Defect List Format
Reserved = 0
Allocation Length
Reserved = 0
Reserved = 0
Ultrastar 146Z10 hard disk drive specifications
137
2
1
0
(LSB)
FLAG
LINK

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents