Patch-ID# 100581-05
Keywords: scsi, scsa, st, tape, eof, double, read, early, premature, eom
Synopsis: SunOS 4.1.2;4.1.3: fixes to st driver
Date: Jun/15/94

SunOS release: 4.1.2, 4.1.3
 
Unbundled Product: 

Unbundled Release:

BugId's fixed with this patch: 1079953, 1082324, 1115055

Changes incorporated in this version: added sun4 arch

Relevant Architecture: sparc
    NOTE: sun4, sun4c, sun4m

Patches which may conflict with this patch:  

Obsoleted by:

Problem Description: 

Bug 1079953:

read() on an st device would read past a double tape-mark.

Bug 1082324:

If a media error is encountered, the fileno is set to -1; no more reading
is allowed and on the next open, the tape is rewound first.
This makes it impossible to recover data past the media error

Bug 1115055:

Due to buffering in the controller, EOM can be reported prematurely on an
8500 8mm drive resulting in the inability to read all the data/files on
the tape.  Also, driver was returning an error after reading the last file
on the tape rather than returning two consecutive zero counts.


INSTALL:

As root, make a backup copy of files to be patched and install patched files:

   mv /sys/`arch -k`/OBJ/st.o /sys/`arch -k`/OBJ/st.o.fcs
   cp `arch -k`/<SunOS-rel>/st.o /sys/`arch -k`/OBJ

You will then have to re-run config and make on your kernel.
Please refer to the System and Network administration manual
for information on building and installing a custom kernel.

