Patch-ID# 113994-13
Keywords: svm dkiocgapart ioctl md_sp metaset diskset wan install
Synopsis: SunOS 5.9_x86: md Patch
Date: Jan/21/2004


Install Requirements: Install in Single User Mode                      
                      Reboot after installation                      
                      
Solaris Release: 9_x86

SunOS Release: 5.9_x86

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for SPARC as patch 113069

Topic: SunOS 5.9_x86: md Patch

Relevant Architectures: i386

BugId's fixed with this patch: 4159866 4259149 4352265 4373671 4462054 4473583 4508010 4628758 4631270 4632281 4634737 4647352 4648067 4655532 4666299 4668224 4668960 4669927 4678627 4680610 4690701 4690983 4698878 4701093 4705486 4705513 4710390 4711136 4711969 4714648 4714923 4715369 4715443 4720138 4721112 4723547 4725693 4733518 4740375 4744248 4760182 4763631 4774716 4780601 4796430 4802281 4808079 4808489 4814438 4816898 4816970 4826191 4829703 4830061 4834259 4835153 4839268 4854233 4854410 4866715 4883796

Changes incorporated in this version: 4835153 4866715

Patches accumulated and obsoleted by this patch: 113997-01 114080-01 114425-01 115507-01

Patches which conflict with this patch: 

Patches required with this patch: 112234-09 or greater 114419-02 or greater 114426-05 or greater

Obsoleted by: 

Files included with this patch: 

/kernel/drv/md
/kernel/misc/md_hotspares
/kernel/misc/md_mirror
/kernel/misc/md_notify
/kernel/misc/md_raid
/kernel/misc/md_sp
/kernel/misc/md_stripe
/kernel/misc/md_trans
/sbin/metadb
/sbin/metadevadm
/sbin/metainit
/sbin/metarecover
/sbin/metastat
/usr/include/sys/lvm/md_mirror.h
/usr/lib/adb/md_link
/usr/lib/adb/md_m_shared
/usr/lib/adb/md_m_shared32
/usr/lib/adb/md_set
/usr/lib/adb/mdc_unit
/usr/lib/adb/mdc_unit32
/usr/lib/adb/mdi_unit
/usr/lib/adb/mm_unit
/usr/lib/adb/mm_unit32
/usr/lib/adb/mp_ext
/usr/lib/adb/mp_unit
/usr/lib/adb/mp_unit32
/usr/lib/adb/mr_column
/usr/lib/adb/mr_column32
/usr/lib/adb/mr_unit
/usr/lib/adb/ms_comp32
/usr/lib/adb/ms_row
/usr/lib/adb/ms_row32
/usr/lib/adb/ms_unit
/usr/lib/adb/ms_unit32
/usr/lib/adb/mt_unit32
/usr/lib/drv/config_md.so.1 (deleted)
/usr/lib/drv/preen_md.so.1
/usr/lib/libmeta.so
/usr/lib/libmeta.so.1
/usr/sbin/mdmonitord
/usr/sbin/medstat
/usr/sbin/metaclear
/usr/sbin/metadb
/usr/sbin/metadetach
/usr/sbin/metadevadm
/usr/sbin/metahs
/usr/sbin/metainit
/usr/sbin/metaoffline
/usr/sbin/metaonline
/usr/sbin/metaparam
/usr/sbin/metarecover
/usr/sbin/metarename
/usr/sbin/metareplace
/usr/sbin/metaroot
/usr/sbin/metaset
/usr/sbin/metastat
/usr/sbin/metasync
/usr/sbin/metattach
/usr/sbin/rpc.metad
/usr/sbin/rpc.metamedd
/usr/sbin/rpc.metamhd
/usr/snadm/lib/libsvm.so
/usr/snadm/lib/libsvm.so.1

Problem Description:

4835153 SVM needs to support DKIOCPARTITION ioctl
4866715 Unable to perform metattach with active ufs snapshots
 
(from 113994-12)
 
4159866 Cannot delete a diskset with no existing database
4760182 metaroot -c -k -v vs /kernel/drv/md.cf
4816898 metaroot fails if root is net mounted
4826191 invalid slice number for drive name
 
(from 113994-11)
 
4829703 cannot manipulate disks in a diskset when there is a dead disk
4839268 BAD TRAP in mdmonitord while running test user_multisrc_4_02 on Sun-Fire-880
4883796 md_notify module allows itself to be unloaded prematurely
4854410 Mdmonitord can panic if mirror or raid resync in progress
4854233 Lock ordering problem in mddb can cause deadlock
 
(from 113994-10)
 
        This patch revision was generated to accumulate and obsolete
        the changes introduced in Solaris Update s9u5 feature point
        patch 115507-01.
 
(from 113994-09)
 
4808079 metastat output shows disks as Unavailable and not the maintenance state or flag
 
(from 113994-08)
 
4628758 metainit -a creates overlapping soft partitions
4830061 metattach should fail with filesystem mounted on component of mirror
4834259 metaroot command should relax device validity checks if -k, -v and -c are used
 
(from 113994-07)
 
4647352 BAD TRAP in mdmonitord while running TStrans tests
 
(from 113994-06)
 
4352265 get rid of mdf_alloc
4721112 fi_wakeup_flg is redundant
4796430 kmem should provide non-thread-based dispensation to use pageout_reserve
4816970 md_trans:trans_error() reference to free memory
 
(from 113994-05)
 
4711136 Can't add disk to metaset if its DID has the same name as an existing metadevice
4808489 metaname_common needs to check on component type
 
(from 113994-04)
 
4690701 One node panics when running scate SDS functional test
4723547 Panic after disk failure on mpxio system
4802281 s10_25 crash dump fails on SVM mirrored swap
4814438 kernel/drv/md patch for both Sparc and X86 do not list dependent patch in README
 
(from 113994-03)
 
4632281 Dirty region bit maps at shutdown can cause long mirror resyncs on next boot
 
(from 113994-02)
 
        This patch revision was generated to accumulate and obsolete
        the changes introduced in Solaris Update: S9U3
        feature point patches: 114080-01
 
(from 113994-01)
 
4680610 SVM does not support DKIOCGAPART ioctl() for soft partitions
 
(from 113997-01)
 
4710390 metaset cannot be manipulated with lost disks
 
(from 114080-01)
 
4715443 Need to migrate mdnotify event logging to use
4373671 metastat reports nonexistent RAID5 as `Okay'
4714648 RCM/DR Module required for SVM
4462054 make _msg target needs to include rcm modules
4720138 Placeholder bug for PSARC/2001/311 MultiTeraByte SVM
4701093 Truncated field name in metastat output when concat/stripe built on SP
4711969 fmthard -n fails for softpartitions
4725693 libap and libintpos are unused and should be removed
4508010 metastat shows negative numbers/SVM/Beta 9
4698878 metastat displays corrupted output string for Concatenated devices
4678627 metadetach should not automatically resize the mirrors.
4715369 Assertion fails on debug kernel when removing raid on more than 10 softparts
4705513 md:free_dtree() panic: kernel heap corruption detected
4668960 Creation of filesystem on a metadevice, with soft-partition-mounts, should fail
4666299 libsvm must be made more robust
4690983 kadb macros needs for md_set, mdi_unit, etc.
4668224 delete libconfig
4631270 metaroot allows multi-way mirrors as a root device
4634737 metaroot command does not validate argument to -c command
4669927 metaroot: Segmentation Fault
4648067 md driver getinfo(9E) does not correctly support DDI_INFO_DEVT2INSTANCE
4655532 md's init/fini attach/detach not robust
4705486 use of strcpy() in metaset could cause buffer overflow
4714923 System hangs as threads block in page_lock()
4740375 Metadb corruption after state change of stripe meta devices
4733518 deadlock in RAID running dioarr test
4774716 metaroot returns "No such file or directory"
4780601 gavulin patch for S9U3 build 2 is incomplete
 
(from 114425-01)
 
4715443 Need to migrate mdnotify event logging to use
4373671 metastat reports nonexistent RAID5 as `Okay'
4714648 RCM/DR Module required for SVM
4462054 make _msg target needs to include rcm modules
4720138 Placeholder bug for PSARC/2001/311 MultiTeraByte SVM
 
(from 115507-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:
-----------------------------
 
NOTE1:  To get the complete Lagavulin - MultiTeraByte SVM feature,
        please install the following patches:
 
        113994-02 (or newer) meta, md and lib files patch
        114426-01 (or newer) header files patch
 
NOTE2:  To get the complete Laphroaig Part I - RCM Module for SVM
        feature, please install the following patches:
 
        113994-02 (or newer) meta, md and lib files patch
        114426-01 (or newer) header files patch
 
NOTE 3: 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
        115023-03 (or newer) ufs_inode.h patch
        113999-03 (or newer) libdevinfo.h patch
        114350-02 (or newer) dhcpagent & libdhcputil.so.1 patch
        112234-09 (or newer) Kernel Update patch

README -- Last modified date:  Wednesday, January 21, 2004

