TLZ09 DAT tape on 4.0g

From: Lucio Chiappetti <lucio_at_mi.iasf.cnr.it>
Date: Wed, 23 Apr 2003 16:04:40 +0200 (MET DST)

I have just upgraded my only Alpha (old 200/100) with a DAT tape attached
to it from 3.2 to 4.0g.

The tape drive did work with the old system (I wrote the dumps just before
zapping the old system). However now it seems to have problems.

I tried reading a couple of tapes (one is a tar file, and the tape is OK
as tested on a Sun). I tried both with /usr/field/tapex -w -m, and one
with tar. However I get funny behaviours like it the tape were empty or
with errors.

I also tried various mt -f /dev/nrmt0h commands (rew status offline
online). Sometimes the tape drive says that it is offline, however it
appears to respond to online/offline and rewind commands.

The curious thing is that most of the time the status reply contains the
following string (full message appended at the end)

        status 0x3200 Device inoperable (needs initialize)

What does it mean ? How do I "initialize" the unit ?

I thought there was something amiss with the device files (the tape is
alone on a second SCSI bus and is tz12), however it appears that during
the OS installation it was detected correctly, at boot it is seen, the
MAKEDEV.log shows the device files made. And just for sure I removed them
and did again MAKEDEV tz12.

This is the full "typical" status message (it may also say things like
"becoming ready" or "changed media", but only in one case I got something
which looked as "no errors" (but then tapex gave errors reading the tape).


DEVIOGET ELEMENT CONTENTS
---------------- --------
category DEV_TAPE
bus DEV_SCSI
interface SCSI
device TLZ09
adpt_num 0
nexus_num 0
bus_num 1
ctlr_num 1
slave_num 3
dev_name tz
unit_num 3
soft_count 0
hard_count 0
stat 0x9
                        DEV_BOM DEV_WRTLCK
category_stat 0x20000
                        DEV_61000_BPI

DEVGETINFO ELEMENT CONTENTS
------------------ --------
media_status 0x10009
                        BOM WrtProt POS_VALID
unit_status 0x181
                        Ready 2_FM_Close NO_Rewind Compacting Buffered
record_size 0
density (current) 61000 BPI
density (on write) 0 BPI
Filemark Cnt 0
Record Cnt 0
Class 2 - RDAT

MTIOCGET ELEMENT CONTENTS
---------------- --------
mt_type MT_ISSCSI
mt_dsreg 0x9
                        DEV_BOM DEV_WRTLCK
mt_erreg 0x8 Blank media encountered.
mt_resid 1
mt_fileno 0
mt_blkno 0
DEV_EEI_STATUS
        version 0x2
        status 0x3200 Device inoperable (needs initialize)
        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)
                        f0 0 8 0 0 0 1 12
                         0 0 0 0 0 0 0 0
                        22 0 0 0 0 0 8 1d
                        1f 40 0 0 0 0 0 0
                         0 0 0 0 0 0 0 0
                         0 0 0
        ASC/ASQ = 0/0 NO Additional Sense Information

----------------------------------------------------------------------------
Lucio Chiappetti - IASF/CNR - via Bassini 15 - I-20133 Milano (Italy)
----------------------------------------------------------------------------
L'Italia ripudia la guerra [...] come Italy repudiates war {...] as a
mezzo di risoluzione delle controversie way of resolution of international
internazionali controversies
                [Art. 11 Constitution of the Italian Republic]
----------------------------------------------------------------------------
For more info : http://www.mi.iasf.cnr.it/~lucio/personal.html
----------------------------------------------------------------------------
Received on Wed Apr 23 2003 - 14:08:21 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT