Patch-ID# 113026-14
Keywords: dkiocgapart metaset cluster diskset mdf_alloc laphroaig md_trans wan
Synopsis: SunOS 5.9: /kernel/drv/md Patch
Date: Jan/16/2004


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

SunOS Release: 5.9

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for x86 as patch 113994

Topic: SunOS 5.9: /kernel/drv/md Patch

Relevant Architectures: sparc

BugId's fixed with this patch: 1101554 4159866 4259149 4352265 4373671 4409244 4462054 4473583 4508010 4525396 4615383 4615387 4628758 4631270 4632281 4634737 4640578 4643091 4647352 4648067 4653481 4655532 4662172 4665951 4666299 4668224 4668960 4669927 4678627 4680610 4683907 4690701 4690983 4696312 4698878 4701093 4705486 4705513 4710390 4711136 4711969 4714648 4714923 4715369 4715443 4718706 4720138 4721112 4723547 4725693 4733518 4740375 4742084 4744248 4760182 4763631 4772960 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: 113069-04 113276-04 113282-01 113333-02 113491-01 115506-01

Patches which conflict with this patch: 

Patches required with this patch: 112233-09 or greater 113454-01 or greater 113464-06 or greater 114127-01 or greater

Obsoleted by: 

Files included with this patch: 

/kernel/drv/md
/kernel/drv/sparcv9/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
/kernel/misc/sparcv9/md_hotspares
/kernel/misc/sparcv9/md_mirror
/kernel/misc/sparcv9/md_notify
/kernel/misc/sparcv9/md_raid
/kernel/misc/sparcv9/md_sp
/kernel/misc/sparcv9/md_stripe
/kernel/misc/sparcv9/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/adb/sparcv9/md_link
/usr/lib/adb/sparcv9/md_m_shared32
/usr/lib/adb/sparcv9/md_set
/usr/lib/adb/sparcv9/mdc_unit32
/usr/lib/adb/sparcv9/mdi_unit
/usr/lib/adb/sparcv9/mm_unit
/usr/lib/adb/sparcv9/mp_ext
/usr/lib/adb/sparcv9/mp_unit
/usr/lib/adb/sparcv9/mp_unit32
/usr/lib/adb/sparcv9/mr_column
/usr/lib/adb/sparcv9/ms_comp32
/usr/lib/adb/sparcv9/ms_row32
/usr/lib/drv/config_md.so.1 (deleted)
/usr/lib/drv/preen_md.so.1
/usr/lib/libap_dmd.so (deleted)
/usr/lib/libap_dmd.so.1 (deleted)
/usr/lib/libintpos.so (deleted)
/usr/lib/libintpos.so.1 (deleted)
/usr/lib/libmeta.so
/usr/lib/libmeta.so.1
/usr/lib/libssd.so
/usr/lib/libssd.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 113026-13)
 
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 113026-12)
 
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 113026-11)
 
        This patch revision was generated to accumulate and obsolete
        the changes introduced in Solaris Update s9u5 feature point
        patch  115506-01
 
(from 113026-10)
 
4808079 metastat output shows disks as Unavailable and not the maintenance state or flag
 
(from 113026-09)
 
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 113026-08)
 
4647352 BAD TRAP in mdmonitord while running TStrans tests
 
(from 113026-07)
 
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 113026-06)
 
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 113026-05)
 
4690701 One node panics when running scate SDS functional test
4723547 Panic after disk failure on mpxio system
4802281 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 113026-04)
 
4632281 Dirty region bit maps at shutdown can cause long mirror resyncs on next boot
 
(from 113026-03)
 
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 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
 
        This patch revision was generated to accumulate and obsolete
        the changes introduced in Solaris Update: S9U3
        feature point patches: 113781-03
 
(from 113026-02)
 
4662172 System panics in build_rec_hdr_list() when taking ownership of set
 
(from 113026-01)
 
4615383 bad trap in module "md" due to null pointer dereference
 
(from 113069-04)
 
4680610 SVM does not support DKIOCGAPART ioctl() for soft partitions
 
(from 113069-03)
 
4665951 System w/failed drive panics during boot when /etc/rc2.d/S95svm.sync runs.
 
(from 113069-02)
 
4653481 read errors on stripes on a metaset take with softpartitions
 
(from 113069-01)
 
4615387 bad trap - metaset:trap type = 0x31
4683907 metaset release will hang if softpartitions are used and I/O has occured.
 
(from 113282-01)
 
4640578 force removing a host from a metaset leaves clustering confused about diskset
 
(from 113333-02)
 
4710390 metaset cannot be manipulated with lost disks
 
(from 113333-01)
 
4718706 metastat will abort and coredump if a raid 5 volume has a bad drive
 
(from 113491-01)
 
4643091 public net failure blocks metaset release
4525396 rpc.metamedd requires modification
 
(from 113276-04)
 
4772960 Several patches have pkginfo and patchinfo files that fail consistency checking
 
(from 113276-03)
 
4715443 Need to migrate mdnotify event logging to use
4373671 metastat reports nonexistant RAID5 as `Okay'
4714648 RCM/DR Module required for SVM
4462054 make _msg target needs to include rcm modules
4720138 Placeholder bug for MultiTeraByte SVM
4742084 Annoying message after upgrade because of malformed dev_t
 
(from 113276-02)
 
4409244 Performance Degrades When UFS Logging Is Enabled In A SpecSFS 2.0 Benchmark
1101554 Current directory allocation is very poor & locking problem in dirpref().
 
(from 113276-01)
 
4696312 disksuite panics after logging device failure
 
        This patch revision was generated to accumulate and obsolete
        the changes introduced in Solaris Update S9U3 feature
        point patch : 113780-03
 
(from 115506-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:
 
        113464-02 (or newer) header files patch
 
NOTE2:  To get the complete Laphroaig Part I - RCM Module for SVM
        feature, please install the following patches:
 
        113464-02 (or newer) header files patch
 
NOTE3:  To get the complete NCA Multiple Instances feature, please
	install the following patches:
 
        113454-01       (or newer)      ufs
        113456-01       (or newer)      adb modules
        113457-01       (or newer)      ufs headers
        113073-02       (or newer)      ufs_log
 
NOTE4:  To get the complete Laphroaig Part I - RCM Module for SVM
        feature, please install the following patches:
 
        113026-03 (or newer) meta, md and library files patch
        113464-02 (or newer) header files patch
 
NOTE5:  To get the complete WAN-capable network boot/install feature,
        please install the following patches:
 
        115685-01 (or newer) netstrategy patch
        112915-02 (or newer) snoop patch
        114131-02 (or newer) libadm.so.1 patch
        115683-01 (or newer) header files patch
        113457-04 (or newer) ufs_inode.h patch
        113981-03 (or newer) libdevinfo.h patch
        114349-02 (or newer) dhcpagent & libdhcputil.so.1 patch
        112233-09 (or newer) Kernel Update patch

README -- Last modified date:  Friday, January 16, 2004

