home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / periphs / scsi / 6298 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  6.3 KB

  1. Path: sparky!uunet!cbmvax!jesup
  2. From: jesup@cbmvax.commodore.com (Randell Jesup)
  3. Newsgroups: comp.periphs.scsi
  4. Subject: Re: CAM (was Re: Would there be any interest in splitting this group?)
  5. Message-ID: <38228@cbmvax.commodore.com>
  6. Date: 31 Dec 92 18:47:31 GMT
  7. References: <1992Nov28.071925.22006@u.washington.edu> <37384@cbmvax.commodore.com> <ByLD4u.60p@tegra.com> <37468@cbmvax.commodore.com> <1992Dec7.185119.7392@decvax.dec.com> <37702@cbmvax.commodore.com> <1992Dec14.192113.8698@decvax.dec.com> <37943@cbmvax.
  8. Organization: Commodore, West Chester, PA
  9. Lines: 118
  10.  
  11. commodore.co <1992Dec30.173829.29453@decvax.dec.com>
  12. Sender: 
  13. Reply-To: jesup@cbmvax.commodore.com (Randell Jesup)
  14. Followup-To: 
  15. Distribution: 
  16. Organization: Commodore, West Chester, PA
  17. Keywords: 
  18.  
  19. jag@zk3.dec.com writes:
  20. >Well I am back, after an emergency appendectomy.  This was no way to spend
  21. >two weeks around the Holidays!  I did get a chance to play a lot of my
  22. >kids S-Nintendo game :-)
  23.  
  24.     Glad you're back.  That's not how I would want to spend the holidays
  25. (or any days, for that matter).
  26.  
  27. >>>    In any event an this occurring in DATA OUT is an error, either a bug
  28. >>>in the driver or a bug in the device/Hardware.  Digital as a company
  29.  
  30. >>    You can lose a hell of a lot more than tape position.  For example,
  31. >>what if another disk is currently disconnected and writing data?  A hard bus
  32. >>reset might make it stop (I _hope_ not in mid-sector, but I could certainly
  33. >>see it happening - in fact I suspect it's the normal case).  I think that
  34. >>such an overrun should be the driver's problem to deal with, rather than
  35. ...
  36. >> I just can't see
  37. >>hard bus reset being a reasonable alternative, even in a single-initiator
  38. >>environment, let alone a multi-initiator environment.
  39. >
  40. >    All of the disk devices that we know about will complete the current
  41. >sector and then enter the Unit Attention condition.  This way the drivers
  42. >on the systems, single or multi-initiator can recover or terminate their
  43. >current I/O.  At least from one point of view, a companies liability
  44. >paranoia, it is not the system software that is corrupting the media.
  45.  
  46.     A multi-initiator system may well not recover from that.  Since the
  47. other initiators are of course disconnected, they will not normally notice
  48. the unit attention condition, they'll merely wait for the target to reselect
  49. them (which it won't).  I'm not sure you can count on all initiators being
  50. able to notice a hard-reset, and I'm pretty certain you can't count on
  51. most initiators to handle error recovery from it.
  52.  
  53.     If a device active but disconnected was a non-direct access device,
  54. the IO may be impossible to recover.
  55.  
  56. [processor-mode list of CCB's...]
  57. >>>    These were choose for being the most useful.  There should be no
  58. >>>reason why any other CDB can not be added to the list on the Enable LUN.
  59. >>>The list of "things" to check in the CAM spec is really there to show 
  60. >>>you what level of checking the SIM should perform.
  61. >>
  62. >>    Good, that's what I hoped.  This really needs to be made more clear
  63. >>in the spec, not everyone implementing it will have as good access as I do
  64. >>to people who were involved in writing it.
  65. >
  66. >    Well, I hope at least, that we - (who worked on it) can continue to
  67. >be accessable on the network and the BBS.  It is very unfortunate that the
  68. >target mode sections, and the HBA engine sections did not get the level 
  69. >of involvement that the other section went through.
  70.  
  71.     I've gotten mail from one of the original target mode guys (the
  72. person who was pushing phase-cog mode), and he thought that ONLY those
  73. requests were allowed.  As I said before, this obviously isn't clear as it
  74. stands.  Perhaps this can be handled as a request for interpretation...
  75.  
  76. >>>    The enable lun CCB is rejected or accepted as a whole, this includes
  77.  
  78. >>    The spec should be updated to say that.  .........................
  79. >
  80. >    The spec at this point is not changeable, the public review and the
  81. >following voting period is not a trivial process.  To change even a word
  82. >in the spec would involve another N months of "process".  From my
  83. >perspective I would rather have the spec a reality, with it's flaws, rather
  84. >than still having it bouncing in and out of the committee.  The 
  85. >SCSI-2 spec had similar problems and this is one of the reasons that
  86. >it has been "delayed" over a year.
  87.  
  88.     I was afraid of that.  I agree I'd rather have a spec than none,
  89. but I'm getting the feeling that the spec is, shall we say, not quite ready -
  90. especially when it comes to target processor mode (phase-cog seems to be
  91. in better shape, if for no other reason other than it defers everything to
  92. the driver).
  93.  
  94.     Excluding processor-mode, it has some flaws but most are merely
  95. vagueness or lack of clarity (other than that address sizes should be OSD,
  96. not fixed at 4 bytes).
  97.  
  98. >>>    The request sense CCB is like an appendix, it does not make a whole
  99. >>>lot of sense but it has to be there in the event the the "other" system
  100. >>>should issue a request sense CDB.  At least it can be a was to get general
  101. >>>status information.
  102. >>
  103. >>    This should probably be made clear if it's going to be explicitly
  104. >>mentioned.  Also, if this is the case, shouldn't Request Sense be in the
  105. >>same catagory as Inquiry?  It's pretty silly to return BUSY for request
  106. >>sense, especially if this is just meant for "default" sense data (it has to
  107. >>be "default", since it can't handle I_T_x nexi).
  108. >
  109. >    Sorry, I don't understand ?
  110.  
  111.     By your interpretation, if a request sense command comes in, and the
  112. SIM has no internal sense stored for that initiator, it uses the request
  113. sense CCB handed in with Enable LUN.  If, before the driver makes the
  114. request sense CCB available again, another request sense (from any initiator)
  115. comes in, the SIM will have to return BUSY.  While legal, I think it's best
  116. to avoid returning busy to request sense where possible.  In fact, there's
  117. no need for request sense at all here - it must be default (no error) data,
  118. since there's no way to associate it with an I_T_x nexus, in which case the
  119. SIM could handle it perfectly easily itself (it already has to store and
  120. return sense data for initiators anyways).
  121.  
  122. -- 
  123. GNU Emacs is a LISP operating system disguised as a word processor.
  124.  - Doug Mohney, in comp.arch
  125.  
  126. Randell Jesup, Jack-of-quite-a-few-trades, Commodore Engineering.
  127. jesup@cbmvax.commodore.com  BIX: rjesup  
  128. Disclaimer: Nothing I say is anything other than my personal opinion.
  129.