Patch Name: PHKL_0482 Patch Description: Allows connection of Model 10/20/60/100 Autochangers. Programs affected: Those accessing the Model 60/100 Optical Autochanger devices. Files Fixed: wsio/autox.c wsio/s2disk.c Symptoms: System hangs while using the Optical Autochanger under heavy stress. Fixes: autox.o - in the autox driver (picker driver) during an autox_close call (close the picker) the driver was calling the s2disk_open routine instead of the s2disk_close routine. This causes an extra allocation of a buffer which over time could allocate all the system resources and create a deadlock condition (system hang). s2disk.o - in the s2disk driver (scsi disk driver) during an s2d_unconf_tgt_lun operation the geteblk() routine was called which pulls a free buffer out of a resource buffer pool. If there are no buffers available the geteblk routine will wait for a free buffer (which will never happen) so a deadlock, system hang will occur. The fix was to malloc a portion of memory for the close the device and then freeing after the close. This memory allocation/freeing code is the same code that is used when opening the device (s2disk_open). Path Name: /hp-ux_patches/s700/8.X/PHKL_0482 Effective Date: 910726 Patch Files: /system/PHKL_0482/new/autox.o /system/PHKL_0482/new/s2disk.o SR/APR#: None. "what" string/timestamp: autox.o: PATCH_8.05: autox.o $Revision: 1.2.43.3 $ $Date: 91/09/23 17:24:49 $ s2disk.o: PATCH_8.05: s2disk.o $Revision: 1.2.43.44 $ $Date: 91/09/23 17:24:08 $ "sum" output: 4628 9 autox.o 11993 66 s2disk.o Dependencies: This patch should be applied to HP-UX 8.05 on 700's. Supersedes: None. Patch Package Size: 70 Kbytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. Note: Please back up your system before you patch. --------------------------------------------------------------------------- After getting the patch onto your machine, unshar the patch (sh PHKL_0482). To install this patch do the following: 1) Run the update program (Note: you must be logged in as root to update a system). 2) Once in the update "Main Menu" move the highlighted line to "Change Source or Destination ->" and press "Return" or "Select Item". 3) Make sure the highlighted item in the "Change Source or Destination" window is "From Tape Device to Local System ...", then press "Return" or "Select Item". 4) You should now be in the "From Tape Device to Local System" window. Change the "Source: /dev/rmt/0m" to "Source: /tmp/PHKL_0482.updt" (this assumes that you are in the /tmp directory where PHKL_0482.updt has been placed). Note: You must enter the complete path name. 5) Press "Done". 6) From here on follow the standard directions for update. The customized script that update runs will move the original software to /system/PHKL_0482/orig. HP recommends keeping this software there in order to recover from any potential problems. It is also recommended that you move the PHKL_0482.text file to /system/PHKL_0482 to be retained for future reference. If you wish to put this patch on a magnetic tape and update from the tape drive, dd a copy of the patch to the tape drive. As an example the following will create a copy of the patch that update can read: dd if=PHKL_0482.updt of=/dev/rmt/0m bs=2048