Patch Name: PHKL_26834 Patch Description: s700_800 11.11 Psets Enablement Patch, lwp_stime fix Creation Date: 02/05/04 Post Date: 02/05/20 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 Release Critical: No Category Tags: defect_repair enhancement general_release Path Name: /hp-ux_patches/s700_800/11.X/PHKL_26834 Symptoms: PHKL_26834: ( SR:8606247529 CR:JAGae13966 ) The lwp_stime field in the lwp_status structure filled in by the pstat_getlwp(2) syscall does not accurately reflect the system time consumed by the thread. PHKL_24580: ( SR:8606200799 CR:JAGad69975 ) This patch is a member of a set of patches needed to enable the HP-UX Processor Sets product (PROCSETS). When PROCSETS product is installed, it will install the full set of required patches for that product, including this patch. If the HP-UX Processor Sets product is not installed, this change will have no impact on your system. Defect Description: PHKL_26834: ( SR:8606247529 CR:JAGae13966 ) The lwp_stime field is copied from the sum of an uninitialized variable and the interrupt time accumulated by the thread. The system time accumulated by the thread is not included. Resolution: The system time accumulated by the thread is copied to the sys_cyles variable before adding the interrupt time accumulated by the thread. PHKL_24580: ( SR:8606200799 CR:JAGad69975 ) This patch contains minor enhancements required to support the HP-UX Processor Sets product. Resolution: Enhancements added to return pset information for threads in pstat_getlwp() calls when Processor Sets product is enabled. SR: 8606200799 8606247529 Patch Files: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libpstat.a(lwp_pstat.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libpstat.a(lwp_pstat.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libpstat.a(lwp_pstat.o): lwp_pstat.c $Date: 2002/04/09 18:13:11 $Revision: r1 1.11/3 PATCH_11.11 (PHKL_26834) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libpstat.a(lwp_pstat.o): lwp_pstat.c $Date: 2002/04/09 18:13:11 $Revision: r1 1.11/3 PATCH_11.11 (PHKL_26834) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 960157831 5852 /usr/conf/lib/libpstat.a(lwp_pstat.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 3965499288 11232 /usr/conf/lib/libpstat.a(lwp_pstat.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_24580 Equivalent Patches: None Patch Package Size: 40 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_26834 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_26834.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_26834. 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_26834.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_26834.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_26834.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None