Patch Name: PHKL_22024 Patch Description: s700 10.20 VxFS (JFS) process hang; invalid error messages Creation Date: 00/07/12 Post Date: 00/07/13 Hardware Platforms - OS Releases: s700: 10.20 Products: N/A Filesets: JournalFS.VXFS-BASE-KRN Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_22024: HANG Path Name: /hp-ux_patches/s700/10.X/PHKL_22024 Symptoms: PHKL_22024: (SR: 8606144416 CR: JAGad13756) System hang caused by someone going through the buffer pool to flush out dirty buffers. The buffer is marked dirty but also marked busy, and the process or thread decide to wait for it. Because of this, ServiceGuard commands like cmapplyconf, cmcheckconf. hang. A typical stack of the hung thread is given below. _swtch+0x138 real_sleep+0x234 _sleep+0x14 syncip_flush_cache+0x190 vx_flushdev+0x10 vx_fsync+0x1cc spec_fsync+0x17c spec_inactive+0x14 vn_rele+0x1e8 vno_close+0x68 closef+0x68 close+0x30 syscall+0x75c $syscallrtn+0x0 (SR: 8606104228 CR: JAGab71614) I/O may give errors, even on success. Defect Description: PHKL_22024: (SR: 8606144416 CR: JAGad13756) Under some corner cases, some VxFS meta buffers (map buffers) will be left in a busy and dirty state. This leads to hang any process which is directly or indirectly doing a buffer cache flush. Resolution: Make sure the VxFS meta buffers are flushed before doing a buffer cache flush. (SR: 8606104228 CR: JAGab71614) VxFS was not resetting the error code, while reusing a buffer for I/O. Resolution: Reset buffer error code, while reusing the buffer. SR: 8606144416 8606104228 Patch Files: /usr/conf/lib/libvxfs_base.a(vx_bio.o) what(1) Output: /usr/conf/lib/libvxfs_base.a(vx_bio.o): vx_bio.c $Date: 2000/07/12 10:09:04 $ $Revision: 1.7 .98.14 $ PATCH_10.20 (PHKL_22024) cksum(1) Output: 1129969503 10824 /usr/conf/lib/libvxfs_base.a(vx_bio.o) Patch Conflicts: None Patch Dependencies: s700: 10.20: PHKL_16750 Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHKL_22025: s800: 10.20 PHKL_14063: s800: 11.00 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. ------------------------------------------------------------ 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_22024 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_22024.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHKL_22024. 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_22024.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_22024.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: This patch depends on base patch PHKL_16750 . For successful installation, please ensure that PHKL_16750 is in the same depot with this patch, or PHKL_16750 is already installed.