home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / ultrix / 9417 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  2.2 KB

  1. Xref: sparky comp.unix.ultrix:9417 comp.sys.dec:7039
  2. Newsgroups: comp.unix.ultrix,comp.sys.dec
  3. Path: sparky!uunet!paladin.american.edu!gatech!asuvax!ncar!csn!boulder!ucsu!news
  4. From: giltner@pogo.colorado.edu (Jon Giltner)
  5. Subject: SCSI CAM and third party devices (specifically HP35480A DAT)
  6. Message-ID: <1993Jan21.161052.21989@ucsu.Colorado.EDU>
  7. Sender: news@ucsu.Colorado.EDU (USENET News System)
  8. Nntp-Posting-Host: pogo.colorado.edu
  9. Organization: University of Colorado, Boulder
  10. Date: Thu, 21 Jan 1993 16:10:52 GMT
  11. Lines: 30
  12.  
  13.  
  14. I posted this request a few days ago and got no responses, but I have more  
  15. info now so I figure I'll try again. It wasn't too long ago that Ultrix  
  16. engineers were gushing over the virtues of SCSI CAM in this group. One of you  
  17. should be willing to answer some fairly simple questions.
  18.  
  19. I would like to select data compression on an HP35480A DAT drive by using  
  20. /dev/rmt0h (an no data compression by using /dev/rmt0l). I don't know what  
  21. type of drive DEC's tlz06 is, but in cam_data.c compression is selected by a  
  22. compression code (either 0x00 or 0x01?) in the device's density table. From  
  23. having a customer support engineer read me some lines of source we concluded  
  24. that the compression code is used in a SCSI mode select that sets the Select  
  25. Data Compression Algorithm byte (byte 14) in the Device Configuration Page  
  26. (Page code 0x10). This apparently does the trick for the tlz06. However, the  
  27. manual for the HP drive says that the Select Data Compression Algorithm field  
  28. is "not supported by the drive and must be cleared to zero." 
  29.  
  30. Instead there is a Data Compression Characteristics Page (Page Code 0x0f -  
  31. which is "reserved" according to the SCSI2 spec ?). In this page there are  
  32. several fields, one is Data Compression Enable, another is Compression  
  33. Algorithm. I see in cam_data.c that there is a mode select table that can be  
  34. set up so that up to eight mode selects can be done for a device on open, but  
  35. it does not appear to be minor number specific - the mode selects will be done  
  36. no matter which device file is used, so this is no better than just flipping  
  37. the compression dip switch on the drive.
  38.  
  39. --
  40. Jon Giltner
  41. Computing and Network Services          University of Colorado 
  42. (giltner@spot.Colorado.EDU)             Boulder
  43.