Write-protection Error with AIT-1 Plus Tape Drive

From: Bob Jackson <bobj_at_soc.duke.edu>
Date: Thu, 22 Jul 1999 12:35:57 -0400 (EDT)

Greetings,

   I am working with a new LaCie branded SONY AIT SDX-300C tape drive.
This drive is an AIT-1 drive with the new Version 0400 firmware upgrade
that allows writing to longer media with 35GB uncompressed and 70GB
compressed capacity. When I insert one of these tapes (Sony SDX2-36C with
memory in cassette feature), the drive detects the tape as write-protected
when it is not.
   The system to which it is attached is running DU4.0B. The
/etc/ddr.dbase file contained an entry for TZS20 (Compaq-branded AIT
drives). Using this information, I added a new entry in the file
modifying the "Name" specification to reflect SONY as the vendor and
SDX-300C as the product-id, then recompiled the database. This did not
solve the problem before or after a reboot.
   Listed below is drive status output and my current ddr.dbase entry.
Would appreciate any leads on what might be wrong or where to go next.
   Thanks,
   
      -- Bob Jackson
    


With a tape in, this is what I see in response to an mt status command:

# mt -f /dev/nrmt10h status

DEVIOGET ELEMENT CONTENTS
---------------- --------
category DEV_TAPE
bus DEV_SCSI
interface SCSI
device SDX-300C
adpt_num 0
nexus_num 0
bus_num 0
ctlr_num 0
slave_num 9
dev_name tz
unit_num 9
soft_count 0
hard_count 0
stat 9
                        DEV_BOM DEV_WRTLCK
category_stat 0
                        DEV_116000_BPI

DEVGETINFO ELEMENT CONTENTS
------------------ --------
media_status 0x9
                        BOM WrtProt
unit_status 0x181
                        Ready 2_FM_Close NO_Rewind Compacting Buffered
record_size 0
density (current) 116000 BPI
density (on write) 0 BPI
Filemark Cnt <Not Valid>
Record Cnt <Not Valid>
Class 5 - 8MM

MTIOCGET ELEMENT CONTENTS
---------------- --------
mt_type MT_ISSCSI
mt_dsreg 0
mt_erreg 0
mt_resid 1


The pertinent portion of /etc/ddr.dbase reads:

SCSIDEVICE
    #
    # Matches SONY SDX-300C
    #
    Type = tape
    Name = "SONY" "SDX-300C"
    #
    PARAMETERS:
        TypeSubClass = 8mm
        TagQueueDepth = 0
        MaxTransferSize = 0x0ffffff # (16MB - 1)
        ReadyTimeSeconds = 90 # seconds

    DENSITY:
        #
        DensityNumber = 0,3,4,5,6,7
        DensityCode = default
        CompressionCode = 0x0
        Buffered = 0x1

    DENSITY:
        #
        DensityNumber = 1,2
        DensityCode = default
        CompressionCode = 0x1
        Buffered = 0x1


-- 
+-[Bob Jackson]------------[Email: bobj_at_soc.duke.edu] ---------------------+
|            Phone: (919) 660-5601            Fax: (919) 660-5623          |
|     Affiliations: Department of Sociology &                              |
|                      Office of Information Technology                    |
|           Office: 140A Sociology/Psychology Building                     |
|   Postal Address: Department of Sociology, Box 90088,                    |
|                   Duke University, Durham, NC  27708-0088                |
+--------------------------------------------------------------------------+
Received on Thu Jul 22 1999 - 16:38:05 NZST

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