Patch Name: PHKL_17675 Patch Description: s700 10.26 LOFS patch and process hang on inode Creation Date: 99/07/01 Post Date: 99/08/17 Hardware Platforms - OS Releases: s700: 10.26 Products: N/A Filesets: OS-Core.CORE-KRN Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_17675: HANG OTHER Processes may hang on a directory until system resources are used up. The behavior using lofs file systems is unpredictable if PHKL_17282 is installed because a partial lofs fix was delivered in this patch. Path Name: /hp-ux_patches/s700/10.X/PHKL_17675 Symptoms: PHKL_17675: 1. Port PHKL_17012 LOFS cumulative patch 2. Processes hang waiting for inode to be released on a directory. For example, ls -al will hang on a directory and process can not be killed. (PHKL_17012) Various symptoms may be exhibited due to a partial fix being delivered to a previous patch. One reported symptom includes getting a "Device Busy" error when trying to mount a file system a second time using lofs. The failure that caught this issue can be reproduced by doing mkfs /dir1 /dir2 mount -F lofs /usr /dir1 mount -F lofs /usr /dir2 The result of the second mount will be "Device Busy". Defect Description: PHKL_17675: 1. The defect was caused by having only 2 of the 6 files delivered into patches PHKL_1728[2,3] for various lofs problems. The problem is corrected by delivering all 6 of the files needed to correct lofs defects. 2. In some error conditions, the vn_create() returns without releasing vnode. Resolution: 1. Port of 10.20 PHKL_17012 2. Release vnode in all error conditions before returning from vn_create(). SR: 0000000000 Patch Files: /usr/conf/lib/libhp-ux.a(lo_subr.o) /usr/conf/lib/libhp-ux.a(lo_vfsops.o) /usr/conf/lib/libhp-ux.a(lo_vnops.o) /usr/conf/lib/libhp-ux.a(lo_vnsecops.o) /usr/conf/lib/libhp-ux.a(vfs.o) /usr/conf/lib/libhp-ux.a(vfs_vnode.o) what(1) Output: /usr/conf/lib/libhp-ux.a(lo_subr.o): 99/04/20 kern/lofs/lo_subr.c, hpux, hpux_10.26, ic5b z Revision 1.5 PATCH_10.26 (PHKL_17675) /usr/conf/lib/libhp-ux.a(lo_vfsops.o): 99/04/20 kern/lofs/lo_vfsops.c, hpux, hpux_10.26, ic 5bz Revision 1.5 PATCH_10.26 (PHKL_17675) /usr/conf/lib/libhp-ux.a(lo_vnops.o): 99/04/20 kern/lofs/lo_vnops.c, hpux, hpux_10.26, ic5 bz Revision 1.6 PATCH_10.26 (PHKL_17675) /usr/conf/lib/libhp-ux.a(lo_vnsecops.o): 99/04/09 kern/lofs/lo_vnsecops.c, kernel, hpux_10.26 , ic5bz Revision 1.2 PATCH_10.26 (PHKL_17675 ) /usr/conf/lib/libhp-ux.a(vfs.o): 99/04/20 kern/sys/vfs.c, hpux, hpux_10.26, ic5bz Rev ision 1.8 PATCH_10.26 (PHKL_17675) /usr/conf/lib/libhp-ux.a(vfs_vnode.o): 99/04/20 kern/sys/vfs_vnode.c, hpux, hpux_10.26, ic5 bz Revision 1.10 PATCH_10.26 (PHKL_17675) cksum(1) Output: 2917189796 6272 /usr/conf/lib/libhp-ux.a(lo_subr.o) 2942177279 4404 /usr/conf/lib/libhp-ux.a(lo_vfsops.o) 902857364 8348 /usr/conf/lib/libhp-ux.a(lo_vnops.o) 219294598 2628 /usr/conf/lib/libhp-ux.a(lo_vnsecops.o) 1290408064 22340 /usr/conf/lib/libhp-ux.a(vfs.o) 2293914647 9212 /usr/conf/lib/libhp-ux.a(vfs_vnode.o) Patch Conflicts: None Patch Dependencies: s700: 10.26: PHKL_17282 Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHKL_17676: s800: 10.26 PHKL_17012: s700: 10.20 PHKL_17013: s800: 10.20 Patch Package Size: 110 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. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHKL_17675 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_17675.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHKL_17675. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. WARNING: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHKL_17675.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_17675.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: This patch depends on base patch PHKL_17282. For successful installation, please ensure that PHKL_17282 is in the same depot with this patch, or PHKL_17282 is already installed.