Patch-ID# 106822-12
Keywords: ALL_CUSTOMER_EXCEPT_NORTEL timeout trace protocol bind hang window
Synopsis: Solstice CMIP 8.2.1 : patch for runtime and examples fixes
Date: Jun/03/2003

Install Requirements: None                      
                      
Solaris Release: 2.4 2.5.1 2.6 7

SunOS Release: 5.4 5.5.1 5.6 5.7

Unbundled Product: SunLink/CMIP

Unbundled Release: 8.2.1

Xref: 

Topic: 

Relevant Architectures: sparc

BugId's fixed with this patch: 1234693 4004093 4005297 4017629 4018168 4022483 4023614 4028111 4029323 4030607 4034011 4035856 4044626 4044804 4045832 4049216 4050437 4054473 4057461 4060302 4061970 4063010 4070564 4070565 4074690 4085367 4088219 4088728 4090284 4112678 4117026 4124501 4130193 4152169 4158676 4160408 4168444 4185423 4185428 4193156 4198870 4199728 4201290 4201315 4203455 4212128 4222459 4223498 4231065 4232011 4232772 4235107 4253330 4256594 4258168 4259990 4267518 4273442 4275715 4280650 4281515 4291439 4291455 4309953 4310758 4313056 4361782 4387050 4403915 4406158 4406301 4407068 4420492 4456925 4530214 4636024 4684635 4697430 4711526 4736113 4780945 4821296 4855403 4862880 4862924

Changes incorporated in this version: 4821296 4862924 4855403 4862880

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 104190

Patches required with this patch: 

Obsoleted by: 

Files included with this patch: 

/etc/init.d/osimcs
/etc/opt/SUNWconn/cmip/cmip_var
/etc/rc0.d/K97osimcs
/etc/rc2.d/S97osimcs
<install_dir>/SUNWconn/cmip/include/xmp.h
<install_dir>/SUNWconn/cmip/include/xomi.h
<install_dir>/SUNWconn/cmip/lib/libxmp.so.1
<install_dir>/SUNWconn/cmip/lib/libxom.so.1
<install_dir>/SUNWconn/cmip/lib/osimcsd
<install_dir>/SUNWconn/cmip/man/man4/cmip.conf.4
<install_dir>/SUNWconn/cmip/sbin/cmipoper
<install_dir>/SUNWconn/cmip/sbin/cmiptool
<install_dir>/SUNWconn/cmip/sbin/cmiptrace
<install_dir>/SUNWconn/cmip/sbin/shmmgr

Problem Description:

4862880 XMP: wrong error handling when Communication-Error
 
4855403 XMP: infinite loop when XMP_MCS_READY_IND_TIMER > 100000000
 
4862924 XMP: wrong message and error class when returning "Broken Session"
 
4821296 em_cmip (agent role) goes into poll when XMP_MCS_READY_IND_TIMER expires
 
(from 106822-11)
 
 
4780945 Pointer to bug 4766615 for CMIP part of problem (em_cmip going into pool loop)
 
(from 106822-10)
 
 
4736113 Not possible in PMI app. to detect RORJ due to 'user credit' error
 
(from 106822-09)
 
 
4636024 Bad encoding of long (>127) object instance on SEM receiving side
4697430 M-CANCEL-GET for already completed M-GET causes Association Abort
4711526 User Window Size overflow for as-yet-non-existent Associations?
 
 
(from 106822-08)
 
4684635 RFE: Increase USER_WND_SIZE maximum above 10
 
 
(from 106822-07)
 
4530214 CMIP mpa hang observed.
4456925 CMIP stack timeouts cause library errors and communication failures.
 
 
(from 106822-06)
 
4406301 bad mp_bind & mp_assoc trace output when binding using AP-ivk-id or AE-ivk-id
4407068 cmiptrace outputs AP-ivk-id or AE-ivk-id even if not present in message
4406158 protocol error occurs when connecting using AE-inv-id without AE-qualifier
4074690 In ASYN/ACMOFF, mp_wait activate partial connected+bound session  on ASSOC_CONF
4387050 Timeout on assoc-req is not handled properly
4403915 several application can bind using the exact same OSI address
4060302 Buffer not released in MCS entity
4309953 om_encode of an instance doesn't work with patch 106822-04
4420492 XMP lib is not able to build a SETOF_GET_INFO_STATUS object when TGV mode is set
 
 
(from 106822-05)
 
4313056 CMIP 8.2.1: number of Outstanding Operations is to low
4361782 cmip.conf file does not relate min..max values accurately
4280650 mp_wait: sessions not set to 'activated' when needed
4291439 Need to be able to configure the shared memory to more than 1 Meg
4291455 Customer osi 8.1.1 coring
4310758 osicmsd cored after osixfer is called with segmentation fault
 
 
(from 106822-04)
 
4281515 Problem to set attribute with CMIP 106822-03
 
 
(from 106822-03)
 
4232011 CMIP Request Timer out by a factor of 2.
4256594 If osimcsd Assoc-Ind is not acknowledged, association freezes
4235107 CMIP 8.2.1 patch 11 + temporary fix,  mcs  loops in mcrqget function
4259990 CMIP 8.2.1: mp_wait comes unexpected back (nothing is received)
4267518 Missing Attribute Value CMIS error message can't be sent in TGV mode.
4232772 Standard-Externals OM class didn't support SMASE-User-data
4223498 Communication-Error just after a request SET which calls the XMP library
4275715 cmiptool does not compile with new compilers (C++ 5.0)
4258168 CMIP should reject Associations containing AP-InvokeId and Ae-InvokeID only.
4273442 Abort on M-Event-Report
4253330 osimcsd is running, but OMPipccheck() returns FALSE ...
 
 
(from 106822-02)
 
4222459 CMIP 8.2.1 association fails with Library-Error: Too Many Operations
4231065 Need to have SMASE supported in CMIP with Encoded mode
4203455 CMIP 8.2.1 + patch 106822-01, XMP broken on GET when object has DS-RDN = 0
4212128 mp_wait hangs in cmip stack.
4158676 Scoped get allocates buffers until out of memory.
4198870 CMIP SDE 8.2.1 XOM/XMP API gives out an error with a particular CREATE-cnf event
4185423 xmp application hangs indefinitely in mp_wait even if low timeout specified
4201315 cmip 8.2.1 over x25 generates core files with latest T-patch 104190-10
4185428 XMP application takes too much space in memory since patch rev -08
4193156 cmip with OSI stack 8.2.1 hang for unknown reasons
4201290 cmip 8.2.1 with latest T-patch 104190-10 still coredumps over tcp-ip
4199728 osimcs coredump under certain conditions despite T-patch 104190-10
 
 
(from 106822-01)
 
4152169 Abort when sending an invalidScope
4168444 Processing Failure inconsistently returned to a scoped get request via TMNscript
4160408 1320 bytes long user access control field truncated to 350 bytes
4124501 mp_wait fails, osimcs goes 3%-->35% cpu, em_cmip loses stack contact and exits
4130193 cmip memory leak causing application to core - not 1227641 duplicate
4117026 OSIMCSD Request time-out
4050437 CMIP is limited to 256 concurrent associations
4112678 cmip 8.1 free size getscope > 20000 instances
1234693 Association is aborted if the application contexts differ.
4088728 CMIP stack (osimcsd daemon) disconnects after receiving a lot of release_req
4088219 CMIP 8.1.2 p5 stack cores in MPpurgeCtx out of mp_receive
4085367 Shared Memory not released
4057461 osicms with patch 102245-19 core dump
4090284 CMIP stack returns a Miscellaneous error when operating on associations.
4063010 trace corrupted on hexadecoimal too long
4054473 XMP application core dumps in mp_assoc_rsp on Windows NT platform
4070565 When doing a lot of linked reply, a abort can occur
4070564 mp_bind return communication error on an already used session but unbound now
4045832 Increasing response time when establishing association with the CMIP MPA
4061970 memory corruption in osimcsd  (decodage of long OID) with cmiptrace connected
4018168 XMP (SunTGVON) doesn't support LDN and null OI - it only supports FDN (CONT 2)
4034011 SEm cmipmpa cannot start do to early finish of osimcsd
4044626 em_cmip timeout can't handle many 128+ concurrent associations, cpu 90%
4049216 CMIP considers an agent already bound after it was unbound
4044804 CMIP/XOM gave bogus length byte of FDN causing CMIP MPA crash on EM decode
4028111 On HP machine, C++ compilation errors when including xmp.h or xomi.h
4029323 CMIP XMP 8.2.1 Cannot send a public assoc_result object in an Associate Respons
4030607 CMIP 8.2 trace errors with ERROR   : Spurious msg ID(3230,   4) CODE(ff11)
4035856 Asn.1 decoding problem, mp_receive core dumps
4023614 When using associate_request, the object file descriptor is -1.
4004093 osimcs crashes on an access denied on a set_response
4005297 Sun EM/CMIP software does not work with a NULL psel
4017629 In ACM ON Mode we don't send no "user acse data"
4022483 memory leak in XMP when doing mp_xxx_rsp/mp_xxx_req on invalid session

Patch Installation Instructions:
--------------------------------
Refer to the Install.info file for instructions on using the
generic 'installpatch' and 'backoutpatch' scripts provided with
each patch.  Any other special or non-generic installation
instructions should be described below as special instructions.

Special Install Instructions:
-----------------------------
 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
 
WARNING:
-------
 
This patch is for ALL CUSTOMER EXCEPT NORTEL.
NORTEL must use the 104190 patch family.
 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
 
A new file has been added : /etc/opt/SUNWconn/cmip/cmip_var
which can contain some variables to help to the configuration of osimcs
For example the place where to generate core :
DIR_OSIMCS_CORE
 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
 
The fix for bugid #4456925 consists by adding an XMP environment variable:
-------------------------------------------------------------------------
 
XMP_MCS_READY_IND_TIMER is an XMP internal TIMER (value in seconds).
 
Configuring this internal timer permits to avoid window time-out when the user interactions
have to be stored in MCS layer due to a triggered network flow control or a very slow remote machine.
 
Set the XMP internal TIMER (value in seconds) in the environment
where and before you launch your manager and agent applications:
 
If XMP_MCS_READY_IND_TIMER is unset, XMP sets it to the default value 60 seconds.
If XMP_MCS_READY_IND_TIMER is set to a value < 60, XMP sets it to the default value 60 seconds.
If XMP_MCS_READY_IND_TIMER is set to a value > 60, XMP sets it to the user value.
 
For example: XMP internal TIMER is set to 120 seconds.
 
# export XMP_MCS_READY_IND_TIMER=120
 
Then launch your manager and agent applications in this environment.
 
If timer is not enough, increase the timer and re-launch your manager and agent
applications in this environment.
 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
 
The rfe #4684635 changes following cmip configuration parameter of cmip.conf file:
---------------------------------------------------------------------------------
 
USER_WND_SIZE may be set in the range of 1 to 20.
 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
 
The rfe #4313056 changes following cmip configuration parameter of cmip.conf file:
---------------------------------------------------------------------------------
 
MAX_CONFIRMED_REQS  may be set in the range of  1 to 1024.
MAX_CONFIRMED_INDS  may be set in the range of  1 to 1024.
MAX_OUTSTANDING_OPS may be set in the range of 10 to 1024.
 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
 
The rfe #4291439 changes following cmip configuration parameter of cmip.conf file:
---------------------------------------------------------------------------------
 
MEMORY_POOL_SIZE may be set in the range of 100 to 10240.
 
If the customer sets MEMORY_POOL_SIZE to a big value, he must according to his system level
and his virtual memory size, set the following system parameter in /etc/system:
 
	- shminfo_shmmax: maximum size for a shared segment
 
set shmsys:shminfo_shmmax=<value>
 
Then customer has to reboot the system before starting any OSI application.
 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
 
The fix for bugid #4855403 consists to limit maximum value of XMP_MCS_READY_IND_TIMER:
-------------------------------------------------------------------------------------
 
If XMP_MCS_READY_IND_TIMER is set to a value > 100000000, XMP sets it to the user value 100000000.
 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-

README -- Last modified date:  Tuesday, June 3, 2003

