home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / sgi / 16243 < prev    next >
Encoding:
Text File  |  1992-11-10  |  2.6 KB  |  54 lines

  1. Newsgroups: comp.sys.sgi
  2. 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
  3. From: olson@anchor.esd.sgi.com (Dave Olson)
  4. Subject: Re: HP DAT drive on a 4D/35
  5. Message-ID: <s6rqbjs@zuni.esd.sgi.com>
  6. Sender: news@zuni.esd.sgi.com (Net News)
  7. Organization:  Silicon Graphics, Inc.  Mountain View, CA
  8. References: <BxGzIv.6p2@well.sf.ca.us> <s62becg@zuni.esd.sgi.com> <BxIFt6.L7t@well.sf.ca.us>
  9. Date: Tue, 10 Nov 92 20:14:15 GMT
  10. Lines: 42
  11.  
  12. In <BxIFt6.L7t@well.sf.ca.us> gaarder@well.sf.ca.us (Steve Gaarder) writes:
  13.  
  14. | In article <s62becg@zuni.esd.sgi.com> olson@anchor.esd.sgi.com (Dave Olson) writes:
  15. | >In <BxGzIv.6p2@well.sf.ca.us> gaarder@well.sf.ca.us (Steve Gaarder) writes:
  16. | >
  17. | >| We have an HP 35480A DAT drive that we have hooked up to a 4D/35 running
  18. | >| 4.0.5.  I can read my own tapes fine, but not tapes made on an HP 9000/700.
  19. | >| With those, tar gives "premature end of file" and dd gives ") records".
  20. | >| I note that the hinv command gives the drive type as "unknown", and thus 
  21. | >| suspect part of the problem is that the software does not recognize the
  22. | >| drive as a DAT drive.  Any ideas?
  23. | >
  24. | >Start by making a new entry in /usr/sysgen/master.d/tpsc.  After it
  25. | >works (i.e., you ran /etc/autoconfig, rebooted, and hinv and
  26. | >mt stat report it as a DAT, (assuming this is your only tape drive) do:
  27. | >    su
  28. | >    cd /dev
  29. | >    rm *tape*
  30. | >    ./MAKEDEV tape
  31. | It worked - thanks!.  Now the next question is whether and how I can
  32. | turn compression on and off (other than the DIP switches on the drive
  33. | In HP-UX it's done with different device minor numbers.
  34.  
  35. Somehow I thought that might come up ;)  We don't support compression
  36. mode at all.  Typically, however, the mode is set by using a different
  37. value for the 'density' in the modeselect header.  You can either
  38. write a devscsi program to do this (when the tape isn't open) (see
  39. 'man ds dslib').
  40.  
  41. The other thing you can try (assuming HP does use density), is to
  42. fill in the tp_density field in master.d/tpsc for that drive, and
  43. set the MTCAN_DENSITY bit.  See the difference between the 8500 and
  44. 8200 Exabyte entries, for example, and the difference in /dev/MAKEDEV
  45. as to how .8200 and .8500 devices are created when an 8500 drive
  46. is present.  The density value there is placed into the modeselect
  47. header value as is during the modeselect command.  No guarantees on
  48. this one though.
  49. --
  50. Let no one tell me that silence gives consent,  |   Dave Olson
  51. because whoever is silent dissents.             |   Silicon Graphics, Inc.
  52.     Maria Isabel Barreno                        |   olson@sgi.com
  53.