home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / amiga / hardware / 15028 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  7.7 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!netnews.upenn.edu!dsinc!bagate!cbmvax!cbmehq!cbmger!edomdo!manfred
  2. From: manfred@edomdo.UUCP (Manfred Dolag)
  3. Newsgroups: comp.sys.amiga.hardware
  4. Subject: Re:  Re: SCSI-Streamer on A3000
  5. Message-ID: <manfred.01jd@edomdo.UUCP>
  6. Date: 4 Sep 92 17:48:44 GMT
  7. References: <Rudolf_Neuhaus.02zk@ouzonix.bo.open.de> <1992Aug28.144937.6102@javelin.sim.es.com> <64893@cup.portal.com> <1992Sep3.055304.6640@tc.cornell.edu>
  8. Organization: Edotronik GmbH
  9. Lines: 172
  10.  
  11. In article <1992Sep3.055304.6640@tc.cornell.edu> chris@alchemy.tn.cornell.edu (Chris Wolf) writes:
  12. >In article <64893@cup.portal.com> TomK@cup.portal.com (Tom R Krotchko) writes:
  13. >>>Well, I finally tracked down Tandberg Data USA, and I have better answers
  14. >>>about the Tandberg 3600 refurbs from RS6000's.
  15. >>>
  16. >>>There are two fixes for this drive. The first is to get a new "bios" for the
  17. >>
  18. >>I did order the new BIOS for the drive, and guess what: it worked worse than
  19. >>before. I replaced with it with the original U07 BIOS and it worked as "well"
  20. >>as it had before. Tandberg would not take the BIOS back, BTW, even though I
  21. >>bought it on their advice (just a minor update, the price is $40, no $60 as the
  22. >
  23. >>The key here is the Tandberg seems to drive other SCSI controllers bananas
  24. >>the way it does asynchronous writes. I suspect is has to do with how slow the
  25. >>drive writes to the tape (a block takes several seconds to write).
  26. >>
  27. >>I have it working by turning reselect off. Using the GVP, there is a command
  28. >>that does this. The net effect is the backups go about twice as slow as they
  29. >>would otherwise, but they work.
  30. >
  31. >>Tom Krotchko
  32. >
  33. >
  34. >Wait a sec!  I missed the original post describing the Tandberg problems
  35. >some people are having.  Could someone send me a copy or synopis of them?
  36. >
  37. >I just acquired a Tandberg 3600 drive (150/250 mb) that was supposedely
  38. >a refurb pulled from an RS6000 and it has worked flawlessly for me so I
  39. >am interested in hearing what problems other people are having.  I do not
  40. >know the EEPROM or BIOS revisions on the drive.  The system I am using it
  41. >in is an A3000T with AmiBack 2.0 software.  I have used it to back-up and
  42. >restore MANY megs of data (and am using it as I type this as a matter of
  43. >fact) with never a problem.  I do not need to turn reselect off and I do not
  44. >experience any noticeable slowdown - AmiBack keeps the tape streaming
  45. >constantly and I get data transfer rates of about 5 megs/min.    The only
  46. >thing I had to do was set IO mode to Synchronous instead of Asynchronous
  47. >on the AmiBack tape configuration window or else AmiBack reported some
  48. >spurious errors.
  49. >
  50. >                            - Chris
  51. >
  52. >--
  53. >
  54. >   --------------------------------------------------------------------
  55. >   Christopher Wolf    mail: chris@alchemy.tn.cornell.edu    IRC: cwolf
  56. >   --------------------------------------------------------------------
  57.  
  58. --
  59.  
  60. Problems with Tandberg Streamer 3600 Series BIOS 07:29
  61.  
  62.  
  63. The Tandberg Streamer has problems with a WD33C93A SCSI controller used in
  64. the Commodore Amiga 3000 and the C= SCSI board 2091.
  65. After a Control Descriptor Block is transmitted to the streamer it usually
  66. responds with a Message In Phase. Sometimes, though, the WD33C93A sets a
  67. different status message which says it is expecting another CDB transfer
  68. instead of a Message In phase. As the streamer is in a Message In Phase now
  69. and the device driver tries to resend the CDB there is confusion which
  70. leads to a complete hangup of the SCSI bus.
  71.  
  72. This is a protocol with comments that records all state changes in the
  73. WD33C93A when a small test program tries to repeatedly write blocks of 512
  74. bytes junk data to the streamer.
  75.  
  76.     Last CMD:        The last WD33C93A command issued in the
  77.             Command Register 0x18
  78.     DMA:        State of the Amiga DMA Controller (private)
  79.     AUX:        Contents of the Auxiliary Status Register when
  80.             the WD33C93A last sent an interrupt.
  81.     SCSI:        Contents of the SCSI Status Register when
  82.             the WD33C93A last sent an interrupt.
  83.  
  84. The WD33C93A is clocked with ca. 14MHz. Frequency select in the OWN ID/CDB
  85. SIZE Register is therefore set to 1. The SYNCHRONOUS TRANSFER REGISTER is
  86. set to 0x40 which means a SCSI/WD-BUS Transfer Period of 4 cycles with a
  87. cycle time of ca. 100ns. according to the WD Data Sheets.
  88.  
  89. All values are hex.
  90.  
  91.  
  92. >SDBG started...
  93.  
  94. This is the standard transmission of a 512 byte block. It always looks the
  95. same when no error occurs:
  96.  
  97. > New Job... WD33C93A-Settings
  98. >  OwnID:  7   Advanced Features: 0  Host Parity: 0  Frequency: 1
  99. >
  100. >  State -- Last CMD: 06, DMA: D1, AUX: 80, SCSI: 11
  101. >  State -- Last CMD: 06, DMA: D1, AUX: 80, SCSI: 8E
  102. >  State -- Last CMD: A0, DMA: D1, AUX: 80, SCSI: 1A
  103.  
  104. SCSI 1A tells us that the device driver should send a CDB to the streamer.
  105.  
  106. >  CDB Length: 0006 Data: 0A 01 00 00 01 00
  107. >  State -- Last CMD: 20, DMA: D1, AUX: 80, SCSI: 1F
  108.  
  109. After CDB transmission with the WD33C93A command "Transfer" 0x20 we usually
  110. get the SCSI state 1F which tells us that a Message In Phase is requested.
  111. The streamer sends us 02, the transmission was Ok:
  112.  
  113. >  MessageIn: 02     OkFlag: FF
  114.  
  115. Now the rest of the block transfer follows:
  116.  
  117. >  State -- Last CMD: A0, DMA: D1, AUX: 80, SCSI: 20
  118. >  State -- Last CMD: 03, DMA: D1, AUX: 80, SCSI: 8F
  119. >  State -- Last CMD: A0, DMA: D1, AUX: 80, SCSI: 20
  120. >  State -- Last CMD: 03, DMA: D1, AUX: 80, SCSI: 85
  121. >  State -- Last CMD: 03, DMA: D1, AUX: 80, SCSI: 80
  122. >  State -- Last CMD: 03, DMA: D1, AUX: 80, SCSI: 8F
  123. >  State -- Last CMD: A0, DMA: D1, AUX: 80, SCSI: 20
  124. >  State -- Last CMD: 03, DMA: D1, AUX: 80, SCSI: 88
  125. >  State -- Last CMD: 20, DMA: D2, AUX: 80, SCSI: 1B
  126. >  State -- Last CMD: 09, DMA: D2, AUX: 80, SCSI: 16
  127. >  State -- Last CMD: 09, DMA: D2, AUX: 80, SCSI: 85
  128.  
  129. [...] (Several "New Job..." block transfers deleted)
  130.  
  131. Here we have a block transfer like the ones before. But now we have some
  132. sort of timing or handshake problem which confuses the WD33C93A.
  133.  
  134.  
  135. >
  136. >New Job...
  137. >WD33C93A-Settings
  138. >  OwnID:  7   Advanced Features: 0  Host Parity: 0  Frequency: 1
  139. >
  140. >  State -- Last CMD: 06, DMA: D1, AUX: 80, SCSI: 11
  141. >  State -- Last CMD: 06, DMA: D1, AUX: 80, SCSI: 8E
  142. >  State -- Last CMD: A0, DMA: D1, AUX: 80, SCSI: 1A
  143.  
  144. Again there is SCSI 1A, a request for the CDB
  145.  
  146. >  CDB Length: 0006 Data: 0A 01 00 00 01 00
  147. >  State -- Last CMD: 20, DMA: D1, AUX: 80, SCSI: 1A
  148.  
  149. ************************************
  150. *** Here we have the deadly bug! ***
  151. ************************************
  152.  
  153. We don't get the usual SCSI 1F for Message In but instead we get SCSI 1A
  154. again for CDB transmission. This makes no sense whatsoever but the state
  155. machine of the device driver is trusting the WD33C93A.
  156.  
  157. >  CDB Length: 0006 Data: 0A 01 00 00 01 00
  158. >  State -- Last CMD: 20, DMA: D1, AUX: 80, SCSI: 41
  159. >  State -- Last CMD: 20, DMA: D1, AUX: 80, SCSI: 80
  160.  
  161. The CDB is retransmitted and then we get some two "junk" states because of
  162. this unexpected change in SCSI behaviour. Now the device drivers state
  163. machine is completely confused and at this point the machine hangs.
  164.  
  165. Either the WD33C93A is under certain conditions unable to identify the
  166. Message In phase correctly or the streamer bios is "messing up" the SCSI
  167. timing.
  168.  
  169. This bug is *always* reproducible even though it might not show up until
  170. several block transfers completed successfully!
  171.  
  172. It does *not* occur if we use the same CDB with a length >6 filled up with
  173. zero! With a CDB length > 7 the device driver always gets a SCSI state of
  174. 0x4F "unexpected phase Message In" instead of the "correct" state 0x1F
  175. after CDB transmission. The device driver can handle this difference and
  176. proceedes correctly.
  177.  
  178. --
  179. Manfred Dolag, Edotronik GmbH (ECG018), Tel. +49 89 404093, FAX +49 89 402293
  180. St.-Veit-Str. 70, 8000 Muenchen 80, Germany
  181. -*-*-  for email from outside of Commodore Developer Group please use:    -*-*-
  182. -*-*-*-    Path: cbmehq!cbmger!edomdo!manfred@cbmvax.commodore.com    -*-*-*-
  183.