Patch-ID# 114733-13
Keywords: security lufs postmark fsperf multiterabyte ufs log fsck boot.bin
Synopsis: SunOS 5.9_x86: ufs and fsck Patch
Date: Oct/05/2004


Install Requirements: Install in Single User Mode                      
                      Reboot immediately after patch is installed                      
                      See Special Install Instructions                      
                      
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: ufs and fsck Patch

Relevant Architectures: i386

BugId's fixed with this patch: 4138139 4259149 4330959 4336082 4349828 4353832 4371826 4456383 4473583 4490164 4520944 4614574 4632750 4638166 4639871 4647351 4648917 4676143 4692082 4706477 4708464 4721124 4723351 4736802 4744248 4754201 4757140 4757427 4759341 4762697 4763047 4763631 4767357 4770487 4783931 4785044 4785875 4794712 4796134 4797967 4803148 4807979 4807983 4815160 4817074 4825181 4829570 4839059 4839900 4844927 4851366 4852269 4854408 4854840 4860789 4865731 4866439 4866453 4867775 4878873 4884138 4889619 4889692 4891129 4948494 4957434 4964867 4998030 4998625 5003760 5004305 5009586 5015366 5016684 5028438 5030655 5040128 5040306 5057056

Changes incorporated in this version: 5003760

Patches accumulated and obsoleted by this patch: 113998-05 114563-10 115023-04 115033-01 115035-03 115252-02 115511-01 116563-04

Patches which conflict with this patch: 

Patches required with this patch: 112234-12 or greater 114419-02 or greater 117172-01 or greater

Obsoleted by: 

Files included with this patch: 

/boot/solaris/boot.bin
/kernel/fs/ufs
/kernel/misc/ufs_log (deleted)
/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/fs
/usr/lib/adb/ufsvfs
/usr/lib/fs/ufs/clri
/usr/lib/fs/ufs/dcopy
/usr/lib/fs/ufs/ff
/usr/lib/fs/ufs/fsck
/usr/lib/fs/ufs/fsdb
/usr/lib/fs/ufs/fsirand
/usr/lib/fs/ufs/labelit
/usr/lib/fs/ufs/mkfs
/usr/lib/fs/ufs/ncheck
/usr/lib/fs/ufs/newfs
/usr/lib/fs/ufs/tunefs
/usr/lib/fs/ufs/volcopy

Problem Description:

5003760 setquota() does NOT update the dquot when it is on the cache list.
 
(from 114733-12)
 
4723351 ufs: file link count is 0
4353832 fsck gives up too easily
 
(from 114733-11)
 
4757140 file pages can become unusable
4998030 umount doesn't complete due to infinite loop in ufs_idle_drain
5004305 UFS bmap functions may determine level of indirection incorrectly
 
(from 114733-10)
 
5057056 patch 116563-04 causes data corruption on LX50
 
(from 114733-09)
 
5030655 TSufs panic - BAD TRAP: type=e ... addr=0 occurred in module "ufs" ...
5040128 An upgrade from < s9u7 b5 to s9u7 b5 (or BFU) with old newfs'd filesystem
            will panic system in ufs_getsummaryinfo
 
(from 114733-08)
 
4648917 certain TOP-level VOP's are not recognized by the lockfs protocol
4797967 panic in top_begin_sync() during/after umounting
 
(from 114733-07)
 
4851366 While running TSufs: assertion failed: mismatch_ok    dqp == expect_dq, ...
4998625 opendq/setquota_scan_inode() does not exclude extended attribute directory
5009586 assertion failed: dqp == NULL, file: ../../common/fs/ufs/quota_ufs.c, line: 151
5016684 panic: free: freeing free frag, dev:0x2000000018, blk:34605, cg:26, ino:148071,
5040306 UNIX98 *VSC* 133 new failures
 
(from 114733-06)
 
Respin to include missing binary
 
(from 114733-05)
 
4770487 boot failure because /kernel/fs/ufs accesses root without logging support
4706477 ufs logging: too few log_sync_tq task queues
4878873 Add new ufs ioctls to support TSufs
4866439 lufs: fs_rolled doesn't reflect reality
4647351 UFS flushing during boot induces significant refaulting
4783931 fsck doesn't flush the kernel internal state when changing mounted fs
4796134 Default ufs logging: scary warning & forced fsck with separate /usr
4854408 ufs: fsck: Confusing "Can't roll log" error with garbage super block
4866453 Part 2: UFS flushing during boot induces significant refaulting
4957434 ufs log logscan failed with deflog ufs/ufs_log merged module
4803148 ufs has issues reading its own directories
4889619 Unreferenced files seen by fsck on a cleanly unmounted filesystem
 
(from 114733-04)
 
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 verification, 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
 
(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.
 
(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
 
(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
 
(from 115033-01)
 
4794712 ufs should support > 1 TB file systems
 
(from 115035-03)
 
4844927 fsck: bad inode number 0 to ginode
 
(from 115035-02)
 
4632750 fsck_ufs fails to detect directories with holes
 
(from 115035-01)
 
4794712 ufs should support > 1 TB file systems
 
(from 116563-04)
 
4964867 boot.bin: boot panic requires console presence for reboot
 
(from 116563-03)
 
5028438 lufsboot - 8Mb boot buffer may be leaked with root on logging ufs
 
(from 116563-02)
 
Respin to include dependency on 114733-06 (or newer)
 
(from 116563-01)
 
4520944 ufsboot should properly handle a logging root filesystem with non-clear log
5015366 boot copies garbage into the upper 32 bits of addr/size fields of memlists

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
        115021-01 (or newer) vold
        115025-01 (or newer) dqblk
        115027-01 (or newer) ml_odunit
        114722-02 (or newer) dump/restore utilities
        115029-01 (or newer) quota utilities
        115031-01 (or newer) file system identification utilities
        115034-01 (or newer) df
        115036-01 (or newer) mount
 
NOTE 2: 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
        114973-02 (or newer) nfssrv patch
        115672-01 (or newer) 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:
 
        116050-01 (or newer) fdfs      bug 4865731
        116048-01 (or newer) hsfs      bug 4865731
        114719-02 (or newer) pcfs      bug 4865731
        113108-01 (or newer) udfs      bug 4865731
        113107-01 (or newer) tmpfs     bug 4865731 and 4860183
        113987-08 (or newer) nfs       bug 4865731
        114240-02 (or newer) cachefs   bug 4865731
        116053-01 (or newer) autofs    bug 4865731
        113109-01 (or newer) xmemfs    bug 4865731
        114432-06 (or newer) libc      bug 4810810
 
NOTE 4: To get the complete WAN-capable network boot/install feature,
        please also 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

README -- Last modified date:  Tuesday, October 5, 2004

