home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.admin
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!rhbnc!csqx.cs.rhbnc.ac.uk!markd
- From: markd@csqx.cs.rhbnc.ac.uk (Mark Damerell)
- Subject: HP DAT tape on SUN-3 ???
- Message-ID: <1992Nov12.104339.10238@csqx.cs.rhbnc.ac.uk>
- Lines: 74
- Sender: news@csqx.cs.rhbnc.ac.uk (USENET News System)
- Nntp-Posting-Host: csqx.cs.rhbnc.ac.uk
- Reply-To: markd@csqx.cs.rhbnc.ac.uk (Mark Damerell)
- Organization: RHBNC
- Date: Thu, 12 Nov 1992 10:43:39 GMT
-
-
- We have: sun 3/60; sun-OS 3.5; no satisfactory backup device and an
- under-employed DAT tape drive made by H-P (model C1520A). Please
- could anybody give advice on how we might use this drive on our
- suns? (or warn me if it is impossible) We need a special cable,
- but that is no problem, I have found a supplier. He kindly found
- for us a document which unfortunately refers to sun-os 4 and a
- different model of tape (HP 35470/80). This suggests
-
- (1) changing switch settings to " Sun mode with Performance bit on"
- = 12345 ON, 678 OFF. Please does anybody have a doc describing
- the switches on the C1520?
-
- (2) Set SCSI addreses to 4 for rst0/nrst0 and 5 for rst1/nrst1.
-
- (3) Tweak the kernel by editing certain files that we dont have. The
- nearest lookalike in OS 3.5 seems to be /usr/sys/sundev/streg.h
- Assuming that the kernel sends a "who do you think you are?" to the
- drive and the drive replies "HP", it would seem reasonable to alter
- the HP item below to resemble an Exabyte. But should the parameters
- be different?
-
- Thanks, MArk
-
- Below is a fragment from streg.h (several lines omitted)
-
- /*
- * Supported tape device types plus default type for opening.
- */
- #define ST_TYPE_INVALID 0
- #define ST_TYPE_DEFAULT 1
- ..
- #define ST_TYPE_HP 6
- ..
- #define ST_TYPE_EXABYTE 11
-
- /* Defines for supported drive options */
- #define ST_VARIABLE 0x01 /* supports variable length I/O */
- #define ST_QIC 0x02 /* QIC tape drive */
- #define ST_REEL 0x04 /* 1/2-inch reel tape drive */
- #define ST_BSF 0x08 /* supports backspace file */
- #define ST_BSR 0x10 /* supports backspace record */
- #define ST_NODISCON 0x20 /* no disconnect/reconnect support */
-
- /*
- * Misc defines for unknown SCSI tape drives/controllers
- */
- #define ST_DEFAULT_BSIZE 512
- #define ST_DEFAULT_DEN1600 0x00
- #define ST_DEFAULT_DEN6250 0x00
- #define ST_DEFAULT_SPEED 0x00
- #define ST_DEFAULT_OPTIONS (ST_QIC)
- #define IS_DEFAULT(dsi) (dsi->un_ctype == ST_TYPE_DEFAULT)
-
- /*
- * Misc defines specific to HP 88780A 1/2-inch reel SCSI-2 tape drive
- */
- #define ST_HP_BSIZE 10240
- #define ST_HP_DEN1600 0x02
- #define ST_HP_DEN6250 0x03
- #define ST_HP_SPEED 0x00
- #define ST_HP_OPTIONS (ST_REEL | ST_VARIABLE | ST_BSF | ST_BSR)
- #define IS_HP(dsi) (dsi->un_ctype == ST_TYPE_HP)
-
- /*
- * Misc defines specific to Exabyte tape controller
- */
- #define ST_EXABYTE_BSIZE 1024
- #define ST_EXABYTE_DEN1600 0x00
- #define ST_EXABYTE_DEN6250 0x00
- #define ST_EXABYTE_SPEED 0x00
- #define ST_EXABYTE_OPTIONS (ST_QIC)
- #define IS_EXABYTE(dsi) (dsi->un_ctype == ST_TYPE_EXABYTE)
-
-