home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / faqs / comp / answers / scsi-faq / part2 < prev   
Encoding:
Internet Message Format  |  1997-10-02  |  75.3 KB

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!cam-news-hub1.bbnplanet.com!su-news-hub1.bbnplanet.com!news.bbnplanet.com!news1.digital.com!pa.dec.com!lead.zk3.dec.com!lead.zk3.dec.com!gfield
  2. From: gfield@zk3.dec.com (Gary Field)
  3. Newsgroups: comp.periphs.scsi,comp.answers,news.answers
  4. Subject: comp.periphs.scsi FAQ part 2 of 2
  5. Followup-To: comp.periphs.scsi
  6. Date: 01 Oct 1997 17:52:51 GMT
  7. Organization: Digital Equipment Corp.
  8. Lines: 1663
  9. Approved: news-answers-request@MIT.EDU
  10. Distribution: world
  11. Expires: 5 Nov 1997 05:00:03 GMT
  12. Message-ID: <GFIELD.97Oct1135251@scuzzy.zk3.dec.com>
  13. Reply-To: gfield@zk3.dec.com (Gary Field)
  14. NNTP-Posting-Host: scuzzy.zk3.dec.com
  15. Summary: This posting contains a list of Frequently Asked
  16.              Questions (and their answers) about SCSI.  It
  17.              should be read by anyone who wishes to post to the
  18.              comp.periphs.scsi newsgroup.
  19. Xref: senator-bedfellow.mit.edu comp.periphs.scsi:94820 comp.answers:28322 news.answers:113584
  20.  
  21. Archive-name: scsi-faq/part2
  22. Posting-Frequency: monthly
  23. Last-modified: 1997/08/11
  24.  
  25.                   SCSI FAQ:
  26.        Frequently Asked Questions for comp.periphs.scsi
  27.  
  28.                   VOLUME 2
  29.  
  30. Volume 2 Table of Contents:
  31.     What is the difference between SCSI-1 and SCSI-2?
  32.     Is SYNCHRONOUS faster than ASYNCHRONOUS?
  33.     Is the 53C90 Faster than spec?
  34.     What are the jumpers on my Conner drive?
  35.     What are the jumpers for my Wangtek 5150 drive?
  36.     How do I configure my HP DDS DAT tape drive?
  37.     What is CAM?
  38.     What is FPT (Termination)?
  39.     What is Active Termination?
  40.     Why Is Active Termination Better?
  41.     How can I tell whether an unmarked terminator is active or passive?
  42.     Where can I buy terminators ?
  43.     What is Plug and Play SCSI?
  44.     Where can I get drivers (ASPI and other) for the WD7000 FASST2 host adapter?
  45.     What if I have a drive larger than a gigabyte (1024MB) ?
  46.     My SCSI bus works, but is not reliable. What should I look at?
  47.     Where can I find information about programming using the ASPI
  48.           interface from DOS and Windows?
  49.     How do I replace the Macintosh internal hard disk and terminate the
  50.     SCSI bus properly?
  51.     Will attaching a SCSI-1 device to my SCSI-2 bus hurt its performance?
  52.     Can I connect a SCSI-3 disk to my SCSI-1 host adapter?
  53.     Can I connect a SCSI-2 CDROM to my SCSI-3 host adapter?
  54.     Can I connect a WIDE device to my narrow SCSI host adapter?
  55.     Can I connect a narrow device to my WIDE SCSI host adapter?
  56.     How does device ID numbering work with WIDE vs NARROW devices?
  57.     What is spindle-sync and why would I want it?
  58.  
  59. ====
  60. QUESTION: What is the difference between SCSI-1 and SCSI-2?
  61. ANSWER From Dal Allen:
  62. ====
  63.  
  64.                           SCSI-1_versus_SCSI-2
  65.  
  66. In 1985, when the first SCSI standard was being finalized as an American
  67. National Standard, the X3T9.2 Task Group was approached by a group of
  68. manufacturers.  The group wanted to increase the mandatory requirements of
  69. SCSI and to define further features for direct-access devices.  Rather than
  70. delay the SCSI standard, X3T9.2 formed an ad hoc group to develop a working
  71. paper that was eventually called the Common Command Set (CCS).  Many products
  72. were designed to this working paper.
  73.  
  74. In parallel with the development of the CCS working paper, X3T9.2 sought
  75. permission to begin working on an enhanced SCSI standard, to be called SCSI-2.
  76. SCSI-2 would include the results of the CCS working paper, caching commands,
  77. performance enhancement features, and whatever else X3T9.2 deemed worthwhile.
  78. While SCSI-2 was to go beyond the original SCSI standard (now referred to as
  79. SCSI-1), it was to retain a high degree of compatibility with SCSI-1 devices.
  80.  
  81. How is SCSI-2 different from SCSI-1?
  82.  
  83. 1.  Several options were removed from SCSI-1:
  84.  
  85.    a.  Single initiator option was removed.
  86.    b.  Non-arbitrating Systems option was removed.
  87.    c.  Non-extended sense data option was removed.
  88.    d.  Reservation queuing option was removed.
  89.    e.  The read-only device command set was replaced by the CD-ROM command
  90.        set.
  91.    f.  The alternative 1 shielded connector was dropped.
  92.  
  93.  
  94. 2.  There are several new low-level requirements in SCSI-2:
  95.  
  96.    a.  Parity must be implemented.
  97.    b.  Initiators must provide TERMPWR -- Targets may provide TERMPWR.
  98.    c.  The arbitration delay was extended to 2.4 us from 2.2 us.
  99.    d.  Message support is now required.
  100.  
  101.  
  102. 3.  Many options significantly enhancing SCSI were added:
  103.  
  104.    a.  Wide SCSI (up to 32 bits wide using a second cable)
  105.    b.  Fast SCSI (synchronous data transfers of up to 10 Mega-transfers per
  106.        second -- up to 40 MegaBytes per second when combined with wide SCSI)
  107.    c.  Command queuing (up to 256 commands per initiator on each logical unit)
  108.    d.  High-density connector alternatives were added for both shielded and 
  109.        non- shielded connectors.
  110.    e.  Improved termination for single-ended buses (Alternative 2)
  111.    f.  Asynchronous event notification
  112.    g.  Extended contingent allegiance
  113.    h.  Terminate I/O Process messaging for time- critical process termination
  114.  
  115. 4.  New command sets were added to SCSI-2 including:
  116.  
  117.    a.  CD-ROM (replaces read-only devices)
  118.    b.  Scanner devices
  119.    c.  Optical memory devices (provides for write-once, read-only, and
  120.        erasable media)
  121.    d.  Medium changer devices
  122.    e.  Communications devices
  123.  
  124.  
  125. 5.  All command sets were enhanced:
  126.  
  127.    a.  Device Models were added
  128.    b.  Extended sense was expanded to add:
  129.        + Additional sense codes
  130.        + Additional sense code qualifiers
  131.        + Field replaceable unit code
  132.        + Sense key specific bytes
  133.  
  134.    c.  INQUIRY DATA was expanded to add:
  135.        + An implemented options byte
  136.        + Vendor identification field
  137.        + Product identification field
  138.        + Product revision level field
  139.        + Vital product data (more extensive product reporting)
  140.  
  141.    d.  The MODE SELECT and MODE SENSE commands were paged for all device types
  142.    e.  The following commands were added for all device types:
  143.  
  144.        + CHANGE DEFINITION
  145.        + LOG SELECT
  146.        + LOG SENSE
  147.        + READ BUFFER
  148.        + WRITE BUFFER
  149.  
  150.    f.  The COPY command definition was expanded to include information on how
  151.        to handle inexact block sizes and to include an image copy option.
  152.    g.  The direct-access device command set was enhanced as follows:
  153.  
  154.        + The FORMAT UNIT command provides more control over defect management
  155.        + Cache management was added:
  156.           - LOCK/UNLOCK CACHE command
  157.           - PREFETCH command
  158.           - SYNCHRONIZE CACHE command
  159.           - Force unit access bit
  160.           - Disable page out bit
  161.  
  162.        + Several new commands were added:
  163.           - READ DEFECT DATA
  164.           - READ LONG
  165.           - WRITE LONG
  166.           - WRITE SAME
  167.  
  168.        + The sequential-access device command set was enhanced as follows:
  169.  
  170.           - Partitioned media concept was added:
  171.             * LOCATE command
  172.             * READ POSITION command
  173.  
  174.           - Several mode pages were added
  175.           - Buffered mode 2 was added
  176.           - An immediate bit was added to the WRITE FILEMARKS command
  177.  
  178.        + The printer device command set was enhanced as follows:
  179.           - Several mode pages defined:
  180.             * Disconnect/reconnect
  181.             * Parallel printer
  182.             * Serial printer
  183.             * Printer options
  184.  
  185.        + The write-once (optical) device command set was enhanced by:
  186.           - Several new commands were added:
  187.             * MEDIUM SCAN
  188.             * READ UPDATED BLOCK
  189.             * UPDATE BLOCK
  190.  
  191.           - Twelve-byte command descriptor blocks were defined for several
  192.             commands to accommodate larger transfer lengths.
  193.  
  194. =============================================================================
  195.  
  196. The following article was written by Dal Allan of ENDL in April 1990.  It 
  197. was published nine months later in the January 1991 issue of "Computer 
  198. Technology Review".  While it appeared in the Tape Storage Technology 
  199. Section of CTR, the article is general in nature and tape-specific.  In 
  200. spite of the less than timely publication, most of the information is still 
  201. valid.
  202.  
  203. It is reprinted here with the permission of the author.  If you copy this 
  204. article, please include this notice giving "Computer Technology Review" 
  205. credit for first publication.
  206.  
  207. ------------------------------------------------------------------------------
  208.                             What's New in SCSI-2
  209.  
  210. Scuzzy is the pronunciation and SCSI (Small Computer System Interface) is 
  211. the acronym, for the best known and most widely used ANSI (American National 
  212. Standards Institute) interface. 
  213.  
  214. Despite use of the term "Small" in its name, everyone has to agree that 
  215. Scuzzy is large - in use, in market impact, in influence, and unfortunately, 
  216. in documentation. The standards effort that began with a 20-page 
  217. specification in 1980 has grown to a 600 page extravaganza of technical 
  218. information. 
  219.  
  220. Even before ANSI (American National Standards Institute) published the first 
  221. run of SCSI as standards document in 1986, ASC (Accredited Standards 
  222. Committee) X3T9.2 was hard at work on SCSI-2. 
  223.  
  224. No technical rationale can be offered as to why SCSI-1 ended and SCSI-2 
  225. began, or as to why SCSI-2 ended and SCSI-3 began. The justification is much 
  226. more simple - you have to stop sometime and get a standard printed. Popular 
  227. interfaces never stop evolving, adapting, and expanding to meet more uses 
  228. than originally envisaged. 
  229.  
  230. Interfaces even live far beyond their technological lifespan. SMD (Storage 
  231. Module Drive) has been called technically obsolete for 5 years but every 
  232. year there are more megabytes shipped on the SMD interface than the year 
  233. before. This will probably continue for another year or so before the high 
  234. point is reached, and it will at least a decade before SMD is considered to 
  235. be insignificant. 
  236.  
  237. If SCSI enhancements are cut off at an arbitrary point, what initiates the 
  238. decision? Impatience is as good an answer as any. The committee and the 
  239. market get sick of promises that the revision process will "end soon," and 
  240. assert pressure to "do it now."
  241.  
  242. The SCSI-3 effort is actively under way right now, and the workload of the 
  243. committee seems to be no less than it was a year ago. What is pleasant, is 
  244. that the political pressures have eased. 
  245.  
  246. There is a major difference between the standards for SCSI in 1986 and SCSI-
  247. 2 in 1990. The stated goal of compatibility between manufacturers had not 
  248. been achieved in SCSI in 1986 due to a proliferation of undocumented 
  249. "features." 
  250.  
  251. Each implementation was different enough that new software drivers had to be 
  252. written for each device. OEMs defined variations in hardware that required 
  253. custom development programs and unique microcode. Out of this diversity 
  254. arose a cry for commonality that turned into CCS (Common Command Set), and 
  255. became so popular that it took on an identity of its own. 
  256.  
  257. CCS defined the data structures of Mode Select and Mode Sense commands, 
  258. defect management on the Format command and error recovery procedures. CCS 
  259. succeeded because the goals were limited, the objectives clear and the time 
  260. was right. 
  261.  
  262. CCS was the beginning of SCSI-2, but it was only for disks. Tape and optical 
  263. disks suffered from diversity, and so it was that the first working group 
  264. efforts on SCSI-2 were focused on tapes and optical disks. However, opening 
  265. up a new standards effort is like lifting the lid on Pandora's Box - it's 
  266. hard to stay focused on a single task. SCSI-2 went far beyond extending and 
  267. consolidating CCS for multiple device types. 
  268.  
  269. SCSI-2 represents three years of creative thought by some of the best minds 
  270. in the business. Many of the new features will be useful only in advanced 
  271. systems; a few will find their way into the average user's system. Some may 
  272. never appear in any useful form and will atrophy, as did some original SCSI 
  273. features like Extended Identify.
  274.  
  275. Before beginning coverage of "what's new in SCSI-2," it might be well to 
  276. list some of the things that aren't new. The silicon chips designed for SCSI 
  277. are still usable. No new features were introduced which obsolete chips. The 
  278. cause of silicon obsolescence has been rapid market shifts in integrating 
  279. functions to provide higher performance. 
  280.  
  281. Similarly, initiators which were designed properly, according to SCSI in 
  282. 1986, will successfully support SCSI-2 peripherals. However, it should be 
  283. pointed out that not all the initiators sold over the last few years behaved 
  284. according to the standard, and they can be "blown away "by SCSI-2 targets. 
  285.  
  286. The 1986 standard allows either initiators or targets to begin negotiation 
  287. for synchronous transfers, and requires that both initiators and targets 
  288. properly handle the sequence. A surprisingly large percentage of SCSI 
  289. initiators will fail if the target begins negotiation. This has not been as 
  290. much of a problem to date as it will become in the future, and you know as 
  291. well as I do, that these non-compliant initiators are going to blame the 
  292. SCSI-2 targets for being "incompatible." 
  293.  
  294. Quirks in the 1986 standard, like 4 bytes being transferred on Request 
  295. Sense, even if the requested length was zero have been corrected in SCSI-2. 
  296. Initiators which relied on this quirk instead of requesting 4 bytes will get 
  297. into trouble with a SCSI-2 target. 
  298.  
  299. A sincere effort has been made to ensure that a 1986-compliant initiator 
  300. does not fail or have problems with a SCSI-2 target. If problems occur, look 
  301. for a non-compliant initiator before you blame the SCSI-2 standard. 
  302.  
  303. After that little lecture, let us turn to the features you will find in 
  304. SCSI-2 which include: 
  305.  
  306.  o Wide SCSI: SCSI may now transfer data at bus widths of 16 and 32 bits. 
  307. Commands, status, messages and arbitration are still 8 bits, and the B-Cable 
  308. has 68 pins for data bits. Cabling was a confusing issue in the closing days 
  309. of SCSI-2, because the first project of SCSI-3 was the definition of a 16-
  310. bit wide P-Cable which supported 16-bit arbitration as well as 16-bit data 
  311. transfers. Although SCSI-2 does not contain a definition of the P-Cable, it 
  312. is quite possible that within the year, the P-Cable will be most popular 
  313. non-SCSI-2 feature on SCSI-2 products. The market responds to what it wants, 
  314. not the the arbitrary cutoffs of standards committees.
  315.  
  316.  o Fast SCSI: A 10 MHz transfer rate for SCSI came out of a joint effort 
  317. with the IPI (Intelligent Peripheral Interface) committee in ASC X3T9.3. 
  318. Fast SCSI achieves 10 Megabytes/second on the A-Cable and with wider data 
  319. paths of 16- and 32-bits can rise to 20 Megabytes/second and even 40 
  320. Megabytes/second. However, by the time the market starts demanding 40 
  321. Megabytes/second it is likely that the effort to serialize the physical 
  322. interface for SCSI-3 will attract high-performance SCSI users to the Fiber 
  323. Channel. 
  324.  
  325. A word of caution. At this time the fast parameters cannot be met by the 
  326. Single Ended electrical class, and is only suitable for Differential. One of 
  327. the goals in SCSI-3 is to identify the improvements needed to achieve 10 MHz 
  328. operation with Single Ended components.
  329.  
  330.  o Termination: The Single Ended electrical class depends on very tight 
  331. termination tolerances, but the passive 132 ohm termination defined in 1986 
  332. is mismatched with the cable impedance (typically below 100 ohms). Although 
  333. not a problem at low speeds when only a few devices are connected, 
  334. reflections can cause errors when transfer rates increase and/or more 
  335. devices are added. In SCSI-2, an active terminator has been defined which 
  336. lowers termination to 110 ohms and is a major boost to system integrity.
  337.  
  338.  o Bus Arbitration, Parity and the Identify Message were options of SCSI, 
  339. but are required in SCSI-2. All but the earliest and most primitive SCSI 
  340. implementations had these features anyway, so SCSI-2 only legitimizes the de 
  341. facto market choices. The Identify message has been enhanced to allow the 
  342. target to execute processes, so that commands can be issued to the target 
  343. and not just the LUNs. 
  344.  
  345.  o Connectors: The tab and receptacle microconnectors chosen for SCSI-2 are 
  346. available from several sources. A smaller connector was seen as essential 
  347. for the shrinking form factor of disk drives and other peripherals. This 
  348. selection was one of the most argued over and contentious decisions made 
  349. during SCSI-2 development. 
  350.  
  351.  o Rotational Position Locking: A rose by any other name, this feature 
  352. defines synchronized spindles, so than an initiator can manage disk targets 
  353. which have their spindles locked in a known relative position to each other. 
  354. Synchronized disks do not all have to be at Index, they can be set to an 
  355. offset in time relative to the master drive. By arraying banks of 
  356. synchronized disks, faster transfer rates can be achieved. 
  357.  
  358.  o Contingent Allegiance: This existed in SCSI-1, even though it was not 
  359. defined, and is required to prevent the corruption of error sense data. 
  360. Targets in the Contingent Allegiance state reject all commands from other 
  361. initiators until the error status is cleared by the initiator that received 
  362. the Check Condition when the error occurred. 
  363.  
  364. Deferred errors were a problem in the original SCSI but were not described. 
  365. A deferred error occurs in buffered systems when the target advises Good 
  366. Status when it accepts written data into a buffer. Some time later, if 
  367. anything goes wrong when the buffer contents are being written to the media, 
  368. you have a deferred error. 
  369.  
  370.  o Extended Contingent Allegiance (ECA): This extends the utility of the 
  371. Contingent Allegiance state for an indefinite period during which the 
  372. initiator that received the error can perform advanced recovery algorithms. 
  373.  
  374.  o Asynchronous Event Notification (AEN): This function compensates for a 
  375. deficiency in the original SCSI which did not permit a target to advise the 
  376. initiator of asynchronous events such as a cartridge being loaded into a 
  377. tape drive. 
  378.  
  379.  o Mandatory Messages: The list of mandated messages has grown: 
  380.  
  381.   +----------------------+--------------------------+-------------------+
  382.   |       Both           |       Target             |     Initiator     |
  383.   +----------------------+--------------------------+-------------------|
  384.   | Identify             | Abort                    | Disconnect        |
  385.   |                      |                          |                   |
  386.   | Message Reject       | No Operation             | Restore Pointer   |
  387.   |                      |                          |                   |
  388.   | Message Parity Error | Bus Device Reset         | Save Data Pointer |
  389.   |                      |                          |                   |
  390.   |                      | Initiator Detected Error |                   |
  391.   +----------------------+--------------------------+-------------------+
  392.  
  393.  o Optional messages have been added to negotiate wide transfers and Tags to 
  394. support command queueing. A last-minute inclusion in SCSI-2 was the ability 
  395. to Terminate I/O and receive the residue information in Check Condition 
  396. status (so that only the incomplete part of the command need be re-started 
  397. by the initiator).
  398.  
  399.  o Command Queueing: In SCSI-1, initiators were limited to one command per 
  400. LUN e.g. a disk drive. Now up to 256 commands can be outstanding to one LUN. 
  401. The target is allowed to re-sequence the order of command execution to 
  402. optimize seek motions. Queued commands require Tag messages which follow the 
  403. Identify. 
  404.  
  405.  o Disk Cacheing: Two control bits are used in the CDB (Command Descriptor 
  406. Block) to control whether the cache is accessed on a Read or Write command, 
  407. and some commands have been added to control pre-fetching and locking of 
  408. data into the cache. Users do not have to change their software to take 
  409. advantage of cacheing, however, as the Mode Select/Mode Sense Cache page 
  410. allows parameters to be set which optimize the algorithms used in the target 
  411. to maximize cache performance. Here is another area in which improvements 
  412. have already been proposed in SCSI-3, and will turn up in SCSI-2 products 
  413. shipping later this year. 
  414.  
  415.  o Sense Keys and Sense Codes have been formalized and extended. A subscript 
  416. byte to the Sense Code has been added to provide specifics on the type of 
  417. error being reported. Although of little value to error recovery, the 
  418. additional information about error causes is useful to the engineer who has 
  419. to analyze failures in the field, and can be used by host systems as input 
  420. to prognostic analysis to anticipate fault conditions. 
  421.  
  422.  o Commands: Many old commands have been reworked and several new commands 
  423. have been added. 
  424.  
  425.  o Pages: Some method had to be found to pass parameters between host and 
  426. target, and the technique used is known as pages. The concept was introduced 
  427. in CCS and has been expanded mightily in SCSI-2. 
  428.  
  429. A number of new Common Commands have been added, and the opcode space for 
  430. 10-byte CDBs has been doubled. 
  431.  
  432.  o Change Definition allows a SCSI-2 initiator to instruct a SCSI-2 target 
  433. to stop executing according to the 1986 standard, and provide advanced SCSI-
  434. 2 features. Most SCSI-2 targets will power on and operate according to the 
  435. 1986 standard (so that there is no risk of "disturbing" the installed 
  436. initiators, and will only begin operating in SCSI-2 mode, offering access to 
  437. the advanced SCSI-2 capabilities, after being instructed to do so by the 
  438. initiator using the Change Definition command.
  439.  
  440.  o The Mode Select and Mode Sense pages which describe parameters for 
  441. operation have been greatly expanded, from practically nothing in 1986 to 
  442. hundreds of items in SCSI-2. Whenever you hear of something being described 
  443. as powerful and flexible tool, think complicated. Integrators are advised to 
  444. be judicious in their selection of the pages they decide to support. 
  445.  
  446.  o the Inquiry command now provides all sorts of interesting data about the 
  447. target and its LUNs. Some of this is fixed by the standard, but the main 
  448. benefit may be in the Vendor Unique data segregated into the special 
  449. designation of Vital Product Data, which can be used by integrators as a 
  450. tool to manage the system environment.
  451.  
  452.  o Select Log and Sense Log have been added so that the initiator can gather 
  453. both historical (e.g. all Check Conditions) and statistical (e.g. number of 
  454. soft errors requiring ECC) data from the target. 
  455.  
  456.  o Diagnostic capabilities have been extended on the Read/Write Buffer and 
  457. Read/Write Long commands. The ways in which the target can manage bad blocks 
  458. in the user data space have been defined further and regulated to reduce 
  459. inconsistencies in the 1986 standard. A companion capability to Read Defect 
  460. Data permits the initiator to use a standard method to be advised of drive 
  461. defect lists. 
  462.  
  463.  o A new group of 12-byte command blocks has been defined for all optical 
  464. devices to support the large volume sizes and potentially large transfer 
  465. lengths. The Erase command has been added for rewritable optical disks so 
  466. that areas on the media can be pre-erased for subsequent recording. Write 
  467. Once disks need Media Scan, so that the user can find blank areas on the 
  468. media. 
  469.  
  470.  o New command sets have been added for Scanners, Medium Changers, and CD 
  471. ROMs. 
  472.  
  473. All of this technical detail can get boring, so how about some "goodies" in 
  474. SCSI-2 which benefit the common man and help the struggling engineer? First, 
  475. and probably the best feature in SCSI-2 is that the document has been 
  476. alphabetized. No longer do you have to embark on a hunt for the Read command 
  477. because you cannot remember the opcode. 
  478.  
  479. In the 1986 standard, everything was in numeric sequence, and the only 
  480. engineers who could find things easily were the microprogrammers who had 
  481. memorized all the message and opcode tables. Now, ordinary people can find 
  482. the Read command because it is in alphabetic sequence. This reorganization 
  483. may sound like a small matter but it wasn't, it required a considerable 
  484. amount of effort on the part of the SCSI-2 editors. It was well worth it. 
  485.  
  486. Another boon is the introduction for each device class of models which 
  487. describe the device class characteristics. The tape model was the most 
  488. needed, because various tape devices use the same acronym but with different 
  489. meanings or different acronyms for the same meaning. 
  490.  
  491. The SCSI-2 tape model defines the terms used by SCSI-2, and how they 
  492. correspond to the acronyms of the different tapes. For example, on a 9-track 
  493. reel, End of Tape is a warning, and there is sufficient media beyond the 
  494. reflective spot to record more data and a trailer. Not so on a 1/4" tape 
  495. cartridge, End of Tape means out of media and no more data can be written. 
  496. This sort of difference in terms causes nightmares for standardization 
  497. efforts. 
  498.  
  499. So there it is, a summary of what is in SCSI-2. It's not scary, although it 
  500. is daunting to imagine plowing through a 600-page document. Time for a 
  501. commercial here. The "SCSI Bench Reference" available from ENDL Publications 
  502. (408-867-6642), is a compaction of the standard. It takes the 10% of SCSI-2 
  503. which is constantly referenced by any implementor, and puts it in an easy-
  504. to-use reference format in a small handbook. The author is Jeff Stai, one of 
  505. the earliest engineers to become involved with SCSI implementation, and a 
  506. significant contributor to the development of both the 1986 standard and 
  507. SCSI-2. 
  508.  
  509. SCSI-2 is not yet published as a standard, but it will be available later 
  510. this year. Until then, the latest revision can be purchased from Global 
  511. Engineering (800-854-7179).
  512.  
  513. Biography
  514.  
  515. Consultant and analyst I. Dal Allan is the founder of ENDL and publisher of 
  516. the ENDL Letter and the "SCSI Bench Reference." A pioneer and activist in 
  517. the development and use of standard interfaces, he is Vice Chairman of ASC 
  518. X3T9.2 (SCSI) and Chairman of the SCSI-2 Common Access Method Committee. 
  519.  
  520.  
  521. ====
  522. QUESTION: What is the difference between SCSI-2 and SCSI-3?
  523. ANSWER From: excerpts of postings by Jeff Stai and others:
  524.     (Mohit K Goyall - goyall@utdallas.edu),
  525.     (Andrew E. Lowman - lowman@arizona.edu)
  526. ====
  527.  
  528. Are SCSI-3 hard drives and/or controllers available yet?
  529.  
  530. Allegedly.  Previous postings have said "I heard that SCSI-3 has been
  531. standardized," but I haven't seen anything firm about it.  I've seen
  532. controllers advertised by JDR Microdevices and some cheap clones; the
  533. Quantum "Empire" drives are also advertised as SCSI-3 by some mail order
  534. vendors.  Seagate and IBM call their fastest drives (probably comparable
  535. in speed to the Quantums, if not faster) "Wide SCSI-2."
  536.  
  537. That's a misnomer. See below.
  538.  
  539. What is the difference between SCSI-3 and Fast & Wide SCSI-2?
  540.  
  541. Wide SCSI-2 required two cables to do 16 bit wide transfers. SCSI-3
  542. defined a single cable, single REQ/ACK 16 bit wide transfer. The reason
  543. you are hearing 16-bit single cable being called SCSI-3 is that they
  544. CAN. The fact that single cable 16-bit has been around for a while just
  545. shows you how much the standardization process lags behind the real
  546. world.
  547.  
  548. SCSI-3 is really a family of standards. SCSI was broken up from a
  549. single document into different layers and command sets. This was done
  550. to allow for different physical transport layers (like fibre channel
  551. and SSA) to be defined, and to allow for smaller "bite-sized" projects
  552. that maybe get done a little faster ;-)
  553.  
  554. The family includes the following members with TLAs:
  555.  
  556. - SCSI-3 Parallel Interface (SPI): Defines the mechanical, timing,
  557. phases, and electrical parameters of the parallel cable we all know and
  558. love. Some of the electrical and cable parameters are
  559. tightened/improved over SCSI-2.
  560.  
  561. - SCSI-3 Interlock Protocol (SIP): Defines the messages and how the
  562. phases are invoked. No real change from SCSI-2, except for some new
  563. messages.
  564.  
  565. - SCSI-3 Architectural Model (SAM): In a nutshell, defines a common set
  566. of functions and services and definitions for how a physical transport
  567. properly gets commands, data, and status exchanged between two devices,
  568. complete with error handling and queueing.
  569.  
  570. - SCSI-3 Primary Commands (SPC): All of the commands executed by any
  571. and all SCSI devices, like REQUEST SENSE and INQUIRY, etc.
  572.  
  573. - SCSI-3 Block Commands (SBC): Disk commands.
  574.  
  575. - SCSI-3 Stream Commands (SBC): Tape commands.
  576.  
  577. - SCSI-3 Controller Commands (SCC): RAID box commands.
  578.  
  579. - SCSI-3 Multimedia Commands (MMC): For CDROMS etc.
  580.  
  581. - SCSI-3 Fibre Channel Protocol (FCP): SCSI commands over gigabit Fibre
  582. Channel.
  583.  
  584. - SCSI-3 Serial Bus Protocol (SBP): SCSI commands over IEEE 1394 High
  585. Speed Serial Bus (Apple's "Firewire").
  586.  
  587. - SCSI-3 Serial Storage Protocol (SSP): SCSI commands over SSA.
  588.  
  589. whew.
  590.  
  591.  
  592. After perusing the latest issue of Computer Shopper, I came
  593. away with the impression that companies are calling
  594. F&W scsi-2 hd's SCSI-3.  Is this an incorrect assumption,
  595. or is F&W SCSI-2 known as SCSI-3?
  596. Is this really mostly marketing hype?
  597.  
  598. Actually, there is something to that. TECHNICALLY, what is out there is
  599. often a hybrid: SCSI-3 "SPI" silicon with some other hodgepodge of
  600. SCSI-3 proposals, all mixed in with SCSI-2 stuff.
  601.  
  602. An earlier posting said that the Quantum Empire ("SCSI-3") drives
  603. contain some commands from the SCSI-3 command set, and Adaptec 
  604. suggested a specific setting on its 2940W controller to work properly
  605. with the drive.
  606.  
  607. I understand there are some drives with proposed SCSI-3 command
  608. features. These are mostly in the MODE SELECT and in error codes, as I
  609. recall. Perhaps someone who knows more about this could elaborate?
  610.  
  611. Note also that the major players (like DC Drives) don't have any "SCSI-3"
  612. stuff advertised; only JDR and some cheap clones are promoting it.
  613. Besides, Wide SCSI-2 has yet to really catch on (mostly because only a
  614. few drives are fast enough to take advantage of it).
  615.  
  616. There is no "wide SCSI-2" because that would mean two cables. Single
  617. cable wide SCSI has always been SCSI-3, it just took too d*** long to
  618. get into a standard!-)
  619.  
  620.  
  621. ====
  622. QUESTION: Is SYNCHRONOUS faster than ASYNCHRONOUS?
  623. QUESTION: Is the 53C90 Faster than spec?
  624. ANSWER From: kstewart@ncr-mpd.FtCollins.NCR.COM (Ken Stewart)
  625. ====
  626.  
  627. I've seen a few comments about our 54C90 being faster than spec.  While
  628. I doubt the author was really complaining (I got twice as much as I paid 
  629. for--sure makes me mad ;)  I'd like to explain the situation.
  630.  
  631. Along the way, I'll also show that asynchronous is faster on short cables, 
  632. while synchronous is faster on long cables.  The cross-over point occurs 
  633. somewhere around six feet--assuming that you have our 53C90 family devices 
  634. at both ends of the cable.  The reason has to do with the propagation delay 
  635. of the cable; the turn around time of the silicon; and the interlocked nature
  636. of the asynchronous handshake.
  637.  
  638. 1)  We have measured propagation delays from various cables and found an 
  639.     average of 1.7 nanoseconds per foot, which is roughly 5.25 ns per meter.
  640.     
  641. 2)  The turn-around time is the amount of time the SCSI chip takes to
  642.     change an output in response to an input.  If REQ is an input then ACK 
  643.     is an output.  Or if ACK is an input then REQ is an output.  Typical
  644.     turn-around time for the 53C90 is 40 nanoseconds.  
  645.  
  646. 3)  The asynchronous transfer uses an interlocked handshake where a device 
  647.     cannot do the next thing until it receives positive acknowledgment that 
  648.     the other device received the last thing.  
  649.  
  650.     First REQ goes true                        /* driven by Target */ 
  651.     then ACK is permitted to go true           /* driven by Initiator */
  652.     then REQ is permitted to go false  
  653.     then ACK is permitted to go false  
  654.  
  655. Thus we have four "edges" propagating down the cable plus 4 turn-around
  656. delays.  Asynchronous transfer requires 55 ns setup and no hold time 
  657. (paragraph in 5.1.5.1 in SCSI-1 or SCSI-2) which gives an upper speed 
  658. limit around 18 MB/s.  A detailed analysis (assuming 53C90 family) shows that
  659. the setup time subtracts out.  This is mostly because we are running at 
  660. one-third the max rate, but also because setup for the next byte can begin 
  661. anytime after ACK is received true or REQ is received false, depending on who
  662. is receiving.  You can either take my word for it or draw the waveforms 
  663. yourself.  Thus, the asynchronous transfer reduces to:
  664.  
  665. (4 * 1.7 * 1) + (4 * 40ns) = 167 ns                /* 1 foot cable */
  666.                            = 6 MB/s
  667.  
  668. (4 * 5.25 * 6) + (4 * 40ns) = 286 ns               /* 6 meter cable */
  669.                             = 3.5 MB/s
  670.  
  671. (4 * 5.25 * 25) + (4 * 40ns) = 685 ns              /* 25 meter cable */
  672.                              = 1.5 MB/s            
  673.  
  674. note: cables longer than 6 meters require external differential transceivers 
  675. which add delay and degrade the performance even more than indicated here.
  676.  
  677. Our simulations say that under very best conditions (fast silicon, low 
  678. temperature, high voltage, zero length cable) we can expect more than 8 MB/s 
  679. asynchronously.  In the lab, I routinely measure 5 MB/s on 8 foot cables.  
  680. So, if you were writing the data manual for this, how would YOU spec it?
  681.  
  682.  
  683. The framers of the SCSI spec threw in synchronous mode to boost the 
  684. performance on long cables.  In synchronous mode, the sending device is 
  685. permitted to send the next byte without receiving acknowledgment that the 
  686. receiver actually received the last byte.  Kind of a ship and pray method.  
  687. The acknowledgment is required to come back sometime, but we just don't have 
  688. to wait for it (handwave the offset stuff and the ending boundary 
  689. conditions).  In this mode any external transceivers add a time shift, but 
  690. not a delay.  So if you negotiate for 5 MB/s, you get 5MB/s regardless how 
  691. long the cable is and regardless whether you are single-ended or 
  692. differential.  But you can't go faster than 5.5 MB/s, except in SCSI-2.  
  693. Synchronous mode does have a hold time (unlike asynch) but again, setup and
  694. hold times subtract out.  In SCSI-1 synchronous mode, the speed limit comes 
  695. from the combined ASSERTION PERIOD + NEGATION PERIOD which is 
  696. 90ns + 90ns = 180ns = 5.5 MB/s.  Our 53C90 family doesn't quite hit the max,
  697. but we do guarentee 5.0 MB/s.  In SCSI-2, anything above 5.0 MB/s is 
  698. considered to be FAST.  Here the maximum transfer rate is explicitly limited 
  699. to 100 ns or 10MB/s; you don't have to read between the lines to deduce it.
  700.  
  701. Interesting tid-bit: given a SCSI-2 FAST period of 100 ns and a cable delay
  702. of 131 ns on a 25 meter cable, you can actually stack 1.31 bytes in the 8-bit
  703. cable.  In FAST and WIDE SCSI you can stack 5.24 bytes in this copper FIFO.  
  704. Hummm...
  705.  
  706.  
  707.  
  708. ====
  709. QUESTION: What are the jumpers on my Conner drive?
  710. ANSWER From: ekrieger@quasar.hacktic.nl (Eric Krieger)
  711. Embellishment from: Henrik Stahl (f92-hst@nada.kth.se)
  712. ====
  713.  
  714.                QUICK INSTALLATION GUIDE
  715.  
  716.                          SCSI
  717.  
  718.      Most SCSI host adapters are compatible with Conner drives.
  719. Software drivers and installation instructions are provided with
  720. the host adapter.
  721.  
  722.      The drives are shipped with SCSI ID set to 7. To select a
  723. different ID refer to the following:
  724.  
  725. Table A                       Table B
  726. ID   E-1  E-2  E-3            ID   E2   E3   E4
  727. 0    out  out  out            0    out  out  out
  728. 1    in   out  out            1    in   out  out
  729. 2    out  in   out            2    out  in   out
  730. 3    in   in   out            3    in   in   out
  731. 4    out  out  in             4    out  out  in
  732. 5    in   out  in             5    in   out  in
  733. 6    out  in   in             6    out  in   in
  734. 7    in   in   in             7    in   in   in
  735.  
  736. Parity is always ENABLED on the CP3200,CP30060,CP30080,CP30100,
  737. CP 30200, CP 3500, CP 3360, CP 30540 and CP 31370.
  738.  
  739. For the CP 340, jumper E-1 to disable parity.
  740.  
  741. All other models, jumper E-4 to disable parity.
  742.  
  743.      SCSI drive parameters:
  744.  
  745.      Model          Hds       Cyl       Sec       Table     LED
  746.      CP2020         2         642       32        A         n/a
  747.      CP340          4         788       26        B         1
  748.      CP3020         2         622       33        A         1
  749.      CP3040         2        1026       40        A         1
  750.      CP3180         6         832       33        A         1
  751.      CP3100         8         776       33        A         1
  752.      CP30060        2        1524       39        A         2
  753.      CP30080        4        1053       39        A         2
  754.      CP30100        4        1522       39        A         2
  755.      CP30200        4        2119       49        A         2
  756.      CP3200         8        1366       38        A         2
  757.      CP3360         8        1806       49        A         2
  758.      CP3540         12       1806       49        A         2
  759.      CP 30080E      2        1806      46         AA       C/E
  760.      CP 30170E      4        1806      46         AA       C/E
  761.      CP 30540       6        2249      59-89      AA        B
  762.      CP 31370       14       2094      59-95      AA        B
  763.  
  764. LED 1               LED 2
  765. J-4  Pin 1 = +      J-1 Pin 3 = +
  766.      Pin 2 = -          Pin 4 = -
  767.  
  768. On the CP 31370, jumper E5 enables termination. Default is termination on.
  769. It may be the same jumper for other models.
  770.  
  771.  
  772.  
  773. ====
  774. QUESTION: What are the jumpers for my Wangtek 5150 drive?
  775. ANSWER From: Terry Kennedy (terry@spcvxa.spc.edu)
  776. ====
  777.  
  778.   First, the disclaimer: This is not an official representation of Wangtek
  779. or of my employer. This is info I've discovered by reading publicly avail-
  780. able reference material. When changing jumpers, always observe proper anti-
  781. static precautions and be sure you have the current configuration written
  782. down so you have a known starting point.
  783.  
  784.   Ok. Here's the complete scoop on Wangtek 5150ES drives:
  785.  
  786.   The current part number for a "generic" 5150ES is:
  787.  
  788.   33685-201 (black faceplate)
  789.   33685-202 (beige faceplate)
  790.  
  791.   These are referred to as the "ACA version" of the drive.
  792.  
  793.   There are _many_ other part numbers for 5150ES drives. If you have one that
  794. isn't one of the above, it doesn't mean you have an old or an out of rev drive,
  795. it just means it's a special version created for a distributor or OEM, or with
  796. different default jumper settings.
  797.  
  798.   You can order the Wangtek 5150ES OEM Manual from Wangtek. It is part number
  799. 63045-001 Revision D.
  800.     
  801.   There are 5 possible logic boards. Here are the jumper options for each:
  802.  
  803.   Logic assembly #33678
  804.   ---------------------
  805.  
  806.   (J10)
  807.   0 - SCSI unit LSB
  808.   1 - SCSI unit
  809.   2 - SCSI unit MSB
  810.   K - not documented
  811.  
  812.   J32 - Diagnostic test connector, default is not installed
  813.   E1, F1 - SCSI termination power. E1 in = power from drive and to cable,
  814.        E1 out - power from cable. F1 = terminator power fuse, 1.5A FB.
  815.        Default is IN.
  816.   E2 - Chassis ground. E2 in jumpers logic to chassis ground. E2 out isolates
  817.        through a .33 uFD capacitor. Default is IN.
  818.   E5 - Master oscillator enable. Test only. Must be IN.
  819.   E20 - Factory test. Must be OUT.
  820.   RP1, RP2, RP3 - SIP terminators. Default is IN, remove for no termination.
  821.  
  822.   Logic assembly #30559
  823.   ---------------------
  824.  
  825.   HDR1 - Factory testing. Setting depends on drive. Don't touch.
  826.   HDR2 - Factory testing. Defaults are pins 15-16, 17-18, 19-20. Don't touch.
  827.   HDR3 pin 1 - A-B enables buffered mode. B-C disables. Can be overridden by
  828.                SCSI Mode Select.
  829.   HDR3 pin 2, 3 - Default data format. Set to B-C for a 5150ES.
  830.   HDR3 pin 4 - parity enable. A-B enables, B-C disables.
  831.  
  832.   (J10)
  833.   0 - SCSI unit LSB
  834.   1 - SCSI unit
  835.   2 - SCSI unit MSB
  836.   K - not documented
  837.  
  838.   E1 - SCSI termination power. E1 in = power from drive and to cable,
  839.        E1 out - power from cable.
  840.   E2 - Chassis ground. E2 in jumpers logic to chassis ground. E2 out isolates
  841.        through a .33 uFD capacitor. Default is IN.
  842.   E3 - Master oscillator enable. Test only. Must be IN.
  843.   E4 - Write test mode. Test only. Must be OUT.
  844.   E5 - Write oscillator enable. Test only. Must be IN.
  845.   E6 - Disable HDR2. Test only. Must be IN.
  846.   E7 - Microcontroller clock select. In for a 5150ES.
  847.   E8 - Write precomp select. Set on a per-drive basis. Don't touch.
  848.   E9 - RAM size. Don't touch.
  849.   E10 - Erase frequency. Don't touch.
  850.   RP2, RP3 - DIP and SIP terminators. Default is IN, remove for no termination.
  851.  
  852.   Logic assembly #30600
  853.   ---------------------
  854.  
  855.   HDR1 - Factory testing. Setting depends on drive. Don't touch.
  856.   HDR2 - Write precomp select. Set on a per-drive basis. Don't touch.
  857.   HDR3 pin 1, 2, 3 - SCSI device address. 1 is LSB, 3 is MSB. A-B=1, B-C=0
  858.   HDR3 pin 4 - Parity enable. IA-B is enabled.
  859.   HDR3 pin 5, 6 - Default data format. B-C for a 5150ES.
  860.   HDR3 pin 7 - Buffered mode select. A-B is enabled.
  861.   HDR3 pin 8 - Reserved. Must be OUT.
  862.   HDR4 - Write frequency select. Don't touch.
  863.   E1 - SCSI termination power. E1 in = power from drive and to cable,
  864.        E1 out - power from cable.
  865.   E2 - Chassis ground. E2 in jumpers logic to chassis ground. E2 out isolates
  866.        through a .33 uFD capacitor. Default is IN.
  867.   E3 - Hard/soft reset. IN enables hard reset.
  868.   E4 - Write precomp select. Don't touch.
  869.   E5 - Clock speed. Don't touch.
  870.   E6 - Tape hole test. Don't touch.
  871.  
  872.   Logic assembly #30552
  873.   ---------------------
  874.  
  875.   HDR1 - Factory testing. Setting depends on drive. Don't touch.
  876.   HDR2 - Write precomp select. Set on a per-drive basis. Don't touch.
  877.   HDR3 pin 1, 2, 3 - SCSI device address. 1 is LSB, 3 is MSB. [Note - HDR3
  878.              pins 1-3 are duplicated at another location on the board]
  879.   HDR3 pin 4 - Parity enable. IN is enabled.
  880.   HDR3 pin 5, 6, 7, 8 - Default data format. 5,5 B-C, 7-8 A-B for a 5150ES.
  881.   HDR4 - Write frequency select. Don't touch.
  882.   E1 - SCSI termination power. E1 in = power from drive and to cable,
  883.        E1 out - power from cable.
  884.   E2 - Chassis ground. E2 in jumpers logic to chassis ground. E2 out isolates
  885.        through a .33 uFD capacitor. Default is IN.
  886.   E3 - Hard/soft reset. IN enables hard reset.
  887.   E4 - Write precomp select. Don't touch.
  888.   E5 - Clock speed. Don't touch.
  889.   E6 - Tape hole test. Don't touch.
  890.  
  891.   Logic assembly #30427
  892.   ---------------------
  893.  
  894.   HDR1 - Factory testing. Setting depends on drive. Don't touch.
  895.   HDR2 - Write precomp select. Set on a per-drive basis. Don't touch.
  896.   HDR3 pin 1, 2, 3 - SCSI device address. 1 is LSB, 3 is MSB. A-B=1, B-C=0
  897.   HDR3 pin 4 - Parity enable. IA-B is enabled.
  898.   HDR3 pin 5, 6, 7, 8 - Default data format. 5,5 B-C, 7-8 A-B for a 5150ES.
  899.   E1, E3 - Factory test. Must be IN.
  900.   E2 - SCSI termination power. E2 in = power from drive and to cable,
  901.        E2 out - power from cable.
  902.   E4 - Chassis ground. E4 in jumpers logic to chassis ground. E4 out isolates
  903.        through a .33 uFD capacitor. Default is IN.
  904.  
  905.   Firmware - There are many flavors of firmware. I have seen the following
  906. parts:
  907.  
  908.   24115-xxx
  909.   24144-xxx
  910.   21158-xxx
  911.  
  912.   the -xxx suffix changes as the firmware is updated. According to the folks
  913. I spoke to at Wangtek, the standard firmware is the 21158. The latest version
  914. as of this writing is 21158-007. All of these will work with the Adaptec and
  915. GTAK.
  916.  
  917.   The firmware options (as returned by a SCSI Identify) are on the end of the
  918. product string, which is "WANGTEK 5150ES SCSI ES41C560 AFD QFA STD" for the
  919. 21158-007 firmware. The 3-letter codes have the following meaning:
  920.  
  921.   AFD - Automatic Format Detection - the drive will recognize the format (such
  922.     as QIC-24, QIC-120, or QIC-150) that the tape was written in.
  923.  
  924.   QFA - Quick File Access - the ability to rapidly locate a tape block, and
  925.     to implement the "position to block" and "report block" SCSI commands.
  926.     This is compatible with the Tandberg implementation.
  927.  
  928.   STD - Standard feature set.
  929.  
  930.  
  931. ====
  932. QUESTION: How do I configure my HP DDS DAT tape drive?
  933. ANSWER From: Alan Strassberg (alan@lmsc.lockheed.com)
  934. ====
  935.  
  936.     The HP DDS Configuration Guide (postscript) can be found:
  937.     http://www.impediment.com/hp/hp_2.ps
  938.  
  939. ====
  940. QUESTION: What is CAM?
  941. ANSWER From: ctjones@bnr.ca (Clifton Jones)
  942. ====
  943.  
  944. Common Access Method.
  945.  
  946. It is a proposed ANSI standard to make it easier to program SCSI applications
  947. by encapsulating the SCSI functions into a standardized calling convention.
  948.  
  949. ANSWER From: landis@sugs.tware.com (Hale Landis)
  950. ====
  951.  
  952. You may be able to get the CAM spec(s) from the SCSI BBS
  953.  
  954.  
  955.  
  956.  
  957. ====
  958. QUESTION: What is FPT (Termination)?
  959. ANSWER From: jvincent@bnr.ca (John Vincent)
  960. ====
  961.  
  962.  
  963. FPT is actually really simple, I wish I had thought of it. What it does 
  964. is use diode clamps to eliminate over and undershoot. The "trick" is
  965. that instead of clamping to +5 and GND they clamp to the output of two 
  966. regulated voltages. This allows the clamping diodes to turn on earlier
  967. and is therefore better at eliminating overshoot and undershoot. The block
  968. diagram for a FPTed signal is below. The resistor value is probably in the 
  969. 110 Ohm range. The actual output voltages of the regulators may not
  970. be exaclty as I have shown them but ideally they are matched to the diode 
  971. characteristics so that conduction occurs when the signal voltage is 
  972. greater than 3.0 V or less than 0.5 V. 
  973.  
  974.  
  975.  
  976.           +-----------*--- TERMPWR 
  977.           |           |
  978.       ____|___        |
  979.      |        |       |
  980.      | Vreg 1 |---------------------------------* 2.8 V
  981.      |________|       |                         |
  982.           |           |                         |
  983.         -----         |                         |
  984.          ---          |                         \
  985.           -           |                         /    term resistor
  986.                       |                         \    (110 Ohms)
  987.                       |                         /
  988.                   ____|___                      |
  989.                  |        |                     |
  990.                  | Vreg 2 |-*--------* 2.4 V    |
  991.                  |________| |        |          |
  992.                             |      --+--        |
  993.                             |       / \         |
  994.                      +------+      /___\        |
  995.                      |               |          |
  996.                      |               |          |              terminated
  997.                      |               *----------*------------- signal
  998.                      |               |
  999.                      |               |
  1000.                      |             --+-- 
  1001.                      |              / \
  1002.                      |             /___\   Both diodes are fast silicon
  1003.                      |               |     switching diodes (.6 V drop)
  1004.                   ___|____           |
  1005.                  |        |          |                 
  1006.                  | Vreg 3 |----------*  0.8 Volts
  1007.                  |________|
  1008.  
  1009. The diagram shows the circuit for terminating one signal. In a complete FPT
  1010. there would be 36 diodes and 18 110 Ohm resistors plus the regulator chips.
  1011. Using the values shown, transients would be clamped at 0.2V and 3.0V.
  1012.  
  1013. [Editor(GF)]:
  1014. Some errors in the above diagram were corrected as suggested by
  1015. Wietze van Winden (wietze@ittpub.nl)
  1016.  
  1017. ====
  1018. QUESTION: What is Active Termination?
  1019. ANSWER From: eric@telebit.com (Eric Smith)
  1020.         and  brent@auspex.com (Brent R. Largent)
  1021. ====
  1022.  
  1023.  
  1024. An active terminator actually has one or more voltage regulators to produce
  1025. the termination voltage, rather than using resistor voltage dividers.
  1026.  
  1027. This is a passive terminator:
  1028.  
  1029.  
  1030. TERMPWR     ------/\/\/\/------+------/\/\/\/-----  GND
  1031.                                |
  1032.                                |
  1033.                               SCSI signal
  1034.  
  1035. Notice that the termination voltage is varies with the voltage on the
  1036. TERMPWR line.  One voltage divider (two resistors) is used for each SCSI
  1037. signal.
  1038.  
  1039.  
  1040. An active terminator looks more like this (supply filter caps omitted):
  1041.  
  1042.        2.85 Volt Regulator
  1043.                +-----------+    +2.85V   110 Ohms
  1044. TERMPWR   -----| in    out |------+------/\/\/\/-------SCSI signal
  1045.                |   gnd     |      |
  1046.                +-----------+      |
  1047.                     |             +------/\/\/\/-------SCSI signal
  1048.                     |             |
  1049. GND  ---------------+             |
  1050.                                   +------/\/\/\/-------SCSI signal
  1051.                                   |
  1052.                                  etc.
  1053.  
  1054. Assuming that the TERMPWR voltage doesn't drop below the desired termination
  1055. voltage (plus the regulator's minimum drop), the SCSI signals will always
  1056. be terminated to the correct voltage level.
  1057.  
  1058. Several vendors have started making SCSI active terminator chips,
  1059. which contain the regulator and the resistors including Dallas
  1060. Semiconductor, Unitrode Integrated Circuits and Motorola
  1061.  
  1062.  
  1063. ====
  1064. QUESTION: Why Is Active Termination Better?
  1065. ANSWER brent@auspex.com (Brent R. Largent)
  1066. ====
  1067.  
  1068. Typical passive terminators (resistors) allow signals to fluctuate directly
  1069. in relation to the TERM Power Voltage. Usually terminating resistors will
  1070. suffice over short distances, like 2-3 feet, but for longer distances active
  1071. termination is a real advantage.
  1072.  
  1073. Active termination provide the following advantages:
  1074. - Helps reduce noise.
  1075. - A logic bit can be used to effectively disconnect the termination.
  1076. - Regulated termination voltage.
  1077. - SCSI-2 spec. recommends active termination on both ends of the scsi bus.
  1078. - Improved resistance tolerences (from 1% to about 3%)
  1079.  
  1080. [Editor(GF):
  1081. - Reduces current drawn from TERMPWR line.
  1082.  
  1083. In FPT form:
  1084. - Provides signal overshoot/undershoot clamping on all signal lines. ]
  1085.  
  1086.  
  1087. ====
  1088. QUESTION: How can I tell whether an unmarked terminator is active or passive?
  1089. ANSWER From: Gary Field (gfield@zk3.dec.com)
  1090. ====
  1091. If you have an Ohm-meter of one kind or another, measure the resistance from
  1092. the TERMPWR pin to an adjacent GROUND pin. Reverse the probes and take another
  1093. reading.
  1094.  
  1095. If the reading is about 30.5 Ohms, with the probes both ways, you have a
  1096. passive single-ended terminator.
  1097.  
  1098. If the reading is about 45 Ohms, with the probes both ways, you have a passive
  1099. differential terminator.
  1100.  
  1101. Active terminators should read much higher and give very different readings
  1102. with the probes interchanged.
  1103.  
  1104.  
  1105. ====
  1106. QUESTION: Where can I buy terminators ?
  1107. ANSWER From: Rodney Brown (RBrown@cocam.com.au)
  1108. Info taken from Usenet postings by:
  1109. John Zatler (JPZ@Popmail.mcs.com)
  1110. Steve Schreppler (schrep@oasys.dt.navy.mil)
  1111. Dave Nadler (nadler@ug.eds.com)
  1112. ====
  1113.  
  1114. DataMate / Methode
  1115.  
  1116. Methode Electronics, Inc.
  1117. dataMate Division
  1118. 7444 West Wilson Avenue
  1119. Chicago, IL  60656
  1120. (708) 867-9600
  1121. (800) 323-6858
  1122. (708) 867-3149 FAX
  1123. WWW: http://www.methode.com/datamate/dmhome.htm
  1124.  
  1125. Brief description of terminators available.
  1126.  
  1127. Passive, Active, SLICK (Elaboration of FPT)) in:
  1128. Centronics 50 pin (SCSI-1)        DM8[05]0-09-[0RS]
  1129. Male 3 row D-Sub (Old Sun)        DM950-??-?
  1130. Male 50 position .050" Centres (SCSI-2 HD)    DM20[05]0-02-[0RS]
  1131. Male 68 position .050" Centres (SCSI-3 P cable)    DM2050-02-68[RS]
  1132. Male & Female for ribbon cables        DM1050-02-[0RS] (M)  DM650-06-[0RS] (F)
  1133. Male/Female for pass through between device and ribbon cable DM550-06-[0RS]
  1134.  
  1135.  
  1136. Newark Electronics stocks the DataMate product line
  1137. Newark's address info
  1138.  
  1139. Newark Electronics        (International orders)
  1140. 4801 N. Ravenswood Ave.            500 N. Pulaski St.
  1141. Chicago IL 60640-4496        Chicago IL 60624-1019
  1142. (312)-784-5100,    (FAX (312)-638-7652, TLX 6718690 NEWARK U).
  1143. WWW: http://www.newark.com/
  1144.  
  1145.  
  1146. Selectronix Ltd
  1147. Minerva House, Calleva Park,
  1148. Aldermaston, Reading, RG7 8NE, UK
  1149. Tel:    +44 (0)118 9817387
  1150. Fax:    +44 (0)118 9817608
  1151. WWW: http://www.selectronix.co.uk/
  1152.  
  1153.  
  1154. ====
  1155. QUESTION: What is Plug and Play SCSI?
  1156. ANSWER From: leefi@microsoft.com (Lee Fisher) (Updated Dec 7 1993)
  1157. ====
  1158.  
  1159. Plug and Play is the name of a technology that lets PC hardware and
  1160. attached devices work together automatically. A user can simply attach a
  1161. new device ("plug it in") and begin working ("begin playing"). This should
  1162. be possible even while the computer is running, without restarting it.
  1163. Plug and Play technology is implemented in hardware, in operating systems
  1164. such as Microsoft Windows, and in supporting software such as drivers and
  1165. BIOS.
  1166.  
  1167. With Plug and Play technology, users can easily add new capabilities to
  1168. their PCs, such as sound or fax, without having to concern themselves with
  1169. technical details or encountering problems. For users of mobile PCs (who
  1170. are frequently changing their configurations with docking stations,
  1171. intermittent network connections, etc.) Plug and Play technology will
  1172. easily manage their changing hardware configuration.  For all users, Plug
  1173. and Play will reduce the time wasted on technical problems and increase
  1174. their productivity and satisfaction with PCs.
  1175.  
  1176. The Plug and Play technology is defined in a series of specifications
  1177. covering the major component pieces. There are specifications for BIOS,
  1178. ISA cards, PCI, SCSI, IDE CD-ROM, PCMCIA, drivers, and Microchannel. In a
  1179. nutshell, each hardware device must be able to be uniquely identified, it
  1180. must state the services it provides and the resources which it requires,
  1181. it must identify the driver which supports it, and finally it must allow
  1182. software to configure it.
  1183.  
  1184. The first Plug and Play compliant products are available now, as are
  1185. development kits for drivers and hardware. Twenty different Plug and Play
  1186. products were shown at Comdex in November 1993.
  1187.  
  1188. Specifications:
  1189.  
  1190. The Plug and Play specifications are now available via anonymous ftp at 
  1191. ftp.microsoft.com in the \drg\plug-and-play subdirectory. The files are 
  1192. compressed in .zip format, and are in Microsoft Word format.)
  1193.  
  1194.   Plug and Play ISA files (.\pnpisa\*)
  1195.  
  1196.     errata.zip   Clarifications and corrections to pnpisa.doc
  1197.     isolat.zip   MS-DOS testing tool to isloate ISA PnP hardware
  1198.     pnpdos.zip   Plug and Play device driver interface specification
  1199.     pnpisa.zip   Hardware spec for PnP ISA enhancement
  1200.     vhdlzi.zip   Hardware spec for PnP ISA enhancement
  1201.  
  1202.   Plug and Play SCSI files (.\scsi_ide\*):
  1203.  
  1204.     pnpscsi.zip  Plug and Play SCSI specification proposal
  1205.     scam.zip     SCAM (SCSI Comnfigured Auto-Magically) specification
  1206.  
  1207.   Plug and Play BIOS files (.\bios\*):
  1208.  
  1209.     apmv11.zip   Advanced Power management spec v.1
  1210.     vios.zip     Plug and Play BIOS spec
  1211.     escd1.zip    Spec for optional method of storing config info for PnP BIOS
  1212.  
  1213. PlayList@Microsoft.COM alias:
  1214.  
  1215. There is an alias, PlayList@Microsoft.COM, which you can email and get on
  1216. a Microsoft mailing list related to Plug and Play, where the Hardware
  1217. Vendor Relations Group (HVRG) will mail out new specifications,
  1218. announcements, information on workshops, Windows Hardwware Engineering
  1219. Conference (WinHEC), etc...
  1220.  
  1221. Compuserve PlugPlay forum:
  1222.  
  1223. There is a forum on Compuserve, GO PLUGPLAY. This forum is the method for
  1224. support, discussions and dialogs about Plug and Play. In addition, the
  1225. forum's library contains all of the current specification.
  1226.  
  1227. Intel Plug and Play kits:
  1228.  
  1229. If you are interested in Intel's two Plug and Play kits, either "Plug and
  1230. Play Kit for MS-DOS and Windows" or "Plug and Play BIOS Enhancements Kit",
  1231. FAX your name and company information to Intel at 1.503.696.1307, and
  1232. Intel will send you the information.
  1233.  
  1234.  
  1235. ====
  1236. QUESTION: Where can I get drivers (ASPI and other) for the WD7000 FASST2
  1237.       host adapter?
  1238. ANSWER From: Gary Field (gfield@zk3.dec.com)
  1239. ====
  1240.  
  1241.     Western Digital stopped producing WD7000 FASST2 cards some time in
  1242. 1990. Future Domain bought the rights to produce them and as of early 1994
  1243. they still do. Columbia Data Products Inc. of Altamonte Springs, Florida still
  1244. provides driver support for the card.
  1245. Their SST IV driver package provides support for many types of SCSI devices
  1246. including disks, tapes, and CDROM. Also included in this package is an ASPI
  1247. manager driver (equivalent to the Adaptec ASPI4DOS.SYS). I have personally
  1248. tested this ASPI manager and it works with GNU tar w/ASPI and the Corel CDROM
  1249. driver, so most other ASPI stuff should work too. Versions of SSTASPI.SYS
  1250. prior to Oct 1993 do NOT work with the above mentioned programs so be sure
  1251. to check the file date. There are other useful programs in the package as well.
  1252. For instance I find the TAPEUTIL program very handy for duplicating tapes.
  1253. The price of this package is $99 or $85 as an upgrade of a previous version.
  1254. A pre-requisite to run this software is that the adapter card must have a
  1255. BIOS ROM version of 3.36 or newer. I don't think cards manufactured before
  1256. 1989 or so are compatible.
  1257.  
  1258. Columbia Data Products Inc.
  1259. 1070 B Rainer Dr
  1260. Altamonte Springs, FL 32714 (407) 869-6700 (main number)
  1261.                             (407) 862-4725 (fax)
  1262. http://www.cdp.com          (Columbia home web page)
  1263. cdp@cdp.com                 (Columbia e-mail)
  1264.  
  1265.  
  1266. [Update to above information 1/20/97][Editor(GF)]
  1267.  
  1268. From: "Alan L. Welsh" <snapback@ix.netcom.com>
  1269. Subject: Western Digital 7000-Fasst SCSI Cards and CDP's SST software 
  1270. Alan L. Welsh, President
  1271. Columbia Data Products, Inc.
  1272.  
  1273. We don't usually recommend that users purchase the upgrade for the 7000
  1274. software today.  Development has ceased, Windows 95 is not supported except
  1275. in DOS mode, and today I would rather recommend a popular currently
  1276. manufactured Local-bus SCSI board and not an ISA 7000 board.  However,
  1277. there are still some companies that we do support that have standardized on
  1278. 7000s and need to keep them in service for years to come.  So please buy
  1279. the software, sell the board, use it as-is, or buy a new board.  
  1280. http://www.cdp.com cdp@cdp.com
  1281.  
  1282.                           ---------------------
  1283.  
  1284. HISTORY OF THE WD-7000 SCSI HOST ADAPTER AND COLUMBIA DATA PRODUCTS, INC.
  1285.  
  1286. Starting in early 1987, Western Digital (WD) manufactured virtually all of
  1287. the  100,000+ 7000 SCSI boards, except for a few hundred that were made by
  1288. Future Domain.  The first few thousand, known as 7000-ASC boards went out
  1289. with no software and only a ROMBIOS that was actually written by John
  1290. Sponger of WD.  In the summer of 1987, Columbia Data Products (CDP)
  1291. completed and shipped its first ROMBIOS for the card that enabled it to
  1292. boot and operate in DOS.   At that same time CDP also completed a DOS
  1293. ram-resident driver so that DOS would recognize and operate the card
  1294. without the slowness of the ROMBIOS, a DASD driver so that DOS could access
  1295. additional drive letters and to break the (then) 32 meg barrier, and
  1296. partitioning software to perform the FDISK function for SCSI.  
  1297.  
  1298. It was CDP's goal at that time to develop and provide SCSI software that
  1299. would enable: any SCSI host adapter, to run any SCSI peripheral, on any
  1300. operating system, in any PC-based bus.  Since at that time WD had 80% of
  1301. the hard drive controller market, CDP chose WD as the most logical choice
  1302. to strategically market with, and so CDP supported their cards almost
  1303. exclusively.  During that following year, CDP continued to develop the
  1304. software for the 7000 host adapters, enabling it to run faster than any
  1305. other board of its time, including Adaptec's new 1540, whose hardware was
  1306. actually faster.  
  1307.  
  1308. In the fall of 1988, CDP exclusively licensed its SCSI software suite,
  1309. called SST to WD.  The WD 7000-asc SCSI host adapter was renamed
  1310. 7000-FASST.  WD was the first OEM to ship software with all SCSI boards
  1311. distributed as part of the package.  CDP's SST software was well received,
  1312. even though SCSI was still a relatively small market.  CDP was paid a
  1313. royalty for each card shipped and CDP provided complete software support
  1314. and limited hardware support throughout the world.  
  1315.  
  1316. By 1991 CDP had developed support for all SCSI peripherals known, all PC
  1317. operating systems such as Unix, Xenix, Windows, Dos, Netware, and even AIX,
  1318. although never officially released, and a SCSI toolkit utility package.
  1319. All of the 7000-FASST's shipped had multiboot capability that allowed all
  1320. of these operating systems to simultaneously coexist on a single hard drive
  1321. so that one OS can be selectively booted each session.  
  1322.  
  1323. CDP's exclusive was ending with WD, and CDP was porting the software to 25
  1324. of the most popular SCSI host adapters.  Unfortunately, most of software
  1325. had to be rearchitected and rewritten to embrace not only all the new
  1326. adapters but also the new SCSI software standards such as CAM, LADDR, ASPI,
  1327. INT-4b, as well as CDP's own standard since 1987, SDLP.  During the next
  1328. few years WD was losing a considerable amount of money and sold many of
  1329. their product lines, which included selling the SCSI board business to
  1330. Future Domain.  Future Domain did very little sales of the 7000 as they had
  1331. competing product lines and didn't understand the value of a bus mastering
  1332. SCSI board.  (Bus mastering gives the card the ability to move data to and
  1333. from the card and system memory directly without the CPU's involvement,
  1334. making it as fast as the peripherals driving it, even on an old slow
  1335. 80286!)  The bus mastering 1542 product line from Adaptec is still being
  1336. produced today, very popular, and is based on the same basic design as the
  1337. 7000.  From a pricing standpoint, the prices for this class of product has
  1338. declined less than 50% in ten years.  This is only amazing if you compare
  1339. the price of 1MB of memory at $300 in 1987 to that of today. 
  1340.  
  1341. CDP has continued to develop and support for the 7000-FASST continuously,
  1342. even though the board hasn't been manufactured for quite a number of years.
  1343.  Our last major revision of our SST-IV software was done in late 1993,
  1344. although there have been some minor revisions since then.  To enable CDP to
  1345. continue to develop software and support the board, CDP has been selling
  1346. upgrades to the large installed user base for years.  Without this revenue,
  1347. development and support would have ceased long ago.  There are no plans to
  1348. continue development at this time, as SCSI is moving from the ISA bus to
  1349. Local Bus.  Although Window-95 development and support was considered, the
  1350. potential upgrade business wouldn't have covered the cost of development.
  1351.  
  1352. In 1994 CDP entered the server backup software market, shipping the first
  1353. version of Snapback in March of that year.  Many of our customers for years
  1354. had been begging us to write our own backup software and were complaining
  1355. that "restoring" their servers sometimes took days with the current backup
  1356. products.  For SCSI software development purposes only, CDP had been
  1357. backing up and restoring hard drives containing multiple operating systems
  1358. for years.  CDP adapted and then rewrote this software in this first
  1359. release to provide the ability to backup and restore any hard drive that
  1360. contained any operating system, from DOS.  CDP later wrote a device driver
  1361. in Netware, that could make the backup tape look, act and perform like a
  1362. hard drive from a Netware workstation.  This enabled direct file retrieval
  1363. and use through Netware from the backup tape, making it appear to a
  1364. workstation to be just another drive letter.  Since all the directories and
  1365. FATs are cached, the tape is almost as fast as a hard drive.  Another
  1366. feature, resize, allows a Netware server's hard drive to be replaced with a
  1367. larger one in an hour instead of a day's labor.
  1368.  
  1369. At fall COMDEX 1996, CDP released its latest version, Snapback Live! that
  1370. backs up a live image of a Netware file server's hard drive, capturing all
  1371. open files in the process, without impacting system performance.  Watch
  1372. your Computer magazine for Snapback reviews in 1997, as well as a version
  1373. for NT.  Innovating backup software has now become CDP's new life--from an
  1374. innovative SCSI software company.
  1375.  
  1376. For more information, contact us at:
  1377. http://www.cdp.com OR cdp@cdp.com
  1378.  
  1379. ====
  1380. QUESTION: What if I have a SCSI drive larger than a gigabyte (1024MB) ?
  1381. ANSWER From: Gary Field (gfield@zk3.dec.com)
  1382. ====
  1383. The IBM PC/AT BIOS Int 13h disk interface was specified in about 1986 when
  1384. a large disk drive was about 60 MB. IBM decided that disks wouldn't have
  1385. more than 1024 cylinders and only allocated 10 bits for the CYL parameter
  1386. to the INT 13h interface. By 1989, this was already a problem. When vendors
  1387. began to support SCSI drives under INT 13h, they needed to come up with a
  1388. translation algorithm between the CYL, HEAD, SECT parameters of INT 13h and
  1389. the linear block numbers used by SCSI devices. Various vendors chose to
  1390. map the two such that each INT 13h "cylinder" contained 1 MB.
  1391. In other words they emulated a drive with 32 heads and 63 sectors per track.
  1392. At the time, large drives were at about 300 MB, so this worked OK. Once drives
  1393. larger than 1024 MB arrived, a problem developed. They couldn't provide
  1394. cylinder values greater than 1023! Changing algorithms became necessary.
  1395. This is painful since any disk formatted with the old algorithm can't be read
  1396. using the new algorithm.
  1397. By the way, different vendors chose different mappings, so drives formatted
  1398. with one adapter can't necessarily be moved to a different one.
  1399. Adaptec's newer adapters (e.g. the 154xC and the 154xCF) provide a BIOS control
  1400. to select the old algorithm or the new one, and they also provide BIOS PROMs
  1401. for the 154xB that will use the new algorithm.
  1402. There is an absolute limit of 16 M sectors which means 8 GB assuming 512 byte
  1403. sectors. Also DOS only allows 2 GB per partition. 
  1404. The day when this presents another problem is not too far away (1995?)
  1405. Hopefully, we'll all be running more sophisticated O/Ses that bypass this
  1406. limitation by then.
  1407.  
  1408. ====
  1409. QUESTION: My SCSI bus works, but is not reliable. What should I look at?
  1410. ANSWER From: Gary Field (gfield@zk3.dec.com)
  1411. ====
  1412. If you still have problems after you're sure that you have all the ID and
  1413. termination and cable issues resolved, it's time to dig a little deeper.
  1414. If you get your SCSI bus to the point where it basically works, but it isn't
  1415. reliable I have found that the gremlin can be the TERMPWR voltage.
  1416.  
  1417. With your system fully powered up, and both terminators attached, measure
  1418. the TERMPWR voltage at the far end of your bus. It needs to be between 4.25
  1419. and 5.25 Volts. Many vendors start with the system's +5 VDC and add a regular
  1420. silicon rectifier diode and fuse in series. Silicon rectifiers have an
  1421. inherent voltage drop of .6 to 1.0 Volts depending on the current through them.
  1422. Schottky barrier rectifiers are much better for this application. I always use
  1423. a 1N5817 myself. If the diode on the host adapter is a 1N400x type, change it
  1424. to a 1N5817. If you add up the drop across the diode and the fuse and 15 feet
  1425. of ribbon cable and the connector contact resistances, many times you'll
  1426. find yourself below 4.0 Volts. When using passive terminators, this can
  1427. shift the signal threshold and decrease the signal to noise ratio on the bus.
  1428. If you aren't able to get relief with these methods, sometimes you can solve
  1429. the problem by having several devices supply TERMPWR to the bus.
  1430.  
  1431. Sometimes the voltage is high enough, but there is too much noise on the
  1432. TERMPWR line. This can cause really strange problems! If you can see more than
  1433. about 200 mV of noise on TERMPWR, add a .1 uF and 10 uF capacitor from TERMPWR
  1434. to one of the adjacent GROUND lines. You need to have the bus as active as
  1435. you can get it when measuring the noise. I have actually seen over 1 Volt of
  1436. noise in some severe cases.
  1437.  
  1438. Another way you can help to solve TERMPWR problems is to use active
  1439. terminators. These don't draw as much current from the TERMPWR source and they
  1440. also have a built in regulator which can operate on lower voltage than the
  1441. standard passive terminators. The regulator also tends to reduce the noise.
  1442.  
  1443.  
  1444. ====
  1445. QUESTION: Where can I find information about programming using the ASPI
  1446.           interface from DOS and Windows?
  1447. ANSWER From: Gary Field (gfield@zk3.dec.com)
  1448. ====
  1449.  
  1450. The Adaptec BBS has some documents about ASPI. They also have a WWW server.
  1451. See the FAQ Question "How can I contact Adaptec?" for phone numbers and URL
  1452. information etc.
  1453.  
  1454. ftp://ftp.adaptec.com/pub/BBS/adaptec/aspi*
  1455.  
  1456. Dr Dobb's Journal March 1994 issue pg 154, has an article called "The Advanced
  1457. SCSI Programming Interface" by Brian Sawert. Example code in C and x86
  1458. assembly language is included. The code can be obtained via anonymous ftp
  1459. from: ftp.mv.com: /pub/ddj/1994.03/aspi.zip.
  1460.  
  1461.  
  1462. ====
  1463. QUESTION: How to replace Macintosh internal HD and terminate the SCSI chain
  1464.        properly?
  1465. Answer From: Jie Yuan PhD (Jie.Yuan@UC.Edu)
  1466. ====
  1467.    The factory installed Macintosh internal HD should be terminated.
  1468.    Make sure the terminator/resitor-package is installed in the drive
  1469.    before using it.  Most vendors will install the terminator for you
  1470.    if you tell them it is for use in Macintosh as the system disk.
  1471.    Manufacturers usually have toll free numbers for SCSI termination,
  1472.    ID, and such.  
  1473.    If you don't already have the terminator, they may send you one 
  1474.    for free.
  1475.    BTW, Macintosh SCSI chain starts at the system disk (ID=0),
  1476.    and ends at the control board (ID=7).  ID numbers from 
  1477.    1-6 should be used for any other divices on the chain.
  1478.  
  1479. ====
  1480. QUESTION: Will attaching a SCSI-1 device to my SCSI-2 bus hurt its performance?
  1481. ANSWER From: Gary Field (gfield@zk3.dec.com)
  1482. ====
  1483. Attaching a SCSI-1 device to a system with a SCSI-2 host adapter and several
  1484. SCSI-2 devices already attached will not hurt over-all performance
  1485. significantly unless it doesn't handle disconnect/reconnect well. This 
  1486. assumes that the host adapter keeps track of protocol options seperately
  1487. for each target device. Some people have the idea that attaching a SCSI-1
  1488. device to a SCSI-2 bus will cause the entire bus to run at SCSI-1 speeds.
  1489. This is not true.
  1490.  
  1491. ====
  1492. QUESTION: Can I connect a SCSI-3 disk to my SCSI-1 host adapter?
  1493.           Can I connect a SCSI-2 CDROM to a SCSI-3 host adapter?
  1494.       Can I connect a Narrow SCSI2 disk to a WIDE SCSI3 host adapter?
  1495. ANSWER From: Gary Field (gfield@zk3.dec.com)
  1496. ====
  1497. Questions of this nature really cannot be answered in a useful way.
  1498. There are so many aspects and options to each of the SCSI standards,
  1499. you need to be much more specific about what devices and adapters
  1500. you're interested in connecting. Most of the time the best thing to
  1501. do is just try it! Most combinations will work, but if you're considering
  1502. a purchase and looking for a guarantee from "The Net", forget it.
  1503.  
  1504. The issue is further complicated by the fact that vendors like to latch
  1505. onto the latest acronyms before they even know what's involved.
  1506. For example SCSI3 is not approved yet, but vendors are already
  1507. saying their devices are SCSI3 compatible. Since there is no standards
  1508. compliance testing organization, they can pretty much say what they want.
  1509.  
  1510. If you buy a high end host adapter (probably called SCSI3 :-) ) from a
  1511. reputable vendor, and it has enough control over the various options
  1512. (like synch xfer rate 5,10,20 xfers/s and the ability to disable WIDE or
  1513. FAST/Ultra negotiation), and you carefully think out what devices you connect
  1514. to it (all WIDE devices nearest the host adapter end of the bus etc.),
  1515. and you are careful to properly terminate not only both ends, but both
  1516. halves (upper byte and lower byte) of the bus, and none of the older devices
  1517. you might already have (like a Panasonic CDROM) do anything stupid (like not
  1518. handle the WIDE negotiation message without hanging) then it will all work
  1519. fine. :-)
  1520.  
  1521. Even though a host adapter may be called SCSI3 doesn't mean it can
  1522. enable or disable each optional feature, yet this is vital for supporting
  1523. older devices.
  1524.  
  1525. To make matters worse, you won't know which older devices do some of the
  1526. stupid things unless you know someone who's been bitten already.
  1527. Your best bet is to look for good deals on name brand devices and adapters
  1528. and before you buy, ask in comp.periphs.scsi whether anyone has tried
  1529. the combination you're considering. It's also important to buy from a
  1530. well known vendor with reasonable return policies.
  1531.  
  1532. If you're looking at buying a Vendorxyz spiffydisk which claims to be
  1533. SCSI-3 compatible and you have a Seagate ST-01 host adapter and you want to
  1534. know if anyone else has tried this combination, then that's exactly what you
  1535. should ask.
  1536.  
  1537. In general, most SCSI devices and adapters made less than 4 years apart
  1538. will probably work together, but without specific information about exactly
  1539. which devices there's no assurance of it. There's also the potential for
  1540. poor performance even if it does work.
  1541.  
  1542.  
  1543. ====
  1544. QUESTION: Can I connect a WIDE device to my narrow SCSI host adapter?
  1545. QUESTION: Can I connect a narrow device to my WIDE SCSI host adapter?
  1546. ANSWER FROM: Gary Field (gfield@zk3.dec.com)
  1547. ====
  1548.  
  1549. Yes, you just need an appropriate adapter. Most WIDE devices use the
  1550. 68 pin "P" connector so you need a 68 pin to 50 pin adapter.
  1551. You do need to make sure that both the upper byte and lower byte of the
  1552. bus will be properly terminated though. Some adapters provide a place
  1553. for terminators, others do not. If the wiring adapter is placed right at
  1554. the SCSI host adapter, you can usually configure the host adapter's
  1555. on-board terminators to only terminate the high byte. You need to
  1556. be clear on what type of connectors are present where you want to
  1557. do the conversion. You also need to plan your bus so that all the WIDE
  1558. devices will be at one end and all the narrow devices will be at the
  1559. other end. Certain host adapters with auto-termination make the
  1560. assumption that when the low byte is terminated the high byte is
  1561. also. When using WIDE/narrow adapters this assumption is not valid.
  1562. One further caveat is that if narrow devices are attached to a WIDE
  1563. adapter, the adapter's ID must be between 0 and 7 because narrow devices
  1564. would not be able to see it if the ID was any higher than 7.
  1565.  
  1566. Such adapters are available from:
  1567.  
  1568. Technical Cable Concepts
  1569. 1790 E. McFadden Ave.
  1570. Unit 103/104
  1571. Santa Ana, CA 92705
  1572. TEL: (714) 835-1081
  1573. FAX: (714) 835-1595 
  1574. http://www.techcable.com/
  1575.  
  1576. MegaHaus
  1577. 2201 Pine Drive
  1578. Dickinson, TX 77539
  1579. E-Mail megahaus@phoenix.net
  1580. Order Line 800-786-1157
  1581. Fax Line (281)534-6580
  1582. Main Line (281)534-3919
  1583. http://www.megahaus.com/
  1584.  
  1585. Dalco Electronics
  1586. P.O. Box 550
  1587. 275 South Pioneer Blvd.
  1588. Springboro, OH 45066-1180
  1589. http://www.dalco.com/
  1590.  
  1591. Warning: I am told that some 68 pin to 50 adapters have TERMPWR wired
  1592. incorrectly such that some of the 4 TERMPWR lines on the 68 pin connector
  1593. get connected to the pin opposite TERMPWR on the 50 pin side. This pin
  1594. was originally a GROUND signal and was later changed to OPEN to
  1595. prevent shorting TERMPWR if the connector was reversed.
  1596. Also some of these TERMPWR lines might be connected to the RESERVED pins
  1597. adjacent to TERMPWR. Some drives interpreted RESERVED to mean
  1598. "OK to connect to GROUND" and therefore attaching one of these will also
  1599. short out TERMPWR.
  1600. The proper wiring is for all 4 TERMPWR lines on the 68 pin side to connect
  1601. to the one TERMPWR line on the 50 pin side and leave the RESERVED lines not
  1602. connected.
  1603.  
  1604.  
  1605. ====
  1606. QUESTION: How does device ID numbering work with WIDE vs NARROW devices?
  1607. ANSWER From: Gary Field (gfield@zk3.dec.com)
  1608. ====
  1609.  
  1610. Narrow SCSI devices can only use IDs 0 through 7. WIDE SCSI devices on
  1611. a SCSI-3 system with 68 pin P cables, can use IDs 0 through 15. It is
  1612. generally wise to reserve 0-7 for narrow devices though.
  1613. SCSI-2 only specified the use of IDs 0-7 even for WIDE devices, but SCSI-3
  1614. allows 0-15 for WIDE devices. All devices on one bus must have unique IDs
  1615. of course.
  1616. The arbitration priorities are as follows:
  1617. highest
  1618. ID 7
  1619. ...
  1620. ID 0
  1621. ID 15
  1622. ...
  1623. ID 8
  1624. ID 23
  1625. ...
  1626. ID 16
  1627. ID 31
  1628. ...
  1629. ID 24
  1630. lowest
  1631.  
  1632. A WIDE device that is set to ID 10 knows not to respond to selection
  1633. for ID 2 because the parity bit P1 (for  bits 8-15) will not be set
  1634. by the initiator. During a selection of ID 10, the P parity bit
  1635. (for bits 0-7) will not be set by the initiator, but the P1 bit will be.
  1636.  
  1637.  
  1638. ====
  1639. QUESTION: What is spindle-sync and why would I want it?
  1640. ANSWER From: Roger J. Hamlett (Roger@ttelmah.demon.co.uk)
  1641. ====
  1642.  
  1643. It fundamentally affects just one aspect of performance, the 
  1644. 'latency'. With a single drive, if you are waiting for a sector to 
  1645. 'arrive' round a track, you have (on average) to wait for 
  1646. approximately one half the rotational time of the drive for it to 
  1647. arrive. So you might arrive at the track just as the sector has gone 
  1648. by, and have to wait one whole rotation at the worse, or the sector 
  1649. might arrive just as you want it, and latency would be zero. This 
  1650. average time, is the minimum latency acheivable. There are two 
  1651. methods of reducing this time. The first is to increase the 
  1652. rotational rate of the drive. This is why for certain types of 
  1653. application a 7200RPM drive, will still outperform a 5400RPM drive, 
  1654. that has the same data rate off the drive. The other method is to 
  1655. have multiple copies of the required data on unsynchronised drives, 
  1656. and take whichever copy arrives first. This can be done with mirrored 
  1657. drives, and gives a small improvement in the latency time. However 
  1658. the 'down side' of multiple drives comes when we have to wait for all 
  1659. the data parts to arrive. So (for instance) on a striped array, if 
  1660. the drives are synchronised, the latency will remain the same as for 
  1661. the single drives with both data 'parts' arriving together. However 
  1662. if the drives are unsynchronised, the 'total' latency goes up, to 33% 
  1663. 'worse' than the single drive, as we now have to wait for both parts 
  1664. to arrive. Similar 'extensions' take place with other RAID 
  1665. configurations, unless the drives are synchronised. Basically in RAID 
  1666. arrays, the drives should be synchronised, _unless_ the total 
  1667. required data can be assembled from a small fraction of the drives. 
  1668. RAID 1, and RAID 10, are the commonest configurations where 
  1669. synchronisation is disadvised.
  1670.  
  1671.  
  1672.  
  1673. ====
  1674. End.
  1675. ====
  1676.  
  1677. --
  1678. --/* Gary Field - WA1GRC, Digital Equipment Corp., 110 Spit Brook Rd
  1679.      M/S ZKO3-3/T79, Nashua, NH 03062-2698, phone: (603) 884-2543
  1680.      email: gfield@zk3.dec.com   http://www.ultranet.com/~gfield  TZ=EST5EDT
  1681.                           Press RESET to continue.                    */
  1682.