home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / aux / 4032 < prev    next >
Encoding:
Text File  |  1992-11-13  |  2.2 KB  |  50 lines

  1. Newsgroups: comp.unix.aux
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!cs.utexas.edu!sun-barr!ames!nsisrv!jagubox!jim
  3. From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  4. Subject: Re: Yet more about 'tc' (blocking issues)
  5. Message-ID: <1244@jagubox.gsfc.nasa.gov>
  6. Lines: 36
  7. Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
  8. Nntp-Posting-Host: jagubox.gsfc.nasa.gov
  9. Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  10. Organization: NASA/Goddard Space Flight Center
  11. References: <1228@jagubox.gsfc.nasa.gov> <1992Nov11.032712.26391@noao.edu> <1241@jagubox.gsfc.nasa.gov> <1243@jagubox.gsfc.nasa.gov>
  12. Date: Fri, 13 Nov 1992 14:52:25 GMT
  13.  
  14. jim@jagubox.gsfc.nasa.gov (Jim Jagielski) writes:
  15. >Seems that almost all drives that support variable block sizes just require
  16. >2 changes: a bit _clear_ in READ/WRITE and a Mode Select with Block Length
  17. >being set to 0.... (as far as I can tell)
  18.  
  19. >Soooo... expect version 3.01 of 'tc' to be released in a little bit with...
  20. >Variable Block Length support on those drives that allow it. This'll
  21. >be implemented by using another minor device number bit (number 6 [0x40]).
  22. >Testing on this will be minimal before release, so I'll need others
  23. >to try it out and see...
  24.  
  25. Well, I've been testing this and it doesn't look good... It seems that
  26. the SCSI Manager won't allow it to accept "wrong length" transfers
  27. when reading:
  28.  
  29. /* The SRQ_TRUNC flag, which should be available after 2.0.1, causes
  30.  * the SCSI manager to accept wrong-length data transfers, so we can
  31.  * do things like read blocksizes that don't match the tape size
  32.  * (either shorter or longer).
  33.  *
  34.  * Until SRQ_TRUNC gets defined in <sys/scsireq.h>, we won't be able
  35.  * to read with a size that doesn't match the tape blocksize (i.e.
  36.  * the user will have to know the blocksize and read it exactly).
  37.  */
  38.  
  39. Soooo even though writting goes off Okay, reading doesn't (after reading
  40. 1k, the SCSI Manager generates an SST_AGAIN error)...
  41.  
  42. Please note that SRQ_TRUNC _isn't_ available under 3.0.
  43.  
  44. So, it looks like variable block lengths for 'tc' isn't a possibility...
  45. -- 
  46.     Jim Jagielski               | "It is not I who am crazy...
  47.     jim@jagubox.gsfc.nasa.gov   |  it is I who am MAD!"
  48.     NASA/GSFC, Code 734.4       |
  49.     Greenbelt, MD 20771         |            - Ren
  50.