Patch Name: PHKL_29890 Patch Description: s700_800 11.11 vPar enablement,DLKM load panic Creation Date: 03/10/10 Post Date: 03/10/21 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_29890: PANIC Category Tags: defect_repair enhancement general_release critical panic Path Name: /hp-ux_patches/s700_800/11.X/PHKL_29890 Symptoms: PHKL_29890: ( SR:8606327556 CR:JAGae89817 ) When loading DLKM software modules on large memory systems (>8GB) running 64-bit kernels, the kernel can panic with the following panic string: kalloc: out of kernel virtual address space Stack trace: panic+0x6c kalloc_4K+0x238 kalloc_from_superpage+0x408 kalloc+0x14 alloc_mem+0x44 get_kmem+0x8c kmem_arena_xlarge_alloc+0x74 kmem_arena_varalloc+0x144 mod_obj_getprog+0x2c4 mod_obj_load+0x1b8 mod_load_helper+0x50 modld+0x200 modload+0x12c syscall+0x750 syscallinit+0x554 PHKL_24563: ( SR:8606204638 CR:JAGad73820 ) This patch is a member of a set of patches needed to enable the HP-UX Virtual Partitions product. When the HP-UX Virtual Partitions product (VPARSBASE or T1335AA) is installed, it will install the full set of required patches for that product, including this patch. If the HP-UX Virtual Partitions product is not installed, this change will have no impact on your system. Defect Description: PHKL_29890: ( SR:8606327556 CR:JAGae89817 ) This happens on large memory systems due to unavailability of 32-bit kernel virtual addresses. DLKM needs 32-bit kernel virtual addresses to load the module, but these addresses are already taken by kernel data structures. Resolution: Now 32-bit kernel virtual addresses are left unallocated for later use by other modules such as DLKMs. PHKL_24563: ( SR:8606204638 CR:JAGad73820 ) This patch contains minor enhancements required to support the HP-UX Virtual Partitions product. Resolution: Enhancements added to support relocated kernels. Enhancement: No (superseded patches contained enhancements) PHKL_29890: Enhancements were delivered in a patch this one has superseded. Please review the Defect Description text for more information. SR: 8606204638 8606327556 Patch Files: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libvm-pdk.a(vm_alloc.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libvm-pdk.a(vm_alloc.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libvm-pdk.a(vm_alloc.o): vm_alloc.c $Date: 2003/10/09 00:41:00 $Revision: r11 .11/4 PATCH_11.11 (PHKL_29890) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libvm-pdk.a(vm_alloc.o): vm_alloc.c $Date: 2003/10/09 00:41:00 $Revision: r11 .11/4 PATCH_11.11 (PHKL_29890) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 3347602717 8872 /usr/conf/lib/libvm-pdk.a(vm_alloc.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 2669606966 32224 /usr/conf/lib/libvm-pdk.a(vm_alloc.o) Patch Conflicts: None Patch Dependencies: s700: 11.11: PHKL_29889 s800: 11.11: PHKL_29889 Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_24563 Equivalent Patches: None 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_29890 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_29890.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_29890. 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_29890.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_29890.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_29890.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None