Patch Name: PHKL_21121 Patch Description: s700_800 11.00 patch for kernel stack unwinding Creation Date: 00/02/24 Post Date: 00/03/06 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: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHKL_21121 Symptoms: PHKL_21121: ( SR: 8606126003 DTS: JAGac46759 ) Kernel debuggers (eg. q4) would report a partial kernel stack trace for crash events (TOC or PANIC) occuring while in inlined spinlock code: q4> trace processor 3 processor 3 was running process at 0x0'0e60ca40 (pid 24084)... stack trace for event 5 crash event was a TOC can't find unwind or stub descriptor for pc==0x1'00000000 preArbitration+0x248 wait_for_lock+0x110 call_wait_for_lock+0x1c Defect Description: PHKL_21121: ( SR: 8606126003 DTS: JAGac46759 ) The routines call_wait_for_lock() and call_su_waiters() were breaking procedure calling conventions: they were not saving RP at the proper stack location. This resulted in kernel debuggers (eg. q4) to not be able to print a kernel stack trace. Resolution: call_wait_for_lock() and call_su_waiters() are now saving RP at the proper stack location. SR: 8606126003 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(protection.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(protection.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(protection.o): protection.s $Date: 2000/02/24 12:37:10 $Revision: r 11ros/7 PATCH_11.00 (PHKL_21121) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(protection.o): protection.s $Date: 2000/02/24 12:37:10 $Revision: r 11ros/7 PATCH_11.00 (PHKL_21121) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: 1393629902 8884 /usr/conf/lib/libhp-ux.a(protection.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: 599196899 14080 /usr/conf/lib/libhp-ux.a(protection.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None 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_21121 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_21121.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_21121. 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_21121.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_21121.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_21121.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_21121.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None