Patch Name: PHNE_26062 Patch Description: s700_800 11.11 R6.11.11 SNAplus2 Link/Common, TN3270 patch Creation Date: 03/06/02 Post Date: 04/02/20 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: SNAplus2-Link R6.11.11 SNAplus2-Common R6.11.11 3270-Common R6.11.11 Filesets: SNAplus2-Link.LINK-ALIB,fr=R6.11.11.001,fa=HP-UX_B.11.11_32,v=HP SNAplus2-Link.LINK-ALIB,fr=R6.11.11.001,fa=HP-UX_B.11.11_64,v=HP SNAplus2-Common.CORE-SLIB,fr=R6.11.11.001,fa=HP-UX_B.11.11_32,v=HP SNAplus2-Common.CORE-SLIB,fr=R6.11.11.001,fa=HP-UX_B.11.11_64,v=HP 3270-Common.MANAGERS,fr=R6.11.11.001,fa=HP-UX_B.11.11_32/64,v=HP 3270-Common.MANAGER-SLIB,fr=R6.11.11.001,fa=HP-UX_B.11.11_32,v=HP 3270-Common.MANAGER-SLIB,fr=R6.11.11.001,fa=HP-UX_B.11.11_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHNE_26062: PANIC HANG Category Tags: defect_repair general_release critical panic halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHNE_26062 Symptoms: PHNE_26062: (1) JAGad65199/8606195995 Panic in wait_for_lock called from nps_free_rcb_mus. Crash occurs just after an ASSERT. Stack is:- wait_for_lock+0x2cc sl_retry+0x1c v0_get_rw_lock+0x38 vpr_stream_close+0x38 close_wrapper+0x6c csq_protect+0x120 osr_pop_subr+0x1fc osr_close_subr+0x324 hpstreams_close_int+0xd40 hpstreams_close+0x2c call_open_close+0x1f8 closed+0xb0 spec_close+0x54 vn_close+0x48 vno_close+0x20 closef+0x68 exit+0x1108 rexit+0x28 syscall+0x200 $syscallrtn+0x0 WARNING: SNA ASSERT: 09:30:06 30 APR 2001 Condition: FALSE (2) JAGad69070/8606199884 Due to a duplicate sna man page, there are swverify errors on an OS-Core fileset when SNA is also installed. (3) JAGad71274/8606202100 SNAplus2 hangs up under stress (one CPU locked) and attempts to stop SNAplus2 fail. A system reboot is required to recover. Stack trace shows sna_ndg_v0_get_rw_lock . (4) JAGad71590/8606202416 T1 timer settings in xsnapadmin do not work. The t1_timeout parameter in define_tr_ls (or Ethernet or FDDI) is ignored by SNAplus2. It is exposed in xsnapadmin in the advanced dialog for the LS. The T1 timer is fixed at 1 second. (5) JAGad76402/8606207227 Panic in SNAplus2 Router, while snapstop is in progress. Stack trace :- trap 0xd9c thandler 0xd24 nba_mm_free 0x68 vpr_create_entity 0x1f8 0x0afvpr_stream_open 0x3a8 open_wrapper 0x98 csq_protect 0x120 osr_open 0xb44 pse_open 0xf8 hpstreams_open 0x50 hpstreams_clone_open 0x214 call_open_close 0x144 opend 0x128 spec_open 0x78 vns_copen 0x4c vn_open 0xa8 copen 0xd0 open 0x3c syscall 0x6f8 syscallinit 0x54c (6) JAGad77708/8606208520 System panic due to data page fault. Data Page Faults: libsixs.a nms_nah_process_mu_rsp+0x100 Crash in nms_nah_process_mu_rsp Stack is:- trap 0xa48 thandler 0xb7c nms_nah_process_mu_rsp 0x100 nms_msm_queue_handler 0x694 nba_dispatch_process 0xd0 nba_scheduler 0x208 vpr_stream_lr_svc 0x160 sq_wrapper 0xb8 str_sched_up_daemon 0x2b0 str_sched_daemon 0xf4 main 0x94c $vstart 0x34 (7) JAGad87318/8606218168 System panic in nrm_bld_and_send_deact_sess . Stack is:- nrm_bld_and_send_deact_sess nrm_send_deactivate_session nrm_ps_to_rm_rec nrm_queue_handler nba_dispatch_input nba_dispatch_process nba_scheduler vpr_stream_uw_drive_scheduler vpr_stream_uw_svc sq_wrapper (8) JAGad91086/8606221968 Query_mode fails after doing initialize_session_limits. (9) JAGad96946/8606227887 SNA hangs up on large system (32 CPUs), stack shows deadlock in APPN code with re-entrancy due to Streams running service procedure in interrupt context (on the ICS stack). (10) JAGae09395/8606242140 Multi-threaded APPC program hangs up under stress. There are a variety of ASSERTs logged that indicate an inconsistency between the threads. (11) JAGae31243/8606266999 There is an unsolicited RTM sent to host when LUA session UNBINDs. The LUA application does not provide response times and the content of the RTM is junk. (12) JAGae31416/8606267173 LUA application hangs up with an RUI_WRITE not responded to. Trace shows that messages are not received at the DLC having been delivered from Host. (13) JAGae32590/8606268352 Customer reported loss of sessions under moderate stress. Error log reported buffer shortage conditions. query_buffer_availability showed that the total used was modest but the total available varied wildly. Defect Description: PHNE_26062: (1) JAGad65199/8606195995 Reuse of a control block handle when conversation terminates a long time after session has been terminated caused the problem. This may probably follow an overnight reset at the mainframe. Resolution: When the session is terminated, the coupling between conversation and session control blocks is cleaned up correctly. (2) JAGad69070/8606199884 Due to duplicate SNA man pages, there are software verification errors on a Core fileset when SNA is also installed. Resolution: The duplicate man pages in the Core fileset have now been removed. (3) JAGad71274/8606202100 An MP locking problem with interrupt driving message into read stream of NDG while processing a message on write stream for the same link station. Resolution: Change Streams Synchronization to use the QUEUE-PAIR scheme, instead of QUEUE synchronization level, to allow Streams to protect the NDG DLPI Glue from this parallel processing. (4) JAGad71590/8606202416 SNAplus2 does not program the LLC2 with the configured value using the appropriate DLPI extension message. Resolution: The code was changed to issue a DLPI message from SNAplus2 to LLC2 when initializing the connection. This allows the T1 timer value to be taken from the SNAplus2 configuration file. Note that the default is 5 seconds. Added support for new message in tracing(snaptrcfmt -i -d output). (5) JAGad76402/8606207227 A window existed in the SNAplus2 Node termination code that does not protect against an open from an application. Resolution: Changed code to implement correct locking of SNA router resources when opening a Stream. (6) JAGad77708/8606208520 System panics due to uncorrelated NMVT RSP received. Resolution: The code has been changed to ignore uncorrelated NMVT RSP. (7) JAGad87318/8606218168 Reuse of internal session control block handle occurred when TP_ENDED was received a long time after a session has terminated. Resolution: Clear cross references from RCB control blocks to SCB control blocks when a session is deactivated. (8) JAGad91086/8606221968 Rework of mode control block handling released the mode control block in error after the CNOS command. Resolution: The mode control block is recreated when the CNOS command completes. (9) JAGad96946/8606227887 There was a misunderstanding of HP-UX multi-threaded Streams implementation. Resolution: The code was modified to avoid running Streams service procedure on interrupt stack. It was instead deferred to a later thread. (10) JAGae09395/8606242140 There is a narrow window where one thread is unlocking a mutex and clearing a variable using a non-atomic write causing corruption of the variable. Another thread can read the corrupt variable and match the thread id in error. Resolution: Closed the window by adding another interlocked test. (11) JAGae31243/8606266999 The LUA layer does not zero the parameter that is used on status messages to report response times to the lower layer of APPN. RTM times are thus being accumulated in error. Resolution: Code has been modified to clear the uninitialised field to prevent RTM times being taken on LUA sessions. (12) JAGae31416/8606267173 The LUA layer in SNAP APPN used too small an initial credit for the session so that when back pressure was applied by the application not issuing an RUI_READ, we closed the incoming queue to the DFC layer. This then prevented any messages being received, including IPRs, thus hanging up the send side as well. Resolution: Use the correct initial credit (2xpacing window+1) to queue the messages in the correct layer (the RUI layer) thus freeing the DFC layer to handle the send direction correctly. (13) JAGae32590/8606268352 The algorithm to look at the kernel variable freemem to provide an indication of what extra buffers could be acquired is not sensible in HP-UX 11.x where freemem is clearly measuring something more volatile in the virtual memory manager. Resolution: The code is changed to set the maximum buffer usage to 1/4 of the total physical memory which we can get with the kernel variable phys_mem_pages. Enhancement: No SR: 8606268352 8606267173 8606266999 8606242140 8606227887 8606221968 8606218168 8606208520 8606207227 8606202416 8606202100 8606199884 8606195995 Patch Files: SNAplus2-Link.LINK-ALIB,fr=R6.11.11.001,fa=HP-UX_B.11.11_32, v=HP: /opt/sna/drivers/sixs/pa20_32/mod.o /opt/sna/drivers/sixm/pa20_32/mod.o /opt/sna/drivers/sixd/pa20_32/mod.o SNAplus2-Link.LINK-ALIB,fr=R6.11.11.001,fa=HP-UX_B.11.11_64, v=HP: /opt/sna/drivers/sixs/pa20_64/mod.o /opt/sna/drivers/sixm/pa20_64/mod.o /opt/sna/drivers/sixd/pa20_64/mod.o SNAplus2-Common.CORE-SLIB,fr=R6.11.11.001, fa=HP-UX_B.11.11_32,v=HP: /opt/sna/drivers/sixc/pa20_32/mod.o /opt/sna/bin/snaptrcfmt /opt/sna/lib/libmgrdce.1 SNAplus2-Common.CORE-SLIB,fr=R6.11.11.001, fa=HP-UX_B.11.11_64,v=HP: /opt/sna/drivers/sixc/pa20_64/mod.o /opt/sna/bin/snaptrcfmt /opt/sna/lib/libmgrdce.1 3270-Common.MANAGERS,fr=R6.11.11.001,fa=HP-UX_B.11.11_32/64, v=HP: /opt/sna/lib/pa20_64/libsna.2 3270-Common.MANAGER-SLIB,fr=R6.11.11.001, fa=HP-UX_B.11.11_32,v=HP: /opt/sna/lib/libsna.2 3270-Common.MANAGER-SLIB,fr=R6.11.11.001, fa=HP-UX_B.11.11_64,v=HP: /opt/sna/lib/libsna.2 what(1) Output: SNAplus2-Link.LINK-ALIB,fr=R6.11.11.001,fa=HP-UX_B.11.11_32, v=HP: /opt/sna/drivers/sixs/pa20_32/mod.o: ]R6.11.11.010 SNAplus2 R6.1 Router in the kernel (32 bit) ] (PHNE_26062 : 02/07/10 18:24:35) ] ]R6.11.11.007 SNAplus2 R6.1 APPN kernel library rout ines (32 bit) ] (PHNE_26062 : 02/07/01 17:00:54) ] /opt/sna/drivers/sixm/pa20_32/mod.o: ]R6.11.11.001 SNAplus2 R6.1 NDLC to DLPI Mapping (32 bit) ] (PHNE_26062 : 01/06/13 13:11:45) ] /opt/sna/drivers/sixd/pa20_32/mod.o: ]R6.11.11.001 SNAplus2 R6.1 NDLC to DLPI Mapping (32 bit) ] (PHNE_26062 : 01/07/25 12:06:18) ] SNAplus2-Link.LINK-ALIB,fr=R6.11.11.001,fa=HP-UX_B.11.11_64, v=HP: /opt/sna/drivers/sixs/pa20_64/mod.o: ]R6.11.11.010 SNAplus2 R6.1 Router in the kernel (64 bit) ] (PHNE_26062 : 02/07/10 18:25:15) ] ]R6.11.11.007 SNAplus2 R6.1 APPN kernel library rout ines (64 bit) ] (PHNE_26062 : 02/07/01 17:03:06) ] /opt/sna/drivers/sixm/pa20_64/mod.o: ]R6.11.11.001 SNAplus2 R6.1 NDLC to DLPI Mapping (64 bit) ] (PHNE_26062 : 01/06/13 13:15:39) ] /opt/sna/drivers/sixd/pa20_64/mod.o: ]R6.11.11.001 SNAplus2 R6.1 NDLC to DLPI Mapping (64 bit) ] (PHNE_26062 : 01/07/25 12:08:25) ] SNAplus2-Common.CORE-SLIB,fr=R6.11.11.001, fa=HP-UX_B.11.11_32,v=HP: /opt/sna/drivers/sixc/pa20_32/mod.o: ]R6.11.11.001 SNAplus2 R6.1 Client Router in the ker nel (32 bit) ] (PHNE_26062 : 01/07/12 17:52:51) ] /opt/sna/bin/snaptrcfmt: HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP 32) $Revision: 75.02 $ ]R6.11.11.001 SNAplus2 R6.1 trace formatting tool (3 2 bit) ] (PHNE_26062 : 01/07/25 12:12:05) ] /opt/sna/lib/libmgrdce.1: ]R6.11.11.001 SNAplus2 R6.1 Multi-threaded Path Mana ger and support libraries, User Space (32 bi t) ] (PHNE_26062 : 02/04/15 13:08:18) ] SNAplus2-Common.CORE-SLIB,fr=R6.11.11.001, fa=HP-UX_B.11.11_64,v=HP: /opt/sna/drivers/sixc/pa20_64/mod.o: ]R6.11.11.001 SNAplus2 R6.1 Client Router in the ker nel (64 bit) ] (PHNE_26062 : 01/07/12 17:53:27) ] /opt/sna/bin/snaptrcfmt: ]R6.11.11.001 SNAplus2 R6.1 trace formatting tool (6 4 bit) ] (PHNE_26062 : 01/07/25 12:25:42) ] HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O LP6 4) $Revision: 75.01 $ /opt/sna/lib/libmgrdce.1: ]R6.11.11.001 SNAplus2 R6.1 Multi-threaded Path Mana ger and support libraries, User Space (32 bi t over 64 bit kernel) ] (PHNE_26062 : 02/04/15 13:08:47) ] 3270-Common.MANAGERS,fr=R6.11.11.001,fa=HP-UX_B.11.11_32/64, v=HP: /opt/sna/lib/pa20_64/libsna.2: ]R6.11.11.001 SNAplus2 R6.1 HP-UX 11.0 multi-mode Pa th Mgr and support libraries, User Space (64 bit) ] (PHNE_26062 : 02/04/15 13:07:40) ] 3270-Common.MANAGER-SLIB,fr=R6.11.11.001, fa=HP-UX_B.11.11_32,v=HP: /opt/sna/lib/libsna.2: ]R6.11.11.001 SNAplus2 R6.1 HP-UX 11.0 multi-mode Pa th Mgr and support libraries, User Space (32 bit) ] (PHNE_26062 : 02/04/15 13:06:19) ] 3270-Common.MANAGER-SLIB,fr=R6.11.11.001, fa=HP-UX_B.11.11_64,v=HP: /opt/sna/lib/libsna.2: ]R6.11.11.001 SNAplus2 R6.1 HP-UX 11.0 multi-mode Pa th Mgr and support libraries, User Space (32 bit over 64 bit kernel) ] (PHNE_26062 : 02/04/15 13:07:13) ] cksum(1) Output: SNAplus2-Link.LINK-ALIB,fr=R6.11.11.001,fa=HP-UX_B.11.11_32, v=HP: 28435709 2890360 /opt/sna/drivers/sixs/pa20_32/mod.o 1571650916 2620 /opt/sna/drivers/sixm/pa20_32/mod.o 3532118861 164240 /opt/sna/drivers/sixd/pa20_32/mod.o SNAplus2-Link.LINK-ALIB,fr=R6.11.11.001,fa=HP-UX_B.11.11_64, v=HP: 3011706657 4758184 /opt/sna/drivers/sixs/pa20_64/mod.o 1792722009 5456 /opt/sna/drivers/sixm/pa20_64/mod.o 1225747294 273720 /opt/sna/drivers/sixd/pa20_64/mod.o SNAplus2-Common.CORE-SLIB,fr=R6.11.11.001, fa=HP-UX_B.11.11_32,v=HP: 3611323800 454604 /opt/sna/drivers/sixc/pa20_32/mod.o 3598340268 731672 /opt/sna/bin/snaptrcfmt 723446306 339968 /opt/sna/lib/libmgrdce.1 SNAplus2-Common.CORE-SLIB,fr=R6.11.11.001, fa=HP-UX_B.11.11_64,v=HP: 1691361572 988744 /opt/sna/drivers/sixc/pa20_64/mod.o 855436061 1021224 /opt/sna/bin/snaptrcfmt 3701598943 339968 /opt/sna/lib/libmgrdce.1 3270-Common.MANAGERS,fr=R6.11.11.001,fa=HP-UX_B.11.11_32/64, v=HP: 4210943293 293552 /opt/sna/lib/pa20_64/libsna.2 3270-Common.MANAGER-SLIB,fr=R6.11.11.001, fa=HP-UX_B.11.11_32,v=HP: 1072571519 364544 /opt/sna/lib/libsna.2 3270-Common.MANAGER-SLIB,fr=R6.11.11.001, fa=HP-UX_B.11.11_64,v=HP: 586830840 364544 /opt/sna/lib/libsna.2 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 3590 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_26062 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHNE_26062.depot By default swinstall will archive the original software in /var/adm/sw/save/PHNE_26062. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHNE_26062.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHNE_26062.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_26062.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None