Patch Name: PHKL_22771 Patch Description: s700_800 11.00 fix device and file system swap problems Creation Date: 00/11/17 Post Date: 00/11/24 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: OS-Core.CORE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP ProgSupport.C-INC,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: No (superseded patches were critical) PHKL_17801: PANIC Category Tags: defect_repair general_release critical panic Path Name: /hp-ux_patches/s700_800/11.X/PHKL_22771 Symptoms: PHKL_22771: ( SR: 8606166611 CR: JAGad35898 ) Cannot create file system swap greater than 4GB. PHKL_17801: swapinfo(1m) reports more space "free" than "available"; panics with "swapchunk: swapspace exhausted" Defect Description: PHKL_22771: ( SR: 8606166611 CR: JAGad35898 ) For file system swap over 4GB, data types used in intermediate swap calculations overflowed. Resolution: Made necessary type promotions to avoid data type overflow. PHKL_17801: swapon had a race condition in it for MP machines that would cause a swap device to be counted twice; this could be observed by running multiple "swapon -a" commands on different processors Resolution: Used swap lock and a bit in flag field to protect devices from being enabled more than once. SR: 1653287250 8606166611 Patch Files: OS-Core.CORE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/conf/h/conf.h ProgSupport.C-INC,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/include/sys/conf.h OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libhp-ux.a(vm_sw.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(vm_sw.o) what(1) Output: OS-Core.CORE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/conf/h/conf.h: conf.h $Date: 1999/02/26 08:26:46 $Revision: r11ros/ 3 $ PATCH_11.00 (PHKL_17801) ProgSupport.C-INC,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/include/sys/conf.h: conf.h $Date: 1999/02/26 08:26:46 $Revision: r11ros/ 3 $ PATCH_11.00 (PHKL_17801) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libhp-ux.a(vm_sw.o): vm_sw.c $Date: 2000/11/16 06:48:45 $Revision: r11ros /5 PATCH_11.00 (PHKL_22771) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(vm_sw.o): vm_sw.c $Date: 2000/11/16 06:48:45 $Revision: r11ros /5 PATCH_11.00 (PHKL_22771) cksum(1) Output: OS-Core.CORE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 1458343975 18357 /usr/conf/h/conf.h ProgSupport.C-INC,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 1458343975 18357 /usr/include/sys/conf.h OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: 4263344097 20036 /usr/conf/lib/libhp-ux.a(vm_sw.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: 1714173379 40720 /usr/conf/lib/libhp-ux.a(vm_sw.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: The commands patch PHCO_22676 fixes the swapinfo(1M) utility to correctly display file system swap over 1.5GB. Supersedes: PHKL_17801 Equivalent Patches: None Patch Package Size: 130 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_22771 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_22771.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_22771. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHKL_22771.depot 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_22771.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_22771.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_22771.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None