Hi All,
	The next set of 'scu' enhancements has been completed.  The
executable and help file, are in the usual place:

	wasted:~rmiller/nscu.d/{scu,scu.hlp}

	What's New as of June 30, 1995
	------------------------------
     o	Changed display of numeric values from signed to unsigned.
	[ most values, including log counters, are unsigned values. ]
	[ also print values as longs, since some counters are 64-bits ]

     o	Update cache control page to conditionally display SCSI-3 fields.
	[ if the page length is greater than the SCSI-2 define page size,
	  then SCSI-3 page extensions are displayed (for newer drives). ]

     o	Added DIMM (Disconnect Immediate) & EMDP (Enable Modify Data
	Pointer Messages) support to Disconnect-Reconnect Page.

     o	Fixed audio page volume level percentage display.
	[ percentage was incorrect when volume < maximum level. ]

     o	"show log pages { full | summary }" now takes optional report
	format, which defaults to summary report.

     o	The page control field (pcf) for mode/log pages is no longer
	sticky (gets set back to default pcf which is "current" values).

     o	The DEC Special Control Page is now fully supported.

     o	The Error Recovery Page is now displayed properly for different
	device types (was always doing direct-access error page before).

     o	When changing mode pages, the page display now reflects whether
	the page parameters are being saved (saving is done by default).

     o	Support has been added for the following mode pages:
	- Optical Memory Page (code 0x06).
	- Verify Recovery Error Page (code 0x07)
	- Peripheral Device Page (code 0x09).
	- Medium Types Supported Page (code 0x0B).
	- Notch and Partition Page (code 0x0C).
	- Power Condition Page (code 0x0D). [ This is SCSI-3 page. ]

     o	Additional context added to mode page fields (more information).

     o	Defect lists are now dynamically allocated, so any size defect
	list is now properly handled.

     o	With the completion of the mode page rewrite, the framework has
	been added to allow setting individual page fields, which will be
	forthcoming in a future release.  Also, I've designed this new code
	so it will be easy to support SCSI-3 enhancements to mode pages.

	That's it for now.  See 'scu' help file for additional information.
As always, send mail directly to me if you encounter any problems and/or
have questions.

	Test log attached below, show these new commands in action.

-Robin
==============================================================================

% scu -f /dev/rrz10c
scu> show pages supported
Mode Pages Supported by Device /dev/rrz10c (RZ28D):

Read-Write Error Recovery Page (0x01), Page Length 10 (0x0a), Savable Yes
     Disconnect-Reconnect Page (0x02), Page Length 14 (0x0e), Savable Yes
            Format Device Page (0x03), Page Length 22 (0x16), Savable Yes
      Rigid Disk Geometry Page (0x04), Page Length 22 (0x16), Savable Yes
    Verify Error Recovery Page (0x07), Page Length 10 (0x0a), Savable Yes
            Cache Control Page (0x08), Page Length 18 (0x12), Savable Yes
             Control Mode Page (0x0a), Page Length  6 (0x06), Savable Yes
      Notch and Partition Page (0x0c), Page Length 22 (0x16), Savable Yes
          Power Condition Page (0x0d), Page Length 10 (0x0a), Savable Yes
          Vendor Specific Page (0x00), Page Length  2 (0x02), Savable Yes

scu> show page power

Power Condition Parameters (Page 0xD - Current Values):

Mode Parameter Header:

                  Mode Data Length: 23
                       Medium Type: 0 (Default Medium Type)
         Device Specific Parameter: 0x10 (Target Supports DPO & FUA bits)
           Block Descriptor Length: 8

Mode Parameter Block Descriptor:

                      Density Code: 0
          Number of Logical Blocks: 4110480
              Logical Block Length: 512

Page Header / Data:
                         Page Code: 0xd
                Parameters Savable: Yes
                       Page Length: 10
                           Standby: No
                              Idle: No
              Idle Condition Timer: 0
           Standby Condition Timer: 0

scu> show log pages

Write Error Counter Parameters (Page 0x2 - Current Cumulative Values):

      Parameter 0x1, Counter Value: 0 (Errors corrected with possible delays)
      Parameter 0x2, Counter Value: 0 (Total rewrites or rereads)
      Parameter 0x3, Counter Value: 0 (Total errors corrected)
      Parameter 0x4, Counter Value: 0 (Total times correction algorithm processed)
      Parameter 0x5, Counter Value: 0 (Total bytes processed)
      Parameter 0x6, Counter Value: 0 (Total uncorrected errors)

Read Error Counter Parameters (Page 0x3 - Current Cumulative Values):

      Parameter 0x0, Counter Value: 0 (Errors corrected without substantial delay)
      Parameter 0x1, Counter Value: 0 (Errors corrected with possible delays)
      Parameter 0x2, Counter Value: 0 (Total rewrites or rereads)
      Parameter 0x3, Counter Value: 0 (Total errors corrected)
      Parameter 0x4, Counter Value: 0 (Total times correction algorithm processed)
      Parameter 0x5, Counter Value: 4299776 (Total bytes processed)
      Parameter 0x6, Counter Value: 0 (Total uncorrected errors)

Verify Error Counter Parameters (Page 0x5 - Current Cumulative Values):

      Parameter 0x0, Counter Value: 0 (Errors corrected without substantial delay)
      Parameter 0x1, Counter Value: 0 (Errors corrected with possible delays)
      Parameter 0x2, Counter Value: 0 (Total rewrites or rereads)
      Parameter 0x3, Counter Value: 0 (Total errors corrected)
      Parameter 0x4, Counter Value: 0 (Total times correction algorithm processed)
      Parameter 0x5, Counter Value: 0 (Total bytes processed)
      Parameter 0x6, Counter Value: 0 (Total uncorrected errors)

Non-Medium Error Counter Parameters (Page 0x6 - Current Cumulative Values):

      Parameter 0x0, Counter Value: 0

scu> sw /dev/rrz4c
Switching to device entry /dev/rrz4c (RRD42)...
scu> show page error

Read-Write Error Recovery Parameters (Page 0x1 - Current Values):

Mode Parameter Header:

                  Mode Data Length: 19
                       Medium Type: 0 (Default Medium Type)
         Device Specific Parameter: 0
           Block Descriptor Length: 8

Mode Parameter Block Descriptor:

                      Density Code: 0 (Default Density Code)
          Number of Logical Blocks: 0
              Logical Block Length: 512

Page Header / Data:
                         Page Code: 0x1
                Parameters Savable: No
                       Page Length: 6
          Disable Correction (DCR): No
   Disable Transfer on Error (DTE): No
      Post Recoverable Error (PER): Yes
       Enable Early Recovery (EER): No
               Transfer Block (TB): Yes
                  Read Retry Count: 1

scu> sw /dev/rmt0h
Switching to device entry /dev/rmt0h (TZK10)...
scu> show page error

Read-Write Error Recovery Parameters (Page 0x1 - Current Values):

Mode Parameter Header:

                  Mode Data Length: 23
                       Medium Type: 0x3
                        Tape Speed: 0 (Using Default Speed)
                     Buffered Mode: 0x1 (Buffering Enabled)
                   Write Protected: No
           Block Descriptor Length: 8

Mode Parameter Block Descriptor:

                      Density Code: 0xf (10000 BPI, QIC-120 (GCR, C))
          Number of Logical Blocks: 0
              Logical Block Length: 512

Page Header / Data:
                         Page Code: 0x1
                Parameters Savable: Yes
                       Page Length: 10
          Disable Correction (DCR): No
   Disable Transfer on Error (DTE): No
      Post Recoverable Error (PER): No
       Enable Early Recovery (EER): Yes
               Transfer Block (TB): Yes
                  Read Retry Count: 24
                 Write Retry Count: 16

scu> quit
% 
