home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / periphs / scsi / 6676 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.8 KB

  1. Path: sparky!uunet!cbmvax!jesup
  2. From: jesup@cbmvax.commodore.com (Randell Jesup)
  3. Newsgroups: comp.periphs.scsi
  4. Subject: Re: How to reject multiple byte messages
  5. Message-ID: <38765@cbmvax.commodore.com>
  6. Date: 25 Jan 93 08:13:46 GMT
  7. References: <1993Jan15.201455.17389@kpc.com>
  8. Reply-To: jesup@cbmvax.commodore.com (Randell Jesup)
  9. Organization: Commodore, West Chester, PA
  10. Lines: 36
  11.  
  12. jworley@kpc.com (John Worley - Consultant) writes:
  13. >    How does device reject a two byte message, e.g., the tagged
  14. >queue messages? SCSI-2 doesn't seem to specify and I can see two
  15. >scenarios:
  16.  
  17.     First, no proper device should send you one if you don't say you
  18. support it in your Inquiry data.  If you do say you support it, you should do
  19. so.
  20.  
  21. >    (1)    The device sends MSG REJECT after the first byte - most
  22. >    devices should do this - after which the sender would
  23. >    need to substitute a NOP message for the 2nd byte, OR
  24. >
  25. >    (2)    The device recognizes the two byte message but doesn't
  26. >    support the operation, accepts both bytes and sends one
  27. >    MSG REJECT.
  28.  
  29.     That's how I would handle it.
  30.  
  31. >    Does an initiator need to support both types of rejection? Please
  32. >respond by e-mail.
  33.  
  34.     If the initiator checks the inquiry data, it shouldn't need to handle
  35. either.  Note that many many modern drives have broken tagged queuing - I've
  36. seen one that took the $20 (SIMPLE_QUEUE) and used it for the count of messages
  37. to fetch, then rejected the whole thing.  I've seen another than on request
  38. sense after using tags will always return BUSY.  A bit like Sync negotiations
  39. in the early SCSI-1 days.
  40.  
  41. -- 
  42. GNU Emacs is a LISP operating system disguised as a word processor.
  43.  - Doug Mohney, in comp.arch
  44.  
  45. Randell Jesup, Jack-of-quite-a-few-trades, Commodore Engineering.
  46. jesup@cbmvax.commodore.com  BIX: rjesup  
  47. Disclaimer: Nothing I say is anything other than my personal opinion.
  48.