Patch-ID# 114733-04 Keywords: security lufs postmark fsperf multiterabyte ufs log Synopsis: SunOS 5.9_x86: kernel/misc/ufs_log Patch Date: Jun/10/2004 Install Requirements: Install in Single User Mode Reboot immediately after patch is installed Solaris Release: 9_x86 SunOS Release: 5.9_x86 Unbundled Product: Unbundled Release: Xref: This patch available for SPARC as patch 113073 Topic: SunOS 5.9_x86: kernel/misc/ufs_log Patch Relevant Architectures: i386 BugId's fixed with this patch: 4138139 4259149 4330959 4336082 4349828 4371826 4456383 4473583 4490164 4614574 4638166 4639871 4676143 4692082 4708464 4721124 4736802 4744248 4754201 4757427 4759341 4762697 4763047 4763631 4767357 4785044 4785875 4794712 4807979 4807983 4815160 4817074 4825181 4829570 4839059 4839900 4852269 4854840 4860789 4865731 4867775 4884138 4889692 4891129 4948494 Changes incorporated in this version: 4349828 4456383 4638166 4639871 4676143 4692082 4767357 4889692 4948494 Patches accumulated and obsoleted by this patch: 113998-05 114563-10 115023-04 115252-02 115511-01 Patches which conflict with this patch: Patches required with this patch: 112234-12 or greater 114419-02 or greater Obsoleted by: Files included with this patch: /kernel/fs/ufs /kernel/misc/ufs_log /usr/include/protocols/dumprestore.h /usr/include/sys/dirent.h /usr/include/sys/filio.h /usr/include/sys/fs/ufs_fs.h /usr/include/sys/fs/ufs_inode.h /usr/include/sys/fs/ufs_log.h /usr/include/sys/fs/ufs_trans.h /usr/lib/adb/ufsvfs /usr/lib/fs/ufs/mkfs /usr/lib/fs/ufs/newfs Problem Description: 4349828 inconsiderate tuning of maxcontig causes scsi bus to hang 4456383 maxcontig range checking in mkfs/newfs is arbitrary and unhelpful. 4639871 logging ufs fails to boot from ATA drive on Ultra-10 if maxphys is too large 4638166 Ultra 5/10 panics with simba and pci errors if logging enabled and maxphys > 1MB 4948494 attribute directories handled incorrectly in matamap for logging debug 4889692 TSufs TestLUFS failure: === 10:49 FAIL: FSYNC size verication, 0 4676143 ufs_log: panic when log is rolled 4692082 ufs: i_flag locking problems 4767357 assertion failed: crb->c_mof == bufmof, file: lufs_map.c, line: 1174 (from 114733-03) 4825181 ufs log async transactions do not reach disk (from 114733-02) 4794712 ufs should support > 1 TB file systems 4807979 edquota doesn't check validity of input value 4807983 adb dquot macro displays limits incorrectly 4785875 contigpref assumes there are 8 frags per block 4817074 quotacheck doesn't work on multi-terabyte UFS file systems 4815160 quota block used count wraps when going beyond 1TB This patch revision was generated to accumulate and obsolete the changes introduced in Solaris Update S9U4 feature point patch : 114829-01 (from 114733-01) 4138139 RFE: need to check and optimize the lufs in core log size 4330959 system panics invalidating quotas when unmounting filesystem (from 113998-05) 4891129 113993-02: newfs needs libefi.so.1 included in 114127-01 (from 113998-04) 4829570 no workaround for creating MTBUFS file systems on VxVM volumes of > 2 TB (from 113998-03) 4839900 newfs command should call setlocale(). (from 113998-02) 4794712 ufs should support > 1 TB file systems Note that at the time of release of this patch x86 systems do not support the 64 bit architecture required for this feature. 4708464 RFE: UFS needs to support EFI disk labels Note that at the time of release of this patch x86 systems do not support EFI disk labels. This patch revision was generated to accumulate and obsolete the changes introduced in Solaris Update S9U4 feature point patch : 114847-01 (from 113998-01) 4721124 mkfs coredumps when fragsize is 8192 on large filesystems (from 114563-10) 4867775 files appear to be sporadically written incorrectly under Sol 9 and later (from 114563-09) 4865731 VOP_READDIR returns uninitialized data on most filesystems 4860789 ufs_readdir copies out uninitialized data to user space (from 114563-08) 4336082 fsync() call on files with no/few dirty pages is very slow 4754201 pvn_vplist_dirty() can get stuck looping forever. 4762697 assertion failed: !IS_VMODSORT(vp) hat_ismod(pp)... file: .. vm/seg_map.c 4785044 mutex_panic: recursive mutex_enter, lp=fec2a9b4 owner=e0d57720 thread=e0d57720 (from 114563-07) 4736802 broken filesystem needs to be marked FSBAD regardless of logging 4854840 Clusternode 3.0 panics in ufs_si_store called from ufs_acl_set 4884138 ufs: noatime and logging can lead to file system corruption (from 114563-06) This patch revision was generated to accumulate and obsolete the changes introduced in Solaris Update s9u5 feature point patch 115252-02. (from 114563-05) 4614574 node hang due to a loop in ufs_idle_q. 4839059 fix for 4614574 causes ufs file systems that can not be unmounted (from 114563-04) 4794712 ufs should support > 1 TB file systems 4815160 quota block used count wraps when going beyond 1TB (from 114563-03) 4371826 copying large files over NFS to (logging) UFS serializes all UFS writes (from 114563-02) 4763047 i_contents/page_lock deadlock when reading directory (from 114563-01) 4490164 read performance dives possibly due to FS cache or VM issue? (from 115252-02) 4852269 NFS O_RDWR writing is very slow from S7-S9 clients to future Solaris NFS servers (from 115252-01) 4759341 the NFS server does an extra bcopy 4757427 the NFS server serializes write requests (from 115023-04) 4884138 ufs: noatime and logging can lead to file system corruption (from 115023-03) This patch revision was generated to accumulate and obsolete the changes introduced in Solaris Update s9u5 feature point patch 115511-01. (from 115023-02) 4614574 node hang due to a loop in ufs_idle_q. 4839059 fix for 4614574 causes ufs file systems that can not be unmounted (from 115023-01) 4794712 ufs should support > 1 TB file systems This patch revision was generated to accumulate and obsolete the changes introduced in Solaris Update S9U4 feature point patch : 114833-01 (from 115511-01) 4259149 WAN-capable network boot/install 4744248 boot argument processing is broken on sparcv9 4763631 boot code could be cleaned up 4473583 boot: 64-bit stat on 32-bit kernels 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: ----------------------------- NOTE 1: To get the complete fix of Multiterabyte UFS feature, please also install the following patches: 114440-02 (or newer) devinfo 114563-04 (or newer) ufs 114733-02 (or newer) ufs_log 115021-01 (or newer) vold 115023-01 (or newer) headers 115025-01 (or newer) dqblk 115027-01 (or newer) ml_odunit 114722-03 (or newer) dump/restore utilities 115029-01 (or newer) quota utilities 115031-01 (or newer) file system identification utilities 115033-01 (or newer) file system maintenance tools 113998-03 (or newer) file system creation utilities 115034-01 (or newer) df 115035-03 (or newer) fsck 115036-01 (or newer) mount NOTE 2: To get the complete fix for this bug 4614574, please also install the following patches: 115023-02 (or newer) ufs_inode.h patch 114563-05 (or newer) ufs patch NOTE 3: To get the complete NFS Database Acceleration feature please also install the following patches: 114232-03 (or newer) rpcmod, nfsd and lockd patch 113987-07 (or newer) nfs patch 112234-09 (or newer) Kernel Update patch 114973-02 (or newer) nfssrv patch 115672-01 (or newer) mntinfo patch NOTE 4: To get the complete fix for the bug 4336082, please also install the following patches: 112234-09 (or newer) Kernel Update patch NOTE 5: To get the complete fix for Atlas support: bugs 4810810, 4865731, 4860183, 4860789, 4785321, 4785304, and 4808811 please also install the following patches: 116050-01 (or newer) fdfs patch bug 4865731 116048-01 (or newer) hsfs patch bug 4865731 114719-02 (or newer) pcfs patch bug 4865731 114563-09 (or newer) ufs patch bug 4865731 and 4860789 113108-01 (or newer) udfs patch bug 4865731 113107-01 (or newer) tmpfs patch bug 4865731 and 4860183 113987-08 (or newer) nfs patch bug 4865731 114240-02 (or newer) cachefs patch bug 4865731 116053-01 (or newer) autofs patch bug 4865731 113109-01 (or newer) xmemfs patch bug 4865731 114432-06 (or newer) libc patch bug 4810810 112234-10 (or newer) Kernel Update bug 4810810, 4785321, 4785304, and 4808811 Note 6: To get the complete WAN-capable network boot/install feature, please install the following patches: 115686-01 (or newer) netstrategy patch 114262-01 (or newer) snoop patch 114421-02 (or newer) libadm.so.1 patch 115684-01 (or newer) header files patch 113999-03 (or newer) libdevinfo.h patch 113994-10 (or newer) meta command files patch 114350-02 (or newer) dhcpagent & libdhcputil.so.1 patch 112234-09 (or newer) Kernel Update patch README -- Last modified date: Thursday, June 10, 2004