Seagate 77767496 TV Cables User Manual


 
Fibre Channel Interface Manual, Rev. D 357
While the device server is performing a self-test in the background mode, it shall terminate with a Check Con-
dition status any Send Diagnostics command it receives that meets one of the following criteria:
a. The Self-test bit is one; or
b. The Self-test Code field contains a value other than 000b or 100b.
When terminating the Send Diagnostics command, the sense key is set to Not Ready and the additional sense
code is set to Logical Unit Not Ready, Self-test In Progress.
While performing a device self-test in the background mode, the device server suspends the device self-test to
service any other commands received with the exceptions listed below.
Exception commands for background self-tests
Send Diagnostics (with Self-test Code field set to 100b)
Write Buffer (with the mode set to any download microcode option)
Format Unit
Start/Stop Unit (stop only)
Suspension of the device self-test to service the command occurs as soon as possible, but should never take
longer than two seconds.
If one of the exception commands listed above is received, the device server shall abort the self-test, update
the self-test log, and service the command as soon as possible but not longer than two seconds after the com-
mand descriptor block has been validated.
Note. An application client may terminate a self-test that is being performed in the background mode by
issuing a Send Diagnostics command with the Self-test Code field set to 100b (Abort background
self-test function).
13.2.3.3 Elements common to foreground and background self-test modes
The Progress Indication field returned in response to a Request Sense command (see Section 12.38) may be
used by the application client at any time during execution of a device self-test to poll the logical unit’s
progress. While executing a self-test (unless an error has occurred), the device server responds to a Request
Sense command by returning a sense key of Not Ready and an additional sense code of Logical Unit Not
Ready, Self-test In Progress with the sense key specific bytes set for progress indication.
The application client may obtain information about the twenty most recently completed device self-tests by
reading the Device Self-test Results log page (see Section 12.10.4). This is the only method an application cli-
ent can use to obtain information about self-tests performed in the background mode.
Table 241 summarizes when a logical unit returns status after receipt of a self-test command, how an applica-
tion client may abort a device self-test, how a logical unit handles new commands that are received while a
device self-test is in progress, and how a logical unit reports a device self-test failure.