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