{
{ CML$5698_1X_FAILURE_DATA
{
{
{ PURPOSE:
{    The purpose of this statistic is to record the failure data
{ captured by the system when accessing a Cyber Magnetic Tape
{ Subsystem thru an IPI channel (CMTS/IPI).
{
{ FREQUENCY: At each failure occurrence.
{
{ CONTENT:
{    The  descriptive-data portion of this statistic contains:
{
{    '<mf>.<iou>.<pp>.<channel>.<slave>.<facility>*<vsn>*<severity>..
{       *<symptom>
{
{      where <mf> is the identification of the mainframe in the form
{        $SYSTEM_mmmm_ssss.  Where 'mmmm' is the model number of
{        Central Processor zero (CP0), e.g. 0990, and 'ssss' is the
{        serial number of that processor, e.g. 0104.
{
{      where  <iou>  is  the  string  'IOUn' where n is 0 or 1.
{        This identifies the IOU associated with the channel over
{        which the failure was reported.
{
{      where <pp> is the string 'PPn' where n is the logical PP
{       number in decimal of the PP used to process the failing
{       request.
{
{      where <channel> is the string 'CHn' where n is the channel
{       number in decimal through which the tape device was
{       accessed.
{
{      where <slave> is the element name of the Equipment (slave)
{        used in the failing request.
{
{      where  <facility> is the element name of the failing tape storage
{        device (facility) used in the failing request.  If the element
{        is $NULL, the engineering log message was issued as a result
{        if an unsolicited response from the PP driver.  $NULL indicates
{        the message is applicable to the slave and there is no facility
{        applicable.
{
{      where <vsn> is the external-vsn of the tape volume which  was
{        the object of the failing request.
{
{      where <severity> is the string 'UF'  for  unrecovered,  'RF'  for
{        recovered,  'IF'  for  intermediate and 'IM' for informative
{        message.
{
{      where <symptom> is the symptom/action statement  provided  by
{        the system.
{
{    The  counter-value portion of this statistic contains:
{
{    1.  Logical PP number
{        Bits 46 thru 51 contain the IOU number of the PP.
{        Bit 57 = 1 implies that the PP is an I4 concurrent PP.
{        Bits 58 thru 63 contain the logical PP number.
{    2.  Channel Number
{        Bits 46 thru 51 contain the IOU number of the channel.
{        Bit 55 is set to 1 if I4 channel port A.
{        Bit 56 is set to 1 if I4 channel port B.
{        Bit 57 = 1 implies that the channel is an I4 concurrent
{         channel.
{        Bits 58 thru 63 contain the channel number.
{    3.  Equipment Number of the slave (Slave address)
{    4.  Physical Facility Number (Facility address)
{    5.  Unit-type
{       9 - 698-3X  (IPI)
{    6.  Logical Operation Code
{       0 - none (unsolicited response from PP)
{       1 - read
{       2 - write
{       3 - rewind
{       4 - unload
{       6 - write_tapemark
{       7 - erase
{       8 - forespace
{       9 - backspace
{       10 - forespace_tapemark(s)
{       11 - backspace_tapemark(s)
{       12 - get_status
{    7.  Failure Severity
{       0 - Recovered Failure
{       1 - Unrecovered Failure
{       2 - Intermediate Failure Report
{       3 - Informative Message
{    8.  Failure Analysis
{       This indicates the extent to which the subsystem and  the  PP
{       were  able  to isolate the failure when it was detected.  The
{       failure data is analyzed in the order in which the  following
{       symptom   statements   are   presented   in   this  document.
{       Therefore, should multiple failures occur and be  implied  in
{       the   failure  data,  only  one  symptom  statement  will  be
{       provided; the one provided will be the one appearing first in
{       the following list of symptoms.  For all error codes, counter
{       words 9 - 17 contain valid data, but may not be applicable to
{       a particular failure.
{
{       0 - INDETERMINATE           The   failure  did  not  manifest
{                                   itself as one  of  the  following
{                                   symptoms.   Refer to the Response
{                                   Packet       for       additional
{                                   information.
{
{         The following symptom statements are isolated to  the  IOU.
{       They  can  not  be  caused  by  either the slave or the cable
{       between  the  PP  and  slave.   Counter  words  1-8,  18  and
{       referenced  words  are  applicable  to  the following symptom
{       statements.  For errors that  refer  to  IPI  channel  status
{       register,  IPI  channel  error  register  or I4 IPI DMA error
{       register, refer to counter words 20, 21 or 22,  respectively.
{
{       1 - FUNCTION TIMEOUT        The  IPI  channel did not respond
{                                   to a function.  Counter  word  19
{                                   contains  the function or bits 52
{                                   and/or  53  of  the  IPI  channel
{                                   error register are set.
{
{       2 - CHANNEL EMPTY WHEN ACTIVATED  The  IPI  channel  did  not
{                                   force the channel  full  when  it
{                                   was activated.
{
{       3 - PERIOD COUNTER ERROR    This is bit 51 of the IPI channel
{                                   error register.
{
{       4 - UPPER ICI PARITY        This is bit 57 of the IPI channel
{                                   error register and indicates that
{                                   a parity error  has  occurred  on
{                                   the  most significant byte of the
{                                   channel between the IPI chip  and
{                                   the PP.
{
{       5 - LOWER ICI PARITY        This is bit 58 if the IPI channel
{                                   error register  and  indicates  a
{                                   parity  error has occurred on the
{                                   least  significant  byte  of  the
{                                   channel  between the IPI chip and
{                                   the PP.
{
{       6 - IOU ERROR               The channel error flag is set and
{                                   none  of  the  bits  in  the  IPI
{                                   channel error register or I4  IPI
{                                   DMA error register are set.
{
{       7 - INCOMPLETE I4 TRANSFER  The  PP's  A register was nonzero
{                                   after  an  output  of   parameter
{                                   words.
{
{       8 - CHANNEL NOT EMPTY       The  I4  channel did not go empty
{                                   after  the  output  of  parameter
{                                   words.
{
{       9 - CENTRAL MEMORY ERROR    This indicates that bit 50 or bit
{                                   51  of  the  I4  IPI  DMA   error
{                                   register  is  set  and  that   an
{                                   uncorrected   or   reject   error
{                                   response   was   received    from
{                                   central memory.
{
{       10 - INVALID CM RESPONSE CODE  This  is  bit 52 of the I4 IPI
{                                   DMA error register and  indicates
{                                   the  response  code  from central
{                                   memory decoded  into  an  illegal
{                                   value.
{
{       11 - CM RESPONSE CODE PARITY ERROR  This  is bit 53 of the I4
{                                   IPI  DMA   error   register   and
{                                   indicates  that the response code
{                                   from central memory had a  parity
{                                   error.
{
{       12 - CMI READ DATA PARITY ERROR  This is bit 54 if the I4 IPI
{                                   DMA error register and  indicates
{                                   that the central memory interface
{                                   logic has detected  a  read  data
{                                   parity error.
{
{       13 - JY DATA ERROR          This  is bit 59 of the I4 IPI DMA
{                                   error register and indicates that
{                                   the  JY board has detected a data
{                                   parity error.
{
{       14 - BAS PARITY ERROR       This is bit 60 of the I4 IPI  DMA
{                                   error register and indicates that
{                                   the  LX  board  has  detected   a
{                                   parity  error  on  data  received
{                                   from the barrel and slot  of  the
{                                   PP.
{
{       15 - LZ ERROR               This  is bit 61 of the I4 IPI DMA
{                                   error register and indicates that
{                                   the  LZ  board  has  detected  an
{                                   error.
{
{       16 - JY ERROR               This is bit 62 of the I4 IPI  DMA
{                                   error register and indicates that
{                                   the  JY  board  has  detected  an
{                                   error.
{
{       17 - LX ERROR               This  is bit 63 of the I4 IPI DMA
{                                   error register and indicates that
{                                   the  LX  board  has  detected  an
{                                   error.
{
{       18 - DMA TEST MODE FAILURE  Test mode was used to  pass  data
{                                   through  the  adapter.   No  bits
{                                   were set in the I4 IPI channel or
{                                   I4  IPI  DMA error registers, but
{                                   the data was incorrect.
{
{       19 - ILLEGAL OPERATION      This is bit 62 of the IPI channel
{                                   error   register   and  indicates
{                                   detection of an illegal  function
{                                   code.
{
{         The  following  symptom  statements are most likely a slave
{       problem but may be caused by the IOU, IPI channel  or  cable.
{       Counter words 1-8, 18 and referenced words are applicable for
{       the following symptom statements.  For errors that  refer  to
{       IPI channel status register, IPI channel error register or I4
{       IPI DMA error register, refer to counter words 20, 21 or  22,
{       respectively.
{
{       20 - CANNOT SELECT CONTROLLER The  SLAVE IN  line was not set
{                                   after the PP sent the select code
{                                   to the slave.
{
{       21 - BIT SIGNIFICANT RESPONSE ERROR   The   bit   significant
{                                   response which is in  bits  56-63
{                                   of   the   IPI   channel   status
{                                   register is incorrect.
{
{       22 - NO SYNC IN             During  a  bus  control  sequence
{                                   SYNC IN did not set.
{
{       23 - SYNC IN DID NOT DROP   During  a  bus  control  sequence
{                                   SYNC IN did not drop.
{
{       24 - IPI SEQUENCE ERROR     This is bit 59 of the IPI channel
{                                   error  register  and indicates an
{                                   illegal   sequence   of   control
{                                   signals  has  occurred on the IPI
{                                   interface.
{
{       25 - UPPER IPI CHANNEL PARITY This  is  bit  60  of  the  IPI
{                                   channel    error   register   and
{                                   indicates that  the  IPI  channel
{                                   has  detected  a  parity error on
{                                   bus A of the IPI interface.
{
{       26 - LOWER IPI CHANNEL PARITY This  is  bit  61  of  the  IPI
{                                   channel    error   register   and
{                                   indicates that  the  IPI  channel
{                                   has  detected  a  parity error on
{                                   bus B of the IPI interface.
{
{       27 - SLAVE IN NOT SET       During an ending status  sequence
{                                   or  a  request  transfer settings
{                                   sequence SLAVE IN did not set.
{
{       28 - SLAVE IN DID NOT DROP  During a deselect sequence  or  a
{                                   request     transfer     settings
{                                   sequence SLAVE IN did not drop.
{
{       29 - INCOMPLETE TRANSFER    Not all  words  were  transferred
{                                   when the channel was inactivated.
{                                   Status from  the  slave  did  not
{                                   indicate an error.
{
{       30 - CHANNEL STAYED ACTIVE  Following an information exchange
{                                   the slave did not drop SLAVE  IN.
{                                   The slave drops SLAVE IN when the
{                                   last word has been transferred or
{                                   if no words have been transferred
{                                   for its timeout limit of about 25
{                                   milliseconds.
{
{       31 - BUFFER COUNTER ERROR   This is bit 48 of the IPI channel
{                                   error register.
{
{       32 - SYNC COUNTER ERROR     This is bit 50 of the IPI channel
{                                   error register.
{
{       33 - LOST DATA              This is bit 56 of the IPI channel
{                                   error  register.   It   indicates
{                                   that   the  slave  ended  a  data
{                                   transfer and  the  IPI  channel's
{                                   buffer is not empty.
{
{       34 - BUS PARITY             This  is  bit 57 of ending status
{                                   received  from  the  slave.    It
{                                   indicates that the slave detected
{                                   a  parity  error   on   the   IPI
{                                   interface.    Ending   status  is
{                                   right justified in  counter  word
{                                   20.
{
{       35 - COMMAND REJECT         This is reported in bits 60-63 of
{                                   ending status received  from  the
{                                   slave.  If a value of  2, 3, 6, 8
{                                   or C (hex) is in these bits,  the
{                                   slave has  rejected  the  command
{                                   sent by the PP.  Ending status is
{                                   right  justified  in counter word
{                                   20.
{
{       36 - SYNC OUTS NOT EQUAL    This is reported in bits 60-63 of
{            SYNC INS               ending  status  received from the
{                                   slave.   If  these  bits  have  a
{                                   value  of 9, the slave's SYNC OUT
{                                   count and its SYNC IN count  were
{                                   not   equal   when  the  transfer
{                                   ended.  Ending  status  is  right
{                                   justified in counter word 20.
{
{       37 - BUS B ACKNOWLEDGE INCORRECT   During   a   bus   control
{                                   sequence bus B received from  the
{                                   slave  was  nonzero.  Bus B is in
{                                   the right-most 8 bits of the  IPI
{                                   channel status register.
{
{       38 - NO CONTROLLER INTERRUPT A  command or a  state  sequence
{                                   sent  to  the   slave  was    not
{                                   responded to within the  allotted
{                                   time.
{
{       39 - ENDING STATUS WRONG    This   is  reported  if  bit  56,
{                                   indicating  successful,  was  not
{                                   set  in  ending  status  from the
{                                   slave.  Ending  status  is  right
{                                   justified in counter word 20.
{
{       40 - SLAVE ENCODED ENDING STATUS  WRONG  This is bits 60 - 63
{                                   of  the  ending  status  received
{                                   from  the  slave.  Expecting even
{                                   octet  and  received  odd   octet
{                                   transfer  status  or  visa versa.
{                                   Ending status is right  justified
{                                   in counter word 20.
{
{         The  following  symptom statements are informative and will
{       have counter word 7 set to a value of 3.  Counter  words  1-8
{       are applicable for the following symptom statements.
{
{       50 - EXECUTING CONTROLLER DIAGNOSTICS  Execution  of  a slave
{                                   reset was initiated.
{
{       51 - CONTROLLER DIAGNOSTICS PASSED   The   slave    self-test
{                                   diagnostic  portion  of the slave
{                                   reset completed without error.
{
{       52 - ON THE FLY HARDWARE CORRECTIONS Indicates the number  of
{                                   single  and/or double track error
{                                   corrections that occurred on  the
{                                   tape  reel.   This  is  issued at
{                                   tape unload time if the value  is
{                                   greater  than zero.  Counter word
{                                   11   contains   the   number   of
{                                   hardware corrected errors.
{
{         The  following  symptom  statements  are  returned  when  a
{       diagnostic isolated an  error.   All  counter  words,  except
{       19-24, are applicable for the following symptom statements.
{
{       60 - CONTROLLER FAILURE     Slave  reset  detected a failure.
{                                   Reference the response packet for
{                                   more information.
{
{       61 - DRIVE FAILURE          Facility     disgnostics     have
{                                   detected  a  failure.   Reference
{                                   parameter  ID  26  (hex)  in  the
{                                   response    packet    for    more
{                                   information.
{
{         The  following symptom statements are most likely caused by
{       the slave.  All counter words, except 19-24,  are  applicable
{       for  the following symptom statements.  For errors that refer
{       to IPI channel status register, IPI channel error register or
{       I4  IPI  DMA error register, refer to counter words 20, 21 or
{       22, respectively.
{
{       70 - INTERNAL CONTROLLER ERROR This is reported in bits 60-63
{                                   of  ending  status  received from
{                                   the slave with a code of B (hex).
{                                   Ending  status is right-justified
{                                   in counter word 20.
{
{       71 - CONTROLLER INTERVENTION REQUIRED The slave is unable  to
{                                   execute commands and  some inter-
{                                   vention  is  required.  Reference
{                                   parameter  ID  14  (hex)  in  the
{                                   response    packet    for    more
{                                   information.
{
{       72 - CONTROLLER MACHINE EXCEPTION  A  machine  exception  was
{                                   detected   in   the   controller.
{                                   Reference parameter ID  16  (hex)
{                                   in  the  response packet for more
{                                   information.
{
{       73 - COMMAND EXCEPTION      The command  packet  received  by
{                                   the  slave  had incorrect values,
{                                   was too short, or did not contain
{                                   all      required     parameters.
{                                   Reference parameter ID  17  (hex)
{                                   of  the  response packet for more
{                                   information.
{
{       74 - MICROCODE EXECUTION ERROR The slave encountered an error
{                                   in   its   own  microcode  during
{                                   execution.   Reference  parameter
{                                   ID   13  (hex)  of  the  response
{                                   packet for more information.
{
{       75 - ALTERNATE PORT EXCEPTION The  slave  detected  an  event
{                                   from     an    alternate    port.
{                                   Reference parameter ID  15  (hex)
{                                   of  the  response packet for more
{                                   information.
{
{       76 - UNEXPECTED RESPONSE    The  response  packet  from   the
{                                   slave   was   not   the  expected
{                                   response  for  the  operation  in
{                                   progress.
{
{       77 - DRIVE RESERVED TO OTHER CONTROLLER  PORT  The  drive  is
{                                   reserved to the redundant port of
{                                   the slave.
{
{       78 - NO BLOCK ID PARAMETER RETURNED  The response packet does
{                                   not have parameter  ID  D0  (hex)
{                                   included but was expected to.
{
{       79 - UNEXPECTED CLASS 2 INTERRUPT   An   unexpected  class  2
{                                   interrupt has been detected  when
{                                   no data transfer was in progress.
{                                   This is reported in bits 56 -  63
{                                   of  the request interrupts (class
{                                   2) sequence bus B address  octet.
{                                   This status is right justified in
{                                   counter word 20.
{
{
{         The following symptom statements are most likely caused  by
{       the  drive.   All counter words, except 19-24, are applicable
{       for the following symptom statements.
{
{       80 - DRIVE NOT OPERATIONAL  The drive is not present, powered
{                                   on, or responding.
{
{       81 - DRIVE NOT READY        This usually means the drive does
{                                   not have a tape loaded and/or the
{                                   facility was not set to ready.
{
{       82 - DRIVE INTERVENTION REQUIRED The drive is powered on  and
{                                   ready   but   unable  to  execute
{                                   commands.  Reference parameter ID
{                                   24  (hex)  in the response packet
{                                   for more information.
{
{       83 - PHYSICAL INTERFACE CHECK  The  slave  detected  a  check
{                                   condition    on    the   physical
{                                   interface    to    the     drive.
{                                   Reference  parameter  ID 26 (hex)
{                                   in the response packet  for  more
{                                   information.
{
{       84 - OPERATION TIMEOUT      This  indicates  a drive internal
{                                   timeout  mechanism   detected   a
{                                   failure.   Reference parameter ID
{                                   26 (hex) in the  response  packet
{                                   for more information.
{
{       85 - DRIVE MACHINE EXCEPTION A machine exception was detected
{                                   in    the    drive.     Reference
{                                   parameter  ID  26  (hex)  in  the
{                                   response    packet    for    more
{                                   information.
{
{       86 - FATAL ERROR            The  drive  detected  an internal
{                                   machine  error   that   precludes
{                                   execution  or continuation of the
{                                   current    command.     Reference
{                                   parameter  ID  26  (hex)  in  the
{                                   response    packet    for    more
{                                   information.
{
{       87 - DRIVE CONDITIONAL SUCCESS  An  abort  command was issued
{                                   but the addressee was not able to
{                                   process it.  Reference  parameter
{                                   ID 19 (hex) or ID 29 (hex) in the
{                                   response    packet   for     more
{                                   information.
{
{       88 - POSITION LOST          The  drive  has lost its position
{                                   on the media.
{
{       89 - DRIVE RESERVED TO OTHER CONTROLLER Another slave has the
{                                   drive reserved.
{
{       90 - NO END OF EXTENT DETECTED The slave has not reported end
{                                   of extent (tape mark) when it was
{                                   expected.
{
{       91 - DATA LENGTH DIFFERENCE The addressee has not transferred
{                                   all the information  specified in
{                                   the transfer command.   Reference
{                                   parameter  ID 2A (hex)  in    the
{                                   response    packet    for    more
{                                   information.
{
{         The following symptom statements are most likely caused  by
{       the  tape  medium,  however,  there  is a possiblity that the
{       cause of the failure could be a drive failure.   All  counter
{       words, except 19-24, are applicable for the following symptom
{       statements.
{
{       100 - TAPE MEDIUM FAILURE   This indicates that a  defect  is
{                                   present  on  the  tape  medium in
{                                   which error  recovery  could  not
{                                   recover from.
{
{       101 - UNABLE TO WRITE ID BURST  This  indicates  that  the ID
{                                   burst could not be  written  from
{                                   load point.  This could be due to
{                                   a bad tape, dirty heads  or  tape
{                                   drive malfunction.
{
{       102 - UNABLE TO SET AGC     This  indicates the drive was not
{                                   capable of setting the  automatic
{                                   gain control at load point.  This
{                                   cound be due to a bad tape, dirty
{                                   heads or  tape drive malfunction.
{
{         The  following  symptom  statements  are  returned  if  the
{       failure  could  not  be  isolated.   Counter  words  1-8  are
{       applicable.
{
{       110 - MASTER-SLAVE DATA INTEGRITY Slave reset was successful,
{                                   no  write  buffer  or read buffer
{                                   errors were  detected,  but  data
{                                   read  from  the  slave buffer did
{                                   not match data previously written
{                                   during the PP/slave path test.
{
{       111 - SLAVE-FACILITY DATA INTEGRITY   All   self-tests   were
{                                   successful,  no  write  or   read
{                                   command errors were detected, but
{                                   data read to central  memory  did
{                                   not  match  the  data  previously
{                                   written  during  the   confidence
{                                   test.
{
{       120 - SOFTWARE FAILURE      The  PP  has  detected  a logical
{                                   inconsistency  not  related  to a
{                                   hardware    malfunction.      The
{                                   condition  is   further   defined
{                                   in counter word 25.
{
{       121 thru 130 - SOFTWARE FAILURE    The  CPU  has  detected  a
{                                   logical inconsistency in the tape
{                                   subsystem.  This   response  code
{                                   value defines the error.
{
{    9.   Blocks written on Unit
{    10.  Blocks read on Unit
{    11.  On The Fly single/double track corrections count
{    12.  Reserved for CDC (zero)
{    13.  Absolute Block Count from Load Point
{    14.  Absolute number of Tape/File Marks from Load Point
{    15.  User requested format parameters
{    16.  Actual Density at which the unit was functioning
{    17.  Reserved for CDC (zero)
{    18.  Retry count of recovery attempts
{    19.  Last requested function
{    20.  Status register of IPI channel
{    21.  Error register of IPI channel
{    22.  Error register of I4 IPI DMA (0 on Cyber 930)
{    23.  Operation register of I4 IPI DMA (0 on Cyber 930)
{    24.  Control register of I4 IPI DMA (0 on Cyber 930)
{    25.  Interface error code (software failure)
{    26.  Reserved for CDC (zero)
{    27.  Reserved for CDC (zero)
{    28.  Reserved for CDC (zero)
{    29.  Reserved for CDC (zero)
{    30.  Reserved for CDC (zero)
{    31 .. NN.  IPI status.  Counter word 31 is the first word of the
{               response packet.  If the first 16 bits of this word are
{               non-zero, a response packet is present.  Response
{               packet bytes are packed, 8 bytes per counter word.
{               Reference the 5698_1x Technical Reference Manual for
{               a description of the response.  The maximun value for
{               NN will be 62.

  CONST
    cml$5698_1x_failure_data = cmc$min_ecc + 5103;

*copyc cmc$condition_limits
