Patch-ID# 110262-05
Keywords: vxio vxdmp vxassist vxclust vxconfigd security
Synopsis: Veritas Volume Manager 3.0.4: general patch for Solaris 7
Date: Jun/08/2001

***************************************************************

WARNING !


PLEASE CHECK YOUR OS VERSION BEFORE INSTALLING THIS PATCH.

THIS PATCH CAN ONLY BE INSTALLED IN SOLARIS 7 (SunOS 5.7).

INSTALLING THIS PATCH IN ANY OTHER OS MAY CAUSE SYSTEM FAILURE!


To verify the OS version:
1. Get OS version using command 'uname -r'
2. Compare with the README field SunOS Release:


If you have any questions, please contact Sun Support Center.


***************************************************************

Solaris Release: 7

SunOS Release: 5.7

Unbundled Product: Veritas VxVM

Unbundled Release: 3.0.4

Xref: 
NOTE: patch available for Solaris 2.5.1 as 110260-05, Solaris 2.6 as 110261-05 and Solaris 8 as 110263-05

Topic: 

Relevant Architectures: sparc

BugId's fixed with this patch: 4098058 4215262 4241652 4243845 4264114 4269722 4286490 4287858 4305586 4306191 4307928 4308273 4309793 4314433 4318311 4325092 4326138 4333530 4335680 4338705 4341777 4345464 4345837 4345841 4350335 4377830 4378623 4386293 4388503 4390757 4392419 4393031 4393216 4397192 4403082 4416683 4419530 4424442

Changes incorporated in this version: 4269722 4397192 4403082 4416683 4419530 4424442

Patches accumulated and obsoleted by this patch: 109687-02 110258-01

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch: 

/kernel/drv/sparcv9/vxdmp
/kernel/drv/sparcv9/vxdmp.SunOS_5.7
/kernel/drv/sparcv9/vxdmp.SunOS_5.8
/kernel/drv/sparcv9/vxio
/kernel/drv/sparcv9/vxio.SunOS_5.7
/kernel/drv/sparcv9/vxio.SunOS_5.8
/kernel/drv/sparcv9/vxspec
/kernel/drv/sparcv9/vxspec.SunOS_5.7
/kernel/drv/sparcv9/vxspec.SunOS_5.8
/kernel/drv/vxdmp
/kernel/drv/vxdmp.SunOS_5.5.1
/kernel/drv/vxdmp.SunOS_5.6
/kernel/drv/vxdmp.SunOS_5.7
/kernel/drv/vxdmp.SunOS_5.8
/kernel/drv/vxdmp.conf
/kernel/drv/vxio
/kernel/drv/vxio.SunOS_5.5.1
/kernel/drv/vxio.SunOS_5.6
/kernel/drv/vxio.SunOS_5.7
/kernel/drv/vxio.SunOS_5.8
/kernel/drv/vxio.conf
/kernel/drv/vxspec
/kernel/drv/vxspec.SunOS_5.5.1
/kernel/drv/vxspec.SunOS_5.6
/kernel/drv/vxspec.SunOS_5.7
/kernel/drv/vxspec.SunOS_5.8
/kernel/drv/vxspec.conf
/sbin/vxconfigd
/sbin/vxconfigd.SunOS_5.5.1
/sbin/vxconfigd.SunOS_5.6
/sbin/vxconfigd.SunOS_5.7
/sbin/vxconfigd.SunOS_5.8
/usr/lib/libarray.so
/usr/lib/vxvm/bin/vxapslice
/usr/lib/vxvm/bin/vxbootsetup
/usr/lib/vxvm/bin/vxdisksetup
/usr/lib/vxvm/bin/vxdiskunsetup
/usr/lib/vxvm/bin/vxliccheck
/usr/lib/vxvm/bin/vxpartadd
/usr/lib/vxvm/bin/vxpartrm
/usr/lib/vxvm/bin/vxpartrmall
/usr/lib/vxvm/bin/vxr5check
/usr/lib/vxvm/bin/vxr5vrfy
/usr/lib/vxvm/bin/vxresize
/usr/lib/vxvm/diag.d/config.d/sparcv7/vxautoconfig.SunOS_5.5.1
/usr/lib/vxvm/diag.d/config.d/sparcv7/vxautoconfig.SunOS_5.6
/usr/lib/vxvm/diag.d/config.d/sparcv7/vxautoconfig.SunOS_5.7
/usr/lib/vxvm/diag.d/config.d/sparcv7/vxautoconfig.SunOS_5.8
/usr/lib/vxvm/diag.d/config.d/sparcv7/vxdevwalk.SunOS_5.5.1
/usr/lib/vxvm/diag.d/config.d/sparcv7/vxdevwalk.SunOS_5.6
/usr/lib/vxvm/diag.d/config.d/sparcv7/vxdevwalk.SunOS_5.7
/usr/lib/vxvm/diag.d/config.d/sparcv7/vxdevwalk.SunOS_5.8
/usr/lib/vxvm/diag.d/config.d/sparcv9/vxautoconfig.SunOS_5.7
/usr/lib/vxvm/diag.d/config.d/sparcv9/vxdevwalk.SunOS_5.7
/usr/lib/vxvm/diag.d/macros.d/dmp
/usr/lib/vxvm/diag.d/macros.d/dmp_cpuiocount
/usr/lib/vxvm/diag.d/macros.d/dmp_cpuiocount_next
/usr/lib/vxvm/diag.d/macros.d/dmp_cpuiocount_zero
/usr/lib/vxvm/diag.d/macros.d/dmp_ctlr
/usr/lib/vxvm/diag.d/macros.d/dmp_ctlr_list_next
/usr/lib/vxvm/diag.d/macros.d/dmp_ctlr_path_next
/usr/lib/vxvm/diag.d/macros.d/dmp_dev_list
/usr/lib/vxvm/diag.d/macros.d/dmp_dev_list_next_dmpnode
/usr/lib/vxvm/diag.d/macros.d/dmp_dmpnode
/usr/lib/vxvm/diag.d/macros.d/dmp_dmpnode_next
/usr/lib/vxvm/diag.d/macros.d/dmp_dmpnode_next_ptr
/usr/lib/vxvm/diag.d/macros.d/dmp_dmpnode_path_next
/usr/lib/vxvm/diag.d/macros.d/dmp_dmpopencount
/usr/lib/vxvm/diag.d/macros.d/dmp_end_dev_list_ctlrs
/usr/lib/vxvm/diag.d/macros.d/dmp_end_dev_list_dmpnodes
/usr/lib/vxvm/diag.d/macros.d/dmp_end_dmp_nodes
/usr/lib/vxvm/diag.d/macros.d/dmp_errq_buf
/usr/lib/vxvm/diag.d/macros.d/dmp_path
/usr/lib/vxvm/diag.d/macros.d/dmp_print_dev_list_ctlrs
/usr/lib/vxvm/diag.d/macros.d/dmp_print_dev_list_dmpnodes
/usr/lib/vxvm/diag.d/macros.d/dmp_print_errq
/usr/lib/vxvm/diag.d/macros.d/dmp_print_errq_next
/usr/lib/vxvm/diag.d/macros.d/dmp_print_errq_null
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_cpuiocount
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_cpuiocount_next
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_cpuiocount_zero
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_ctlr
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_ctlr_list_next
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_ctlr_path_next
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_dev_list
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_dev_list_next_dmpnode
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_dmpnode
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_dmpnode_next
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_dmpnode_next_ptr
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_dmpnode_path_next
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_dmpopencount
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_end_dev_list_ctlrs
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_end_dev_list_dmpnodes
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_end_dmp_nodes
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_errq_buf
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_path
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_print_dev_list_ctlrs
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_print_dev_list_dmpnodes
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_print_errq
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_print_errq_next
/usr/lib/vxvm/diag.d/macros.d/sparcv9/dmp_print_errq_null
/usr/lib/vxvm/diag.d/vxautoconfig
/usr/lib/vxvm/diag.d/vxdevwalk
/usr/lib/vxvm/type/fsgen/vxplex
/usr/lib/vxvm/type/gen/vxplex
/usr/lib/vxvm/type/raid5/vxplex
/usr/lib/vxvm/type/raid5/vxvol
/usr/lib/vxvm/voladm.d/bin/inst.quick
/usr/lib/vxvm/voladm.d/lib/vxadm_syslib.sh
/usr/sbin/vxassist
/usr/sbin/vxclust
/usr/sbin/vxinstall
/usr/sbin/vxplex
/usr/sbin/vxrelayout
/usr/sbin/vxsd
/usr/sbin/vxvol

Problem Description:

Note: Veritas Incident Numbers are included in parenthesis.
 
4416683 (30427) SEGV in client_trans_start (vxconfigd)
4403082 (32089) avoid getting confused by duplicate diskids
4403082 (59170) CDB may be malformed by scsi_get_inq in da_scsi.c - no initialization of CDB,UCMD
4269722 (33489) diskgroup names differ after deport/import in CVM
4397192 (52609) Multiple releases of shared lock in gendmpopen
(60467) update modinfo for build 3.0.4e patch4 and now patch 5
(60609) SOL: ddi_path_list not correctly handled when dmp is disabled.
(60839) Error copying files during pkgadd of VM 3.0.4
(60927) cfs : cvm looses diskgroups on reboots
(61286) voldg/upgrade/features.tc FAILS on TOT
4419530 (61770) Unable to start stripe-pro(layered) vols after installing Sun patch 110261-03
4424442 (61770) Unable to start stripe-pro(layered) vols after installing Sun patch 110261-03
 
(from 110262-04)
4388503 Disk group import time of VM 3.0.4 is longer than CVM 2.2.1 
4390757 VM3.0.4 cannot attach plex for detach plex by Disk failure
4345464 Veritas Volume Manager 3.0.x allows local users to gain root access
 
(15794) voliod_init() is not prototyped
(25649) a typo in vxinstall "partitons"
(29231) cleanup unused vxdisksetup options; sync with Solaris manpage
(43620) APDB partitions are not re-instated on a disk
(45678) a Sun host with only the A5K [98.lic] license installed, can create
raid volumes on the disks which are not in the A5K
(54875) Problems supporting pre VM2.3 (i.e. version 40) disk groups
(55171) cvmtc's panic under ga3.0sol_maint in volcvm_msg_req_gslock
(55197) core dump in randio while doing I/O for offsets exceeding 4GB
(55229) cvm/scripts/admin/spare/spare.tc hangs forever
(55261) cvm/scripts/kernel/states/dcrecover.tc ABORTS cvmtc run
(55329) bring fixes for 25581 over to ga3.0sol_maint for NTT
(55336) CVM on deport odd interaction between vmsa_server and
SLAVE_DISK_OP_NOTIFY
(55647) Another patch for 3.0.4
(55872) Backport liba5k.so & libg_fc.so stub libraries for compile purposes.
Stubs are not used.
(56995) update modinfo, restore pstamp and pkginfo version to build 3.0.4e
patch2
 
(from 110262-03)
DMP's interaction with underlying device drivers
SOL: DMP should not use stale "devinfo" ptrs when used with DR
Oracle error ORA-27062 complains about missing AIOs
Patch preinstall and postinstall scripts modified to prevent DMP from
being partially re-enabled after patch installation.
 
(from 110262-02)
4378623 README for patches 109685,6,7,8-01 omits that it fixes i43178 & i43320
4392419 README of obsolete patches 109685 etc don't show they are obsolete
4393216 patch 110262-02 generates vxio error messages after reboot
4386293 110258-01 obsolete wrong patch (109686-02 instead of 109687-02
4377830 VxVM doesn't work normally after you adapted the vxdmp driver patch.
4393031 logical host using raid5 volumes with logging fail to failover
 
(33128) There is discrepancy between vxdisk list and vxprint output.
 
(36203) If all the mirrors fail, except for the mirror that was created for a
        snapshot, the volume will work fine until the snapshot is taken. When
        the snapshot is taken all the changes that had been made to the data are
        taken away into the new volume leaving the old volume unreadable and
        unwritable.
 
(41462) vxclust fails to join the cluster with the error "nodes reporting
        different masters".
 
(42145) CVM master deports a shared diskgroup, but the slave still thinks the
dg
        as imported. 
 
(43432) Possible hang of 'vxplex att' process due to glock bug.
 
(46522) Panic in voliot_want_trace.
 
(46797) When there are more than 2 nodes in the cluster the message
        SLAVE_ENABLE_COPY prevents master takeover
 
(47208) The problem of slaves panic due to dg delete stomping on dg import
abort.
 
(49043) vxassist relayout on plex was using same disk on both plexes.
 
(40260) NR devices causing long delay in boots.
 
(41046) Mirroring rootdisk of 3.1 VxVM on Sol 2.8 causing system panic.
 
(43178) Oracle error ORA-27062 complaining about missing AIOs.
 
(37360) raid5 logging for corner case when the system panics in the middle of
        several simultaneous log entry updates.
 
(45775) VxDBA Storage Checkpoint menu is optimised.
 
(30985) CVM transaction end is not synchronized.
 
(31689) CVM: I/O quiesce code may not wait until diskio is drained.
 
(40201) vxresize fails if non-English language Solaris is installed
 
(41144) Relayout fails w/o any error message - CASE 237015
 
(42878) vxdiskadm replaces the disk but errors with uknown error while writing
        the vtoc
 
(43620) APDB partitions are not re-instated on a disk.
 
(45136) vxdiskunsetup should use vxprivutil list rahter than vxdisk -s list
 
(45146) vxassist resize dumps core for layered volume with nmirrors=1
 
(41111) vxassist, from VM 3.0.4d package, is not applying some EMC rules when
        working on simple disks was solved.
 
(41966) vxassist dumps core when making a volume on an EMC device of type
        RDF2-BCV.
 
(42880) While trying to grow the volume using vxassist, verify (-o verify) was
        failing  but the actual growto was working.
 
(42880) Panic in dmp_update_cpu_idx when booted from CDROM.
 
(29988) vxassist growby operation does not deal with non-homogeneous subdisk
        sizes.
 
(30836) vxconfigd loops when attempting to start with a bad log disk.
 
(33850) vxadm_syslib.sh gives a vague error message when start/end block in
        system is gone.
 
(38475) volassist TC (remove/log.tc and remove/volume.tc ) fails.
 
(39203) I18N pass for 3.0.4.
 
(40841) tcrun does not say tc failed for reverse.tc.
 
(41462) vxclust fails to join the cluster.
 
(41530) VRTSvmdoc packages were not built along with other packages for
releases.
 
(41845) r5log.tc aborts because there no rootdg is found.
 
(42328) DMP macros are not working properly.
 
(41845) vxconfigd coredumps while starting a RAID5 volume with log and doing
log
        replay.
 
(42829) Modification of upgrade scripts for x86 done. 
 
(43123) Corrections in Japanese message catalogs.
 
(43228) Changes in Japanese man pages.
 
(43242) Packaging is changed. The pstamp and modinfo strings are updated to
        identify VxVM correctly.
 
(45685) vxrelayout runs for ever during zkill.tc. 
 
(46953) TED assert hit in _vol_syncsig1() while testing CFS iwth CVM.
 
(47011) vxrelayout built with 4.2 version compiler fails.
 
(47401) The redzone violation by CVM
 
(48095) Changes in Japanese man pages  of vxdg and vxassist.
 
(from 109687-02)
Patch preinstall and postinstall scripts modified to prevent DMP from
being partially re-enabled after patch installation.
 
(from 109687-01)
After investigating the problem of missing I/Os it was found that if
too many I/Os are active on a mirrored volume with DRL, some of the I/Os
are deferred to a per volume DRL retry queue.  Even after resources are
available, the retry queue was not being processed until either all I/O
issued to the volume completed or a new I/O was issued to the same volume.
This can lead to a situation where new I/Os are not sent pending
completion of pending I/Os and pending I/Os won't be processed until
another I/O comes in for the same volume.  This has been fixed by
processing pending I/O in the retry queue of all volumes whenever
resources become available.
 
It was found that DMP was using the device information that it had
obtained before any DR operation took place.  After a DR operation, the
device information is no longer valid and has to be re-obtained.
 
(from 110258-01)
1. Incident number against the Bug ID may or may not match with Bugtraq Tool
since some of them are veritas's incident numbers.
2. Synopsis is only 70 character long.
3. Patch Ids 110260-01 and 110260-02 was never released at Sun Solve.
 
4098058 APDB partitions are not re-instated on a disk label after vxdiskadm re
(43620)
4215262 vxinstall see multiple paths to A5000 device (44318)
4241652 vxdmpadm does not report path failures if volumes configured on alt. c
(37311)
4243845 VxVm 3.0.1 gives away a free license to E3500 servers (40971, 45678)
4264114 vxdmpadm does not correctly report failed data paths (37311)
4286490 sol251, VM25, A5000, oracle data corruption was detected after many de
(41858)
4287858 Installation defaults to terminate when no patch dependancies exist
(44675)
4305586 vxmirror/vxbootsetup creates duplicate partitions + "No free partition
(30886)
4306191 SC 2.1 master_takeover failed by "Disk group has no valid configuration
copies" (25581)
4307928 sol26, VM 2.6, raid5 log replay was done after clean shutdown then dat
(41858)
4308273 vmsa_server -V returns only to . revision level of vxvm package, not .
(39495)
4309793 poor disk performance using VxVM 3.0.2 with dmp enabled (40365)
4314433 remaped device Minor number effects to another node after volume create
4318311 vxvm 3.0.4 giving away free license with no SSA/SENA present. (40971,
45678)
4325092 SC2.1, `vxdg -s -C import` got faild by reason "another host uses"
(41727)
4326138 disks disconnected in volume manager after system reboot (42211)
4333530 Oracle instance terminated due to pending async I/Os
4335680 System hang ... SEVM, E10000 cluster, Oracle database (44560)
4338705 Multiple DR operations with DMP cause system panic with Solaris2.6 5/9
(43320)
4341777 vxr5vrfy can't check volume + group name char over 31 (44745)
4345837 Oracle error ORA-27062 complains about missing AIOs
4345841 SOL: DMP should not use stale "devinfo" ptrs when used with DR
4350335 dmp hangs individual ios for much too long (47075)

Patch Installation Instructions:
-------------------------------- 
For Solaris 7 and 8 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:
----------------------------- 
 
If this is a new VM installation with A5K array connected, please follow
this process:
    a) Install (pkgadd) VM 3.0.4
    b) Run vxinstall
    c) Install (patchadd) VM 3.0.4 patch 5.  
 
If this is a new VM installaltion but has no A5K array connected, you can
apply both VM 3.0.4 and VM 3.0.4 patch 5 befor running vxinstall.
 
If the system already has VM 3.0.4, then you can simply apply VM 3.0.4
patch 5 as instructed.
 
Reboot the system after patch installation.

README -- Last modified date:  Tuesday, March 12, 2002

