Patch Name: PHKL_26816 Patch Description: s700 10.26 PM fixes Creation Date: 02/05/27 Post Date: 02/08/02 Hardware Platforms - OS Releases: s700: 10.26 Products: N/A Filesets: OS-Core.CORE-KRN Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_26816: PANIC Path Name: /hp-ux_patches/s700/10.X/PHKL_26816 Symptoms: PHKL_26816: Partial porting of 10.20 patch PHKL_21933 to TOS (PHKL_21933:) (SR: 8606139862 CR: JAGad09174) Possible data page fault panic related to internal thread manipulation. Panic stack trace may vary. (PHKL_21516:) (SR: 8606131455 CR: JAGad00605) System panics with trap type 15, data page fault. The stack may look like: resume_cleanup+0x378 resume+0x280 _swtch+0x138 real_sleep+0x330 _sleep_one+0x14 netisr_daemon+0x194 main+0x92c $vstart+0x34 $locore+0x74 Defect Description: PHKL_26816: Partial porting of 10.20 patch PHKL_21933 to TOS (PHKL_21933:) (SR: 8606139862 CR: JAGad09174) Race condition when inserting a thread onto a sleep queue resulted in "ghosted" threads and pointers not correctly updated. Resolution: Modify insertion routine to place thread at the end of the queue if it is the lowest priority thread after walking the queue. Update queue and thread pointers appropriately. (PHKL_21516:) (SR: 8606131455 CR: JAGad00605) Some routines used the value of the previous thread pointer without verifying that it was valid, resulting in a trap type 15 and a system panic. Resolution: We now verify that the previous thread pointer is valid before dereferencing it. SR: 8606131455 8606139862 Patch Files: /usr/conf/lib/libhp-ux.a(pm_swtch.o) /usr/conf/lib/libhp-ux.a(syscall.o) /usr/conf/lib/libhp-ux.a(trap.o) what(1) Output: /usr/conf/lib/libhp-ux.a(pm_swtch.o): 02/04/18 kern/sys/pm_swtch.c, hpux, hpux_10.26, ic5g s Revision 1.7 PATCH_10.26 (PHKL_26816) /usr/conf/lib/libhp-ux.a(syscall.o): None /usr/conf/lib/libhp-ux.a(trap.o): trap.c $Date: 97/09/23 11:22:02 $ $Revision: 1.16 9.98.14 $ PATCH_10.20 (PHKL_12662) cksum(1) Output: 1719753490 20864 /usr/conf/lib/libhp-ux.a(pm_swtch.o) 4175818866 5568 /usr/conf/lib/libhp-ux.a(syscall.o) 2832800047 24048 /usr/conf/lib/libhp-ux.a(trap.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHKL_26817: s800: 10.26 Patch Package Size: 110 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_26816 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_26816.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHKL_26816. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. WARNING: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHKL_26816.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_26816.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None