Patch-ID# 117350-36 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: security kernel drv pm cde framebuffer openboot debugging bufsize Synopsis: SunOS 5.8: kernel patch Date: Apr/25/2006 Install Requirements: Reconfigure immediately after patch is installed Install in Single User Mode Solaris Release: 8 SunOS Release: 5.8 Unbundled Product: Unbundled Release: Xref: This patch available for x86 as patch 117351 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: 4025675 4293005 4324361 4401917 4402270 4492259 4520934 4525533 4643312 4643339 4647808 4715927 4721451 4726048 4736059 4745648 4780312 4788692 4802594 4802646 4817079 4819991 4825043 4833860 4836230 4841930 4849610 4860955 4860976 4865856 4887700 4893666 4914079 4927647 4930184 4930185 4941431 4942492 4944039 4946459 4946504 4946686 4953382 4958313 4959637 4960084 4969038 4979787 4981108 4994422 5010573 5015315 5017145 5017148 5017847 5026502 5031470 5035198 5046939 5050686 5052399 5054052 5059920 5062387 5065051 5065994 5086284 5090037 5095432 5103805 5108333 6198906 6200160 6206732 6209588 6210001 6210881 6213074 6229754 6259809 6269517 6278650 6285960 6294464 6297853 6324745 6330765 6339942 6350363 6360628 6361360 6395178 Changes incorporated in this version: 6259809 6278650 Patches accumulated and obsoleted by this patch: 112031-01 112170-02 113301-02 113683-02 116897-01 116901-02 117004-01 Patches which conflict with this patch: Patches required with this patch: 108528-29 117000-05 (or greater) Obsoleted by: Files included with this patch: /kernel/drv/log /kernel/drv/sparcv9/log /kernel/genunix /kernel/sys/doorfs /kernel/sys/kaio /kernel/sys/sparcv9/doorfs /kernel/sys/sparcv9/kaio /platform/SUNW,Sun-Blade-100/kernel/drv/sparcv9/grppm /platform/SUNW,Sun-Blade-1000/kernel/drv/sparcv9/xcalppm /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/sparcv9/unix /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/sparcv9/unix /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/sparcv9/unix /platform/SUNW,Ultra-Enterprise-10000/kernel/unix /platform/sun4d/kernel/unix /platform/sun4m/kernel/cpu/Ross,RT625 /platform/sun4m/kernel/cpu/TI,TMS390Z55 /platform/sun4m/kernel/misc/cpr /platform/sun4m/kernel/unix /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/sparcv9/ppm /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/tod/sparcv9/todblade /platform/sun4u/kernel/tod/sparcv9/todds1287 /platform/sun4u/kernel/tod/sparcv9/todm5819 /platform/sun4u/kernel/tod/sparcv9/todm5819p_rmc /platform/sun4u/kernel/tod/sparcv9/todm5823 /platform/sun4u/kernel/tod/sparcv9/todmostek /platform/sun4u/kernel/tod/sparcv9/todsg /platform/sun4u/kernel/tod/todmostek /platform/sun4u/kernel/unix /usr/include/sys/aio_impl.h /usr/include/sys/callb.h /usr/include/sys/conf.h /usr/include/sys/door_data.h /usr/include/sys/epm.h /usr/include/sys/log.h /usr/include/sys/stream.h /usr/include/sys/strsubr.h /usr/include/sys/systm.h /usr/include/sys/uadmin.h /usr/include/v9/sys/machtrap.h /usr/include/vm/anon.h /usr/include/vm/page.h /usr/include/vm/seg_map.h /usr/kernel/drv/pm /usr/kernel/drv/ptm /usr/kernel/drv/sparcv9/pm /usr/kernel/drv/sparcv9/ptm /usr/lib/adb/smap /usr/lib/adb/sparcv9/smap /usr/lib/mdb/kvm/genunix.so /usr/lib/mdb/kvm/sparcv9/genunix.so /usr/platform/sun4u/include/sys/cheetahregs.h /usr/platform/sun4u/include/sys/cpc_ultra.h /usr/platform/sun4u/include/sys/machparam.h /usr/platform/sun4u/include/sys/spitregs.h Problem Description: 6259809 "ta 0x3" + watchpoints -> spin loop in kernel 6278650 Race on siron_pending leads to hang. (from 117350-35) 4402270 the CPUSTAT tool prints incorrect values for the TICK register on SunBlade1000 4401917 cpustat and cputrack print negative tick values 6269517 AVL error2 messages are not sent for non-memory and non-L$ errors 6395178 Fix the 'wx hdrchk' error for cpc_ultra.h in solaris 8 (from 117350-34) 6229754 segspt_reclaim() panics the system because pplist is NULL (from 117350-33) 4324361 onerror=umount on shared file systems will panic system soon after error 4942492 ufs_vget() forcibly umounts check broken 4836230 race condition setting sfmmu_cpusran 4969038 System panics after forceful unmount of FS 5065994 kenbus processes die mysteriously with SIGBUS & SIGSEGV 6206732 swap thread hangs in anon_array_enter while holding the p_lock 6350363 anon_array_try_enter needs to initialize sobj->sync_cv 6330765 procfs pagedata can panic machine. 6324745 vmem memory leak in the procfs PAGEDATA subsystem. 6339942 popen(3C) still isn't MT-safe 6361360 race condition in cfork() 6360628 PCI hotplug causes a panic after applying 117350-29 (from 117350-32) 6294464 machine hung with threads spinning in thread_lock()on a CPU dispatch lock that never gets released. (from 117350-31) 4745648 cluster node panics because mdboot takes too much time 5031470 doors don't like being both a server and client (race in door_call/door_results) (from 117350-30) 6285960 qnextless is not checked while multiplexing (from 117350-29) 6297853 Single DIMM failure caused 4 CPUs to be CHS disabled on sf1280 running 5.18.0, KU 117350-11 (from 117350-28) 4715927 smd_free[] is woefully undersized, suffers from false sharing (from 117350-27) 6213074 kphysm_add_memory_dynamic calls dump_resize late (from 117350-26) 6210881 When there is memory pressure dnlc not setting dca_dircache to DC_RET_LOW_MEM (from 117350-25) 6209588 timeout_in_microseconds used for add_leaky_bucket_timeout doesn't agree with error messages reported (from 117350-24) 4887700 specfs snode can have a reference to a deleted dip 5090037 RFE: Solaris Enhancements to support AVL FS-1 (from 117350-23) 5095432 Oracle startup takes too long due to memory fragmentation (from 117350-22) 5015315 uninitialized var in dvma_reserve() can cause panic on sun4m (from 117350-21) 4946504 process is receiving STREAMS messages out of sequence 5103805 cpu_dontsteal shouldn't protect migrating threads 4946686 cpu_dontsteal should only protect curthread 4979787 disp_anywork shouldn't be tempted by bound threads (from 117350-20) 5046939 kcage_freemem grows too large when large ISM segments are assigned on SF15k 6200160 in an unlikely scenario fix 5046939 can cause kcage_expand failure (from 117350-19) 4647808 memscrubber periodically runs nonstop with big mem, interferes with DR 4994422 WARNING: Time of Day clock error: reason [Jumped by 0x79]. 5062387 Virtual TOD on serengeti doesn't call tod_validate(). 5065051 The current fix for bugid 4850672 isn't enough 6198906 page retire can cause large pages to be lost and DR to hang (from 117350-18) 6210001 System panics in aio_cleanup_exit routine while running ismstress with DR (from 117350-17) 4941431 aio race condition leads to hang 5059920 Idle loop is not scalable on large systems 4802594 Idle loop degrades IO performance on large psets 5054052 disp_getwork() is greedy and negatively impacts dispatch latency 5086284 pm scan should not be run from a timeout 5108333 tl1 parity handler fails to clear logout area (from 117350-16) 4865856 race condition over q_ptr between udp module and kernel 5026502 intense UFS dir activity results in duplicated entries & rename() failures 5050686 Solaris mutexes should be made more efficient under contention (from 117350-15) 5017145 Kernel completion of unfinished_FPop exception doesn't invoke user trap handler (from 117350-14) 4293005 spurious call to as_pageunlock() 4825043 stop_other_cpus() can be pinned by interrupt after stopping CPUs 4819991 mdboot hang due to higher priority thread spinning forever for mutex (from 117350-13) 4643339 IP service is exclusive, causing severe performance problems 5035198 fcntl file locking does not honor sleeping writer policy (from 117350-12) 4525533 putnext() may limit stack usage 4643312 interim performance improvements needed in fsflushd 4849610 Pages with 0 translations should be freed more aggressively 4953382 creating large files in /tmp produces I/O storm to swap device 4958313 panic: pp->p_vnode == NULL !IS_VMODSORT(pp->p_vnode) !hat_ismod(pp) 4802646 assertion failed: (vp->v_flag & VISSWAP) == 0, ...fsflush.c, line 248 4927647 pty loses last output before close/exit 4981108 System panics while unmounting the lofs (from 117350-11) This revision is to maintain the same patch revision number as its counterpart x86 architecture patch. No new bug fixes are included. (from 117350-10) This patch was regenerated to include the fixes listed in 117350-09. (from 117350-09) 4025675 Can't set a variable that begins with an underscore in /etc/system 5017148 t_lockp/t_disp_queue pointing to CPU Y when thread is TS_ONPROC on CPU X (from 117350-08) 4944039 System panics with decr_upcount-off the end (from 117350-07) 5010573 dvma_reserve() doesn't initialize dmareq argument (from 117350-06) 5017847 Sticky errors increment leaky bucket and shouldn't 5052399 A CPU offline may cause a hang (from 117350-05) 4946459 Unable to release memory during the DR operation. 4959637 Deadlock between devmap_ctxto thread and devmap_ctx_rele thread. (from 117350-04) 4860976 Large memory causes overflow of bfreelist->b_bufsize (from 117350-03) 4860955 page removal causes a good page to be removed after DR operation 4893666 page_retire does not update retired page list in some cases (from 117350-02) 4817079 open/close of /dev/log leaks kernel memory 4833860 unsetting of TP_STOPPING can result in hung process (from 117350-01) 4788692 pm_power_has_changed should not take the power lock 4841930 memory scrubber still scrubs retired pages 4930184 cheetah module should be lint clean 4930185 spitfire module should be lint clean (from 116897-01) 4914079 CDE freezes with framebuffer power management if OpenBoot debugging is enabled (from 116901-02) 4941431 aio race condition leads to hang (from 116901-01) 4520934 large file POSIX aio breaks when 32 bit app runs on 64 bit kernel. (from 112170-02) 4721451 todm5819 read_rtc routine does not handle rtc transitional states (from 112170-01) This revision accumulates feature point patch 112031-01. (from 112031-01) 4492259 Deliver Netra X1 todm5819 time-of-day driver into Solaris 8 (from 113683-02) 4780312 CPR suspend/resume causes system-time to reset to suspend time (from 113683-01) This revision accumulates feature point patch 113301-02. (from 113301-02) 4736059 Debug Kernels fail to boot (from 113301-01) 4726048 ON support for enchilada server - todm5819p_rmc driver (from 117004-01) 4960084 power off select window does not up after cancel once with hard break function 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: ----------------------------- Perform patch installation in single user mode. Reconfigure the system (boot -r) immediately after patch installation. NOTE 1: To get the complete fix for bugids 4893666 (page_retire does not update retired page list), and 4860955 (page removal causes good page to be removed after DR operation), please also install the following patches: 111335-22 (or greater) SunFire-15K dr, gptwo_pci & sc_gptwocfg drivers patch 111789-06 (or greater) E10K dr driver patch 111790-20 (or greater) E10K ngdr and ngdrmach drivers patch 116970-01 (or greater) sbdp patch NOTE 2: To get the complete fix for bugid 4643339 (IP service is exclusive, causing severe performance problems), please also install the following patch: 116965-05 (or greater) ip/arp/tcp/udp patch NOTE 3: Systems running SunCluster 3.0 or 3.1, or Veritas Filesystem with the optional Quick I/O feature require a product patch be installed prior to installing the fix for 4293005, contained in this patch. The relevent product patches are : SunCluster 3.0 110648-29 or above SunCluster 3.1 113800-05 or above VxFS 3.4 113693-03 or above Point Patch VxFS 3.5 mp3 112381-31 or above Point Patch VxFS 4.0 113605-02 or above VxFS 4.0 mp1 116688-01 or above NOTE 4: To get the complete Netra X1 feature, please also install the following patches: 112169-01 (or greater) platmod patch 112168-01 (or greater) dmfe header files patch 112167-01 (or greater) SUNW,UltraAX-i2 symlink new package SUNWdmfex.u NOTE 5: For complete platform support of the SUNW,Sun-Fire-V210, SUNW,Sun-Fire-V240, SUNW,Netra-240, or SUNW,Serverblade1, please also install the following patches: 108974-25 (or greater) dada,uata,dad,sd,scsi patch 109888-18 (or greater) platform drivers patch 109889-02 (or greater) platform links & libc_psr patch 110460-26 (or greater) fruid/PICL plug-ins patch 111794-02 (or greater) /usr/lib/libcpc.so.1 patch 111883-14 (or greater) Sun GigSwift Ethernet 1.0 driver patch 112249-02 (or greater) libprtdiag_psr.so.1 patch 113679-01 (or greater) rmc* and librsc.so.1 patch 113680-01 (or greater) bge patch 113681-01 (or greater) mc-us3i patch 113682-01 (or greater) pmugpio patch 113684-01 (or greater) scadm patch NOTE 6: To get the complete fix for bugids 5046939 (kcage_freemem grows too large when large ISM segments are assigned on SF15k), and 6200160 (fix 5046939 can cause kcage_expand failure), please also install the following patches: 111790-24 (or greater) E10K nd ngdrmach drivers patch 116970-06 (or greater) sbdp and sbd patch 111335-28 (or greater) Sun-Fire-15000 dr, gptwo_pci & sc_gptwocfg drivers patch NOTE 7: To get the new functionality associated with RFE 5090037 (Solaris Enhancements to support AVL FS-1), please also install the following patches: 116979-05 (or greater) platmod patch for Enterprise System H/W Series Products 112162-04 (or greater) Netra T12 Lw8 driver patch 110369-08 (or greater) scosmb, sgcn and sgsbbc patch NOTE 8: To get the complete fix for bugid 4324361 (onerror=umount on shared file systems will panic system soon after error), please also install the following patch: 116950-08 (or greater) ufs patch README -- Last modified date: Tuesday, April 25, 2006