Patch-ID# 114433-12 NOTE: *********************************************************************** READ THE TERMS OF THE AGREEMENT ("AGREEMENT") IN THE LEGAL_LICENSE.TXT FILE CAREFULLY BEFORE USING THIS SOFTWARE. BY USING THE SOFTWARE, YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS, PROMPTLY DESTROY THE UNUSED SOFTWARE. *********************************************************************** Keywords: stack overflow lgroup apis ppgsz mdb Synopsis: SunOS 5.9_x86: Miscellaneous SunOS Commands Patch Date: May/23/2006 Install Requirements: Reboot immediately after patch is installed Install in Single User Mode Solaris Release: 9_x86 SunOS Release: 5.9_x86 Unbundled Product: Unbundled Release: Xref: This patch available for SPARC as patch 113471 Topic: SunOS 5.9_x86: Miscellaneous SunOS Commands Patch Relevant Architectures: i386 BugId's fixed with this patch: 4254013 4271957 4533712 4668520 4686454 4756192 4783204 4797219 4845974 4893562 4921661 4950966 4951000 4955607 4955609 4955616 4955622 4961699 4976951 5016934 5070816 6367266 Changes incorporated in this version: 6367266 Patches accumulated and obsoleted by this patch: 115485-01 Patches which conflict with this patch: Patches required with this patch: Obsoleted by: Files included with this patch: /usr/bin/adb /usr/bin/cputrack /usr/bin/gcore /usr/bin/i86/adb /usr/bin/i86/mdb /usr/bin/i86/ppgsz /usr/bin/i86/prstat /usr/bin/i86/truss /usr/bin/mdb /usr/bin/newtask /usr/bin/nohup /usr/bin/pargs /usr/bin/pcred /usr/bin/pfiles /usr/bin/pflags /usr/bin/pldd /usr/bin/plimit /usr/bin/pmap /usr/bin/ppgsz /usr/bin/prctl /usr/bin/preap /usr/bin/prex /usr/bin/prstat /usr/bin/prun /usr/bin/ps /usr/bin/psig /usr/bin/pstack /usr/bin/pstop /usr/bin/ptime /usr/bin/ptree /usr/bin/pwait /usr/bin/pwdx /usr/bin/savecore /usr/bin/setuname /usr/bin/sort /usr/bin/tnfxtract /usr/bin/truss /usr/bin/uptime /usr/bin/w /usr/lib/isaexec /usr/lib/libproc.so.1 /usr/lib/rcap/rcapd /usr/sadm/lib/wbem/rds /usr/sbin/lockstat /usr/sbin/prtconf /usr/sbin/swap /usr/sbin/sysdef /usr/sbin/whodo /usr/ucb/ps Problem Description: 6367266 Pstopstatus() could be more discerning when updating P->sysaddr (from 114433-11) 5070816 prstat normalizes microstate times incorrectly, causing weird percentages (from 114433-10) 5016934 pstack reports that libc.so.1's _msgrcv() calls user application code directly (from 114433-09) 4921661 prstat -L gives bogus totals when using cpu/pset filters (from 114433-08) 4950966 prstat -m is incorrect for microstate accounting (from 114433-07) 4976951 trace build, syntax, and lint errors following P4783204 putback (from 114433-06) 4783204 Solaris/IA32 should save/restore SSE/SSE2 register set on context switch 4951000 _sse_hw has wrong scope 4955609 _sse_hw is data, not a function 4955607 sseblk.o should be part of ASSYM_DEPS 4955616 SI86FPSTART is broken on Pentium 3 with C++ run-time 4961699 S9U6 corrupts xmm0 registers 4955622 getcontext copies out kernel stack garbage 4893562 add SSE/SSE2 support to dis, kadb, mdb (from 114433-05) 4686454 getrusage is much slower on Solaris than competitive boxes (from 114433-04) 4797219 pstack is amazingly inefficient for MT targets 4756192 pstack goes into loop, different location than bugid 4524527 4271957 ucontext_t.uc_link points to garbage (from 114433-03) 4668520 anon option for ppgsz needed (from 114433-02) This patch revision accumulates/obsoletes Solaris Update S9U5 feature point patch 115485-01. (from 114433-01) 4254013 need better mechanism to detect multi-threaded user stack overflow 4533712 makecontext breaks in 64-bit mode (from 115485-01) 4845974 lgroup APIs needed for observability and performance optimization Patch Installation Instructions: -------------------------------- For Solaris 2.0-2.6 releases, refer to the Install.info file and/or the README within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. For Solaris 7-10 releases, refer to the man pages for instructions on using 'patchadd' and 'patchrm' scripts provided with Solaris. Any other special or non-generic installation instructions should be described below as special instructions. The following example installs a patch to a standalone machine: example# patchadd /var/spool/patch/104945-02 The following example removes a patch from a standalone system: example# patchrm 104945-02 For additional examples please see the appropriate man pages. Special Install Instructions: ----------------------------- NOTE 1: Reboot the system after patch installation. NOTE 2: To get the complete Stack Update feature, please also install the following patches: 112234-05 (or greater) kernel patch 113988-03 (or greater) libc.so.1 patch 114432-01 (or greater) libthread.so.1 patch 114434-01 (or greater) procfs patch NOTE 3: To get the complete Lgroup APIs feature, please also install the following patches: 112234-09 (or greater) kernel patch 114432-05 (or greater) libc patch 115676-01 (or greater) liblgrp patch NOTE 4: To get the complete fix for bugid 4797219 (pstack is amazingly inefficient for MT targets), please also install the following patch: 114432-05 (or greater) libc patch NOTE 5: To get the complete fix for bugid 4686454 (getrusage much slower on Solaris than competitive boxes), please also install the following patches: 112234-11 (or greater) kernel patch 114432-08 (or greater) libc patch README -- Last modified date: Tuesday, May 23, 2006