I'm having an issue now with a TSZ07 9-track tape drive and 5.1a.
It was working fine on 4.0f, but now it's having problems since the ugprade.
        I can get it to answer mt commands like rewind and status, but if I
try to tar a file out to it, it hangs for a long time (several minutes) and
comes back to a prompt.  I can then get it to respond to the rewind command,
but if I try to tar it back, tar says that it doesn't look like a tar
archive.
        I have tried device files tape0c, tape0, tape0_d1, etc, and it
doesn't make any difference.  I also checked and found that the ddr entry
was the same as the one for 4.0f.  I tried recompiling the ddr base and it
made no difference.
        I have no physical access to this device, just an operator on the
phone.
        Maybe these outputs will help:
 
OSF1 osflab0_at_LOY:/sunquest/tmp # mt -f /dev/ntape/tape0c status
 
DEVIOGET ELEMENT        CONTENTS
----------------        --------
category                DEV_TAPE
bus                     DEV_SCSI
interface               SCSI
device                  TSZ07
adpt_num                0
nexus_num               6
bus_num                 0
ctlr_num                2
slave_num               4
dev_name                tz
unit_num                4
soft_count              0
hard_count              192566
stat                    0x1
                        DEV_BOM
category_stat           0x40
                        DEV_6250BPI
 
DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x10001
                        BOM POS_VALID
unit_status             0x101
                        Ready 2_FM_Close NO_Rewind Buffered
record_size             0
density (current)       6250 BPI
density (on write)      1600 BPI
Filemark Cnt            0
Record Cnt              0
Class                   3 - 9TRK
 
MTIOCGET ELEMENT        CONTENTS
----------------        --------
mt_type                 MT_ISSCSI
mt_dsreg                0x1
                        DEV_BOM
mt_erreg                0x5 Illegal CDB parameter.
mt_resid                0
mt_fileno               0
mt_blkno                0
DEV_EEI_STATUS
        version         0x2
        status          0x2A00  Device requeset illegal/unsupported
        flags           0x1000007
                        CAM_STATUS SCSI_STATUS SCSI_SENSE CAM_DATA
        cam_status      0x4  CCB request completed with an err
        scsi_status     0x2  SCSI_STAT_CHECK_CONDITION
        scsi_sense_data (hex)
                        70  0  5  0  0  0  0  a
                         0  0  0  0 24  0  0 cf
                         0  2  0  0  0  0  0  0
                         0  0  0  0  0  0  0  0
                         0  0  0
        ASC/ASQ = 24/0  Invalid field in CDB
 
--------
        And the ddr entry:
SCSIDEVICE
    #
    Type = tape
    Name = "DEC" "TSZ07"
    #
    PARAMETERS:
        TypeSubClass        = 9trk
        MaxTransferSize     = 65536
        TagQueueDepth       = 0
        ReadyTimeSeconds    = 45                # seconds
 
    DENSITY:
        #
        DensityNumber = 0,2
        DensityCode = 1600r_bpi
        Buffered = 0x1
 
    DENSITY:
        #
        DensityNumber = 1,3,4,5,6,7
        DensityCode = 6250r_bpi
        Buffered = 0x1
 
---------------------
Any ideas?
thanks
-denise
Received on Tue Oct 14 2003 - 22:52:41 NZDT