SGI Logo
 
 

Patch 2442 : 6.2 Tape driver rollup [TDR4.1] : [IRIX 6.2]
INDEX

  • Relations
  • Release Notes
  • Inst Subsystem Requirements
  • Inst Subsystem Checksums
  • Inst Subsystem File Listings
  • Download Patch


    RELATIONS

    This patch replaces the following patches:
    1284, 1607, 2074

    This patch has no known incompatiblities with other patches.

    This patch fixes the following bugs:
    313334 - cx: CUST: wants &ltsys/param.h> and &ltsys/types.h> lang safe
                    for fortra

    354033 - tpsc.c doesn't correctly handle EW condition
    355446 - Current position returned by 'mt stat' for STK tape device is not
                    valid

    365072 - tpsc.c : Reading past EOD does not cause ENOSPC to be returned.
    365300 - TAKE - tpsc.c - inconsistent recblksz returned by mt stat for var
                    device

    373904 - "nr" tps device rewinds
    395620 - i/o error while reading 4mm tape
    456309 - SILI on IBM 3590 operates differently for oversize and undersize
                    read

    467316 - Typo if the driver source code prevent normal operation of tape
    467719 - HBA drivers return a residual = -1 to a tape driver on odd length
                    write

    467735 - Can read junk data from tape with var records if read through fixed
                    de

    468004 - Var tape device operations fails while stat open is active
    474252 - Tape driver does not clear read/write status on MTSEEK
    481862 - Patch 1284 breaks blockno count on NTP drives
    485594 - close() fails on end of tape for exabyte drives. returns ENOSPC
    497666 - ioctl errors from the tape drive not reported properly
    499453 - Slow blockid positioning on STK compatible drives
    502518 - Need support for SONY DAT drive in 5.3 through 6.3
    507744 - blockid of zero returned on second half of 9490 tape
    526083 - IO to STAT device can break VAR IO to a regular one (mediad breaks
                    VAR READS

    528263 - Recommended blocksize for Magstar MP is wrong in master.d/scsi


    RELEASE NOTES

    1. Patch SG0002442 Release Note

           This release note describes patch SG0002442 to IRIX 6.2.
           This patch replaces patch SG0002074, SG0001607, SG0001284.
    
    
    1.1 Supported Hardware Platforms
           This patch contains bug fixes for all hardware platforms
           supported by IRIX 6.2.
    
    
    1.2 Supported Software Platforms
           This patch contains bug fixes for the IRIX 6.2 tape driver
           (tpsc).  The software cannot be installed on other
           configurations.
    
           This patch requires patch SG0002172 (or its successor) to be
           installed
    
           This patch replaces patches SG0002074, SG0001607, SG0001284.
    
    
    1.3 Bugs Fixed by Patch SG0002442
           This patch contains fixes for the following bugs in IRIX
           6.2.  Bug numbers from Silicon Graphics bug tracking system
           are included for reference.
    
              o 526083 Open on stat device breaks I/Os to "regular"
                one.
    
              o 528263 Recommended block size for magstar MP is wrong.
    
    
    1.4 Bugs Fixed in Patches Replaced by Patch SG0002442
              o 313334 Include files sys/mtio.h and sys/param.h are now
                made FORTRAN safe.
    
              o 354033 tpsc didn't correctly handle detection of LEOT
                (early-warning). This has been fixed for all DLT
                drives, STK 9490 (Timberline), STK SD3 (Redwood), IBM
                3590 (Magstar) and Exabyte 8mm devices.
    
                For those applications wanting to support ANSI labels
                (see 'man mtio') a new definition has been added to the
                status word (mt_dposn field of the mtset struct)
                returned by a MTIOCGET ioctl() call, to allow those
                applications to differentiate between LEOT and PEOT.
                See 'man mtio'.
    
    
              o 355446 Block position number reported by the 'mt'
                command for STK 9490 (Timberline), STK SD3 (Redwood)
                was incorrect.
    
              o 365072 On some devices, if the tape was positioned at
                EOD, a read operation was not returning error code
                ENOSPC.
    
              o 365300 For variable block devices, the value of
                recommended blocksize reported in the mtblkinfo
                structure returned by the MTIOCGETBLKINFO ioctl(), was
                not consistent.
    
              o This patch has support for all OEM DLT drives (DLT2x00,
                DLT4x00 and DLT7000).  Additionally, support is added
                to allow a DLT7000 to operate in native or DLT4000
                density. The device nodes used to select the densities
                are
    
                - tps?d?xxx.7000  - DLT7000 native, no compression
                - tps?d?xxx.7000c - DLT7000 native, compression
                - tps?d?xxx.4000  - DLT4000 native, no compression
                - tps?d?xxx.4000c - DLT4000 native, compression
                - tps?d?xxx  = tps?d?xxx.7000
                - tps?d?xxxc = tps?d?xxx.7000c
                xxx = one of 's nrs ns nrns nr sv nrsv nsv v nrnsv nrv'
    
              o 373904 "nr" device would rewind if not used for more
                than 5 minutes.
    
              o 395620 This patch fix the problem of var writes failing
                while application in particular mediad holds stat open
                active on the tape device.  See also bug 468004 - a
                duplicate.
    
              o 456309 Added an ioctl (MTILIMODE) which
                enables/disables suppression of ILI on overlength
                conditions.
    
              o 467316 This corrected the typo which has been
                preventing the driver from reading the tape through a
                fixed sizes device if a size of the fixed tape device
                block was set to a different value than the size of the
                record on tape.
    
              o 467719 This fixed the problem with ODD sized WIDE
                WRITES ON TAPE.  Since it is impossible to send odd
                number of bytes to a wide device, HBA driver is forced
                to send one byte, to make it even.  As a result of this
                special case handling in HBA driver, resid count in the
                IO request block was set to -1, even though in reality
    
    
                the device received exectly as much as it asked for.
                This is passed to an upper driver (tpsc).  The new code
                checks after each IO block returns back from HBA if it
                fits the description above and if yes - resid count is
                fixed to 0.
    
              o 467735 This is to fix an erroneous handling of partial
                reads of small var size records using large fix read
                requests.  As a result it was possible for an
                application to read more data off the tape than it was
                actually written there.
    
              o 474252 This fixed the problem with stale tape state
                after MTSEEK
    
              o This patch has support for SONY AKEBONO drive (SONY
                GY-10).
    
              o 481862 Current block position reporting is fixed for
                3590 drivers
    
              o 485594 The problem with close() fails on end of tape
                for exabyte drives is fixed.
    
              o 497666 The problem with ioctl not failing if given
                illegal space addresses is fixed.
    
              o 499453 High speed locate was "slow" on STK SD3 and 9490
                -- upper 10 bits of block number were being stripped
                off.
    
              o 502518 Add support for the SONY DDS3 DAT drive, in the
                same manner and degree as for the Seagate (formerly
                Archive ARDAT) DDS drives, including audio over scsi.
    
              o 507744 When writing a tape on a timberline drive, the
                MTIOCGET ioctl returns zero for the position for the
                second half of the tape.
    
    
    1.5 Subsystems Included in Patch SG0002442
           This patch release includes these subsystems:
    
              o patchSG0002442.eoe1_sw.unix It replaces the tpsc
                driver.  The tpsc driver is a loadable driver, so there
                is no need to reboot after installing this patch.  Use
                the command: "/sbin/ml unld 144" to be sure that the
                previous tape driver is no longer loaded, if you want
                to be sure you use the one from this patch.
    
    
              o patchSG0002442.eoe1_man.unix
    
    
    1.6 Installation Instructions
           Because you want to install only the patches for problems
           you have encountered, patch software is not installed by
           default.  After reading the descriptions of the bugs fixed
           in this patch (see Section 1.3), determine the patches that
           meet your specific needs.
    
           If, after reading Sections 1.1 and 1.2 of these release
           notes, you are unsure whether your hardware and software
           meet the requirements for installing a particular patch, run
           inst.  The inst program does not allow you to install
           patches that are incompatible with your hardware or
           software.
    
           Patch software is installed like any other Silicon Graphics
           software product.  Follow the instructions in your Software
           Installation Administrator's Guide to bring up the miniroot
           form of the software installation tools.
    
           Follow these steps to select a patch for installation:
    
             1.  At the Inst> prompt, type
    
                 install patchSGxxxxxxx
    
                 where xxxxxxx is the patch number.
    
             2.  Initiate the installation sequence. Type
    
                 Inst> go
    
             3.  You may find that two patches have been marked as
                 incompatible.  (The installation tools reject an
                 installation request if an incompatibility is
                 detected.)  If this occurs, you must deselect one of
                 the patches.
    
                 Inst> keep patchSGxxxxxxx
    
                 where xxxxxxx is the patch number.
    
             4.  After completing the installation process, exit the
                 inst program by typing
    
                 Inst> quit
    
    
    
    1.7 Patch Removal Instructions
           To remove a patch, use the versions remove command as you
           would for any other software subsystem.  The removal process
           reinstates the original version of software unless you have
           specifically removed the patch history from your system.
    
           versions remove patchSGxxxxxxx
    
           where xxxxxxx is the patch number.
    
           To keep a patch but increase your disk space, use the
           versions removehist command to remove the patch history.
    
           versions removehist patchSGxxxxxxx
    
           where xxxxxxx is the patch number.
    
    
    1.8 Known Problems
    
    
    INST SUBSYSTEM REQUIREMENTS
    No Requirements Information Available.
    

    INST SUBSYSTEM CHECKSUMS

    These checksums help to provide a 'signature' for the patch inst image which can be used to authenticate other inst images. You can obtain this kind of output by running sum -r on the image (from the command line):

    22293      2   patchSG0002442
    56302     42   patchSG0002442.eoe_man
    24131    768   patchSG0002442.eoe_sw
    29001      8   patchSG0002442.idb
    

    INST SUBSYSTEM FILE LISTINGS

    The following lists the files which get installed from each subsystem in the patch:

    patchSG0002442.eoe_man.unix
    usr/share/catman/a_man/cat7/mtio.z
    usr/share/catman/a_man/cat7/tps.z

    patchSG0002442.eoe_sw.unix
    dev/MAKEDEV.d/TPS_base
    sbin/mt
    usr/cpu/sysgen/IP17boot/tpsc.o
    usr/cpu/sysgen/IP19boot/tpsc.o
    usr/cpu/sysgen/IP20boot/tpsc.o
    usr/cpu/sysgen/IP21boot/tpsc.o
    usr/cpu/sysgen/IP22boot/tpsc.o
    usr/cpu/sysgen/IP25boot/tpsc.o
    usr/cpu/sysgen/IP26boot/tpsc.o
    usr/cpu/sysgen/IP28boot/tpsc.o
    usr/include/sys/mtio.h
    usr/include/sys/param.h
    usr/include/sys/tpsc.h
    usr/relnotes/patchSG0002442/TC
    usr/relnotes/patchSG0002442/ch1.z
    var/sysgen/master.d/scsi


    DOWNLOAD PATCH
    Download Server File Name Date Added Size Download
    download.sgi.com patchSG0002442.tar 13-Oct-1997 432 K FTP HTTP Add to download cart 
    download.sgi.com patchSG0002442.tardist 13-Oct-1997 432 K FTP HTTP
     
    FTP = download using FTP protocol
    HTTP = download using HTTP protocol
    Add to shopping list= store in your basket for downloading later
  •  


    Document Id: 20021117070259-IRIXPatch-1142