During the further execution of a Diagnose Channel prograa,
invalidated seek head opcodesmay be encountered once the IOEBILTB flag
is turned on.CP channel programs do not use seek head. The nuaber of
these opcodes encounteredmay be several, or none at all, depending on
the user's channel program. Also, these invalidated seek headsmay be
trying to seek off of an assigned alternate track (usually to the next
logical track) or theyaay have no involvement with flagged tracks at
all, again depending on the nature of the user's channelprogram. Whenever the channel program is stopped by an invalidated seek head, a
determination ismade of whether or not it is trying to get off of an
alternate track. This determination ismade by looking at the current
cylinder number (available in sense data taken at thetime of the command reject) and seeing whether or not it falls within the alternate
track cylinder area at the high end of the disk. If the seek headR2i trying to get off of an alternate track, there is no problea and the
subject channelprogram is restarted with a seek to the current cylinder
and to the track specified by the invalidated seek head. If the seek
head trying to get off of an alternate track, record zero of the
alternate track is read first to get the cylinder nuaber of the
defective track. Then the subject channelprogram is restarted with a
seek to the cylinder of the defective track, but to the track specified
by the invalidated seek head.TAPE ERROB RECOVEBY, ERP (D!KTAP) Error recovery is attempted for user-initiated tape I/O operations to
CP-supported devices that use theDIAGNOSE interface. The primary control blocks used for error recovery are the RDEVBLOK, the IOBLOK, and
theIOERBLOK. In addition, auxiliary storage is used for recovery
channel programs (repositioning and erase).
The interruption handler,D!KIOS, performs a SENSE operation when a
unit check occurs. Tape errors are then passed toD!KTIP. The sense
information associated with a unit check is contained in theIOERBLOK. If a channel check is encountered, the channel check interruption
handler determines if retry is possible and passes control to theERP through the I/O interruption handler. When an error is encountered and ERP receives control, D!KTAP determines if this is the first entry into the ERP for this task. The IOBBCNT (lOB error count) field of the lOB is zero on initial entry. On this first entry, the pointer to the IOEBBLOK is placed in the RDEVIOEB field of the BDEVBLOK. This preserves the original error CSW and sense
information for recording. Thereafter,IOEBBLOKS are discarded before a
retry is attempted or a permanent error is passed to105. The ERP looks for two other specific conditions. If the error count
field is not zero, entry must be due to a recovery attempt. Thus, itaay be a solicited device end to correct an intervention-required condition
or a retryattempt for either tape repositioning or channel prograa
re-execution.
TheEBP keeps track of the number of retries in the IOBRCNT field of
theIOBLOK to determine if a retry limit has been exceeded for a
particular error•. If the specified number of retries fails to correct
the error, the error is recorded andD!KIOS is notified of the peraanent
error by turning on a status flag in theIOBLOK (IOBSTIT=IOBFITIL). If the error is corrected by DMKTIP, the temporary error is not
recorded and control is returned toDMKIOS with error flags all off. When repositioning is required in order to attempt recovery, additional HRP flags are contained in the IOERBLOK to indicate paths for specific
errors (that is, data check on write must reposition, erase, and then
reissue original channel program).1-170 IB! VM/370 System Logic and Problem Deteraination--Volume 1
invalidated seek head opcodes
is turned on.
these opcodes encountered
the user's channel program. Also, these invalidated seek heads
trying to seek off of an assigned alternate track (usually to the next
logical track) or they
all, again depending on the nature of the user's channel
determination is
alternate track. This determination is
cylinder number (available in sense data taken at the
track cylinder area at the high end of the disk. If the seek head
subject channel
and to the track specified by the invalidated seek head. If the seek
head
alternate track is read first to get the cylinder nuaber of the
defective track. Then the subject channel
seek to the cylinder of the defective track, but to the track specified
by the invalidated seek head.
CP-supported devices that use the
the
channel programs (repositioning and erase).
The interruption handler,
unit check occurs. Tape errors are then passed to
information associated with a unit check is contained in the
handler determines if retry is possible and passes control to the
information for recording. Thereafter,
retry is attempted or a permanent error is passed to
field is not zero, entry must be due to a recovery attempt. Thus, it
or a retry
re-execution.
The
the
particular error
the error, the error is recorded and
error by turning on a status flag in the
recorded and control is returned to
errors (that is, data check on write must reposition, erase, and then
reissue original channel program).