tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Tyler Hardison <THardison@ModBee.com>
Subject: DLT 2000 and 4.0e
Date: Thu, 10 Apr 2003 15:42:21 -0700	[thread overview]
Message-ID: <653BFFCAB179D211AA5800805F65BFE806D526D0@exchange.modbee.com> (raw)

Trying to get a DLT2000 drive setup on an Alphaserver DS-20 with 4.0e

I used mknod to create an entry in /dev using the formula I found in an
earlier post. However, I have a sneaky suspicion that major number 9 is
either wrong or the driver doesn't support DLT2000. (I used major 9) After
trying to get a status from the drive I get an extended error:

/*
mknod /dev/rmt2 c 9 102400  # (scsi id 4 bus 6 )
mknod /dev/nrmt2 c 9 102400 # (scsi id 4 bus 6 no rewind)

mt -f /dev/rmt2 status

DEVIOGET ELEMENT        CONTENTS
----------------        --------
category                DEV_TAPE
bus                     DEV_SCSI
interface               SCSI
device                  DLT2000
adpt_num                0
nexus_num               0
bus_num                 6
ctlr_num                6
slave_num               15
dev_name                tz
unit_num                15
soft_count              0
hard_count              0
stat                    0x1
                        DEV_BOM
category_stat           0x200000
                        DEV_62500_BPI

DEVGETINFO ELEMENT      CONTENTS
------------------      --------
media_status            0x10001
                        BOM POS_VALID
unit_status             0x121
                        Ready 2_FM_Close Rewind Buffered
record_size             0
density (current)       62500 BPI
density (on write)      0 BPI
Filemark Cnt            0
Record Cnt              0
Class                   2 - RDAT

MTIOCGET ELEMENT        CONTENTS
----------------        --------
mt_type                 MT_ISSCSI
mt_dsreg                0x1
                        DEV_BOM
mt_erreg                0x6 Target reset or medium changed.
mt_resid                0
mt_fileno               0
mt_blkno                0
DEV_EEI_STATUS
        version         0x2
        status          0x3400  Device hardware error (hard error)
        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  6  0  0  0  0 15
                         0  0  0  0 28  0  0  0
                         0  0 80  c b8  0  0 9d
                         4  0 39 f3 57  0  0  0
                         0  0  0  0  0  0  0  0
                         0  0  0  0  0  0
        ASC/ASQ = 28/0  Not ready to ready transistion (medium may have
changed)
*/
It does briefly access the tape drive then spits out the message.

Thanks!

Tyler.


                 reply	other threads:[~2003-04-10 22:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox