home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sgi / 16562 < prev    next >
Encoding:
Text File  |  1992-11-17  |  5.6 KB  |  123 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!sgigate!sgi!fido!zola!zuni!anchor!olson
  3. From: olson@anchor.esd.sgi.com (Dave Olson)
  4. Subject: Re: Exabyte 8500C how to config
  5. Message-ID: <sg6fags@zuni.esd.sgi.com>
  6. Keywords: exabyte config
  7. Sender: news@zuni.esd.sgi.com (Net News)
  8. Organization:  Silicon Graphics, Inc.  Mountain View, CA
  9. References: <rlogin.722019535@voltaire.CERCA.UMontreal.CA>
  10. Date: Tue, 17 Nov 92 22:08:21 GMT
  11. Lines: 110
  12.  
  13. In <rlogin.722019535@voltaire.CERCA.UMontreal.CA> renaud@CERCA.UMontreal.CA (Alain Renaud) writes:
  14.  
  15. |   I have just receive a brand new exabyte 8500c (the one with compression). 
  16. |   I would like to know if the config is the same as a 8500 and if a can copy the
  17. | config of the 8500 in /usr/sysgen/master.d/tpsc to the 8500c. 
  18. |   I just heard that you can create device (/dev/rmt/tps??? ) for the different 
  19. | MODE SELECT if so how do you do that.
  20.  
  21. Well, as it happens, I've just finished exchanging email with somebody
  22. about this.  Please understand that this is NOT officially supported.
  23. Since I haven't discussed this with the person I exchanged email with,
  24. I've deleted his name, etc.
  25.  
  26. ===========================
  27. |     Another Question: I am working to integrate a 8500c (compression drive).
  28. |     The drive can be micro-coded to default to 8500 compressed format, but
  29. |     naturally I would prefer to use the proper "mode select (15h)" setting of
  30. |     (8ch) instead of (85h). Apart from the raw SCSI possibilities, would you
  31. |     have any advice? When I go to /dev/rmt/tps0d?, does the driver
  32. |     automatically do a mode select, or can I just use a mt (or mt-like call)
  33. |     beforehand. I can easily write a code to talk direct to /dev/scsi/sc0d*l0.
  34. |     Will this be advisable?
  35.  
  36. You can do this by changing the data we send on the modeselect.  See
  37. the difference between the 8200 and 8500 in /usr/sysgen/master.d/tpsc.
  38. You also need to create devices with the right major/minor (bump the
  39. density value by one in the minor #).  See /dev/MAKEDEV for the 8500,
  40. and also some of the comments in 'man tps'.
  41.  
  42. ---------------- followup to original
  43.  
  44. |     I just spoke with Exabyte. They confirmed my suspicion that all I should
  45. |     need    to do is send (8ch) instead of the (00h) or (14h). I am following
  46. |     your suggestion of looking in /usr/sysgen/master.d/tpsc:
  47. |  
  48. |  /* There are only 2 densities, 8500 mode and 8200.  If someone make
  49. |   * bogus dev numbers using all 4 density bits, it will default back
  50. |   * to 8500 mode.  The inventory string sets the drive up exactly like
  51. |   * the 8200. */
  52. |  { EXABYTE8500, TP8MM, 7, 8, "EXABYTE", "EXB-8500", 6, "\40\4\16\0\200\7", 
  53. |      {0x0, 0x14, 0x0, 0x0},
  54. |    MTCAN_BSF|MTCAN_BSR|MTCAN_PREV|MTCAN_CHKRDY|MTCAN_VAR|MTCAN_SETSZ|
  55. |    MTCAN_SILI|MTCAN_CHTYPEANY|MTCAN_SETDEN|MTCAN_SPEOD|MTCAN_SYNC|
  56. |    MTCAN_SEEK,
  57. |       80, 4*60, 25*60, 5*60, 1024, 128*1024},
  58. |  
  59. |     It appears that I can utililize the other densities (unused) for my
  60. |     purposes. I would change from 
  61. |  
  62. |     {0x0, 0x14, 0x0, 0x0}    /* EXB-8500 format (error checking suppressed)
  63. |                   * EXB-8200 format (full error checking)
  64. |                   * EXB-8500 format (error checking suppressed)
  65. |                   * EXB-8500 format (error checking suppressed)
  66. |                   */
  67. |     to
  68. |  
  69. |     {0x0, 0x14, 0x8c, 0x0    /* EXB-8500 format (error checking suppressed)
  70. |                   * EXB-8200 format (full error checking)
  71. |                   * EXB-8500c compressed format (full error check)
  72. |                   * EXB-8500 format (error checking suppressed)
  73.  
  74. Yes, exactly!
  75.  
  76. |     My follow-up question (if I may) is this:
  77. |  
  78. |     Q.) I'm told the product identification changes from EXB-8500 to EXB8500c;
  79. |     do I change the entry for the 8500 to something like:
  80. |  
  81. |  { EXABYTE8500, TP8MM, 7, 8, "EXABYTE", "EXB8500c", 6, "\40\4\16\0\200\7", 
  82. |                                                 ^
  83. |      {0x0, 0x14, 0x8c, 0x0},
  84. |                        ^^
  85.  
  86. Yes, that should do it.  If the second string had changed length,
  87. then you would change the "8" prior to the string "EXABYTE" to match
  88. the length; this is basicly the 3rd arg to strncmp.
  89.  
  90. |     Does the product id (id_pid) come from the inquiry (12h) command? Exabyte
  91. |     says the reply will be EXB8500c (still 8 bytes). I assume I can't make an
  92. |     entirely new entry in this kernel file, since the driver won't recognize
  93. |     it? 
  94.  
  95. Yes, it comes from inquiry.  Since we have no inventory type for 8500c, 
  96. hinv and 'mt stat' will still report the drive as an 8500, but at least
  97. mt stat will show a different inquiry string.
  98.  
  99. |     If I do need to change some or all of the above, I assume I need to remake
  100. |     the kernel. I've never done that before on a SGI, but I remember seeing
  101. |     something about /etc/autoconfig. Am I going in the right direction (after
  102. |     doing a mdnod for the newer device(s)) ??
  103.  
  104. Right.  You need to run '/etc/autoconfig -f' (you can omit -f and answer
  105. the question if you prefer), which should produce /unix.install, and then
  106. reboot (/unix.install is moved to /unix just prior to the reboot; you 
  107. probably want to preserve /unix as /unix.bak or the like, in case the
  108. new kernel doesn't boot).
  109.  
  110. The mknod for the new device should be based on the 8500 code in /dev/MAKEDEV
  111. (also see the code in that file that makes the 4 density entries for the
  112. Kennedy 9 track drive).  If you change MAKEDEV itself (probably the most
  113. reasonable thing to do), make sure you save a copy somewhere, so you don't
  114. lose it if you (re)install new software.
  115.  
  116. ===========================
  117. --
  118. Let no one tell me that silence gives consent,  |   Dave Olson
  119. because whoever is silent dissents.             |   Silicon Graphics, Inc.
  120.     Maria Isabel Barreno                        |   olson@sgi.com
  121.