Patch Name: PHKL_28313 Patch Description: s700_800 11.22 INIT panic - spinlock held Creation Date: 02/12/16 Post Date: 03/01/10 Hardware Platforms - OS Releases: s700: 11.22 s800: 11.22 Products: N/A Filesets: OS-Core.CORE2-KRN,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_28313: PANIC Category Tags: defect_repair general_release critical panic Path Name: /hp-ux_patches/s700_800/11.X/PHKL_28313 Symptoms: PHKL_28313: ( SR:8606272246 CR:JAGae36386 ) Possibility of system panicing when the INIT (TOC) button is pressed. Panic would look like this: panic: wait_for_lock: Already owns lock: FW PSM firmware_spinlock Stack Trace: IP Function Name 0xe000000000264a40 wait_for_lock+0x260 0xe00000000075fd10 spinlock+0x90 0xe00000000072a390 sal_proc_real+0xd0 0xe0000000002ae5b0 mca_log_error+0x190 0xe000000000734c70 INIT_hndlr_monarch+0x130 0xe00000000130e700 crash_copy_mss End of Stack Trace Defect Description: PHKL_28313: ( SR:8606272246 CR:JAGae36386 ) When the TOC/INIT button is pressed while firmware is holding a fw spinlock then the system will panic. This prevents the correct information from being stored in the crash dump. Resolution: Add code to the INIT handler and panic path to check for a firmware spinlock. If this lock is held during a panic or an INIT/TOC the new code will unlock it. Enhancement: No SR: 8606272246 Patch Files: OS-Core.CORE2-KRN,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: /usr/conf/lib/libshutdown-pdk.a(os_init.o) /usr/conf/lib/libshutdown-pdk.a(panic.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: /usr/conf/lib/libshutdown-pdk.a(os_init.o): os_init.c $Date: 2002/11/26 10:12:32 $Revision: r11. 22/1 PATCH_11.22 (PHKL_28313) /usr/conf/lib/libshutdown-pdk.a(panic.o): panic.c $Date: 2002/11/26 10:12:32 $Revision: r11.22 /1 PATCH_11.22 (PHKL_28313) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: 1537716956 13560 /usr/conf/lib/libshutdown-pdk.a(os_init.o) 2059613680 31384 /usr/conf/lib/libshutdown-pdk.a(panic.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: ia64 Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 70 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_28313 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_28313.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_28313. 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_28313.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_28313.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_28313.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None