Ref: 21770008
Title: Error Updating from NCS/AT 2.1 to NCS/AT 2.1.1
Date: 4/3/91

Copyright 3Com Corporation, 1991.  All rights reserved.

When updating from NCS/AT 2.1 to NCS/AT 2.1.1, page 4 of the SW/AT-NCS
Version 2.1.1 Software Release note says:

--------------------------------------------------------------
Extracting the Version 2.1.1 Upgrade Software

Insert the diskette labeled SW/AT-NCS 2.1.1 into the disk drive
and close the drive door.

1.  Enter the following:

    /usr/ncs/bin/floppyread ./usr/ncs/etc/update.2.1.1

2.  The system will display the following message:

    tar: blocksize = 20
    x ./usr/ncs/etc/update.2.1.1, 2443 bytes, 5 tape blocks

3.  Enter the following:

    /bin/csh /usr/ncs/etc/update.2.1.1
----------------------------------------------------------------

An error occurs when executing step 3.  The console displays:

   error on dev floppy (0/4), block=0 cmd=0003 status=0002
   tar: tape read error

This is caused by a problem in the /usr/ncs/etc/update.2.1.1 script.  The
script is read in in step 1 as shown above, and then executed in step 3.
An error checking routine in the script issues the following commands:

   prompt:
   echo ""
   echo "Insert the floppy SW/AT-NCS-2.1.1 into the drive and press
   Return: \c"
   /usr/ncs/etc/readln
   set nodisk=`tar t`
   if ($#nodisk == 0) then
        goto prompt              # error message will be displayed
   endif

The "tar t" command is supposed to perform a silent list on the floppy
drive /dev/rfd0.  If no diskette is present or the media is bad, the
nodisk variable equals 0, which makes the if statement true.  The error
message shown above is displayed and the routine then loops back up
and tells the user to insert the floppy SW/AT-NCS-2.1.1 diskette again.
"tar t" causes the error.  SCO XENIX reports the error.  It does not
mean that the media is bad.


To work around the problem, follow these steps:

1.  Log on as user ncs.

2.  Rename the existing files shown on page 5 of the SW/AT-NCS 2.1.1
upgrade release note by appending a 2.1. to the end of each one.

3.  Issue a floppyread to read in the contents of the diskette.

