Patch Name: PHKL_28944 Patch Description: s700_800 11.00 Cumulative superpage patch Creation Date: 03/09/08 Post Date: 03/10/08 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: 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: Yes PHKL_28944: PANIC PHKL_19246: PANIC Category Tags: defect_repair general_release critical panic Path Name: /hp-ux_patches/s700_800/11.X/PHKL_28944 Symptoms: PHKL_28944: ( SR:8606276657 CR:JAGae40734 ) When the system is running low on memory and an application which uses locked superpages for text ("chatr +pi L" had to have been run on the application), the system may panic with the panic string "blocking on owned semaphore". The stack trace will resemble: _mp_b_sema_sleep hash_insert addtocache vm_fill_in_pages vm_prepare_io vx_do_pagein vx_pagein virtual_fault vfault trap nokgdb PHKL_19246: (SR: 8606103195 DTS: JAGaa13078) The "mkfs" command on a system running VERITAS' Volume Manager (VxVM) product may fail unexpectedly on a read attempt from a raw device into the user stack area. Defect Description: PHKL_28944: ( SR:8606276657 CR:JAGae40734 ) When the system is running low on memory and an application which uses locked superpages for text unlocks the pages, the superpages will subsequently be paged in through the normal fault path, which is inappropriate for large text pages and can result in a panic. Large text pages should always be paged in through the buffer cache, not the fault path. Resolution: Modified the code to set a flag to ensure large text pages are always paged in through the buffer cache. PHKL_19246: (SR: 8606103195 DTS: JAGaa13078) any_superpages_present() will fail to detect superpages when all these conditions apply- -- the first page in a range is 4K -- the next page is a superpage -- the offset to start checking for "superness" is not 4K aligned -- the length (in bytes) of the range to be checked is <=4K Resolution: The fix is to make sure we start examining pages at a 4K boundary. Enhancement: No SR: 8606103195 8606276657 Patch Files: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libhp-ux.a(vm_superpage.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_superpage.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libhp-ux.a(vm_superpage.o): vm_superpage.c $Date: 2003/04/01 10:26:39 $Revision: r11ros/12 PATCH_11.00 (PHKL_28944) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(vm_superpage.o): vm_superpage.c $Date: 2003/04/01 10:26:39 $Revision: r11ros/12 PATCH_11.00 (PHKL_28944) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: 2569161781 15316 /usr/conf/lib/libhp-ux.a(vm_superpage.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: 340829068 31288 /usr/conf/lib/libhp-ux.a(vm_superpage.o) Patch Conflicts: None Patch Dependencies: s700: 11.00: PHKL_18543 s800: 11.00: PHKL_18543 Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_19246 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_28944 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_28944.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_28944. 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_28944.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_28944.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_28944.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None