 |
» |
|
|
 |
 |
 |
|
|
 |
|
Patch Name: PHKL_25367
Patch Description: s700_800 11.11 Priority inversion and thread hang
Creation Date: 01/11/16
Post Date: 01/12/04
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 Superseded
Critical:
Yes
PHKL_25367: HANG
Category Tags:
defect_repair general_release critical halts_system
Path Name: /hp-ux_patches/s700_800/11.X/PHKL_25367
Symptoms:
PHKL_25367:
( SR:8606167399 CR:JAGad36685 )
Occasionally a thread would miss a timeout interrupt and
sleep forever or until it was sent a signal. The sleeping
thread could cause an application hang.
( SR:8606194815 CR:JAGad64021 )
Occasionally a thread holding a resource was starved
for cpu time; this starvation in turn delayed other threads
waiting for that resource.
Defect Description:
PHKL_25367:
( SR:8606167399 CR:JAGad36685 )
A timing window existed in the sleep routines such that
if the timeout interrupt occurred before the thread had
gone to sleep, the thread would miss the timeout and
sleep forever or until it was sent a signal.
Resolution:
Modified the timeout interrupt routine to correctly handle
the case where the thread is not yet asleep when the timeout
interrupt occurs.
( SR:8606194815 CR:JAGad64021 )
A thread exiting ksleep() retained its normal
low priority, leading to its starvation while holding the
resource.
Resolution:
Modified ksleep() to temporarily boost the thread's user
priority when the sleep ends.
SR:
8606167399 8606194815
Patch Files:
OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP:
/usr/conf/lib/libpm.a(subr_ksleep.o)
OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP:
/usr/conf/lib/libpm.a(subr_ksleep.o)
what(1) Output:
OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP:
/usr/conf/lib/libpm.a(subr_ksleep.o):
subr_ksleep.c $Date: 2001/09/24 13:54:09 $Revision:
r11.11/1 PATCH_11.11 (PHKL_25367)
OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP:
/usr/conf/lib/libpm.a(subr_ksleep.o):
subr_ksleep.c $Date: 2001/09/24 13:54:09 $Revision:
r11.11/1 PATCH_11.11 (PHKL_25367)
cksum(1) Output:
OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP:
3086924845 12024 /usr/conf/lib/libpm.a(subr_ksleep.o)
OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP:
310088648 30624 /usr/conf/lib/libpm.a(subr_ksleep.o)
Patch Conflicts: None
Patch Dependencies: None
Hardware Dependencies: None
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_25367
5. Run swinstall to install the patch:
swinstall -x autoreboot=true -x patch_match_target=true \
-s /tmp/PHKL_25367.depot
By default swinstall will archive the original software in
/var/adm/sw/save/PHKL_25367. 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_25367.text file is
available in the product readme:
swlist -l product -a readme -d @ /tmp/PHKL_25367.depot
To put this patch on a magnetic tape and install from the
tape drive, use the command:
dd if=/tmp/PHKL_25367.depot of=/dev/rmt/0m bs=2k
Special Installation Instructions: None
|