Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* SCSI CAM and third party devices (specifically HP35480A DAT)
@ 1993-01-21 16:10 Jon Giltner
  1993-01-21 20:24 ` Has anyone Ported Suns PCNSFD to Ultrix 4.2? cliff UCLA Astronomy
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Giltner @ 1993-01-21 16:10 UTC (permalink / raw)



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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1993-01-21 20:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-01-21 16:10 SCSI CAM and third party devices (specifically HP35480A DAT) Jon Giltner
1993-01-21 20:24 ` Has anyone Ported Suns PCNSFD to Ultrix 4.2? cliff UCLA Astronomy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox