Ref: 11640087
Title: "Internal Error" Messages in 3+Backup
Date: 8/31/90

Copyright 3Com Corporation, 1991.  All rights reserved.

In the following error messages, "RC" stands for Return Code.  A list
of Return Codes is at the end of this article.

Internal error 1:
The call to the MINDs buffer manager MINDSBUF to retrieve a
buffer failed.  This indicates a serious MINDS inconsistency.

Internal error 2:
RC=XXX:  A backup of a disk partition has failed because of a
tape drive failure.  This should never occur, because 3Com covers
almost all of the possible tape drive errors.

Internal error 3:
RC=XXX:   A data restore has failed because of a tape drive
failure.  This should never occur because 3Com covers almost all
of the possible tape drive errors.

Internal error 4:
RC=XXX:  The tape drive returned a strange error when trying to
read the first block on the tape.  It must read the first block
before beginning any backup operation.  Try different cartridges;
try swapping tape drives; erase the tape twice before using;
or increase the -h parameter in the ETH3.SYS line from 2 to 4.

Internal error 4 or 5 with rc=17:
This may appear during backup on a 3Server3 upgraded from 1.2 to
1.2.1 or 1.2.2 system software and 3+Backup 1.3.1.   When backing
up to an external tape drive, the first tape fills up, the system
will not accept a second tape.  It asks for the tape but then
displays internal error 4 or 5 and rc=1.

This happens because the external tape unit has an ADSI
controller.  Use a version of TDRIVE.SYS from the 1.1 or 1.2
system disk, dated 10/10/86.

Internal error 5:
RC=XXX:  This is a catch-all error condition when the tape
prepping routine fails for any reason.  Tape prepping occurs
before all tape operations (Backup, Restore, Tape Directory,
etc.) and includes rewinding and erasing.  The error may also
occur after some other error condition occurs.  For example:

Internal error 5. rx=17
Tape drive error; drive fault
Unrecoverable error, operation halted

The error may be caused by several problems:  if the server has a
150 MB tape unit and administrator is using a DC600A tape without
changing the TAPE.SYS line of the CONFIG.SYS file to
DEVICE=TAPE.SYS; or if a tape has gone bad; or if a brand-new
tape was not erased twice before use or is bad.

Internal error 6:
RC=XXX:  Occurs when the program is waiting for the user to
insert a new tape and the LCD message displays an appropriate
message like "Insert next tape" or "Change tape."  The program
needs to rewind the tape cartridge periodically to check to see
if the user has inserted a new tape, and if this fails, Internal
error 6 occurs.  (Rare.)

Internal error 7:
Occurs during a backup tape change point if the residue left in
the tape buffer is not legal; for example, less than 0 or greater
than the size of the write request of the previous write(s).
Residue is the amount of data that was not written to the
previous tape because it was at the end of the tape and must be
written to the beginning of the next tape.  (Rare.)

Internal error 8:  Not valid.

Internal error 9:
RC=XXX:  Like internal error 4, except this occurs during tape
change points of backups.

Internal 9. rx=16:
See article on Tandberg Tape Drives and Expansion Units.

Internal error 10:
RC=XXX:  Same as internal error 5, except this occurs during tape
change points of backups.


Return Codes:

    0   Command completed OK
    1   No cartridge in place
    2   Hit file mark during read command
    3   At end of media
    4   Read error, no data detected
    5   Write-protected cartridge
    6   Unit attention; new tape in drive
    7   Unrecoverable read or write error.  BAD!
    8   Miscellaneous error, mechanical?  BAD!
    9   incorrect handle, access denied
    10  Device is not yet opened
    11  Tried to open device already open
    12  No tape drive is present
    13  Gave bad command to tape driver
    14  Tape drive busy on other command
    15  Driver timed out waiting for command to complete.  BAD!
    16  SCSI bus selection error
    17  Miscellaneous, unexpected error
