OBSOLETE Patch-ID# 113318-23

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: nfs auto_mount nfs vpn autofs deadlock nfs_fhbcmp nfssrv mount
Synopsis: Obsoleted by: 113318-24 SunOS 5.9: NFS Patch
Date: Apr/20/2006


Install Requirements: Reconfigure immediately after patch is installed                      
                      Install in Single User Mode                      
                      
Solaris Release: 9

SunOS Release: 5.9

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for x86 as patch 117468

Topic: SunOS 5.9: NFS 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 sparc.sun4u

BugId's fixed with this patch: 4044295 4407669 4427971 4465488 4471199 4519102 4531662 4631449 4658316 4664740 4680195 4683308 4706036 4716413 4725574 4736706 4747261 4757427 4759341 4768760 4774462 4816496 4837285 4837290 4852269 4857986 4865731 4865982 4901380 4903465 4932305 4955962 4960336 4976875 4987169 5002826 5011676 5016808 5070448 5082540 5083133 5105010 6224764 6262249 6277307

Changes incorporated in this version: 4706036 6262249

Patches accumulated and obsoleted by this patch: 112955-04 113222-06 115249-01 115253-02 117175-02

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch: 

/etc/fs/nfs/mount
/kernel/fs/autofs
/kernel/fs/nfs
/kernel/fs/sparcv9/autofs
/kernel/fs/sparcv9/nfs
/kernel/misc/nfssrv
/kernel/misc/rpcsec
/kernel/misc/rpcsec_gss
/kernel/misc/sparcv9/nfssrv
/kernel/misc/sparcv9/rpcsec
/kernel/misc/sparcv9/rpcsec_gss
/kernel/sys/nfs
/kernel/sys/sparcv9/nfs
/usr/include/nfs/nfs.h
/usr/include/nfs/nfs_clnt.h
/usr/include/nfs/rnode.h
/usr/lib/autofs/automountd
/usr/lib/fs/nfs/mount
/usr/lib/fs/nfs/share

Problem Description:

4706036 rename over nfs is slow and cpu intensive
6262249 Negative filehandle length can cause nfs3_mount system call to panic
 
(from 113318-22)
 
4955962 Bug in handling NFS operations on STALE files
6224764 Sol 9 df -k fails over NFS lofs w/ df: cannot canonicalize .: No such file or directory
 
(from 113318-21)
 
6277307 S9 x86 patch 117176-02 breaks NFS
 
(from 113318-20)
 
5105010 VOP_PATHCONF incorrectly calculates maxfilesize, causing problems for cachefs
 
(from 113318-19)
 
This patch is a respin of the previous revision. This includes dependencies not
addressed in the prior patch.
 
(from 113318-18)
 
4837290 VPN clients using non-static IPs do not have a fully qualified host principal name
 
(from 113318-17)
 
4960336 NFS mmap(2) does not have consistent behavior to local FSs with DirectIO
 
(from 113318-16)
 
5002826 cthon04: nfsv2 client fails to mount from redhat server
 
(from 113318-15)
 
4976875 under some circumstances using ln and mv file vanished
 
(from 113318-14)
 
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 113318-13)
 
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 113318-12)
 
4903465 advancing mtime triggers looping calls to nfs_purge_caches()
 
(from 113318-11)
 
4865982 find command is much slower in Solaris 9 than Solaris 8
 
(from 113318-10)
 
4736706 Crash dump due to NULL pointer dereference in module NFS
 
(from 113318-09)
 
4865731 VOP_READDIR returns uninitialized data on most filesystems
 
(from 113318-08)
 
        This patch revision accumulates/obsoletes Solaris Update s9u5
        feature point patch 115249-01.
 
(from 113318-07)
 
4407669 spurious cache invalidation on large writes
 
(from 113318-06)
 
4768760 automountd hangs if NFS threads receive NFS3ERR_JUKEBOX
 
(from 113318-05)
 
4774462 Improve NFS access cache lock(nfs_acache_lock) performance
 
(from 113318-04)
 
4816496 mmap() fails for file with an advisory lock on entire file.
 
(from 113318-03)
 
4680195 Panic/race condition in destroy_rtable()
 
(from 113318-02)
 
4044295 NFS hang waiting for locked page
4465488 ps/prgetpsinfo32 hangs if NFS server doesn't respond
4725574 Locking succeeded when the file is mapped
4664740 NFS extremely slow on SunBlade 1000s and 2000s
 
(from 113318-01)
 
4427971 mnttab corruption when using direct automount still shows up with patch 110700 .
4658316 need to revamp the fix for bugid 4356440 to work with other operating systems
 
(from 115249-01)
 
4519102 Direct I/O should allow concurrent writes
4747261 NFSv3 transfer sizes need to be increased
4757427 the NFS server serializes write requests
 
(from 112955-04)
 
4837290 VPN clients using non-static IPs do not have a fully qualified host principal name
4837285 HA-NFS under SunCluster and Kerberos must inter-operate
 
(from 112955-03)
 
5070448 stack overflow in autofs thread, stack size is not configurable
 
(from 112955-02)
 
4865731 VOP_READDIR returns uninitialized data on most filesystems
 
(from 112955-01)
 
4471199 autofs deadlock when a thread was allowed to stop() while holding mutex
4631449 race condition in autofs: between auto_perform_link and auto_search
 
(from 113222-06)
 
4837285 HA-NFS under SunCluster and Kerberos must inter-operate
5083133 nfssrv module fills up /var after nfslogd failed to process buffer file
 
(from 113222-05)
 
5011676 nfssrv: undefined symbol 'rfs3_tsize' after installing patch 113222-04
 
(from 113222-04)
 
        This patch revision accumulates/obsoletes Solaris Update s9u5
        feature point patch 115253-02
 
(from 113222-03)
 
4716413 rfs3_symlink() does not check for symlink_data == nfs3nametoolong
 
(from 113222-02)
 
4683308 strange deadlock involving threads doing nfslog_records_flush_to_disk.
 
(from 113222-01)
 
4531662 Bad trap mmu miss in nfs_fhbcmp
4658316 need to revamp the fix for bugid 4356440 to work with other operating systems
 
(from 115253-02)
 
4852269 NFS O_RDWR writing is very slow from S7-S9 clients to Solaris 10 NFS servers
 
(from 115253-01)
 
4759341 the NFS server does an extra bcopy
4757427 the NFS server serializes write requests
4747261 NFSv3 transfer sizes need to be increased
 
(from 117175-02)
 
4837290 VPN clients using non-static IPs do not have a fully qualified host principal name
 
(from 117175-01)
 
4901380 Forked NFS mount process uses stderr but has none.

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.
Reboot the system immediately after patch installation.
 
NOTE 1: To get the complete fix for bug 4664740 (NFS extremely slow on
        SunBlade 1000s and 2000s), please also install the following
        patches on your system:
 
        112233-04 (or greater) Kernel Update patch
        113973-01 (or greater) adb patch
 
NOTE 2: To get the complete NFS Database Acceleration feature. please
        also install the following patches:
 
        113278-02 (or greater) rpcmod, nfsd and lockd patch
        113454-10 (or greater) ufs patch
        112233-09 (or greater) Kernel Update patch
        115671-01 (or greater) mntinfo patch
 
NOTE 3: To get the complete fix for Atlas support: bugs 4810810, 4865731,
        4860183, 4860789, 4785321, 4785304, and 4808811 please also install
        the following patches:
 
        116049-01 (or greater) fdfs      bug 4865731
        116047-01 (or greater) hsfs      bug 4865731
        114718-02 (or greater) pcfs      bug 4865731
        113454-13 (or greater) ufs       bug 4865731 and 4860789
        113334-03 (or greater) udfs      bug 4865731
        113328-02 (or greater) tmpfs     bug 4865731 and 4860183
        112971-05 (or greater) cachefs   bug 4865731
        112874-19 (or greater) libc      bug 4810810
        112233-10 (or greater) kernel    bugs 4810810, 4785321, 4785304, 4808811
 
NOTE 4: Please also note that in order to debug the rnode correctly,
        the recompiled kadb needs to be applied to your system.
        This module is contained in patch 112233-04 (or greater).

README -- Last modified date:  Thursday, April 20, 2006

