home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!pipex!warwick!mrccrc!doc.ic.ac.uk!agate!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!sgiblab!sgigate!odin!sgihub!zola!zuni!anchor!olson
- From: olson@anchor.esd.sgi.com (Dave Olson)
- Subject: Re: HP DAT drive on a 4D/35
- Message-ID: <s6rqbjs@zuni.esd.sgi.com>
- Sender: news@zuni.esd.sgi.com (Net News)
- Organization: Silicon Graphics, Inc. Mountain View, CA
- References: <BxGzIv.6p2@well.sf.ca.us> <s62becg@zuni.esd.sgi.com> <BxIFt6.L7t@well.sf.ca.us>
- Date: Tue, 10 Nov 92 20:14:15 GMT
- Lines: 42
-
- In <BxIFt6.L7t@well.sf.ca.us> gaarder@well.sf.ca.us (Steve Gaarder) writes:
-
- | In article <s62becg@zuni.esd.sgi.com> olson@anchor.esd.sgi.com (Dave Olson) writes:
- | >In <BxGzIv.6p2@well.sf.ca.us> gaarder@well.sf.ca.us (Steve Gaarder) writes:
- | >
- | >| We have an HP 35480A DAT drive that we have hooked up to a 4D/35 running
- | >| 4.0.5. I can read my own tapes fine, but not tapes made on an HP 9000/700.
- | >| With those, tar gives "premature end of file" and dd gives ") records".
- | >| I note that the hinv command gives the drive type as "unknown", and thus
- | >| suspect part of the problem is that the software does not recognize the
- | >| drive as a DAT drive. Any ideas?
- | >
- | >Start by making a new entry in /usr/sysgen/master.d/tpsc. After it
- | >works (i.e., you ran /etc/autoconfig, rebooted, and hinv and
- | >mt stat report it as a DAT, (assuming this is your only tape drive) do:
- | > su
- | > cd /dev
- | > rm *tape*
- | > ./MAKEDEV tape
- |
- | It worked - thanks!. Now the next question is whether and how I can
- | turn compression on and off (other than the DIP switches on the drive
- | In HP-UX it's done with different device minor numbers.
-
- Somehow I thought that might come up ;) We don't support compression
- mode at all. Typically, however, the mode is set by using a different
- value for the 'density' in the modeselect header. You can either
- write a devscsi program to do this (when the tape isn't open) (see
- 'man ds dslib').
-
- The other thing you can try (assuming HP does use density), is to
- fill in the tp_density field in master.d/tpsc for that drive, and
- set the MTCAN_DENSITY bit. See the difference between the 8500 and
- 8200 Exabyte entries, for example, and the difference in /dev/MAKEDEV
- as to how .8200 and .8500 devices are created when an 8500 drive
- is present. The density value there is placed into the modeselect
- header value as is during the modeselect command. No guarantees on
- this one though.
- --
- Let no one tell me that silence gives consent, | Dave Olson
- because whoever is silent dissents. | Silicon Graphics, Inc.
- Maria Isabel Barreno | olson@sgi.com
-