Table 122: Selective Self-Test Span Example - Hitachi HTS421212H9AT00 - Travelstar 120 GB Hard Drive Specifications

2.5 inch ata/ide hard disk drive
Hide thumbs Also See for HTS421212H9AT00 - Travelstar 120 GB Hard Drive:
Table of Contents

Advertisement

Self-test execution status byte (see Table 123: "Device Attribute Data Structure" on page 177) and ATA registers
and then executes the command completion. See definitions below.
Status
Set ERR to one when the self-test has failed
Error
Set ABRT to one when the self-test has failed
LBA Low
Set to F4h when the self-test has failed
LBA High
Set to 2Ch when the self-test has failed
SMART Selective self-test routine
When the value in the LBA Low register is 4 or 132, the Selective self-test routine shall be performed. This self-
test routine shall include the initial tests performed by the Extended self-test routine plus a selectable read scan.
The host shall not write the Selective self-test log while the execution of a Selective self-test command is in
progress.
The user may choose to do read scan only on specific areas of the media. To do this, user shall set the test spans
desired in the Selective self-test log and set the flags in the Feature flags field of the Selective self-test log to indi-
cate do not perform off-line scan. In this case, the test spans defined shall be read scanned in their entirety. The
Selective self-test log is updated as the self-test proceeds indicating test progress. When all specified test spans
have been completed, the test is terminated and the appropriate self-test execution status is reported in the SMART
READ DATA response depending on the occurrence of errors. Table 118 shows an example of a Selective self test
definition with three test spans defined. In this example, the test terminates when all three test spans have been
scanned.

Table 122: Selective self-test span example

After the scan of the selected spans described above, a user may wish to have the rest of media read scanned as an
off-line scan. In this case, the user shall set the flag to enable off-line scan in addition to the other settings. If an
error occurs during the scanning of the test spans, the error is reported in the self-test execution status in the
SMART READ DATA response and the off-line scan is not executed. When the test spans defined have been
scanned, the device shall then set the offline scan pending and active flags in the Selective self-test log to one, the
span under test to a value greater than five, the self-test execution status in the SMART READ DATA response to
00h, set a value of 03h in the off-line data collection status in the SMART READ DATA response and shall proceed
to do an off-line read scan through all areas not included in the test spans. This off-line read scan shall completed as
rapidly as possible, no pauses between block reads, and any errors encountered shall not be reported to the host.
Travelstar 4K120 Hard Disk Drive Specification
173

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents