home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_08 / EXDOS24A.LZH / EXTENDOS.24A / TEXT / SCSI.TXT < prev   
Text File  |  1996-06-08  |  10KB  |  198 lines

  1.  
  2.     SCSI - A Game With Many Rules and no Rulebook?    Version 1.11
  3.  
  4.         Copyright Gary Field, 1994 - All rights reserved.
  5.     Special Internet edition - Freely distributable for non-commercial use.
  6. Author:    Gary Field (garyf@wiis.wang.com) - SCSI hacker since 1985
  7.     With a little help from my friends.
  8. Last Updated: September 9, 1994
  9.  
  10. Trademarks:
  11. MSDOS and Windows are trademarks of Microsoft Corp.
  12. Unix and Netware are trademarks of Novell Corp.
  13. OS/2 is a trademark of IBM Corp.
  14.  
  15. Enough with the legal mumbo-jumbo already.
  16.  
  17. A little scuzzy humor:
  18. User#1: I just bought myself a new CDROM drive.
  19. User#2: Is is SCSI?
  20. User#1: Of course not, it's a really nice one!
  21.  
  22. How do I connect all this stuff to my PC?
  23.  
  24. So you want to play SCSI eh? Be warned, the road can be rough, but the rewards
  25. are great.
  26.  
  27. The rules of the SCSI game:
  28.     o Each SCSI device needs to have a unique identifier (ID) from 0 to 7.
  29.       The host adapter is usually given ID 7. Each device must have a
  30.       different ID.
  31.     o It makes no difference what order devices are connected to the
  32.       bus in. Any ID can be in any position on the bus.
  33.     o There must be exactly two terminators for the SCSI bus.
  34.       If you are playing the FAST SCSI game (meaning that you have a
  35.       host adapter that handles the FAST protocol and at least one device
  36.       that uses FAST mode), then you need to use active terminators.
  37.       See discussions about terminator types in the SCSI FAQ list.
  38.     o The total length of all SCSI cabling must be less than 20 feet (6 m)
  39.       (75 feet (25 m) in the differential version of the game).
  40.     o The cables must flow continuously from one device to the next.
  41.       No stubs more than 3" (.1 m) long are permitted.
  42.     o All cables used must have an AC impedance of between 90 and 130 Ohms.
  43.       This is a tough one! Short of connecting your cables to a RF
  44.       impedance meter, you need to have faith on this one. Get your cables
  45.       from a vendor that knows SCSI well. Tip: If you keep the cables
  46.       really short (like < 2 feet(.6 m) total), you can get away with
  47.       murder.
  48.     o For best reliability, all cables should consist of twisted pairs
  49.       for each SCSI signal. This is not optional in the FAST version.
  50.     o A player may mix flat and round cable as long as the previous four
  51.       rules are not violated. In the FAST version you really need to keep
  52.       such transitions to an absolute minimum.
  53.     o Devices may be located internal or external to the system's case.
  54.       The simplest situation being all internal or all external, but
  55.       mixing is allowed IF all above rules are followed to the letter.
  56.     o At least one device MUST supply power to the TERMPWR line on
  57.       the SCSI bus. (see local rules for important details)
  58.  
  59.  
  60. Local rules:
  61.     o Supplying TERMPWR is usually considered the responsibility of the
  62.       host adapter. This TERMPWR voltage must be between 4.25V and 5.25V
  63.       with both terminators attached to the bus. If your bus seems to
  64.       work most of the time, but is intermittent, get out the scope or 
  65.       voltmeter and check that TERMPWR is within the above range. In 
  66.       addition, the presence of any noise pulses on TERMPWR will really
  67.       screw things up. Some external terminators include a capacitor to
  68.       help reduce noise.
  69.     o It is assumed that all devices are connected to power supplies
  70.       that can fully satisfy all the device's power requirements (even
  71.       during the device's peak load). Also, avoid ground loops by plugging
  72.       the system and all external devices into the same outlet if possible.
  73.       These two rules are often overlooked and can result in severe hair
  74.       loss.
  75.     o Some vendors may require that any hard disks to be supported
  76.       by the PC BIOS (Int 13h) interface, be given ID 0 and ID 1
  77.       respectively. Check your manual for this one.
  78.     o Because of the nature of the PC BIOS INT 13h interface, users
  79.       with drives larger than 1024Kbytes (one Gig), should prepare
  80.       for extra fun. (see the comp.periphs.scsi FAQ for details)
  81.     o Some software will allow devices to be powered on only when
  82.       needed. Other software, may require all devices to be powered on
  83.       when the system is started. It is recommended that you start out
  84.       with all devices on until you get everything working.
  85.     o Some devices power up/down cleanly and will not disturb a running
  86.       SCSI bus, others do not. If you tell the doctor "It hurts when I
  87.       do this", he may well reply "Then don't do that".
  88.     o Most vendors properly key the 50 pin connector on the device,
  89.       however, it shall be the responsibility of the player to make
  90.       sure that pin 1 is really connected to pin 1 everywhere.
  91.     o Smoking is a bad idea, even for SCSI devices. Some vendors don't
  92.       provide a fuse in the TERMPWR line. Forwarned is forearmed.
  93.     o SCSI vendors should provide connectors that are called for in the
  94.       ANSI SCSI spec's. Some will try to pass off 25 pin connectors on
  95.       unsuspecting players. These vendors need a good slap. Feel free
  96.       to harrass and ridicule them at every opportunity.
  97.     o Connecting and disconnecting devices to/from a system while it is
  98.       powered on is seriously discouraged. It is strictly verboten on any
  99.       system that caches disk operations (like Unix) since you don't know
  100.       when bus activity might occur. A word to the wise should be sufficient
  101.       on this one.
  102.     o A SCSI device mounted in an external case needs two connectors so
  103.       that proper bus chaining can be maintained. In an apparent attempt 
  104.       at sick humor, A small number of vendors have played a joke on their
  105.       customers by supplying only one connector. If you are a victim of
  106.       this joke, you need to put this abomination at one end of your bus.
  107.       "Flow-through" terminators are available to help solve the
  108.       termination problem.
  109.       Hopefully, you haven't fallen for this prank more than once!
  110.       (Fool me once - shame on you. Fool me twice - shame on me!)
  111.  
  112. A word about fair play:
  113.     o Please don't use unshielded cables for SCSI connections outside
  114.       your computer's case. Many of us use the radio spectrum for
  115.       something other than a trash heap. Keep your SCSI signals to
  116.       yourself, no-one else wants them.
  117.  
  118. The object of the game:
  119.     o A player must construct a working SCSI bus using the devices and
  120.       adapters supplied to him by multiple vendors.
  121.     o This SCSI bus should be no longer than necessary to attach all
  122.       the given devices.
  123.  
  124.  
  125.     
  126. Wive's tales:
  127.     o Some players will tell you that they needed to connect a third
  128.       terminator or only use one instead of the required two. These
  129.       players do not realize that these symptoms are the result of having
  130.       broken one or more of the other rules. Sometimes, plugging in
  131.       terminator resistor packs backwards or using cables of too low
  132.       impedance can fool these players into thinking these things are
  133.       necessary. Forgive them, for they know not what they're doing.
  134.  
  135. Judging:
  136.     o The computer will be the final judge of adherence to all of the
  137.       above rules.
  138.     o The SCSI game is unusual in that everyone can win!
  139.  
  140.  
  141. The above rules only cover the hardware aspects of SCSI. Without software,
  142. you'll undoubtedly find that your newly constructed SCSI bus is rather boring.
  143. Software is a whole 'nother game!
  144.  
  145.                 ----------
  146.  
  147. SCSI software game: (Also called DRIVERS)
  148. Completion of the above hardware game is a pre-requisite.
  149.  
  150. A little history of the game:
  151. Whereas the SCSI hardware game has strict rules, the SCSI drivers game has been
  152. pretty much a free-for-all. Once, there was total chaos in the land of SCSI.
  153. Each vendor provided driver software for the specific devices it decided to
  154. support. If a player later decided he wanted to attach a device that was
  155. not deemed valuable to their chosen vendor, tough! And to make sure that
  156. a player would not write his own drivers these vendors would not provide
  157. interface spec's for their host adapters. All vendors supported hard disks,
  158. but attaching tapes, or CDROMs was not for the faint of heart.
  159.  
  160. One wise vendor called Adaptec, eventually heard the wailing cries
  161. of it's customers and decreed that henceforth SCSI drivers would talk to their
  162. host adapters via a protocol to be known as ASPI (Adaptec SCSI Programming
  163. Interface). Since ASPI was deemed by many to be too simple for serious players,
  164. the ANSI committee came to the rescue with their CAM (Common Access Method).
  165. These driver interface definitions changed the SCSI software game forever!
  166. Modern players in SCSI software are frequently heard reverently speaking
  167. these acronyms. The ASPI definition covers MSDOS, Windows, OS/2, and Netware.
  168. CAM covers Unix in addition to these.
  169.  
  170. Still, selection of one of these standards is something of a religious act
  171. of faith. Future Domain has wisely chosen to support both by implementing
  172. CAM as their native interface and creating an ASPI interface that goes
  173. down through CAM to the adapter. CAM cannot be implemented on top of ASPI
  174. since CAM is a super-set of ASPI.
  175. These days, in the MSDOS/Windows world, selection of SCSI software is pretty
  176. much a matter of choosing ASPI or CAM and remaining true to your selection.
  177.  
  178.  
  179.  
  180. And so the disks, the tapes and the CDROM all ran happily ever after
  181. and DAT's the end of the story...
  182.  
  183. If you think you're ready for real fun, be sure to pick up a copy of
  184. the comp.periphs.scsi FAQ from these fine sources:
  185.  
  186. (latest version posted during the first week of each month)
  187. comp.answers:
  188. comp.periphs.scsi:
  189. ftp.wang.com:garyf/scsi
  190.  
  191. Parting shot:
  192. Individually we're scuzzy, together we're scum!
  193.  
  194. Don't forget -  The early write eats up the WORM!
  195.  
  196. No sir, the terminator will not make your SCSI bus stop running.
  197.  
  198.