4.6 Packet Commands
The READ DEFECT DATA command transfers media defect data to the host.
When Plist is 1, the command transfers header and PDL. When Glist is 1, this command transfers header and SDL. When both Plist and Glist are 0, it transfers the header. When both Plist and Glist are 1, the command transfers PDL and SDL. PDL and SDL are arranged in an ascending order.
The defect list format supported is listed in Table 4.90. If any other format is specified, the command assumes 101b and reports Recovered Error.
Table 4.90 Defect List Format - READ DEFECT DATA (10)
Defect List Format | Data format |
|
|
101 | Physical sector address format |
| (Up to 8191 in the defect list) |
|
|
111
Physical sector address format (8192 or later in the defect list)
Table 4.91 shows the defect list header. Table 4.92 shows the defect descriptors.
Table 4.91 Defect List Header - READ DEFECT DATA (10)
Bit | 7 |
| 6 |
| 5 |
| 4 |
| 3 |
| 2 |
|
| 1 |
| 0 | |
Byte |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
| 00h |
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
| ||||||
1 | 0 |
| 0 |
| 0 |
| Plist |
| Glist |
|
| Defect List Format |
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
| Defect List Length |
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
| Defect Descriptor (s) |
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
|
|
| Table 4.92 Defect Descriptor |
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
| Byte |
|
|
| Defect Descriptor |
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
| Defect block track address |
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
| 3 |
|
|
| 00h |
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
|
| Defect block sector address |
|
|
|
|
|
| |||||||
|
|
|
|
| See Table 4.93, Sector Address Format. |
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|