Patch-ID# 104564-03 Keywords: Deadlock Disable Synopsis: Sun RSM Array 2000 1.0: Rdriver deadlock detection code fix Date: May/20/97 Solaris Release: 2.4, 2.5, 2.5.1 SunOS Release: 5.4, 5.5, 5.5.1 Unbundled Product: Sun RSM Array 2000 Unbundled Release: 1.0, RAID Manager Version 6.0 Relevant Architectures: sparc BugId's fixed with this patch: 4027978, 4050447, 4043264 Changes incorporated in this version: 4050447, 4043264 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/rdriver etc/init.d/rdacctrl Problem Description: ------------------------------------------------------------------------------ 104564-03 ------------------------------------------------------------------------------ [4043264: KAIO does not work on systems with RDAC loaded] This version of the patch includes rdriver support for kernel asynchronous I/O calls. Support of these calls is not enabled until after the system has been rebooted subsequent to this patch installation. [4050447: UE10000 cannot move Sonoma to new domain w/o domain reboots] A modified 'rdacctrl' script is included in this version of the patch that works around a problem found when using the Ultra Enterprise 10000 Dynamic Reconfiguration (DR) system feature with RSM Array 2000 storage subsystems. Without this patch, after the RSM Array 2000 unit is attached to a new domain, the new device(s) may not be recognized by the system without performing a 'boot -r' operation in the new domain. To avoid having to do a reboot in the new domain to recognize the new RSM Array 2000 devices, this modified 'rdacctrl' script should be used in conjunction with the procedure outlined as follows: o Install the maximum RSM Array 2000 hardware configuration on a single domain. o Perform a 'boot -r' operation in that domain to allow the RSM Array software to recognize all of the local devices. o After the 'boot -r has been successfully completed and all RSM Array 2000 devices are recognized by the system, add the following entry to the '/etc/raid/rmparams' file to lock down the current configuration information: #Rdac_NoReconfig o Repeat these steps for all other domains that might be attaching the RSM Array 2000 devices. o If additional RSM Array 2000 devices are added to a domain that has had this patch applied, the user must remove the '#Rdac_NoReconfig' entry from the rmparams file before performing a 'boot -r' to bring the new hardware online. Failure to remove this entry will cause the new hardware to not be detected by the RSM Array 2000 software. Note: Until the "#Rdac_NoReconfig" entry is added to the rmparams file, the fixes that apply to the UE10000 Dynamic Reconfiguration facility will not be active. It is only necessary to add this entry to /etc/raid/rmparams if you are using an Ultra Enterprise 10000 system with RSM Array 2000 devices AND you wish to dynamically move the Array 2000 devices between domains. ------------------------------------------------------------------------------ 104564-02 ------------------------------------------------------------------------------ [4027978: RDAC incorrectly reporting deadlock conditions] This patch contains a replacement 'rdriver' binary. The previous version of this patch (-01) contained an 'adb' script that patched certain flags in the memory resident rdriver code. Use of this version of the patch eliminates the need to have an 'adb' script patch rdriver on every system reboot. Once the binary is replaced, a postinstall script does use adb to patch the running image of rdriver. If the system is rebooted, the new binary image is loaded eliminating the need to patch the driver again. ------------------------------------------------------------------------------ 104564-01 ------------------------------------------------------------------------------ [4027978: RDAC incorrectly reporting deadlock conditions] The problem fixed by this patch involves a bug that can cause deadlock conditions to incorrectly be detected. This patch prevents the deadlock recovery mechanism from erroneously being started in cases where a deadlock condition has not really occurred. It does this by turning off a flag in the rdriver software device driver that performs this check condition. The flag is turned through use of an adb script deposited in /etc/rcS.d Patch Installation Instructions: -------------------------------- Refer to the Install.info file 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 as special instructions. Special Install Instructions: ----------------------------- Installation of this patch will replace the '/kernel/drv/rdriver' device driver with a modified version. A post patch install script is automatically executed as part of the patch installation process. This script will execute an 'adb' command that patches the "in memory" copy of rdriver. This enables the fixes found in -02 of this patch without having to perform a reboot. However, to enable the complete features of this patch found through revision -03, a full system reboot is required.