Patch-ID# 116959-13 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: rpc cluster failover kcontrol nfs nfsv2 udp dnlc strlen cfork i/o Synopsis: SunOS 5.8: nfs and rpcmod patch Date: Jan/24/2006 Install Requirements: Reboot 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 116960 Topic: SunOS 5.8: nfs and rpcmod 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: 4044295 4193748 4249187 4276984 4293528 4306880 4331346 4338770 4349744 4353349 4356040 4356440 4362694 4368439 4392477 4400897 4400900 4407669 4409175 4414389 4415297 4417407 4427971 4465488 4486764 4492255 4495032 4512616 4517840 4653361 4658316 4664740 4680195 4725574 4736706 4768760 4774462 4857986 4880986 4899933 4932305 4945997 4976875 4987169 5016808 5082540 5105010 6262249 Changes incorporated in this version: 6262249 Patches accumulated and obsoleted by this patch: 108727-26 Patches which conflict with this patch: Patches required with this patch: 108528-29 (or greater) Obsoleted by: Files included with this patch: /kernel/fs/nfs /kernel/fs/sparcv9/nfs /kernel/strmod/rpcmod /kernel/strmod/sparcv9/rpcmod /kernel/sys/nfs /kernel/sys/rpcmod /kernel/sys/sparcv9/nfs /kernel/sys/sparcv9/rpcmod /usr/include/nfs/nfs.h /usr/include/nfs/rnode.h /usr/include/sys/avl.h /usr/include/sys/avl_impl.h Problem Description: 6262249 Negative filehandle length can cause nfs3_mount system call to panic (from 116959-12) 4512616 nfsd refuses to restart and refuses to die (from 116959-11) 4653361 rpc need not break chain of mblk. (from 116959-10) 5105010 VOP_PATHCONF incorrectly calculates maxfilesize, causing problems for cachefs (from 116959-09) 4976875 under some circumstances using ln and mv file vanished (from 116959-08) 4945997 nfsd intermittently chokes with unexpected TLI event (0x20) on connection-oriented (from 116959-07) 4857986 rm -rf on very large NFS trees can take a very long time 5082540 NFS client sends huge number of packets after failover (from 116959-06) 4880986 "KRPC: record fragment from client of size .." does occur with the fix 4385671 (from 116959-05) 4932305 NFS client threads may be stopped while holding directory locks 5016808 All NFS client callers of cv_wait_sig() should be safe 4987169 nfs3_readdir calls cv_wait_sig() with rwlock held (from 116959-04) 4362694 clfree is called incorrectly from rfscall and aclcall and induces a panic 4368439 clget() should use kmem_cache_free() instead of kmem_free() (from 116959-03) 4353349 customer nfs mounts an oracle filesystem on E10k mount point, cannot umount (from 116959-02) 4306880 NFS performance not scaled due to limitations on the clnt request handle cache (from 116959-01) 4899933 SunCluster needs i/f to disable clnt_cots_min_tout connection failure delay (from 108727-26) 4736706 Crash dump due to NULL pointer dereference in module nfs (from 108727-25) 4407669 spurious cache invalidation on large writes (from 108727-24) 4768760 automountd hangs if NFS threads receive NFS3ERR_JUKEBOX (from 108727-23) 4774462 Improve nfs access cache lock (nfs_acache_lock) performance (from 108727-22) 4680195 Panic/race condition in destroy_rtable() (from 108727-21) 4664740 nfs extremely slow on SunBlade 1000s and 2000s (from 108727-20) 4044295 nfs hang waiting for locked page (from 108727-19) 4465488 ps/prgetpsinfo32 hangs if NFS server doesn't respond 4725574 Locking succeeded when the file is mapped (from 108727-18) 4658316 need to revamp the fix for bugid 4356440 to work with other operating systems (from 108727-17) 4415297 Incorrect use of CALLB_CPR_SAFE_END() macro. (from 108727-16) 4427971 mnttab corruption when using direct automount still shows up with patch 110700 (from 108727-15) 4495032 NFS may lose async write blocks in rare conditions (from 108727-14) 4392477 Problem with asynchronous writes under NFSv3 protocol of Solaris 8 4517840 nfs fails to write all the pages to the server due to frequent verifier changes. (from 108727-13) 4492255 close(2) may return EAGAIN on "nocto" NFS mounted filesystems (from 108727-12) 4400897 NFS multi-client open same file and write almost same time cause invalid result (from 108727-11) 4356440 5.8 NFS server doesn't reflect POSIX standard for open(O_TRUNC) (from 108727-10) 4486764 System panics when nfsstat -m is run during unmount (from 108727-09) 4414389 System crashes with heavy i/o on NFS mounted filesystems (from 108727-08) 4356040 nfs_access_cache() makes umount take long time to complete 4409175 access(2) system crdup()s too often causing nfs_access_cache pollution 4400900 nfs access cache has no upper limit (from 108727-07) 4417407 NFS client writes don't get committed when writing to large files over NFS v3. (from 108727-06) 4349744 close(2) returns EAGAIN on Solaris8 NFS client (from 108727-05) 4338770 applications hang due to hanging lstat system calls (from 108727-04) 4331346 diskless client soft hangs during boot, probably due to nfs deadlock (from 108727-03) 4193748 BAD TRAP panic in strlen() 4249187 multi-threaded process deadlock during cfork, nfs reads/writes (from 108727-02) 4293528 Need Enhanced DNLC support in Solaris (from 108727-01) 4276984 "ls" does not terminate on Solaris 7 or 8 system in 32 bit mode 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: Perform patch installation in single user mode. Reboot the system after patch installation. NOTE 2: To get the complete fix for bugid 4658316 (need to revamp the fix for bugid 4356440 to work with other operating systems), please also install the following patch on the server: 112220-02 (or greater) /kernel/misc/nfssrv patch NOTE 3: To get the complete fix for bugid 4664740 (nfs extremely slow on SunBlade 1000s and 2000s), please also install the following patch: 114160-01 (or greater) avl_tree, avl_node and rnode patch NOTE 4: To get the complete fix for bugid 4945997 (nfsd intermittently chokes with unexpected TLI event), please also install the following patch: 109783-03 (or greater) /usr/lib/nfs/nfsd and /usr/lib/nfs/lockd patch README -- Last modified date: Tuesday, January 24, 2006