Patch Name: PHKL_26002 Patch Description: s700_800 11.11 HFS Process Hang Fix Creation Date: 02/01/20 Post Date: 02/01/31 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_26002: HANG Category Tags: defect_repair general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHKL_26002 Symptoms: PHKL_26002: ( SR:8606218660 CR:JAGad87808 ) Processes may hang in a deadlock if they are unlinking and sync'ing a file at the same time. This affects hfs file systems only. These processes cannot be killed. Defect Description: PHKL_26002: ( SR:8606218660 CR:JAGad87808 ) The process hang is caused by a lock ordering issue which results in a deadlock. Resolution: The resolution is to have the sync routine release the inode lock if it could not flush the buffer cache. This will allow the thread which is doing the unlink to finish and release the lock on the buffer cache. The sync code will then flush the cache. SR: 8606218660 Patch Files: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libufs.a(ufs_subr.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libufs.a(ufs_subr.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libufs.a(ufs_subr.o): ufs_subr.c $Date: 2002/01/11 13:42:51 $Revision: r11 .11/1 PATCH_11.11 (PHKL_26002) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libufs.a(ufs_subr.o): ufs_subr.c $Date: 2002/01/11 13:42:51 $Revision: r11 .11/1 PATCH_11.11 (PHKL_26002) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 2593882320 7204 /usr/conf/lib/libufs.a(ufs_subr.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 4263242899 16232 /usr/conf/lib/libufs.a(ufs_subr.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 50 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_26002 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_26002.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_26002. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHKL_26002.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_26002.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_26002.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None