Patch Name: PHKL_24026 Patch Description: s700_800 11.11 JFS Filesystem swap corruption Creation Date: 01/04/27 Post Date: 01/08/02 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_24026: PANIC CORRUPTION HANG This patch is needed only if filesystem swap is used on a JFS filesystem. Category Tags: defect_repair general_release critical panic halts_system corruption Path Name: /hp-ux_patches/s700_800/11.X/PHKL_24026 Symptoms: PHKL_24026: ( SR:8606193891 CR:JAGad63101 ) Using filesystem swap with VxFS corrupts the filesystem. This may cause the system to hang or panic. There is no common stack trace and panic string for reference, but the filesystem which is used for swap may be corrupted and unrecoverable. Defect Description: PHKL_24026: ( SR:8606193891 CR:JAGad63101 ) JFS uses a new flag to determine whether a vnode is used for swap files. If this flag is not set correctly, swap files are written to wrong locations on the disk causing filesystem corruption. Later, when swapped pages are paged in, the data may be corrupt which may lead to unpredictable results like system hangs or panics. Resolution: Make sure that the flag which determines whether a vnode is a swap file or not is set correctly on swap file vnodes. SR: 8606193891 Patch Files: JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libvxfs.a(vx_swap.o) JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libvxfs.a(vx_swap.o) what(1) Output: JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libvxfs.a(vx_swap.o): vx_swap.c $Date: 2001/04/27 12:08:36 $Revision: r11. 11/1 PATCH_11.11 (PHKL_24026) JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libvxfs.a(vx_swap.o): vx_swap.c $Date: 2001/04/27 12:08:36 $Revision: r11. 11/1 PATCH_11.11 (PHKL_24026) cksum(1) Output: JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 1895402174 3496 /usr/conf/lib/libvxfs.a(vx_swap.o) JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 3314428063 6656 /usr/conf/lib/libvxfs.a(vx_swap.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHKL_23940: s700: 11.00 s800: 11.00 Patch Package Size: 40 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_24026 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_24026.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_24026. 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_24026.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_24026.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_24026.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None