Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* exabyte tape drive and OSF1 V1.3 111 / Dec Alpha
@ 1994-10-03 23:15 William Davenant
  1994-10-05  0:11 ` William Davenant
  1994-10-14  9:57 ` Masafumi Kurumada
  0 siblings, 2 replies; 4+ messages in thread
From: William Davenant @ 1994-10-03 23:15 UTC (permalink / raw)



I'm trying to get an exabyte 8mm drive to work with
the above.  From uerf, I see ...

  tz14 at asc1 bus 1 target 6 lun 0 
  _(EXABYTE EXB-85058SBANXB3 06M0) 

In /dev,

# ls -l /dev/*mt*
crw-rw-rw-   1 root     system     9,22535 Oct 03 11:19 /dev/nrmt0a
crw-rw-rw-   1 root     system     9,22531 Oct 03 11:19 /dev/nrmt0h
crw-rw-rw-   1 root     system     9,22529 Oct 03 11:19 /dev/nrmt0l
crw-rw-rw-   1 root     system     9,22533 Oct 03 11:19 /dev/nrmt0m
crw-rw-rw-   1 root     system     9,22534 Oct 03 11:19 /dev/rmt0a
crw-rw-rw-   1 root     system     9,22530 Oct 03 11:19 /dev/rmt0h
crw-rw-rw-   1 root     system     9,22528 Oct 03 11:19 /dev/rmt0l
crw-rw-rw-   1 root     system     9,22532 Oct 03 11:19 /dev/rmt0m

# mt -f /dev/rmt0h status

DEVIOGET ELEMENT        CONTENTS
----------------        --------
category                DEV_TAPE
bus                     DEV_UB
interface
device                  TZxx
adpt_num                1
nexus_num               0
bus_num                 1
ctlr_num                1
slave_num               112
dev_name                tz
unit_num                14
soft_count              U
hard_count              U
stat                    5
                        DEV_BOM DEV_OFFLINE 
category_stat           0
                        <unspecified density>

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

N.b., if a tape is actually in the drive, the above command returns
an i/o error.  Curious, I think.

I also note from uerf ...

EVENT CLASS                             ERROR EVENT 
OS EVENT TYPE                  199.     CAM SCSI 
SEQUENCE NUMBER                  4.
OPERATING SYSTEM                        DEC OSF/1 
OCCURRED/LOGGED ON                      Mon Oct  3 11:24:51 1994
OCCURRED ON SYSTEM                      blah 
SYSTEM ID                 x00000000     CPU TYPE: DEC 
                                        CPU SUBTYPE: KN15BA 

----- UNIT INFORMATION -----

CLASS                         x0001     TAPE 
SUBSYSTEM                     x0000     DISK 
BUS #                         x0001
                              x0070     LUN x0
                                        TARGET x6


The tape drive is scsi id 6 (consistent with above.)  When I try to 
write to the drive, I get i/o errors. I.e.,

blah> tar cvf /dev/rmt0h /etc/motd
tar: cannot open /dev/rmt0h: I/O error

I deleted the previous dev entries and did a MAKEDEV tz14, too, assuming
something may be wrong with the dev numbers.  To no avail.  Btw, the tape
is not write protected.  What's wrong?  Thanks.

-- 
          <'D  /    C /   
           ()-^ --+-\\     L'epigramme est un jeu d'escrime.
           / >      | \                              Antoine Louis Le Brun


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: exabyte tape drive and OSF1 V1.3 111 / Dec Alpha
  1994-10-03 23:15 exabyte tape drive and OSF1 V1.3 111 / Dec Alpha William Davenant
@ 1994-10-05  0:11 ` William Davenant
  1994-10-14  9:57 ` Masafumi Kurumada
  1 sibling, 0 replies; 4+ messages in thread
From: William Davenant @ 1994-10-05  0:11 UTC (permalink / raw)


William Davenant <willdave@access3.digex.net> wrote:
>
>I'm trying to get an exabyte 8mm drive to work with
>the above.  From uerf, I see ...

Altho I have yet to verify it,  the consensus is that
the exabyte drive I have is not supported by the version
of osf I am currently running.  How annoying.  Fortunately,
someone has sent me a patch (thanks) and others have suggested
that Dec as a patch themselves.  


-- 
          <'D  /    C /   
           ()-^ --+-\\     L'epigramme est un jeu d'escrime.
           / >      | \                              Antoine Louis Le Brun


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: exabyte tape drive and OSF1 V1.3 111 / Dec Alpha
  1994-10-03 23:15 exabyte tape drive and OSF1 V1.3 111 / Dec Alpha William Davenant
  1994-10-05  0:11 ` William Davenant
@ 1994-10-14  9:57 ` Masafumi Kurumada
  1994-10-17  6:06   ` Masafumi Kurumada
  1 sibling, 1 reply; 4+ messages in thread
From: Masafumi Kurumada @ 1994-10-14  9:57 UTC (permalink / raw)


Hi!

William Davenant (willdave@access3.digex.net) wrote:

: I'm trying to get an exabyte 8mm drive to work with
: the above.  From uerf, I see ...

:   tz14 at asc1 bus 1 target 6 lun 0 
:   _(EXABYTE EXB-85058SBANXB3 06M0) 

  I think DEC OSF/1 don't support EXABYTE tape drive. (At least, in Japan)
So when you want's to use EXABYTE tape drive, you need to edit System file and 
rebuild the kernel at your own risk.

    **********************************************************************
	Masafumi Kurumada	TEL: 	03-5349-7236
				Mail:	Kurumada.Masafumi@tko.dec-j.co.jp
			 		Kurumada.Masafumi@tko.dec.com
        Digital Equipment Corp. - Japan , Alpha AXP Resource Center
    **********************************************************************


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: exabyte tape drive and OSF1 V1.3 111 / Dec Alpha
  1994-10-14  9:57 ` Masafumi Kurumada
@ 1994-10-17  6:06   ` Masafumi Kurumada
  0 siblings, 0 replies; 4+ messages in thread
From: Masafumi Kurumada @ 1994-10-17  6:06 UTC (permalink / raw)


  When you want to use EXB-8505(EXB-8500C format), please rebuild your
kernel. I'll show the how to rebuild the kernel.

a) edit /sys/data/cam_data.c
b) rebuild the kernel with doconfig command


a) At first, you edit the file, /sys/data/cam_data.c. Please change
the words as following. tkz09 is EXB-8200 format tape drive. We 
use this entry modifying for EXB-8505.

------------------------/sys/data/cam_data.c--------------------------
tkz09_dens = {
    {
    { /* Minor 00 or rmtXl */
    /* Flags */ 
    DENS_VALID | DENS_BUF_VALID ,
    /* Density code	Compression code	Speed setting	*/
    SEQ_54000_BPI,		NULL,			NULL,      =>(1) 
    /* Buffered setting	Blocking				*/
    1,			NULL
    },
    { /* Minor 01 or rmtXh */
    /* Flags */ 
    DENS_VALID | DENS_BUF_VALID ,
    /* Density code	Compression code	Speed setting	*/
    SEQ_45434_BPI,		NULL,			NULL,	   =>(2)
    /* Buffered setting	Blocking				*/
    1,			NULL
    },
    { /* Minor 02 or rmtXm */
    /* Flags */ 
    DENS_VALID | DENS_BUF_VALID ,
    /* Density code	Compression code	Speed setting	*/
    SEQ_45434_BPI,		NULL,			NULL,	   =>(3)
    /* Buffered setting	Blocking				*/
    1,			NULL
    },
    { /* Minor 03 or rmtXa */
    /* Flags */ 
    DENS_VALID | DENS_BUF_VALID ,
    /* Density code	Compression code	Speed setting	*/
    SEQ_54000_BPI,		NULL,			NULL,	   =>(4)
    /* Buffered setting	Blocking				*/
    1,			NULL
    },
    { /* Minor 04 */
    /* Flags */ 
    DENS_VALID | DENS_BUF_VALID ,
    /* Density code	Compression code	Speed setting	*/
    SEQ_45434_BPI,		NULL,			NULL,	   =>(5)
    /* Buffered setting	Blocking				*/
    1,			NULL
    },
    { /* Minor 05 */
    /* Flags */ 
    DENS_VALID | DENS_BUF_VALID ,
    /* Density code	Compression code	Speed setting	*/
    SEQ_45434_BPI,		NULL,			NULL,	   =>(6)
    /* Buffered setting	Blocking				*/
    1,			NULL
    },
    { /* Minor 06 */
    /* Flags */ 
    DENS_VALID | DENS_BUF_VALID ,
    /* Density code	Compression code	Speed setting	*/
    SEQ_45434_BPI,		NULL,			NULL,	   =>(7)
    /* Buffered setting	Blocking				*/
    1,			NULL
    },
    { /* Minor 07 */
    /* Flags */ 
    DENS_VALID | DENS_BUF_VALID ,
    /* Density code	Compression code	Speed setting	*/
    SEQ_45434_BPI,		NULL,			NULL,	   =>(8)
    /* Buffered setting	Blocking				*/
    1,			NULL
    }
    }
};	/* end of tkz09_dens */
------------------------/sys/data/cam_data.c--------------------------

  Please edit the entry as following.

(1) SEQ_54000_BPI change to 0x14 
(2) SEQ_45434_BPI change to 0x90 
(3) SEQ_45434_BPI change to 0x15 
(4) SEQ_54000_BPI change to 0x8c 
(5) SEQ_45434_BPI change to 0x14 
(6) SEQ_45434_BPI change to 0x90 
(7) SEQ_45434_BPI change to 0x15 
(8) SEQ_45434_BPI change to 0x8c 


------------------------/sys/data/cam_data.c--------------------------
/* EXABYTE EXB-8500 */
{ "DEC     TKZ09", 13, DEV_TKZ09, 				=>(9)
  (ALL_DTYPE_SEQUENTIAL << DTYPE_SHFT) | SZ_8MM_CLASS,
  (struct pt_info *)ccmn_null_sizes, SZ_NO_BLK, 0x3c000, 
  &tkz09_dens, &tkz09_mod, SZ_NO_FLAGS,
  NO_OPT_CMDS, 240, SZ_NO_QUE, DD_REQSNS_VAL | DD_INQ_VAL,
  36, 64
},
------------------------/sys/data/cam_data.c--------------------------

  And you replace tkz09 to EXB-8505.

(9) { "DEC     TKZ09", 13, DEV_TKZ09,
		|
		V
    { "EXABYTE EXB-8505", 16, DEV_TKZ09,


(b) change direcotry to /sys/conf. 
	# cd /sys/conf
	# doconfig -c <your system configration file>
	  ex) My machine name is 'tokyo', so configration file is TOKYO.
    Please reboot with the new kernel.	

    **********************************************************************
	Masafumi Kurumada	TEL: 	03-5349-7236
				Mail:	Kurumada.Masafumi@tko.dec-j.co.jp
			 		Kurumada.Masafumi@tko.dec.com
        Digital Equipment Corp. - Japan , Alpha AXP Resource Center
    **********************************************************************


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1994-10-17  6:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-10-03 23:15 exabyte tape drive and OSF1 V1.3 111 / Dec Alpha William Davenant
1994-10-05  0:11 ` William Davenant
1994-10-14  9:57 ` Masafumi Kurumada
1994-10-17  6:06   ` Masafumi Kurumada

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