Hi All,
	Attached are the latest set of changes I've made to 'scu', which I'll
be submitting to steelos in the near future.  Send your feedback (positive or
negative) directly to me.

	Latest versions in: wasted:~rmiller/nscu.d/{scu,scu-ptos,scu.hlp}

Enjoy,
Robin
================================================================================

	What's New as of February 13, 1997 (newest stuff is listed first)
	----------------------------------

     o	Three new options are available on the "show edt" command:

	The "all" option can be used to display EDT entries marked as "not
	present" or "not connected", which are normally supressed.

	The "serial" option will obtain and display the device serial number
	(if the Inquiry optional vital product data serial page is supported).

	The "status" option will issue a Test Unit Ready command and present
	device status information (Ready, Not Ready, Busy, Reserved, etc).
	[ Added mainly for ASE testing to quickly locate reserved devices. ]

	NOTE:  For Quantam drives, which have a strange serial number string:

	    Product Serial Number: PCB=ZG35006704  ; HDA=000040265387

	I've chosen to display the HDA string.  Dave Brown stated that both
	the PCB and HDA serial strings are unique.

	These three options are in addition to the "capabilities" option
	previously supported.  Only one of "capabilities", "serial", or
	"status" will be displayed (parsed in that order).

     o	You can now override the default retry count (which is 25), via:

	scu> set default retries VALUE (where VALUE is range 0 - 255).

	This controls the number of retries done on things like SCSI BUSY.

	BTW:  The only errors automatically retried (if anabled) is BUSY.
	Retries for "SELECTION TIMEOUT" are no longer performed, so Roger's
	scripts can detect this error (which normally shouldn't happen).

     o	The error reporting format has been enhanced to always display the
	device name and SCSI nexus (bus/target/lun) information.

     o	Support for the ATAPI CD-ROM Capabilities page was added (for Fred).
	[ This support has already been submited to the pthw1os pool. ]

	That's all I can remember right now.

================================================================================

scu> sbtl 0 2 0
Device: RZ25, Bus: 0, Target: 2, Lun: 0, Type: Direct Access
scu> stop immed
scu> tur
scu: 'test unit ready' failed on device 'RZ25' at nexus [0/2/0]
scu: Sense Key = 0x2 = NOT READY - Logical unit is NOT ready,
     Sense Code/Qualifier = (0x4, 0x2) = Logical unit not ready, initializing command required
scu> 

--------------------------------------------------------------------------------

wisdom# scu show edt status

CAM Equipment Device Table (EDT) Information:

    Bus/Target/Lun Device Type  ANSI  Vendor ID    Product ID    Revision Status
    -------------- ----------- ------ --------- ---------------- -------- ------
     0    4    0   CD-ROM      SCSI-2 DEC       RRD42   (C) DEC    4.5d   Not Ready
     0    5    0   Direct      SCSI-2 DEC       RZ26     (C) DEC   392A   Ready
     2    1    0   Direct      SCSI-2 DEC       RZ28     (C) DEC   D41C   Reserved
     2    2    0   Direct      SCSI-2 DEC       RZ28     (C) DEC   T436   Ready
     2    3    0   Direct      SCSI-2 DEC       RZ28     (C) DEC   D41C   Ready
     2    7    7   Processor   SCSI-2 DEC       Digital UNIX ASE   TMV2   Ready

wisdom# scu show edt serial

CAM Equipment Device Table (EDT) Information:

    Bus/Target/Lun Device Type  ANSI  Vendor ID    Product ID    Revision Serial Number
    -------------- ----------- ------ --------- ---------------- -------- -------------
     0    4    0   CD-ROM      SCSI-2 DEC       RRD42   (C) DEC    4.5d   <not available>
     0    5    0   Direct      SCSI-2 DEC       RZ26     (C) DEC   392A   0000025035333108
     2    1    0   Direct      SCSI-2 DEC       RZ28     (C) DEC   D41C   0000000045165735
     2    2    0   Direct      SCSI-2 DEC       RZ28     (C) DEC   T436   0000000035074980
     2    3    0   Direct      SCSI-2 DEC       RZ28     (C) DEC   D41C   0000000042569135
     2    7    7   Processor   SCSI-2 DEC       Digital UNIX ASE   TMV2   <not available>

wisdom# 

--------------------------------------------------------------------------------

This ATAPI Capabilities page is read-only, so only the "show page"
command was affected by this change.  This output is shown below:

    scu.atapi> show page cdcap (capabilities keyword is also accepted)

    ATAPI CD-ROM Capabilities Parameters (Page 0x2A - Current Values):

    Page Header / Data:
                             Page Code: 0x2a
                    Parameters Savable: No
                           Page Length: 18
                     CD-R Read Support: Yes
                     CD-E Read Support: No
                 CD-R Method 2 Support: No
                    CD-R Write Support: No
                    CD-E Write Support: No
                    Audio Play Support: Yes
             Composite Audio and Video: No
         Digital Output Port 1 Support: No
         Digital Output Port 2 Support: No
            Mode 2 Form 1 (XA) Support: Yes
                 Mode 2 Form 2 Support: Yes
     Multi-Session or Photo-CD Support: Yes
              CD-DA Commands Supported: Yes
              CD-DA Stream is Accurate: No
              Combined R-W Information: Yes
        R-W De-interleaved & Corrected: No
           C2 Error Pointers Supported: Yes
              Support ISRC Information: Yes
    Support Media Catalog Number (UPC): Yes
           Prevent/Allow Media Locking: Yes
          Drive Media Currently Locked: No
            Prevent/Allow Media Jumper: 0 (Power up to allow state)
         Eject via Start/Stop LoEj bit: Yes
                Loading Mechanism Type: 1 (Tray type loading mechanism)
              Seperate Volume Controls: Yes
               Seperate Channel Muting: Yes
           Supports Disc Present (SDP): No
         Software Slot Selection (SSS): No
               Maximum Speed Supported: 1411000 (1.4 MBytes/second)
               Volume Levels Supported: 255
                 Buffer Size Supported: 262144 (256 Kbytes)
                Current Speed Selected: 1411000 (1.4 MBytes/second)
              Format of Digital Output: 0x18

    scu.atapi>

