Patch Name: PHNE_9655 Patch Description: s700_800 10.10 SNAplus2-Link R5 cumulative patch Creation Date: 97/04/03 Post Date: 97/05/22 Hardware Platforms - OS Releases: s700: 10.10 s800: 10.10 Products: SNAplus2-Link R5 Filesets: SNAplus2-Link.SNAP2-LINK Automatic Reboot?: Yes Status: General Superseded Critical: Yes PHNE_9655: PANIC Path Name: /hp-ux_patches/s700_800/10.X/PHNE_9655 Symptoms: PHNE_9655: (1) 1653204875 System panSystem panic processing init self response. Stack trace was: nsm_fsm_status+0x6cc nsm_process_init_self_rsp+0x17c nsm_process_dependent_mu+0x388 nsm_process_record_from_hs+0x198 nsm_queue_handler+0x7c nba_dispatch_process+0xd0 nba_scheduler+0x208 (2) 1653206953 It is a trap in nms_nah_process_mu_rsp indirecting on the verb_sig pointer which is taken from the head of the sess_entry->process_queue (line 198 in nmsnah.c). The senario was that everything was active, the host was shut down and when the host link was restarted, this trap occured. (3) 1653206961 Using RUI interface, receive non-negotiable BIND with a certain maximum RU size. Sometimes RUI_WRITEs of data within that maximum RU size will fail. (4) 1653206979 Started leased connection to host. As soon as link came up (ie before ACTLUs all processed), issued 'random ' command, with bad tp name. Node crashed. (5) 1653207027 When SNAP-IX received an invalid LOCATE which did not have FQPCID control vector, a system panic occured in nds_add_to_fqpcid_table. (6) 1653207035 After running a random test which allocates between pairs of LUs (mole), QUERY_DIRECTORY_ENTRY returns an LU name with NETID=APPN, but LU name = 8 null characters. (7) 1653207043 System can panic under low memory conditions when processing session activation. (8) 1653207084 Symptoms of problem: Unable to connect Attachmate TN3270 to SNAPlus TN Server. (9) 1653207092 Symptoms of problem: panic in nrm_bld_and_send_deact_sess called from nrm_ps_abend_proc with NULL pointer as deact_sess buffer pointer. (10) 1653207100 Symptoms of problem: Failure is seen with END node and LEN node, with others versions of SNAplus2 too. It seems OK for NN node on previous versions . picot:> snapadmin -a -d query_directory_stats gives a line of -, and hangs. (11) 1653200352 Symptoms of problem: Crash when running SDLC on MP box. Problem seen when using 2 ACC cards and many links. Problem caused by upper HMOD stub code and call back HMOD stub code running at the same time in parallel on different CPUs. (12) 1653203505 Symptoms of problem: RUI_WRITE verb sometimes rejected with return code RU_LENGTH_ERROR (when the length is OK). Problem occurs if application sends a long BIND RSP (>1 byte) to a non-negotiable BIND (normal case). We are then looking at unitialised data to get the RU length. (13) 1653204636 BIND from Power to RJE rejected. In fact any BIND that ends with user data is rejected. (14) 1653199224 Symptoms of problem: When using format 0 XIDs can fail to connect with the host. (15) 1653199091 Symptoms of problem: After stopping and restarting the sna daemon, the system panics with the following stack trace: vsm_rcv_appl_ready_req+0x390 vsm_rcv_datagram+0x348 vpm_rcv_msg+0x80 vpr_stream_input_msg+0x458 vpr_stream_uw_svc+0x490 (16) 1653195644 Symptoms of problem: Issue a register TP call,then accept incoming in non blocking mode. If a de-register TP call is made before an attach is received, then the system kernel panics upon receipt of an attach. PHNE_8910: (1) 4701341289 Every time CPI-C TP terminates normally we get an error log (exception) type 2-3. (2) 1653192419 If the LUWID on a received attach does not contain a fully qualified LU name it will be rejected. (3) 5003343921 If remote station not on local FDDI ring, we reissue a second TEST frame 0.25 seconds after the first TEST. This is bounced by DLPI, and an error 12288 - 18 is logged (error=1, DLPI primitive=45) (4) 1653187203 The host suddenly sends UNBIND with 'normal end of session' type just after exchanging STSN request/response. (5) 4701325498 The SNAplus2 product at MR does not support autoactivation of sessions. Sessions are activated upon demand instead of when the link is brought up. The impact of this is minor, except for customers using APPC or CPI-C TPs which use the AP_IMMEDIATE return control type on their allocate verbs. These allocate verbs fail if the sessions they are expecting to use are not active. A patch will be provided in the near future which allows preconfiguration of an autoactivation limit for APPC modes. This patch will allow SNAplus2 APPC and CPI-C TPs which use the AP_IMMEDIATE return control type to function just as they did on SNAplus. If you have TPs which use the AP_IMMEDIATE return control type, you should install this patch after installing the SNAplus2 software. Defect Description: PHNE_9655: (1) 1653204875 Correct the APPN FSM to ensure the response is handled by the correct routine within the APPN node. (2) 1653206953 Details of fix applied: Set up RH in LM before sending NMVT to CH. (nlmdsscp.c). (3) 1653206961 Details of fix applied: Changed nru_write_lu() in nruwrtlu.c so that if the application writes a BIND response but the BIND is non-negotiable, we copy the data from the BIND request in to the BIND response. (4) 1653206979 The code-arm has been changed to ensure that it is called only once, the first time the session moves to the active state. An assertion has been added that the temporary memory is still present before it is freed. (5) 1653207027 Details of fix applied: After completing the parsing of the LOCATE in nds_parse_locate, check if the FQP CID subfield was present. If not, return sense codes 10140060 which will cause CP-CP session deactivation. (6) 1653207035 Details of fix applied: Changed nss_bld_snd_locate_message (nsssinit.c) so that it fills the fqc pname in the fqolu_name field of LOCATE_MESSAGE when processing HPR_INIT_SIGNAL. (7) 1653207043 Details of fix applied: Changed nas_actpulu_processor (nasrecv.c) so that it sends a -RSP if there is not enough memory to assign the LFSID when an ACTPU or ACTLU is received from PS. Changed nas_send_router (nassend.c) so that it returns a -RSP to SM if there is not enough memory to assign the LFSID when SM sends an ACTPU or ACTLU, or a BIND with SIDH = 1. Changed nlm_send_actlu_rq (nlmpsfsm.c) so that it gets a big enough buffer for t he ACTLU RQ so that it can be converted into a -RSP by AS if necessary. (8) 1653207084 Details of Fix applied: Attachmate client is rejecting DO_3270_REGIME with DONT_3270_REGIME message, when code is expecting DONT_3270_REGIME message. Enhance TN server to support this behaviour. (9) 1653207092 Details of fix applied: Ensure do not dereference null data. (10) 1653207100 Details of fix applied: Correctly process query_directory_stats for LEN/EN in the APPN node. (11) 1653200352 Details of fix applied: Add spinlock to protect data structures shared (queue in particular). Removed logs from call back context. Strategic fix applied at V6. (12) 1653203505 Details of fix applied: Node fix to handle case of non-negotiable long response correctly (use the parameters from the BIND request). (13) 1653204636 The code fix applied to cappn/nasbind.c is to Correct a length test of user data from >= to >. (14) 1653199224 Details of fix applied: Ensure length field set up correctly. (15) 1653199091 Details of fix applied: Ensure control blocks used to process appl_ready messages are initialised before processing occurs. If a TP has deregistered its TP name it was possible for us to access a pointer which had not been set up - hence the trap. (16) 1653195644 Details of fix applied is to ensure we clean up control blocks correctly at the point an attach is being processed if the TP name has been de-registered. PHNE_8910: (1) 4701341289 Logging of this event is not now done to the error file. The error case originally looked for is logged elsewhere. (2) 1653192419 LUWID will not now be rejected if the LU NAME is not fully qualified. (3) 5003343921 Some routers do not require source routing information to function and will continue to work correctly - however, even with this patch some customers will still be unable to connect to stations on remote rings. When the FDDI driver team add source routing support to the HP-UX driver, this fix must be removed. (4) 1653187203 The RU data on a STSN (Set/Test Sequence Number) response generated by SNAP-IX is set to an invalid value. (5) 4701325498 The SNAplus2 product at MR does not support autoactivation of sessions. Sessions are activated upon demand instead of when the link is brought up. The impact of this is minor, except for customers using APPC or CPI-C TPs which use the AP_IMMEDIATE return control type on their allocate verbs. These allocate verbs fail if the sessions they are expecting to use are not active. A patch will be provided in the near future which allows preconfiguration of an autoactivation limit for APPC modes. This patch will allow SNAplus2 APPC and CPI-C TPs which use the AP_IMMEDIATE return control type to function just as they did on SNAplus. If you have TPs which use the AP_IMMEDIATE return control type, you should install this patch after installing the SNAplus2 software. SR: 5003343921 4701341289 4701325498 1653207100 1653207092 1653207084 1653207043 1653207035 1653207027 1653206979 1653206961 1653206953 1653204875 1653204636 1653203505 1653200352 1653199224 1653199091 1653195644 1653192419 1653187203 Patch Files: /opt/sna/conf/lib/libsixd.a /opt/sna/conf/lib/libsixl.a /opt/sna/conf/lib/libsixs.a /opt/sna/bin/snaprcf /opt/sna/bin/snaptnsrvr what(1) Output: /opt/sna/bin/snaptnsrvr: ]B.10.10.001 SNAplus2 R5 TN Server ] (PHNE_9655 : 97/03/10 18:26:44) ] /opt/sna/bin/snaprcf: ]B.10.10.001 SNAplus2 R5 Remote Command Facility dae mon ] (PHNE_8910: 96/10/04 14:00:43) ] /opt/sna/conf/lib/libsixd.a: ]B.10.10.001 SNAplus2 R5 NDLC to DLPI Mapping ] (PHNE_8910: 96/11/06 16:15:50) ] /opt/sna/conf/lib/libsixl.a: ]B.10.10.003 SNAplus2 R5 SNAP-LINK in the Kernel ] (PHNE_9655 : 97/03/20 19:01:10) ] /opt/sna/conf/lib/libsixs.a: ]B.10.10.015 SNAplus2 R5 Router in the kernel ] (PHNE_9655 : 97/03/26 19:28:27) ] ]B.10.10.010 SNAplus2 R5 APPN kernel library routine s ] (PHNE_9655 : 97/03/26 19:18:56) ] cksum(1) Output: 3432767445 114688 /opt/sna/bin/snaptnsrvr 4162835125 61440 /opt/sna/bin/snaprcf 864366363 160776 /opt/sna/conf/lib/libsixd.a 3765063196 397844 /opt/sna/conf/lib/libsixl.a 734649085 2798468 /opt/sna/conf/lib/libsixs.a Patch Conflicts: None Patch Dependencies: s700: 10.10: PHNE_9656 s800: 10.10: PHNE_9656 Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_8910 Equivalent Patches: None Patch Package Size: 3520 Kbytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHNE_9655 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_9655.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHNE_9655.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHNE_9655. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. Warning: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHNE_9655.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_9655.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: Stop SNA daemon before installing patch (snap stop). After installing the patch start the SNA daemon (snap start).