 |
» |
|
|
 |
 |
 |
|
|
 |
|
Patch Name: PHKL_25871
Patch Description: s700_800 11.11 eventport syscalls;socket close(2) hang fix
Creation Date: 02/06/06
Post Date: 02/06/11
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_25871: HANG
Mutithreaded proceses may hang in socket close(2)
Category Tags:
defect_repair enhancement general_release critical
halts_system manual_dependencies
Path Name: /hp-ux_patches/s700_800/11.X/PHKL_25871
Symptoms:
PHKL_25871:
( SR:8606178928 CR:JAGad48153 )
A process may hang when attempting to perform a close(2) on
a file descriptor created by the socket(2) system call.
PHKL_25611:
( SR:8606222220 CR:JAGad91335 )
This patch is a member of a set of patches needed to enable
the eventport pseudo driver feature delivered in PHKL_25468.
The eventport driver patch specifies the full set of
required patches for this new feature.
If the eventport pseudo driver patch (or superseding patch)
is not installed, this change will have no impact on you
system.
Defect Description:
PHKL_25871:
( SR:8606178928 CR:JAGad48153 )
In a mutlithreaded situtation, socket close(2) can cause a
program to hang as a result of a race condition between the
close(2) and the creat(2) of the socket.
Resolution:
Resolution involved several kernel related subsystems. We
now check to see if a thread in waiting in a state that
could cause a process to block and we abort the call to the
routine that would cause a hang. The patches listed in
other dependencies are necessary to allow and detect an
error code that is necessary for detection of the waiting
thread.
PHKL_25611:
( SR:8606222220 CR:JAGad91335 )
This change contains minor enhancements required to support
the eventport feature.
Resolution:
Enhancements added include a file descriptor subsytem
interface used by the eventport driver and respective
eventport driver callbacks.
SR:
8606178928 8606222220
Patch Files:
OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP:
/usr/conf/lib/libfs.a(kern_dscrp.o)
OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP:
/usr/conf/lib/libfs.a(kern_dscrp.o)
what(1) Output:
OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP:
/usr/conf/lib/libfs.a(kern_dscrp.o):
kern_dscrp.c $Date: 2002/05/01 14:30:55 $Revision: r
11.11/4 PATCH_11.11 (PHKL_25871)
OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP:
/usr/conf/lib/libfs.a(kern_dscrp.o):
kern_dscrp.c $Date: 2002/05/01 14:30:55 $Revision: r
11.11/4 PATCH_11.11 (PHKL_25871)
cksum(1) Output:
OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP:
1595833968 19272 /usr/conf/lib/libfs.a(kern_dscrp.o)
OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP:
1078284371 47784 /usr/conf/lib/libfs.a(kern_dscrp.o)
Patch Conflicts: None
Patch Dependencies: None
Hardware Dependencies: None
Other Dependencies:
PHKL_25871: To enable the changes required to fix
JAGad48153, the following must also be installed:
PHKL_25840, PHKL_25842, PHNE_25644, PHNE_25084. These
product updates may be installed in any order. If any of
these product updates are not installed, this patch will
have no impact on your system.
Supersedes:
PHKL_25611
Equivalent Patches: None
Patch Package Size: 90 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_25871
5. Run swinstall to install the patch:
swinstall -x autoreboot=true -x patch_match_target=true \
-s /tmp/PHKL_25871.depot
By default swinstall will archive the original software in
/var/adm/sw/save/PHKL_25871. 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_25871.text file is
available in the product readme:
swlist -l product -a readme -d @ /tmp/PHKL_25871.depot
To put this patch on a magnetic tape and install from the
tape drive, use the command:
dd if=/tmp/PHKL_25871.depot of=/dev/rmt/0m bs=2k
Special Installation Instructions: None
|