Patch-ID# 105181-11
Keywords: security kernel ST_FIX_ALIGN FFB2 ECC VOP_REALVP sockfs klmmod sigintr
Synopsis: SunOS 5.6: kernel update patch
Date: Dec/11/98

Solaris Release: 2.6

SunOS Release: 5.6

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for x86 as patch 105182

Topic: SunOS 5.6: kernel update patch

	NOTE:	Refer to Special Install Instructions section for 
                IMPORTANT specific information on this patch.

BugId's fixed with this patch: 1237009 1266113 1267506 4009567 4011225 4024106 4034675 4043763 4044980 4056222 4062572 4063932 4065248 4065762 4067568 4067641 4070714 4070968 4073684 4076062 4076118 4077343 4079028 4080160 4080714 4089451 4089777 4089974 4090929 4092838 4093708 4095093 4095650 4097064 4097082 4097233 4098645 4098732 4099656 4099664 4100666 4101647 4102334 4105822 4106093 4107724 4108806 4114176 4115793 4115951 4117624 4117875 4117898 4118425 4119193 4119498 4119745 4122292 4122408 4122617 4125580 4127499 4131439 4132927 4139770 4141788 4144929 4147079 4148073 4151212 4151480 4162055 4170500 4179342 
BugId's fixed with this patch: 4093052 4098576 4099466 4109198 4110996 4115526 4116141 4116349 4116351 4116396 4117010 4117862 4117925 4119285 4119751 4128193 4129902 4134357 4136544 4137584 4169916 4174959

Changes incorporated in this version: 4056222 4179342

Relevant Architectures: sparc

Patches accumulated and obsoleted by this patch: 105214-01 105636-01 105776-01 106031-02 106308-01 

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch:

/kernel/fs/procfs
/kernel/fs/sockfs
/kernel/genunix
/kernel/misc/consconfig
/kernel/misc/klmmod
/kernel/misc/krtld
/kernel/sys/doorfs
/kernel/sys/kaio
/platform/SUNW,Ultra-4/kernel/misc/platmod
/platform/SUNW,Ultra-Enterprise/kernel/misc/platmod
/platform/sun4c/kadb
/platform/sun4c/kernel/unix
/platform/sun4d/kadb
/platform/sun4d/kernel/unix
/platform/sun4m/kadb
/platform/sun4m/kernel/unix
/platform/sun4u/kadb
/platform/sun4u/kernel/cpu/SUNW,UltraSPARC
/platform/sun4u/kernel/genunix
/platform/sun4u/kernel/misc/consconfig
/platform/sun4u/kernel/misc/platmod
/platform/sun4u/kernel/unix
/usr/bin/adb
/usr/include/sys/proc.h
/usr/include/sys/proc/prdata.h
/usr/include/sys/rce.h
/usr/include/sys/sunddi.h
/usr/include/sys/vnode.h
/usr/kernel/drv/ksyms
/usr/lib/adb/thread
/usr/platform/sun4u/include/sys/iommu.h
/usr/platform/sun4u/include/sys/machsystm.h
/usr/platform/sun4u/include/sys/prom_plat.h

/platform/SUNW,Ultra-Enterprise-10000/kernel/misc/platmod
/platform/SUNW,Ultra-Enterprise-10000/kernel/unix
/platform/sun4u1/kadb
/platform/sun4u1/kernel/cpu/SUNW,UltraSPARC
/platform/sun4u1/kernel/genunix
/platform/sun4u1/kernel/misc/consconfig
/platform/sun4u1/kernel/misc/platmod
/usr/platform/sun4u1/include/sys/iommu.h
/usr/platform/sun4u1/include/sys/machsystm.h
/usr/platform/sun4u1/include/sys/pci_iommu.h
/usr/platform/sun4u1/include/sys/pci_regs.h
/usr/platform/sun4u1/include/sys/pci_var.h
/usr/platform/sun4u1/include/sys/prom_plat.h

Problem Description:

4179342 solaris needs to provide a resource management solution for big servers
4056222 sema_p_sig is broken

(from 105181-10)

4170500 solaris ntp_adjtime broken, useless for PPS sync of the system clock
4151480 under Solaris 2.6, adb reports wrong information for o registers for v9 arch
4147079 stubs mechanism for modules is faulty 
4139770 fcntl() returns EINVAL error in BCP mode when NFS file is read
4131439 deadlock_panic from pi_willto
4118425 sfmmu_tsb_miss() may get a recursive mutex panic
4117624 if lockd is restarted, clients receiving signals have problems with locks
4108806 rename of automounted directory results in panic

4169916 Excessive ECC errors
4174959 System hard hangs w/ oracle causing sigbcmd or hostint not to break to 'ok'

(from 105181-09)

4162055 invalid socket return error code: ECONNRESET should be ECONNREFUSED
4151212 system crashes in page table steal
4148073 successful fork() sometimes does not return zero in mt/multi lwp child proc
4141788 system hangs due to pagefault loop in shared memory
4122617 device driver providing devmap not unloadable because of leaked hold count
4122292 multithreaded httpd process deadlock during cfork()
4119745 realitexpire() algorithm is too slow when system time is changed
4107724 implement workarounds for spitfire errata 32 and 54
4065248 UFS caching can adversely affect application performance

(from 105181-08)

4144929 kernel patch 105181-05 causes dbx on setuid programs to get EBUSY
4127499 SunFire should not be as verbose in printing CE ECC messages
4098732 recursive mutex enter in kstrgetmsg()
4043763 in MT applications, close() blocks if fd is in use by another thread

(from 105181-07)

4132927 open system call does not audit if creat bit set.
4125580 system panics in cstat64 with type prvnodeops vnode
4122408 Backup performance with Netbackup 3.0 is far below expectations.
4119498 HSI/P - Performance problem upto 200 m/s interframe delay.
4115951 Diskless Ultra-1s unable to perform system crash dump across network

(from 105181-06)

4080160 tickint_clnt_add miscalculates interval between handler calls
4089777 processes can hang or crash while forking with ISM on sun4u
4098645 setcontext() uses >25% of the stack & segkp_fault: accessing redzone panic.
4102334 sunfire PDB node panics with xc_one() timeout,  no core
4119193 ASSERT() panic due to race condition in /proc-supported watchpoints

4134357 availrmem not being reduced during Starfire memory detach

4136544 getting "flusher thread" hang during dr drain
4137584 CE reporting incorrect P numbers

(from 105181-05)

1237009 users umask modifies ACL's of new files under default ACL's
1266113 due to memory corruption in the OS, Xsun crashes randomly on IPX
4070714 system hangs/resets running OLTP benchmark on Veritas Raid-5 volumes on plutos
4073684 "mkdir -p dir" and "mkdir dir" work differently in the presence of default ACLs
4076118 pf_set_dmacapable() needs to support ffb detach/attach
4080714 panic if pci device drivers fails to detach.
4093708 process/streams modules hung on rwlocks
4095093 IOMMU tsb is preallocated.  We need to preallocation some for DR.
4095650 sunddi.c needs more framework for nexus hotplug
4097064 hotplug daemon asynchronous attach collision with detach requests.
4097082 _lwp_sigredirect() if called from a non-mt process panics kernel.
4097233 TSB for segspt provides up to 15% boost in OLTP performance.
4099656 httpd process hangs and can't be killed
4099664 hp_op_make_new_children uses wrong name for child alloc
4101647 loop-back mounts of /proc (for chroot(1M)) are insecure and broken
4106093 system hangs during high I/O loads (bread/bflush deadlock)
4114176 system panic due to one lwp closing another lwp's /proc file descriptor
4115793 /proc security too restrictive; a process should be able to open itself
4117875 adb threadlist causes panic:  peek_fault: bad nofault data
4117898 panic in procfs due to unprotected reference count

4093052 Starfire 2.6 needs shuffle lest memory hot-spotting occurs
4098576 cannot see the ssa after dr attaching the board with the soc
4099466 "DR: driver (vge) not known to support DDI_DETACH" while trying to detach
4109198 pcf_acquire_all argument error in page_reclaim (Starfire only)
4110996 oninit informix processes hang
4115526 assertion fail removing interrupt threads from detaching proc
4116141 DR panics machine with BAD TRAP
4116349 panic during cpu detach- interrupt thread detected after cpu_offline
4116351 While draining board: Error draining resources: ioctl failed.
4116396 domain hang during drstress - locked thread on deathrow
4117010 Deadlock during Starfire DR memory attach
4117862 send_mondo panics during drstress on Starfire
4117925 hotplug_daemon and Starfire DR driver deadlock when walking devtree
4119285 re-activate hotplug_daemon with suitable synchronization for DR
4119751 deadlock between DR and pageout daemon
4128193 maxusers calculation still based on dr-max-mem in s297hw3
4129902 Oracle panics on startup with s297hw3 & KU-05 on sun4u1 platform

(from 105181-04)

4067641 changing acl's on a UFS fs mounted readonly causes machine to panic
4089451 doors/scheduler activation broken in the execed process.

(from 105181-03)

4070968 a synch object that spans pages can cause deadlock

(from 105181-02)

4009567 permanent cache can grow very large leaving the system hungry for kmem
4062572 syncing page gives up during shutdown
4070968 synch object that spans pages can cause deadlock
4076062 sigtimedwait() returns immediately
4077343 sun4u systems incorrectly report "sync - giving up" while halting
4089974 new ddi utility routines for nexus drivers 

(from 105181-01)

4044980 software trap #6 (ST_FIX_ALIGN) does not work in a threaded application

(from 105636-01)

4079028 ECC and other errors not handled correctly on Ultra-5/Ultra-10 due to 
	Sabre spec change

(from 105776-01)

4090929 system panics due to infinite recursion in prrealvp

(from 105214-01)

4065762 recursive mutex_enter panic in sockfs
4067568 assertion failure in sock_poll(): *reventsp != 0    *phpp != NULL

(from 106031-02)

4092838 kadb cannot reliably set breakpoints in loadable modules
4011225 kadb does not always set breakpoints as expected
4034675 kadb can't store to kernel memory on sun4u
1267506 kadb breakpoints don't work
4024106 kadb :c often causes panics
4100666 kadb data addresses not properly locked in kernel mmu

(from 106031-01)

4105822 In Solaris 2.6, adb reports value 0 for unmapped addresses.

(from 106308-01)

4063932 orphan lock problem caused by sigalrm/sigintr & large packet loss


Patch Installation Instructions: 
-------------------------------- 
Refer to the Install.info file within the patch for instructions on
using the generic 'installpatch' and 'backoutpatch' scripts provided
with each patch.  Any other special or non-generic installation
instructions should be described below.


Special Install Instructions: 
----------------------------- 
Reboot the system after patch installation.

	NOTE 1:  To get the complete fix for bug 4090929 (system panics due to
       	         infinite recursion in prrealvp) we recommend installation of
                 rev 01 (or newer revisions) of the following patches:

                	105778-01  /kernel/fs/specfs
                	105780-01  /kernel/fs/fifofs

	NOTE 2:  To get the complete fix for 1237009 (users umask modifies
                 ACL's of new files under default ACL's) and 4073684 (mkdir
                 -p dir" and "mkdir dir" work differently in the presence
                 of default ACLs), we recommend installation of rev 01
                 (or newer revisions) of the /usr/bin/mkdir patch:

			106141-01  /usr/bin/mkdir

	         As a result of this fix for 1237009, the umask/ACL interaction  
		 has changed.  

                 Please refer to the following paragraph for a revision to the
		 manpage for the command 'setfacl' which defines the new umask/ACL
                 interaction.

                 ************************************************************

                 A directory may contain default ACL entries.  If a  file
                 is created in a directory that contains default ACL entries,
                 the newly created file will have permissions generated
                 according to the intersection of the default ACL entries,
                 and the permissions requested at creation time.

                 The umask(1) will not be applied if the directory contains
                 default ACL entries. If a default ACL is specified for a
                 specific user (or users), the file will have a regular ACL
                 created;  otherwise, only the mode bits will be initialized
                 according to the intersection described above.  The default
                 ACL should be thought of as the maximum discretionary access
                 permissions that may be granted.

                *************************************************************

	NOTE 3: For users running Java or other multithreaded applications.
                We highly recommend installing the linker patch,   
                105490-04 (or newer).
