Patch-ID# 104793-04 Keywords: ssd pln soc ssafirmware HA CRAY dma_sync ARQ PFA Starfire I/O Synopsis: SunOS 5.5: ssd, pln, soc, ssacli, ssaadm and ssafirmware patch Date: Oct/24/97 Solaris Release: 2.5 SunOS Release: 5.5 Unbundled Product: Unbundled Release: Topic: SunOS 5.5: ssd, pln, soc, ssacli, ssaadm and ssafirmware patch BugId's fixed with this patch: 1184878 1229082 1249597 1253752 1260753 1261305 1262768 1263633 1263893 4005293 4006384 4007520 4010863 4011826 4013372 4015226 4022233 4040095 4050778 4059100 4060752 4063760 4077919 Changes incorporated in this version: 4005293 4022233 4040095 4059100 4060752 4063760 4077919 Relevant Architectures: sparc Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: Obsoleted by: Files included with this patch: /kernel/drv/pln /kernel/drv/ssd /kernel/drv/soc /usr/lib/firmware/ssa/ssafirmware /usr/sbin/ssaadm /usr/sbin/ssacli NOTE: /usr/lib/firmware/ssa/ssafirmware (version 3.12) Problem Description: 4077919 Disk reservation causes sibling host to receive ssd_synchronize_cache failed 4022233 SPARCstorage ARRAY suddenly slow down. 4059100 Quantum 4.2 Gbyte does not spin up at power on, ssa1xx hangs because of failed d 4040095 Pluto controller rejects uscsi Log Sense/Select commands 4063760 4.2GB (VK45J05)and 2.1 GB (VK22J05) Quantum disc don't spin up after warm swa 4060752 ssa firmware needs awareness of HDD-download - TUR-timeout/reset can cripple HDD 4005293 System Panics with data fault from vol_release_ilock (from 104793-03) 1261305 SSA drivers retry 20 times (26mins) when I/O times out - entire mirror hangs (from 104793-02) ******************************************************************* ******************************************************************* IMPORTANT NOTICE: The ssafirmware must be downloaded into the SSA after installing this patch. See the "Special Install Instructions" at the end. ******************************************************************* ******************************************************************* 4050778 SSA pluto patch (104793-01) needs to have 3.11 ssafirmware (from 104793-01) 4007520 HA 1.2 hangs, does not boot up with mirror disk failure 1263633 pln driver does not do dma_sync for reads using consistent memory 1249597 resync scsi drivers with CRAY 4006384 Transport error: incomplete error after installing ssa fw 3.9 4011826 SSA drivers for patch 103766-02 break Detach/Attach for Starfire (sun4u_10000) 4015226 sd/ssd : Should allocate space for sense information if ARQ is enabled 4013372 sd/ssd: should not issued untagged command for start_stop unit 4010863 sd driver returns incorrect residual count (originally filed as dd bug) 1263893 SSA: ssd will not permit replaced disk to have different geometry. 1260753 ssd/sd: improve PFA code 1253752 ssdopen in biowait too long causes HA-Oracle node-abort (single-disk failure) 1262768 ssd/sd: panic with program running uscsi command to SSA disk 1184878 sd/ssd driver continues to probe and print Warning messages about bad disks 1229082 sd does not set resid properly when a partial xfer during recovered error happen Patch Installation Instructions: -------------------------------- Refer to the Install.info file within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. Any other special or non-generic installation instructions should be described below. Special Install Instructions: ----------------------------- After installing the patch, here is how one goes about upgrading the firmware: 1. Enter the following command to see what the firmware level is for each SPARCstorage Array on your system: # /usr/sbin/ssaadm display controller where controller is either the logical controller name (given as cX) or the physical path of the controller (given as /devices/../../SUNW,soc@3,0/SUNW,plnaxxxxxx,xxxxxxxx:ctlr). For more information, see the ssaadm.1m man page. 2. Look at the output for a line similar to the following to find the firmware level: Firmware Rev: 3.9 3. Determine if you need to upgrade the firmware. If the firmware level produced from the ssaadm command (Step 2) is lower than 3.12 then you must upgrade your firmware. Go to Step 4. If the firmware level produced from the ssaadm command (Step 2) is 3.12 or higher then you do not have to read any further in these instructions, since your firmware is already at the proper level. 4. If the firmware level produced from the ssaadm command is lower than 2.4 you MUST complete the following steps for those SPARCstorage Arrays that contain firmware revision lower than 2.4. If the firmware is 2.4 or higher you don't need to do step 4, go to step 5. a) Enable the SSA fastwrite capability: # /usr/sbin/ssaadm fast_write -se b) Disable the SSA fastwrite capability: # /usr/sbin/ssaadm fast_write -sd where controller is either the logical controller name (given as cX) or the physical path of the controller (given as /devices/../../SUNW,soc@3,0/SUNW,plnaxxxxxx,xxxxxxxx:ctlr). CAUTION: This operation may take a few minutes to complete. Do NOT interrupt the operation before it is finished or the system may not be able to communicate with the SPARCstorage Array. 5. Download the SPARCstorage Array firmware to your SPARCstorage Array. If the host is booted off the SSA, the host MUST be rebooted for this operation from another device. This device can be either another SSA that is not to have it's firmware updated, another disc or a CDROM. If the host is being rebooted only the steps 'e' and 'f' below need to be executed. The following steps must be completed on each SSA to download the firmware safely: a) Stop all I/O activity on the SPARCstorage Array. b) Perform a sync_data to the SSA: # /usr/sbin/ssaadm sync_cache c) Unmount any filesystems residing on the SSA disks. d) Stop all Veritas Volume manager (VxVA) volumes and/or Solstice Disk Suite (SDS) metadevices (if any) running on the SSA. Also insure that ownership of any SDS diskset metadevices have been released since an implicit I/O stream exists while ownership of a diskset is maintained. Please refer to the metaset(1M) manpage for details on taking/releasing ownership of disksets. e) Execute the ssaadm download command to download the new firmware: # /usr/sbin/ssaadm download -f /usr/lib/firmware/ssa/ssafirmware where controller is either the logical controller name (given as cX) or the physical path of the controller (given as /devices/../../SUNW,soc@3,0/SUNW,plnaxxxxxx,xxxxxxxx:ctlr). CAUTION: This operation may take a few minutes to complete. Do NOT interrupt the operation before it is finished or the system may not be able to communicate with the SPARCstorage Array. f) The SSA(s) will now need to be reset for the changes to take effect. If the host is booted off an SSA then the host MUST be shutdown at this point. Reset your SSA(s) by pushing the SYS OK button in the back of the unit(s). This causes the SPARCstorage Array to reboot using the new revision of firmware. If your host boots off an SSA it can now be booted up again. g) Restart the Veritas Volume manager (VxVA) and/or SDS metadevices and reclaim ownership of any SDS diskset metadevices that were relinquished. h) Remount the filesystems that reside on the SSA disks. 6. The firmware download is now complete. I/O activity on the SPARCstorage Array can be restarted.