Patch-ID# 100916-09 Keywords: snap2p jumbo appc conversion core bind session Synopsis: SNA Peer-to-Peer 7.0.1: Jumbo patch Date: Apr/19/96 Solaris Release: 1.x SunOS Release: 4.1.x Unbundled Product: SunLink SNA Peer-to-Peer Unbundled Release: 7.0.1 Relevant Architectures: sparc BugId's fixed with this patch: 1104864 1104866 1108444 1112036 1113416 1113425 1113837 1117646 1118915 1131665 1132013 1132669 1137201 1140726 1155574 1159128 1162039 1168444 1170801 1172419 1183019 1189529 1205986 1208989 1212963 1213663 1220303 Changes incorporated in this version: 1205986 1208989 1212963 1213663 1220303 Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: Obsoleted by: Files included with this patch: /sun4/snap2p/snap2p.tar Problem Description: (Revision 09) ------------- Bug #1205986 Reset block_number and id_number to original value after the link station roles haves been negotiated. Bug #1208989 tp_end will clear pending bid rcb that caused mc_allocate hangs. Bug #1212963 memory growing problem. Bug #1213663 appc core dump when it tried to reconnect to the host. Bug #1220303 (esc 502687) Only free the current rcb when free the session. other modifications: - Do not set sense code 200f on the response so we do not unbind the session. - Free the same tpcb more than once when tp terminated and cause appc coredump. - Removed debugged code in ps_wait_proc which will cause appc coredump. (Revision 08) ------------- Bug #1189529 Wrong oaf/daf in the negative BIND response. other modifications: - Ignored an unknown user data field and set reserved bit to zero in BIND response. - lu_session_limit=0 is no session limit in DEFINE_LOCAL_LU. - Do not count CNOS session for session_count for display_local_lu verb. (Revision 07) ------------- Bug #1183019 host sends unbind after positive response to prepare_to_receive_long. Bug #1124462 snap2p multidrop shows invalid U frames in gateway log file. other modifications: - Fixed scan lulucb problem that may cause core dump or other problem when link reconnects. - Do not set rcb to NULL in scb if it does not match rcb in DEALLOCATE verb. This problem may cause tp to hang or loop in receive verb and no one can use this session anymore. - Do not display debug messages if debug flag is off. - Now setting sdlc station address in FRMR. (Revision 06) ------------- Bug #1140726 Previously specified incorrect option when opening a file. Bug #1155574 appc sessions were not notified when TR link failed. Bug #1159128 appc gateway hung. A fix was made to the RNR handling in the sdlc driver. Bug #1162039 Fixed bug in startp2p with the handling of multiple links. Bug #1168444 Delete api function previously also deleted mode name, pu name, and lu local address. Bug #1170801 appc dumps core. Bug #1172419 Data conversion fails when running a TP from a 4.1.3 Client to a 2.3 Gateway. other modifications: - Gateway would previously coredump if session terminated before it received a tp_accept. - Now not returning pip data when returning an error on allocate. - Now not returning user data when returning an error on mc_send_data. - Now accepting an unbind response when sccp-pu session is not active. - Added code to log tp_accept messages. - Now freeing unsent message after link is down. - Now freeing control block when an incoming attach is rejected. - Now receiving send data in deallocate. - Modified trace messages. - Fixed bug where incorrect node id was used in nonactivation xid. - Fixed bug with EBCDIC tp_name. (Revision 05) ------------- Bug #1118915 Sun does not always respond to pacing indicator from IBM in P2P. Bug #1137201 Upgrade from P2P 6.1 to 7.0.1 gives sense code 8005. Release 6.1 of the snap2p product ignored the SSCP-LU data traffic. In release 7.0 this data traffic was detected and sense data of 80050000 was returned. (Revision 04) ------------- Bug# 1132669 customer gets error sometimes when sending 64K bytes of data on mc_send_data. Bug# 1131665 When Sun is configured framesize to be 273, appc sends out packet larger than 273 bytes randomly. Bug# 1132013 the socket interface read-write operation between appc using small buffer size Bug# 1117646 In the latest release, the CNOS doesn't sent out CNOS Request after CNOS BIND. This is causing subsequent session binding failure. Bug# 1104864 When the host deactivates and reactivates the line (with auto_bound set to 1), appc send the INIT-SELFs but for the wrong LU's. appc send the INIT-SELFs for the LU's which are never deactivated. For those LUs that are deactivated and reactivated, they never receive INIT-SELF. Bug# 1104866 When the host deactivates a LU with DACTLU and if the TP is in receive_and_wait(), it hangs and never returns error back to TP. Bug# 1108444 IPX crashes while CICS was sending DEALLOCATE. Bug# 1112036 SNAP2P coredumps when it tries processing an incoming message pointed to by an invalid buffer descriptor. Bug# 1113416 Sun sends extra XID after link is established, which brings down link to AS/400. Bug# 1113425 The token ring link gets reset at least twice. Sometimes the link gets reset many times before stablized. This is causing problem when cnos_support and auto_session_act are turned on, which CNOS BIND flows as soon as link is up. Bug #1113837 User ID and password information not passed correctly to the TP. This patch also fixes a bind problem caused by SNAP2P returning the wrong PCID value in a bind response. Patch Installation Instructions: -------------------------------- Stop all TPs and p2p gateways on the system. Install the patch as follows: # mv /usr/sunlink/snap2p /usr/sunlink/snap2p.old # cp ~/sun4/snap2p/snap2p.tar /usr/sunlink/snap2p/snap2p.tar # tar xvf /usr/sunlink/snap2p/snap2p.tar After replacing these files, rebuild the kernel by running the /usr/sunlink/snap2p/install.snap2p script. You must recompile your appc applications (TPs) in order to pick up the new versions of the header files and libraries, if you did not previously have patch 100916-06 or later installed. It is recommended to recompile in any case, in order to pick up the latest fixes. After booting the new kernel, restart the gateways and the recompiled applications. New Features: [Rev 05] ----------------------- startp2p now provides two new flags to assist parallel session operation. csh% startp2p [-r] [-l] [-s] gateway config-file driver port -r: run cnos_remote -l: run cnos_local if you use parallel sessions (independent LUs), please do csh% startp2p -rl gateway config-file driver port if you just use dependent LUs, then you don't need to use the new flags. cnos_local and cnos_remote are two processes which assist appc in doing parallel session limit negotiation. if you want to use test_p2p for mapped conversation, do csh% test_p2p -m gateway cnos.c and cnos_corp.c are sample source codes to manually start a cnos session-limit negotiation. Under normal conditions, the negotiation is started automatically when necessary, no manual intervention is required.