home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sgi / 18625 < prev    next >
Encoding:
Text File  |  1993-01-08  |  3.9 KB  |  100 lines

  1. Path: sparky!uunet!contex!wildcat.contex.com!jeff
  2. From: jeff@wildcat.contex.com (Jeff Carey)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: Using (setting up) a 9 track tape drive (?)
  5. Message-ID: <3264@contex.contex.com>
  6. Date: 8 Jan 93 23:20:03 GMT
  7. References: <1993Jan7.185622.16632@Princeton.EDU>
  8. Sender: news@contex.contex.com
  9. Organization: Xyvision Design Systems
  10. Lines: 88
  11.  
  12. In article <1993Jan7.185622.16632@Princeton.EDU> brett@surfpix.princeton.edu (Brett Borowski) writes:
  13. >
  14. >Howdy!
  15. >
  16. >  I have a 9-track tape drive that I'd like to get working  under 4.0.5.
  17. >It used to work on the machine that was running 3.3, but that has since
  18. >been upgraded.  Everything works except for the variable block size stuff.
  19. >There is no device in /dev/mt to accomodate it.  I saw Dave Olsen's
  20. >earlier post, but I need some more specifics.  Here are the details
  21. >about the drive (from mt stat):
  22. >
  23. >Controller:  SCSI
  24. >Device: HP: 88780                A657
  25. >Status: 0x20266
  26. >Drive type: unknown
  27. >Media: READY, write protected, at BOT      (I have a tape in right now...)
  28. >
  29. >Any info would be greatly appreciated!
  30. >
  31. >Brett
  32. >-- 
  33. >brett@surfpix.princeton.edu        (Finger for more info...)
  34.  
  35. You need to edit the file /usr/sysgen/master.d/tpsc, adding
  36. a definition for your tape drive.
  37. For our Cipher 990 tape drives with NCR scsi piggyback (with prom
  38. revision 008), we copied the definition for the Kennedy and made small
  39. changes.  Read comments in tpsc file for explanation.
  40. "man mtio" and/or "man tps" on-line manual pages may be helpful.
  41. Also, "/usr/include/sys/mtio.h" and/or "/usr/include/sys/tpsc.h" may
  42. also help.  Now that I think about it, "/usr/include/sys/tpsc.h" will
  43. definitely help.
  44.  
  45. This is our addition for tpsc file "Revision: 3.19" and "Revision: 3.21",
  46. which are applicable with IRIX 4.0.1 thru 4.0.5F:
  47.  
  48.     ,
  49.     { KENNEDY96X2, TP9TRACK, 7, 0, "NCR H62", "", 0, 0,
  50.        {3, 6, 2, 1}, MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_LEOD |
  51.          MTCAN_CHKRDY|MTCAN_VAR| MTCAN_SETSZ|
  52.          MTCAN_SYNC|MTCANT_RET,
  53.       20, 150, 20*60, 5*60, 512, 60*512 }
  54.  
  55.  
  56. After editting the file, you must run "/etc/autonconfig" (see
  57. "man autoconfig"), and reboot.
  58.  
  59. The "mt -t /dev/mt/tps0d7nrnsv sta" for this drive returns:
  60.  
  61.     Controller: SCSI
  62.     Device: NCR H621: 0-STD1-03-46M990        
  63.     Status: 0x20262
  64.     Drive type: 9 track
  65.     Media : READY, writable, at BOT
  66.  
  67. See "device:", above--it corresponds to the fifth field of the definition.
  68. The fact that your mt stat returns (among other things):
  69. Drive type: unknown
  70. means that the "tp_vendor" field (atleast) of your definition is not
  71. correct.  Where I have `"NCR H62"' you should probably have `"HP: 887"'
  72. with "tp_vlen" also set to 7.  (For these fields, see the definition of
  73. struct tpsc_types in /usr/include/sys/tpsc.h.) Note the definitons of
  74. MAX_INQ_VID and MAX_INQ_PID which are 8 and 16, respectively.  We have
  75. not used the "tp_product" field, but have had a problem with the "tp_vendor"
  76. field when, at one time, we had it 8 characters long...the MAX_INQ_VID
  77. value must account for the NULL at the end of the string. (I wish this
  78. had been explained more clearly    in the file, or somewhere.) Anyhow,
  79. (MAX_INQ_?ID - 1) is the longest these fields can be, I believe.
  80.  
  81. I suspect that you have these correct, but the minor numbers associated
  82. with the device names are (for scsi device 7, atleast):
  83.  
  84.    0 crw-rw-rw-   2 root     sys       23,224 Jan  5 15:30 /dev/mt/tps0d7
  85.    0 crw-rw-rw-   2 root     sys       23,225 Jan  5 15:30 /dev/mt/tps0d7nr
  86.    0 crw-rw-rw-   2 root     sys       23,227 Jan  5 15:30 /dev/mt/tps0d7nrns
  87.    0 crw-rw-rw-   2 root     sys       23,231 Jan  8 15:34 /dev/mt/tps0d7nrnsv
  88.    0 crw-rw-rw-   2 root     sys       23,229 Jan  8 15:34 /dev/mt/tps0d7nrv
  89.    0 crw-rw-rw-   2 root     sys       23,226 Jan  5 15:30 /dev/mt/tps0d7ns
  90.    0 crw-rw-rw-   2 root     sys       23,230 Jan  8 15:34 /dev/mt/tps0d7nsv
  91.    0 crw-rw-rw-   2 root     sys       23,228 Jan  8 15:34 /dev/mt/tps0d7v
  92.  
  93. Good luck.
  94.  
  95. -jeff
  96.  
  97. -- 
  98. Jeff Carey
  99. jeff@contex.com       (or: contex!jeff@uunet.uu.net)
  100.