Patch-ID# 113026-19 Keywords: dkiocgapart mdf_alloc ipmp svm Synopsis: SunOS 5.9: /kernel/drv/md Patch Date: May/06/2004 Install Requirements: Install in Single User Mode Reconfigure immediately after patch is installed 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 4518313 4518317 4521998 4525396 4615383 4615387 4628758 4631270 4632281 4634737 4640578 4643091 4647352 4648067 4653481 4655532 4661975 4662172 4665951 4666299 4668224 4668960 4669927 4676731 4678627 4680610 4683907 4690701 4690983 4696312 4698878 4701093 4705486 4705513 4710160 4710390 4711136 4711969 4714648 4714923 4715369 4715443 4718706 4719744 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 4871258 4883796 4893952 4917281 4934706 4935923 4936591 4942378 4948693 4954374 5003251 Changes incorporated in this version: 5003251 Patches accumulated and obsoleted by this patch: 113069-04 113276-04 113282-01 113333-02 113464-07 113491-01 115506-01 116128-02 116130-01 116446-02 116448-01 Patches which conflict with this patch: Patches required with this patch: 112233-09 or greater 112233-12 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/config_md.h (deleted) /usr/include/libsvm.h /usr/include/mdiox.h /usr/include/meta.h /usr/include/meta_basic.h /usr/include/metad.h /usr/include/metamed.h /usr/include/sys/lvm/md_convert.h /usr/include/sys/lvm/md_crc.h /usr/include/sys/lvm/md_hotspares.h /usr/include/sys/lvm/md_mddb.h /usr/include/sys/lvm/md_mdiox.h /usr/include/sys/lvm/md_mem.h (deleted) /usr/include/sys/lvm/md_mirror.h /usr/include/sys/lvm/md_mirror_shared.h /usr/include/sys/lvm/md_names.h /usr/include/sys/lvm/md_notify.h /usr/include/sys/lvm/md_raid.h /usr/include/sys/lvm/md_rename.h /usr/include/sys/lvm/md_sp.h /usr/include/sys/lvm/md_stripe.h /usr/include/sys/lvm/md_trans.h /usr/include/sys/lvm/mdio.h /usr/include/sys/lvm/mdvar.h /usr/include/sys/sysevent.h /usr/include/sys/sysevent/domain.h /usr/include/sys/sysevent/env.h /usr/include/sys/sysevent/eventdefs.h /usr/include/sys/sysevent/ipmp.h /usr/include/sys/sysevent/svm.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: 5003251 11302[67] should not require 11346[45] (from 113026-18) 4935923 mdmonitord dumps core with many metadevices 4954374 SVM failfast code is not complete (from 113026-17) 4719744 metastat on particular device shows additionally unrequested device 4934706 node panic's while delete disks from diskset 4942378 rpc.metamedd not responding WARNING even though it is running on the node (from 113026-16) 4917281 Using EFI disks in a diskset has problems. 4936591 raid panic with hs dead and metaset take (from 113026-15) This patch revision was generated to accumulate and obsolete the changes introduced in Solaris Update s9u6 feature point patch 116128-02. (from 113026-14) 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 (from 116128-02) 4893952 jurassic panic'd in kstat_q_panic while panic'ing (from 116128-01) 4518313 Disksuite should use new buf flag B_FAILFAST for submirrors 4518317 SVM should provide faster cluster failover times when updating the mddb's (from 116446-02) 4948693 metaset creation fails and dumps cores (from 116446-01) 4521998 Project Springbank - PSARC 2002/451 - metassist type command (from 113464-07) This patch revision was generated to accumulate and obsolete the changes introduced in Solaris Update s9u6 feature point patches 116130-01 and 116448-01. (from 113464-06) 4159866 Cannot delete a diskset with no existing database (from 113464-05) 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 113464-04) 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 113464-03) 4647352 BAD TRAP in mdmonitord while running TStrans tests (from 113464-02) 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 4710160 Environmental sysevents [PSARC/2002/206] (from 113464-01) 4661975 in.mpathd needs to be dynamically linked 4676731 PSARC/2002/137 IPMP Asynchronous Event Definitions (from 116130-01) 4518313 Disksuite should use new buf flag B_FAILFAST for submirrors (from 116448-01) 4521998 Project Springbank - PSARC 2002/451 - metassist type command 4871258 PSARC/2003/411 SVM auto-take disksets 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 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 NOTE 2: 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 NOTE 3: To get the complete IP Multipathing (IPMP) Async Event feature, please install the following patches: 112914-03 (or newer) in.mpathd 112911-02 (or newer) ifconfig README -- Last modified date: Thursday, May 6, 2004