Patch Name: PHKL_28323 Patch Description: s700_800 11.11 vPar enablement patch, ktracer, kgmon -B Creation Date: 03/11/19 Post Date: 04/01/05 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_28323: PANIC HANG Category Tags: defect_repair enhancement general_release critical panic halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHKL_28323 Symptoms: PHKL_28323: ( SR:8606161345 CR:JAGad30661 ) Duplicate ( SR:8606228340 CR:JAGad97397 ) A system hang or Break instruction trap panic may occur upon invoking an outdated version of the ktracer or kgmon tools as superuser only when in a virtual partition. The system hang is unpingable and occurs immediately when kgmon -B, ktracer -L or ktracer -R is invoked. The panic occurs when ktracer is run with the -a and -I or -B options. The panic stack can vary, but the messages: Trap Type 9 (Break instruction trap): panic: Break instruction trap Interrupt Type 9 (Break instruction trap): are consistently part of the panic messages. ktracer and kgmon are HP internal tools used by HP support to troubleshoot kernel problems. ktracer command versions prior to 1.20 exhibit this behavior when run in a vPar. kgmon command versions prior to 2001/12/14 exhibit this behavior only for full profiling in a vPar. PHKL_24960: ( SR:8606215763 CR:JAGad84939 ) 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_28323: ( SR:8606161345 CR:JAGad30661 ) Duplicate ( SR:8606228340 CR:JAGad97397 ) Running ktracer or "kgmon -B" will cause a system hang or "panic: Break instruction trap" on a vPar system. This happens because the kernel implementation of kernel profiling and tracing depends upon access to the first 256K of physical memory, and vPars relocates the kernels into higher memory. Resolution: Make kernel tracing and kernel profiling work successfully by creating and using branch stubs that will reach the relocated kernel code in a virtual partition. When not in a virtual partition, the branch stubs will be created but not used, which provides the benefit of reduced code complexity with no cost to performance. This patch will have no imapct on systems without vPars installed. PHKL_24960: ( SR:8606215763 CR:JAGad84939 ) 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_28323: Enhancements were delivered in a patch this one has superseded. Please review the Defect Description text for more information. SR: 8606161345 8606215763 8606228340 Patch Files: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libperf-pdk.a(tracer.o) /usr/conf/lib/libperf.a(ktracer.o) /usr/conf/lib/libsvc-pdk.a(rm_common.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libperf-pdk.a(tracer.o) /usr/conf/lib/libperf.a(ktracer.o) /usr/conf/lib/libsvc-pdk.a(rm_common.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libperf-pdk.a(tracer.o): tracer.s $Date: 2002/11/27 11:18:43 $Revision: r11.1 1/1 PATCH_11.11 (PHKL_28323) /usr/conf/lib/libperf.a(ktracer.o): ktracer.c $Date: 2003/11/19 11:12:08 $Revision: r11. 11/2 PATCH_11.11 (PHKL_28323) /usr/conf/lib/libsvc-pdk.a(rm_common.o): rm_common.c $Date: 2002/11/27 11:18:43 $Revision: r1 1.11/3 PATCH_11.11 (PHKL_28323) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libperf-pdk.a(tracer.o): tracer.s $Date: 2002/11/27 11:18:43 $Revision: r11.1 1/1 PATCH_11.11 (PHKL_28323) /usr/conf/lib/libperf.a(ktracer.o): ktracer.c $Date: 2003/11/19 11:12:08 $Revision: r11. 11/2 PATCH_11.11 (PHKL_28323) /usr/conf/lib/libsvc-pdk.a(rm_common.o): rm_common.c $Date: 2002/11/27 11:18:43 $Revision: r1 1.11/3 PATCH_11.11 (PHKL_28323) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 4083238215 3948 /usr/conf/lib/libperf-pdk.a(tracer.o) 1266970817 19792 /usr/conf/lib/libperf.a(ktracer.o) 222125628 18252 /usr/conf/lib/libsvc-pdk.a(rm_common.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 3473564276 10376 /usr/conf/lib/libperf-pdk.a(tracer.o) 4049173739 54496 /usr/conf/lib/libperf.a(ktracer.o) 3701416906 49472 /usr/conf/lib/libsvc-pdk.a(rm_common.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_24960 Equivalent Patches: None Patch Package Size: 80 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_28323 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_28323.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_28323. 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_28323.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_28323.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_28323.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None