Patch-ID# 117000-03
Keywords: security kernel core cpu_t mss hang panic bad trap i/o mount deadlock
Synopsis: SunOS 5.8: Kernel Patch
Date: Mar/26/2004


Install Requirements: Install in Single User Mode                      
                      Reboot immediately after patch is installed                      
                      
Solaris Release: 8

SunOS Release: 5.8

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for x86 as patch 117001

Topic: SunOS 5.8: Kernel Patch
	***********************************************************
	NOTE: This patch may contain one or more OEM-specific platform ports.
	      See the appropriate OEM_NOTES file within the patch for
	      information specific to these platforms.
	      DO NOT INSTALL this patch on an OEM system if a corresponding
	      OEM_NOTES file is not present (or is present, but instructs not
	      to install the patch), unless the OEM vendor directs otherwise.
	***********************************************************

Relevant Architectures: sparc

BugId's fixed with this patch: 4155663 4167478 4274608 4277890 4278652 4344393 4363173 4412320 4484608 4497296 4509659 4510402 4620740 4632219 4671383 4697693 4789213 4824314 4827657 4833129 4840464 4855825 4857890 4858401 4860644 4875077 4883780 4888569 4889619 4891340 4892223 4901953 4902250 4904187 4912731 4915531 4922074 4926980 4928612 4932237 4933109 4934929 4935283 4937102 4941742 4941930 4946815 4955340 4960380 4976241 4988523 4998060 5005616

Changes incorporated in this version: 4827657 4858401 4860644 4883780 4891340 4892223 4901953 4902250 4922074 4937102 4941742 4998060 5005616

Patches accumulated and obsoleted by this patch: 113655-03 115576-01 116895-01 116899-01

Patches which conflict with this patch: 

Patches required with this patch: 108528-29 or greater

Obsoleted by: 

Files included with this patch: 

/kernel/drv/ip
/kernel/drv/nca
/kernel/drv/sparcv9/ip
/kernel/drv/sparcv9/nca
/kernel/drv/sparcv9/tcp
/kernel/drv/tcp
/kernel/exec/elfexec
/kernel/exec/sparcv9/elfexec
/kernel/fs/procfs
/kernel/fs/sparcv9/procfs
/kernel/fs/sparcv9/ufs
/kernel/fs/ufs
/kernel/genunix
/kernel/sched/TS
/kernel/sched/sparcv9/TS
/kernel/sys/doorfs
/kernel/sys/msgsys
/kernel/sys/semsys
/kernel/sys/shmsys
/kernel/sys/sparcv9/doorfs
/kernel/sys/sparcv9/msgsys
/kernel/sys/sparcv9/semsys
/kernel/sys/sparcv9/shmsys
/platform/SUNW,Sun-Blade-1000/kernel/drv/sparcv9/xcalppm
/platform/SUNW,Sun-Fire-15000/kadb
/platform/SUNW,Sun-Fire-15000/kernel/cpu/sparcv9/SUNW,UltraSPARC-III
/platform/SUNW,Sun-Fire-15000/kernel/cpu/sparcv9/SUNW,UltraSPARC-III+
/platform/SUNW,Sun-Fire-15000/kernel/drv/sparcv9/axq
/platform/SUNW,Sun-Fire-15000/kernel/drv/sparcv9/wrsm
/platform/SUNW,Sun-Fire-15000/kernel/misc/sparcv9/wrsmplat
/platform/SUNW,Sun-Fire-15000/kernel/sparcv9/unix
/platform/SUNW,Sun-Fire/kadb
/platform/SUNW,Sun-Fire/kernel/cpu/sparcv9/SUNW,UltraSPARC-III
/platform/SUNW,Sun-Fire/kernel/cpu/sparcv9/SUNW,UltraSPARC-III+
/platform/SUNW,Sun-Fire/kernel/drv/sparcv9/wrsm
/platform/SUNW,Sun-Fire/kernel/misc/sparcv9/sbdp
/platform/SUNW,Sun-Fire/kernel/misc/sparcv9/wrsmplat
/platform/SUNW,Sun-Fire/kernel/sparcv9/unix
/platform/SUNW,Ultra-Enterprise-10000/kadb
/platform/SUNW,Ultra-Enterprise-10000/kernel/cpu/SUNW,UltraSPARC
/platform/SUNW,Ultra-Enterprise-10000/kernel/cpu/sparcv9/SUNW,UltraSPARC
/platform/SUNW,Ultra-Enterprise-10000/kernel/drv/idn
/platform/SUNW,Ultra-Enterprise-10000/kernel/drv/sparcv9/idn
/platform/SUNW,Ultra-Enterprise-10000/kernel/misc/drmach
/platform/SUNW,Ultra-Enterprise-10000/kernel/misc/sparcv9/drmach
/platform/SUNW,Ultra-Enterprise-10000/kernel/sparcv9/unix
/platform/SUNW,Ultra-Enterprise-10000/kernel/unix
/platform/SUNW,Ultra-Enterprise/kernel/drv/ac
/platform/SUNW,Ultra-Enterprise/kernel/drv/fhc
/platform/SUNW,Ultra-Enterprise/kernel/drv/sparcv9/ac
/platform/SUNW,Ultra-Enterprise/kernel/drv/sparcv9/fhc
/platform/SUNW,Ultra-Enterprise/kernel/drv/sparcv9/sysctrl
/platform/SUNW,Ultra-Enterprise/kernel/drv/sysctrl
/platform/sun4d/kadb
/platform/sun4d/kernel/unix
/platform/sun4m/kadb
/platform/sun4m/kernel/cpu/Ross,RT625
/platform/sun4m/kernel/cpu/TI,TMS390Z55
/platform/sun4m/kernel/misc/cpr
/platform/sun4m/kernel/unix
/platform/sun4u/kadb
/platform/sun4u/kernel/cpu/SUNW,UltraSPARC
/platform/sun4u/kernel/cpu/SUNW,UltraSPARC-III
/platform/sun4u/kernel/cpu/SUNW,UltraSPARC-III+
/platform/sun4u/kernel/cpu/SUNW,UltraSPARC-IIIi
/platform/sun4u/kernel/cpu/SUNW,UltraSPARC-IIe
/platform/sun4u/kernel/cpu/sparcv9/SUNW,UltraSPARC
/platform/sun4u/kernel/cpu/sparcv9/SUNW,UltraSPARC-III
/platform/sun4u/kernel/cpu/sparcv9/SUNW,UltraSPARC-III+
/platform/sun4u/kernel/cpu/sparcv9/SUNW,UltraSPARC-IIIi
/platform/sun4u/kernel/cpu/sparcv9/SUNW,UltraSPARC-IIe
/platform/sun4u/kernel/drv/cpc
/platform/sun4u/kernel/drv/sparcv9/cpc
/platform/sun4u/kernel/drv/sparcv9/mc-us3
/platform/sun4u/kernel/drv/sparcv9/us
/platform/sun4u/kernel/genunix
/platform/sun4u/kernel/misc/cpr
/platform/sun4u/kernel/misc/sparcv9/cpr
/platform/sun4u/kernel/sparcv9/genunix
/platform/sun4u/kernel/sparcv9/unix
/platform/sun4u/kernel/sys/cpc
/platform/sun4u/kernel/sys/sparcv9/cpc
/platform/sun4u/kernel/unix
/usr/include/inet/tcp.h
/usr/include/sys/strsubr.h
/usr/include/vm/anon.h
/usr/include/vm/page.h
/usr/include/vm/seg.h
/usr/kernel/sched/RT
/usr/kernel/sched/sparcv9/RT
/usr/lib/adb/anon_hdr
/usr/lib/adb/anon_map
/usr/lib/adb/cpu
/usr/lib/adb/sparcv9/anon_hdr
/usr/lib/adb/sparcv9/anon_map
/usr/lib/adb/sparcv9/cpu
/usr/lib/adb/sparcv9/tcpb
/usr/lib/adb/tcpb
/usr/lib/mdb/kvm/genunix.so
/usr/lib/mdb/kvm/sparcv9/genunix.so
/usr/platform/SUNW,Sun-Fire-15000/lib/rsmlib/sparcv9/wrsm.so
/usr/platform/SUNW,Sun-Fire-15000/lib/rsmlib/wrsm.so
/usr/platform/SUNW,Sun-Fire/lib/rsmlib/sparcv9/wrsm.so
/usr/platform/SUNW,Sun-Fire/lib/rsmlib/sparcv9/wrsm.so.1
/usr/platform/SUNW,Sun-Fire/lib/rsmlib/wrsm.so
/usr/platform/SUNW,Sun-Fire/lib/rsmlib/wrsm.so.1
/usr/platform/sun4u/include/sys/cheetahregs.h
/usr/platform/sun4u/lib/librsmwrsm.so.1  (deleted)
/usr/platform/sun4u/lib/sparcv9/librsmwrsm.so.1 (deleted)
/usr/sbin/sparcv7/crash
/usr/sbin/sparcv9/crash
/usr/sbin/sparcv9/lockstat

Problem Description:

4883780 wrsm thread lockup causes MPI onesided tests to fail
4827657 cluster heartbeats failing under load
4891340 Wildcat rpcs sometimes fail
4892223 wrsm times out too quickly when attempting to send interrupts
4860644 rsm_sendq_create leaking cmmu entry when session ends
4902250 Small puts fail with BARRIER_FAILURE when export cnode = import cnode
4901953 Unpublishing hundreds of rsm segments simultaneously causes rpc timeouts
4922074 WCI allows writes from node 0 even if masked out in cluster_members register.
4858401 Wcapp failed to bringup links when running wcops (vts) test on multiple wPCIs
4937102 Some commands hang up with top mutex owner was doing idn:smr_buf_free()
4941742 System with large memory hangs in semaphore _init
4998060 need to restore cpu_t offsets that VxFS expects
5005616 Solaris 8 KU 117000-02 Radical KU patch fails on patchadd
 
(from 117000-02)
 
4632219 CPU/Mem board unconfig takes a long time (8hr) to complete with Oracle/TPCC load
4928612 assertion failure in anon_decref_pages
4167478 Solaris VM locks inhibit multi-threaded performance of init of first-touch pages
4941930 aio_cleanup_dr_delete_memory should not clean pollq
4946815 panic due to race between aio_cleanup_exit and DR
4155663 anon_map_getpages need NOT call VOP_GETPAGE
4915531 more aggressive memory page deallocation after multiple errors required
4412320 E$ scrubber needs to schedule a page_retire
4932237 Fix for 4338040 causes kernel to send SIGHUPs it shouldn't
4934929 Thread hang in callout due to pm_rescan() is blocked
4955340 Need to increase softints to support fully configured Jaguar/Starcat
4976241 Panic BAD TRAP (cfgadm : data access exception:) w/DR configure of Jaguar
4988523 enable automatic page removal on Jalapeno-based systems by default
 
(from 117000-01)
 
4274608 clock tick processing of interrupt threads not accurate on MP systems
4344393 sqenable() function does not need to check SQ_INSERVICE flag for permod syncq
4857890 cpu offline causing deadlock in the system
4933109 system hangs while getting meminfo
4888569 sending a break caused RED state or BAD TRAP=34 with kadb
4904187 page_freelist_coalesce() holds the page freelist locks for too long
4912731 memory scrubber prevents higher priority threads from running
4875077 ME bit can be set with UCC even though only one bit flip occurred
4960380 Solaris 8 patch dependency issue.
 
(from 115576-01)
 
4277890 kernel truncates 32-bit core files at 2GB
4278652 core() uninformative when do_core() fails with EFBIG (rlimit = 0 for coredump)
 
(from 113655-03)
 
4855825 SEGV in wrsm.so:wrsmlib_blkcopy
 
(from 113655-02)
 
4824314 wrsmlib.s: v8+ ABI violations may result in put/get errors
 
(from 113655-01)
 
4484608 Performance of RSMAPI rsm_put function is sub-optimal.
4497296 librsmwrsm.so is partially built against headers on the build machine
4510402 put8/16/32/64 and get8/16/32/64 do not handle rep_cnt argument properly.
4620740 wrsm.so: rsm_memseg_import_get fails for unaligned transfers
 
(from 116895-01)
 
4697693 Restore tcp MSS negotiation/adjustment that occurred in Solaris 2.6/2.5.1
4840464 system hangs if there are idle connections for a long time
4935283 ip_sioctl_copyin_done() passes a NULL queue pointer to putnext() causes a panic
 
(from 116899-01)
 
4363173 node panics with BAD TRAP after I/O mount errors
4671383 ufs create/mkdir/edquota deadlock
4789213 stat(2) succeeds on dir/. even when dir is mode 000
4509659 ufs: dnlc contains many "." entries
4833129 Cannot read file data on write-locked filesystem
4889619 Unreferenced files seen by fsck on a cleanly unmounted filesystem.
4926980 ufs_trans_touch() walks beyond the end of the uio_iov array

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-9 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:
-----------------------------
 
Perform patch installation in single user mode.
Reboot the system after patch installation.
 
NOTE 1: To get the complete fix for bugid 4860142, or the complete
        fix for 4833032 on Serengeti, please also install the
        following patch:
 
        110373-05 (or newer)    sgsbbc patch
 
NOTE 2: To get the complete fix for bugids 4497296, 4510402, 4484608 and
        4620740, please install the following patch:
 
        112158-02 (or newer)	SUNWhea Header File Patch

NOTE 3: Patch 117000-03 does not deliver an up to date version of the
  	following header file:
  		/usr/include/sys/cpuvar.h
  
  	This header defines the kernel's cpu structure (cpu_t) which
  	has changed in 117000-03 as part fo the fix for 4998060.
  	
  	Applications, kernel modules, or drivers that examine/reference
  	the cpu structure in kernel memory that were compiled against the
  	header delivered by 108528-28 or later must be compiled with an
  	updated version of the header to function properly on systems
 	with 117000-03 applied.
 
 	Note that this is *only* an issue for binaries compiled against
 	the header delivered by 108528-28 or later. Binaries compiled against
 	prior versions of the header will be unaffected.
  
 	The updated cpuvar.h header will be delivered as part of 117000-04.

README -- Last modified date:  Monday, March 29, 2004

