OBSOLETE Patch-ID# 116950-15


Download this patch from My Oracle Support

Your use of the firmware, software and any other materials contained in this update is subject to My Oracle Support Terms of Use, which may be viewed at My Oracle Support.
For further information on patching best practices and resources, please see the following links:
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.

Keywords: security ufs directories ufs_dirlook() dirblksiz quota panic umount
Synopsis: Obsoleted by: 117350-53 SunOS 5.8: ufs patch
Date: Nov/09/2007


Install Requirements: After installing this patch on an active boot environment, the system will be in a potentially inconsistent state until a reboot is performed. Unless
otherwise specified in the Special Install Instructions below, it is normally safe to apply further patches prior to initiating the reboot due to the relatively small footprint of the patch utilities. Normal operations must not be resumed until after the reboot is performed.
Use Single User Mode (run level S) when installing this patch on an active boot environment. An alternative may be specified in the Special Install Instructions.

Solaris Release: 8

SunOS Release: 5.8

Unbundled Product:

Unbundled Release:

Xref: This patch available for x86 as patch 116951

Topic: SunOS 5.8: ufs 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

Bugs fixed with this patch:

Sun CR # Bug #
431695215016684
432436115019744
435383215032078
436853515037422
458761715090256
464891715099457
465274615100282
472335115117044
475714015126720
480314815141426
489436115168898
493603015180730
494249215182277
495989915187075
499803015197647
500376015198422
500430515198574
502421715204147
504448615210442
510680315229092
620533715239924
620889615241209
635058715297996


Changes incorporated in this version: 4587617 5044486

Patches accumulated and obsoleted by this patch:

Patches which conflict with this patch:

Patches required with this patch: 108528-29 108993-67 110910-03 117000-05 117350-33 (or greater)

Obsoleted by: 117350-53

Files included with this patch:

/kernel/fs/sparcv9/ufs
/kernel/fs/ufs
/usr/lib/fs/ufs/quota

Problem Description:

4587617 system deadlocks on using a snapshot of a logging enabled UFS fs
5044486 deadlock between log roll thread and snapshot taskq thread
 
(from 116950-14)
 
        This patch revision addresses issues caused by bugfix 6384114 which was
        introduced in rev13.
 
(from 116950-13)
 
4959899 UFS: ufs_iinactive incorrectly places inodes on the idle queue
        (removed) 6384114 S8 ufs: vfs_rename_lock should serialize mkdir as well
        as rename
 
(from 116950-12)
 
4652746 race between ufs forced umount and the ufs idle thread
 
(from 116950-11)
 
4894361 UFS panics with "Deadlock: cycle in blocking chain"
 
(from 116950-10)
 
4316952 ufs_fault_v should not attempt to queue more then 1 handler for a
        failure event
6350587 threads blocked in cv_wait_sig after a "forced" unmount on error never
        woken up
 
(from 116950-09)
 
6208896 ufs_dirlook panics with BAD TRAP on bogus fbp->fb_addr
 
(from 116950-08)
 
4324361 onerror=umount on shared file systems will panic system soon after error
4942492 ufs_vget() forcibly umount check broken
 
(from 116950-07)
 
5106803 deadlock panic between ufs_thread_reclaim and lufs_disable
6205337 executing quotaoff on live FS panics the system
 
(from 116950-06)
 
4368535 logging UFS asked to umount a bad disk then panicked when unmounted
 
(from 116950-05)
 
4936030 incorrect lock-ordering in ufs_setsecattr() causes deadlock with UFS logging
 
(from 116950-04)
 
4723351 UFS: file link count is 0
4353832 fsck gives up too easily
5003760 setquota() does NOT update the dquot when it is on the cache list
5024217 quotactl() in quota(1M) gives up on first filesystem with no 'quotas' file
 
(from 116950-03)
 
4998030 umount doesn't complete due to infinite loop in ufs_idle_drain
5004305 UFS bmap functions may determine level of indirection incorrectly
 
(from 116950-02)
 
4648917 certain TOP-level VOP's are not recognized by the lockfs protocol
4757140 file pages can become unusable
 
(from 116950-01)
 
4803148 UFS has issues reading its own directories


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 system immediately after patch installation.
 
NOTE 2:  To get the complete fix for bugID 5106803 (deadlock panic between
         ufs_thread_reclaim and lufs_disable), please also install the
         following patch:
 
         116953-03 (or greater)  ufs_log patch
 
NOTE 3:  To get the complete fix for bugID 4587617 (system deadlocks on
         using a snapshot of a logging enabled UFS fs) and 5044486 (deadlock
         between log roll thread and snapshot taskq thread), please also
         install the following patches:
 
         116953-04 (or greater)  ufs_log patch
         110382-08 (or greater)  ufssnapshots support, fssnap patch


README -- Last modified date: Saturday, November 10, 2012