NOTE: Please read all instructions carefully before running the script. 

NOTE: Backup all data on all disks being upgraded by this patch. Backup any 
      required configuration data (such as SEVM / VxVM / SDS / SLVM or other
      disk management configs or other relevant data needed to recover from 
      a catastrophic failure). Keep this backup data available as a safety
      precaution.

NOTE: You must be root to run the script or utility.

NOTE: Before following the instructions to run the scripts, install the
      patch. 

To install the patch:

 1. untar the patch 
  ==================

#tar -xvf 113667-01.tar
x 113667-01, 0 bytes, 0 tape blocks
x 113667-01/download32, 300800 bytes, 588 tape blocks
x 113667-01/download64, 367784 bytes, 719 tape blocks
x 113667-01/.download, 2496 bytes, 5 tape blocks
x 113667-01/ST318404L.0103.fw, 581120 bytes, 1135 tape blocks
x 113667-01/ST39204L.0103.fw, 581120 bytes, 1135 tape blocks
x 113667-01/download, 673 bytes, 2 tape blocks
x 113667-01/INQUIRY, 13376 bytes, 27 tape blocks
x 113667-01/patchinfo, 206 bytes, 1 tape blocks
x 113667-01/INSTALLATION_INSTRUCTIONS, 20484 bytes, 41 tape blocks
x 113667-01/README.113667-01, 1540 bytes, 4 tape blocks

 2. change dir to 113667-01
 =========================== 
#cd ./113667-01
#ls
INQUIRY*                    ST318404L.0103.fw           download32*
INSTALLATION_INSTRUCTIONS   ST39204L.0103.fw            download64*
README.113667-01            download*                   patchinfo
#

NOTE: Once patch installation has been completed, the patch directory and 
      all files and subdirectories under it may be removed.

	  If you want to run independant inquiry to determine the FlashROM vendor, 
	  you can use the INQUIRY command from this directory. 


 3. Run the utility
 ==================
 To download fw to the drives use the following command:

#./download

 4. If you replace a drive that has failed:
 =========================================
 Rerun the utility (if needed) to update the firmware on the replaced drive(s). 
 The utility will allow you to download only to Seagate ST318404L and ST39204L SCSI
 Cheetah4 drives. (See sample screen below)

NOTE: While running the download utility portion of the scripts, you will
      recieve an "Enter command:" prompt. Enter "p" (program), "?" (help",
      or "q" (quit).

 5. Verify proper operation of system. 
 =====================================
 Restore target configuration and data (if necessary).


*******************************************************************************
*******************************************************************************
  SAMPLE SCREEN OUTPUT:
  
# download
Firmware Download Utility, V4.2

**************************  WARNING  **************************
NO OTHER ACTIVITY IS ALLOWED DURING FIRMWARE UPGRADE!!!
No other programs including any volume manager (e.g. Veritas,
SDS, or Vold) should be running.  Other host systems sharing
any I/O bus with this host must either be offline or
disconnected.  Any interruption (e.g. power loss) during
upgrade can result in damage to devices being upgraded.

Any disk to be upgraded should first have its data backed up.
***************************************************************

Searching for devices...

DISK DEVICES
Device           Rev   Product              
c2t9d0-c2t14d0:  2403  ST318404L -- SUN18G 
Total Devices:  6


Enter command: p
Upgrading devices...

c2t9d0: Successful download
c2t10d0: Successful download
c2t11d0: Successful download
c2t12d0: Successful download
c2t13d0: Successful download
c2t14d0: Successful download


Enter command: inq

DISK DEVICES
Device   Rev   Product              S/N
c0t1d0:  042D  ST318304F -- SUN18G  0020L009AP 
c2t9d0:  0103  ST318404L -- SUN18G  0035T18RTD 
c2t10d0: 0103  ST318404L -- SUN18G  0008T00E00 
c2t11d0: 0103  ST318404L -- SUN18G  0040T1PXB9 
c2t12d0: 0103  ST318404L -- SUN18G  0029T0T3BP 
c2t13d0: 0103  ST318404L -- SUN18G  0046T21VVJ 
c2t14d0: 0103  ST318404L -- SUN18G  0040T1P9EV


Enter command: q

#

*******************************************************************************
*******************************************************************************
 SAMPLE INQUIRY OUTPUT:


 To extract the Specific FLASH chip version:

 Usage:

 INQUIRY </dev/rdsk/cxtxdxs2...> 

 Example: 
 
#INQUIRY /dev/rdsk/c2*s2
/dev/rdsk/c2t9d0s2 : 161f1692 : Atmel AT49F4096A
/dev/rdsk/c2t10d0s2 : 2000d6 : SGS Thomson M29F400B
/dev/rdsk/c2t11d0s2 : 161f1692 : Atmel AT49F4096A
/dev/rdsk/c2t12d0s2 : 2000d6 : SGS Thomson M29F400B
/dev/rdsk/c2t13d0s2 : 2000d6 : SGS Thomson M29F400B
/dev/rdsk/c2t14d0s2 : 161f1692 : Atmel AT49F4096A
#

