SUMMARY: How do you add hp 4mm tape to SUNOS system?

From: Dinesh Arnold Nair (dinesh@bass.my)
Date: Thu Jan 20 1994 - 00:28:43 CST


Hey,

By now everyone who's interested must have added them entries into
st_conf.c and stdef.h. I did too, but I got "/dev/rst0: no tape loaded or
drive offline" whenever I did a tar, cpio or mt. The solution, Bill Wyatt,
<wyatt@cfa0.harvard.edu>, is to set DIP switches 6,7 and 8 at the bottom
of the tape unit to OFF. I tried that and it works fine. Attached below is
the exchange Bill and I had regarding this matter. Thanx Bill !

______________________________________________________________________________
>From wyatt@cfa0.harvard.edu Thu Jan 20 14:19:44 1994
Date: Wed, 12 Jan 94 13:05:53 EST
From: Bill Wyatt <wyatt@cfa0.harvard.edu>
To: Dinesh Arnold Nair <dinesh@bass.my>
Subject: Re: How do you add hp 4mm tape to SUNOS system?

: > [entry for st_conf.c and stdef.h deleted]

: I added the same entries to st_conf.c and stdef.h on an IPC running 4.1.3
: but a mt -f /dev/rst0 stat says :

: /dev/rst0: no tape loaded or drive offline

: even though there is a tape in the drive. The unit is a HP 6400DC DDS tape
: drive. Other commands like tar too report the same problem. Should I set
: any jumpers or DIP switches inside the tape unit ? I seem to remember
: someone telling me something like that. Later.

I'm not familiar with the exact model you have, but on my HP 35480A,
there are 8 DIP switches on the bottom. As shipped, all 8 are ON. In
that position, I get the above error when attached to my Sun IPC. I
found the manual, and turned 6, 7, and 8 to OFF and it now works.
        
______________________________________________________________________________
>From wyatt@cfa0.harvard.edu Thu Jan 20 14:20:11 1994
Date: Fri, 14 Jan 1994 08:57:18 -0500
From: Bill Wyatt <wyatt@cfa0.harvard.edu>
To: Dinesh Arnold Nair <dinesh@bass.my>
Subject: Re: How do you add hp 4mm tape to SUNOS system?

> On Wed, 12 Jan 1994, Bill Wyatt wrote:
>
> >
> > I'm not familiar with the exact model you have, but on my HP 35480A,
> > there are 8 DIP switches on the bottom. As shipped, all 8 are ON. In
> > that position, I get the above error when attached to my Sun IPC. I
> > found the manual, and turned 6, 7, and 8 to OFF and it now works.
> >
>
> The problem is I don't have TFM. These DIP switches, are they inside the
> unit or outside ? Do I have to open the unit up ?

Yes, they are on the bottom of the tape drive itself. Unless there is
an access cut-out (you probably have already looked), you will have to
at least take the unit out of its shoebox or other chassis to get to the
DIP switches.

Bill Wyatt, Smithsonian Astrophysical Observatory (Cambridge, MA, USA)
 Internet: wyatt@cfa.harvard.edu BITNET: wyatt@cfa
     SPAN: cfa::wyatt or 6699::wyatt
     UUCP: {husc6,cmcl2,mit-eddie}!harvard!cfa!wyatt

______________________________________________________________________________
>From dinesh@bass.my Thu Jan 20 14:21:22 1994
Date: Wed, 19 Jan 1994 14:33:49 +0800 (MYT)
From: Dinesh Arnold Nair <dinesh@bass.my>
To: Bill Wyatt <wyatt@cfa0.harvard.edu>
Subject: Re: How do you add hp 4mm tape to SUNOS system?

On Fri, 14 Jan 1994, Bill Wyatt wrote:

>
> Yes, they are on the bottom of the tape drive itself. Unless there is
> an access cut-out (you probably have already looked), you will have to
> at least take the unit out of its shoebox or other chassis to get to the
> DIP switches.

Hey Bill,

Thanx pal ! That did the trick. Opened the shoe box and found 8 DIP
switches. DIP 1 was OFF while the rest were ON. Switched 6-8 OFF and,
voila ! Only problem was, mt -f /dev/rst0 stat was identifying it as an
Exabyte 8500 but a glance into stdef.h showed why. The type ST_TYPE_HP1
which was #defined to 0x29 was the same as ST_TYPE_EX8500. I changed the
ST_TYPE_HP1 to 0x30 (unique in my stdef.h) and it was ok. Once again,
thanx for the big help ! Guess I owe you a beer anytime you're down in
Malaysia or I come up there.

BTW, I have tested it with tar and cpio and the both work fine both ways.
i.e. write by HP, read on Sun and vice versa. Of course, I used two
different TDs for this, the normal one for the HP and the _treated_ one for
the Sun.

#include <std/disclaimer.h> /\_/\ "All dogs go to heaven."
                                   (0 0)
+==========================----oOO--(_)--OOo----============================+
| Dinesh Nair (dinesh@bass.my) / Surface Address : |
| Technical Specialist \ 9th Floor, Menara SMI, |
| Technical Services Group / 6 Lrg P Ramlee, 50250 Kuala Lumpur |
| BASS Consulting \ Malaysia. Tel : +603-2305588 |
+===========================================================================+



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:54 CDT