Synchronous input/output diagnostic controls
Aspects include communicating synchronous input/output (I/O) commands between a system and a recipient. The system executes on a processor coupled to a memory so as to issue, to the recipient, a synchronous I/O command with a diagnostic operation code, where the synchronous I/O command causes a gathering of diagnostic information by the recipient. Further, the system receives, from the recipient, status information including a diagnostic information identifier, the status information being in accordance with the diagnostic information.
1. A computer program product, the computer program product comprising a computer readable storage medium having program instructions for communicating synchronous input/output (I/O) commands between a system and a recipient embodied therewith, the system executing on a processor coupled to a memory, the program instructions executable by the processor to cause the processor to perform:
issuing, to the recipient, a synchronous I/O command with a diagnostic operation code, the synchronous I/O command causing a gathering of diagnostic information by the recipient;
receiving, from the recipient, status information including a diagnostic information identifier, the status information being in accordance with the diagnostic information; and
identifying an abnormal condition;
wherein the system is a firmware, the firmware identifying the abnormal condition, and
wherein the issuing of the synchronous I/O command is performed by the firmware independently of an operating system in response to the identifying the abnormal condition.
2. The computer program product of claim 1 , wherein the recipient is a storage control unit.
3. The computer program product of claim 1 , wherein the system is an operating system, the operating system identifying the abnormal condition.
4. The computer program product of claim 1 , wherein the abnormal condition is an I/O error, a protocol violation, an invalid response, an unrecognized command, or a time-out condition.
5. The computer program product of claim 1 , wherein the issuing of the synchronous I/O command notifies the recipient of an abnormal condition.
6. The computer program product of claim 1 , wherein the gathering of the diagnostic information includes polling a status area by the recipient.
7. The computer program product of claim 1 , wherein the program instructions are further executable by the processor to cause the processor to perform:
correlating the diagnostic information between the system and the recipient in accordance with the diagnostic information identifier.
8. A system, comprising a processor and a memory storing program instructions for communicating synchronous input/output (I/O) commands between a system and a recipient thereon, the program instructions executable by the processor to cause the system to perform:
issuing, to the recipient, a synchronous I/O command with a diagnostic operation code, the synchronous I/O command causing a gathering of diagnostic information by the recipient;
receiving, from the recipient, status information including a diagnostic information identifier, the status information being in accordance with the diagnostic information;
identifying an abnormal condition;
wherein the system is a firmware, the firmware identifying the abnormal condition, and
wherein the issuing of the synchronous I/O command is performed by the firmware independently of an operating system in response to the identifying the abnormal condition.
9. The system of claim 8 , wherein the recipient is a storage control unit.
10. The system of claim 8 , wherein the system is an operating system, the operating system identifying the abnormal condition.
11. The system of claim 8 , wherein the abnormal condition is an I/O error, a protocol violation, an invalid response, an unrecognized command, or a time-out condition.
12. The system of claim 8 , wherein the issuing of the synchronous I/O command notifies the recipient of an abnormal condition.
13. The system of claim 8 , wherein the gathering of the diagnostic information includes polling a status area by the recipient.
14. The system of claim 8 , wherein the program instructions are further executable by the processor to cause the system to perform:
correlating the diagnostic information between the system and the recipient in accordance with the diagnostic information identifier.