Patch-ID# 113994-27
Keywords: security ioctl svm metassist rcm svm dr libmeta
Synopsis: SunOS 5.9_x86: md Patch
Date: Nov/15/2004


Install Requirements: Install in Single User Mode                      
                      Reconfigure immediately after patch is installed                      
                      
Solaris Release: 9_x86

SunOS Release: 5.9_x86

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for sparc as patch 113026

Topic: SunOS 5.9_x86: md Patch

Relevant Architectures: i386

BugId's fixed with this patch: 4159866 4259149 4352265 4373671 4380147 4462054 4473583 4508010 4518313 4518317 4521998 4628758 4631270 4632281 4634737 4647352 4648067 4655532 4666299 4668224 4668960 4669927 4678627 4680610 4690701 4690983 4698878 4701093 4705486 4705513 4710390 4711136 4711969 4712873 4714648 4714923 4715369 4715443 4719744 4720138 4721112 4723547 4725693 4728078 4733518 4740375 4744248 4760182 4763631 4768557 4774716 4780601 4796430 4802281 4808079 4808489 4813460 4814438 4816898 4816970 4820916 4822189 4826191 4829703 4830061 4834259 4835153 4839268 4840737 4854233 4854410 4866715 4871258 4883796 4883904 4884359 4886687 4888423 4893952 4908210 4910467 4915431 4917281 4933271 4934391 4934706 4935923 4936591 4942378 4948693 4954374 4963065 4964390 4971146 4975541 4981298 5001778 5003251 5007951 5007980 5009684 5009733 5011522 5011799 5011839 5012030 5012606 5012815 5013142 5013143 5013146 5013148 5013166 5013167 5013172 5014316 5014558 5016028 5016531 5018631 5021214 5022111 5024116 5026788 5026796 5026803 5028147 5030217 5031644 5033523 5035160 5037602 5038605 5040057 5040154 5041157 5046091 5046783 5048347 5048915 5061410 5068997 5070511 5071059 5071901 5072849 5073727 5080292 5085032 5089909 5097853

Changes incorporated in this version: 5089909

Patches accumulated and obsoleted by this patch: 113997-01 114080-01 114425-01 114426-06 115507-01 115560-01 116129-02 116131-01 116447-02 116449-01 116551-01 117070-01 117249-02

Patches which conflict with this patch: 

Patches required with this patch: 112234-09 or greater 114419-04 or greater

Obsoleted by: 

Files included with this patch: 

/etc/inet/inetd.conf
/etc/init.d/svm.sync
/etc/rc0.d/K34svm.sync
/etc/rc1.d/K34svm.sync
/etc/rc2.d/S95svm.sync
/etc/rcS.d/K34svm.sync
/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/libsvm.h
/usr/include/mdiox.h
/usr/include/mdmn_changelog.h
/usr/include/meta.h
/usr/include/meta_basic.h
/usr/include/metad.h
/usr/include/metamed.h
/usr/include/sys/lvm/md_basic.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/mdmed.h
/usr/include/sys/lvm/mdmn_commd.h
/usr/include/sys/lvm/mdvar.h
/usr/include/sys/sysevent/domain.h
/usr/include/sys/sysevent/env.h
/usr/include/sys/sysevent/eventdefs.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/drv/config_md.so.1 (deleted)
/usr/lib/drv/preen_md.so.1
/usr/lib/libdevid.so.1
/usr/lib/libmeta.so
/usr/lib/libmeta.so.1
/usr/lib/lvm/mddoors
/usr/lib/lvm/metaclust
/usr/lib/rcm/modules/SUNW_svm_rcm.so
/usr/sbin/mdmonitord
/usr/sbin/medstat
/usr/sbin/metaclear
/usr/sbin/metadb
/usr/sbin/metadetach
/usr/sbin/metadevadm
/usr/sbin/metahs
/usr/sbin/metaimport
/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/metassist
/usr/sbin/metastat
/usr/sbin/metasync
/usr/sbin/metattach
/usr/sbin/rpc.mdcommd
/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:

5089909 all meta commands will core dump
 
(from 113994-26)
 
4886687 boot panic if <=50% MDBs and root mirror hot swaps to unavailable hot spare
4981298 domain panic during concurrent SVM and DR operations
5071059 SVM panic when performing metareplace
5068997 Panic in md_layered_close due to NODEV being passed in
5073727 assertion failed: this_dev != NODEV64
 
(from 113994-25)
 
4915431 svm should stop talking trash
5097853 svm s9 patches missing SUNW_svm_rcm.so
 
(from 113994-24)
 
5048347 Panic when concurrently running cluster reconfig cycle and metadetach
5048915 Console message preceding forced panic from rpc.mdcommd missing
5061410 Mirror stuck in "Needs maintenance" when it should be resyncing
5070511 Panic during the Cycle2 automated test 2.1.1.
5071901 metaoffline for a mirror with a soft part in ABR mode will cause data corruption
5072849 race between metaclear and hotspares causes the machine to panic
5080292 Using metattach to grow a mirror does not work on a multi-owner disk set
5085032 bool_t return type missing from xdr_ushort_t, xdr_dev_t in meta_basic.x
 
(from 113994-23)
 
4380147 metaset takeover under mediator takes too long...
 
(from 113994-22)
 
5046091 cluster node panicked with 'ksend_message failure: RESYNC_FINISH'
5046783 kernel panic with incorrectly formed probe request.
 
(from 113994-21)
 
5009684 metaclear -af does not work when node added or deleted after config
5009733 state of ABR soft partition  and mirror not consistent in an Oban diskset
5011839 When nodes return inconsistent results the master node should panic
5012815 MN diskset must support node id greater than 7
5013142 Two dds to failed MN mirror causes components to be left in open state
5013146 MN diskset debug kernel has annoying console messages for alloc hotspare
5013166 MN diskset metaset join and withdraw commands should block all signals
5013167 MN diskset resync stuck at 0% after reboot and reconfig of all nodes
5014316 metastat will display incorrect component state if FAILFAST retry in progress
5016028 Resync does not resume correctly after a reconfig cycle (reconfig -r)
5021214 Deadlock when clearing a sp on a mirror with failed component
5024116 metareplace fails saying resync in progress
5026788 Reconfig cycle step2 always suspends I/O even when no change of master
5026796 Slave node should panic instead of hang when it loses storage connectivity
5026803 with mediator setup rpc.metad: Warning: set locked when lock_set called!
5028147 ASSERTion failure during component resync
5030217 Following a master node panic, the new master hangs during reconfig
5031644 Component resync may not resync the last short block
5033523 MN diskset needs to do more cleanup after failed join with no mddbs
5035160 After reconfig cycle, resyncs are started without need, hotspares are
5037602 MN diskset metaclear -af does not work when node added or deleted
5038605 Component resync may not be performed when ownership is changed
5040057 Resync not performed following cluster reconfig
5040154 deadlocks in md_unit reader/write locks during stress tests
5041157 panics when doing Takes
 
(from 113994-20)
 
4712873 metaset needs -L (label) flag to force relabeling of disk on add to set
4975541 metassist: change in libdiskmgt (4948299) causes failure
4971146 metassist can't find emulated disks on test system
5001778 metadevadm does not return the correct error codes.
5013148 BAD TRAP panic at md:md_getdevidminor during reboot
 
(from 113994-19)
 
       This revision accumulates Solaris Update s9u7 feature point 
       patch 117249-02.
 
(from 113994-18)
 
4888423 Revision in EFI Partition Table Header should be 1.00, not 1.02
 
(from 113994-17)
 
5003251 11302[67] should not require 11346[45]
 
(from 113994-16)
 
4719744 metastat on particular device shows additionally unrequested device
4934706 node panics while delete disks from diskset
4942378 rpc.metamedd not responding WARNING even though it is running on the node
4935923 mdmonitord dumps core with many metadevices
4936591 raid panic with hs dead and metaset take
4954374 SVM failfast code is not complete
 
(from 113994-15)
 
4917281 Using EFI disks in a diskset has problems.
 
(from 113994-14)
 
        This revision accumulates Solaris Update s9u6 feature point
        patches 116129-02 and 116447-02.
 
(from 113994-13)
 
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 revision accumulates 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 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 revision accumulates Solaris Update S9U3 feature point 
        patch 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 soft partitions
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
 
(from 116129-02)
 
4893952 jurassic panic'd in kstat_q_panic while panic'ing when running s10_37
 
(from 116129-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 116447-02)
 
4948693 metaset creation fails and dumps cores
 
(from 116447-01)
 
4521998 Project Springbank - PSARC 2002/451 - metassist type command
 
(from 114426-06)
 
        This revision accumulates Solaris Update s9u6 feature point
        patches 116131-01 and 116449-01.
 
(from 114426-05)
 
4159866 Cannot delete a diskset with no existing database
 
(from 114426-04)
 
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 114426-03)
 
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 114426-02)
 
4647352 BAD TRAP in mdmonitord while running TStrans tests
 
(from 114426-01)
 
4715443 Need to migrate mdnotify event logging
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 116131-01)
 
4518313 Disksuite should use new buf flag B_FAILFAST for submirrors
 
(from 116449-01)
 
4521998 Project Springbank - PSARC 2002/451 - metassist type command
4871258 PSARC/2003/411 SVM auto-take disksets
 
(from 116551-01)
 
4884359 devid_deviceid_to_nmlist return code can be wrong
5016531 use of DEVID_MINOR_NAME_ALL_CHR with devid_deviceid_to_nmlist causes segv
 
(from 117249-02)
 
5007951 metaset -w may hang if I/O to MN diskset is currently ongoing
5007980 Assertion failure while running stress tests on 4 node SC cluster
5011799 metaclear that causes hot spare allocation will deadlock in MN diskset
5012606 Optimized resync can terminate prematurely on MN set resulting in data corruption
5013143 Injecting errors into MN mirror components caused page fault on master
5014558 BAD TRAP occurred in md_mirror due to NULL pointer dereference: metaclust
5018631 Data corruption may occur while performing an optimized resync under heavy load
5022111 When taking over mirror ownership during cluster reconfig, opt resync not done
5011522 Adding nodes to an Oban diskset can sometimes fail
5012030 commd dumps core in metaget_setdesc()
5013172 MN coredump when running metaclear -a
 
(from 117249-01)
 
4728078 svm rpc calls must be versioned to support SunCluster rolling upgrade
4768557 metadevadm should avoid doing nftw in /dev
4820916 svm rpc structures must be versioned
4840737 Reads to a resynced region during mirror resync causes extra writes
4883904 Should be able to migrate a diskset to an arbitrary system
4908210 Memory leak in libmeta when calling sdssc_convert_path_free with wrong arg
4910467 Place holder for Oban PSARC 2002/596
4934391 Resync in a 3-way mirror will result in data loss if a read error occurs
4963065 mddb_setexit is missing in several places in md_mddb.c
4964390 devid_deviceid_to_nmlist seg faults if called with DEVID_MINOR_NAME_ALL_CHR
 
(from 117070-01)
 
4933271 metassist seg faults on some systems
 
(from 115560-01)
 
4813460 It took ~30-40 mins to DR an IO board with a freshchoice+network traffic+ipmp
4822189 unconfiguring a child of a metadevice does not yield useful error message

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 WAN-capable network boot/install feature,
        please also install the following patches:
 
        115686-01 (or greater) netstrategy patch
        114262-01 (or greater) snoop patch
        114421-02 (or greater) libadm.so.1 patch
        115684-01 (or greater) header files patch
        115023-03 (or greater) ufs_inode.h patch
        113999-03 (or greater) libdevinfo.h patch
        114350-02 (or greater) dhcpagent & libdhcputil.so.1 patch
 
NOTE 2: To utilize the complete fix for 4380147, please also install the
        following patch:
 
        114232-08 (or greater) rpcmod patch

README -- Last modified date:  Monday, November 15, 2004

