Patch Name: PHNE_9757 Patch Description: s700_800 10.10 SNAplus2-Common R5 cumulative patch Creation Date: 97/05/15 Post Date: 97/07/28 Hardware Platforms - OS Releases: s700: 10.10 s800: 10.10 Products: SNAplus2-Common R5 Filesets: SNAplus2-Common.SNAP2-CORE SNAplus2-Common.SNAP2-ADMIN SNAplus2-Common.SNAP2-ADM-MAN Automatic Reboot?: Yes Status: General Superseded Critical: Yes PHNE_9757: HANG PHNE_9656: ABORT Path Name: /hp-ux_patches/s700_800/10.X/PHNE_9757 Symptoms: PHNE_9757: (1) 1653205914 CPIC conversation ID's are not logged to help with debugging. (2) 1653207431 CMINIT hangs - no return for OPEN_FILE. (3) 1653208215 If there are not enough semaphore UNDO structures available, 3270 can hang when the user tries to activate a session. (4) 5003352336 Enhancement - allow a non queued tp to loop round and reissue a receive allocate verb. If an attach comes in, a new TP will be forked and exec'd ONLY if an existing TP isn't sitting with a rcv alloc outstanding. PHNE_9656: (1) 1653205898 Problem: User can enter a full-stop in the LU alias field on the CPIC side-information dialog . (2) 1653206284 xsnapadmin coredumps when selecting partner LU using partner LU selection dialog in APPC Session Level Secur. dialog. (3) 1653205625 Problem: Partner LUs would not be converted to remote LU records because they had the same aliases as local LUs. (4) 5003361048 Large IO configurations make SNAplus2 SAM core dumping at initialisation ie when SNAplus2 Installation is launched from Network & Communication screen. (5) 1653206987 If a back level client with an RJE workstation name of less than 4 characters is on the network, it will not work through the BL slim. (6) 1653206995 Choosing detailed help (snapadmin -h -d) for one of the following commands : define_adjacent_len_node define_cn define_lu_pool define_rje_wkstn define_userid_password delete_adjacent_len_node delete_cn delete_emulator_user delete_lu_pool delete_userid_password you get multiple identical lines, around 250 for connection network commands. (7) 1653207001 Usability problem in the display of first fields lines, where a carriage return is missing after the ':' part. This display is the same for every command. (8) 1653207019 If you go into the LS configuration screen, and the ask for HELP, reading the information on SAP shows: 'Enter the SAP of the remote token ring station' (9) 1653207068 xsnapadmin crashes if you have 250 3270 sessions configured. (10) 1653207076 Symptoms of problem: Status_connectivity may loop forever if: 1) there are more than two LSs defined on a port 2) there are other types of LSs defined apart from just ethernet LSs. (11) 1653207118 If you run snaptrcfmt -W, then the program core dumps. No formatting of the trace file occurs. (12) 4701345124 Occasionally a non-queued invoked TP just hangs. (13) 5003352963 Service TP names are incorrectly specified in CPI-C Side info. If you have a TP such as 21F0F0F8 (one of the NVDM/6000 TPs), you actually have to configure it as 21303038, because the first charcter gets passed through unchanged, but all subsequent characters get converted from ASCII to EBCDIC. (14) 1653189522 The problem is that online help is not available in xsnapadmin. (15) 1653196386 Symptoms of problem: End user application can register a signal catcher, and then find that it is deregistered by SNA. (16) 5003349969 Symptoms of problem: When migrating a V4 config file containing non queued TPs, snapmigrate produces entries in the TPs file with TIMEOUT values. This results in error logs when the system is started - non queued TPs don't have timeouts. (17) 4701345199 Issue snaptrcfmt -W and you get a core dump. (18) 4701325506 Symptoms of problem: If you migrate a config file from R3 to R5.x, the paths for RJE devices are not updated from '/usr/lib/sna' to '/var/opt/sna'. (19) 5003357574 Service TP names are incorrectly specified in CPI-C Side info. If you have a TP such as 21F0F0F8 (one of the NVDM/6000 TPs), you actually have to configure it as 21303038, because the first charcter gets passed through unchanged, but all subsequent characters get converted from ASCII to EBCDIC. PHNE_8911: (1) 5003331611 Release 3 of SNAplus supported no pacing, which was configured by setting the pacing on an APPC mode to 0. Release 4 and Release 5 do not support this. (2) 5003344358 If sna_tps file has more than 21 TPs then daemon appears not to start. In fact it starts and core dumps within a few seconds. Memory corruption occurs when 17 TPs are configured (3) 5003333922 When installing SNAplus2 and trying to run the SNAplus2 Installation portion in SAM, SAM died with a core dump. This prevented installation of SNAplus2. The following error was reported: 'Unexpected exit: process /usr/sam/lbin/samx -C -p 3181 /opt/sna/sam/C/mainmenu.ui exited with a non-zero exit status. sh: 3326 (memory fault coredump)' (4) 4701337444 It is difficult to get an overview of the node configuration using snapadmin. (5) 4701325696 After the installation of patch PHCO_6349 on 800 systems, the addition or deletion of PSI cards would not stay updated after exiting and reentering the 'SAM SNAplus2 Installation' area (during a single SAM invocation) (6) 4701326249 SAM SNAplus configuration failed when trying to configure a machine as a client. (7) 4701325514 RJE users migrating from SNAplus to SNAplus2 will run into a problem after running snapmigrate to generate the SNAplus2 configurations and RJE style files. The '.sty' files will not be there as stated in the migration guide. Defect Description: PHNE_9757: (1) 1653205914 Code modified to add Conversation ID to logs. (2) 1653207431 Code change made to resolve a problem introduced by the 10.30 kernel threads development - problem caused by code which calls thrd_cond_wait and subsequently remove the main path manager lock. Need to reset our internal variables to take note that the PM is no longer locked. (3) 1653208215 The code has been changed to log an error when this problem occurs, and return control to the User Interface. (4) 5003352336 Code change made to provide Enhancement as per Problem description. PHNE_9656: (1) 1653205898 Fix is to add a modify/verify callback to the text field to prevent users from entering a full-stop. (2) 1653206284 The Fix applied is to remove the declaration and subsequent free-ing of a string pointer that was never used (and hence never defined). (3) 1653205625 Details of fix applied: Two list are maintained in snamigrate: (1) a list of local LUs (2) a list of partner LUs There was processing to remove partner LUs that were also local LUs to prevent the migration tool outputting REMOTE_LU records for them. This was bugged because to find them it was comparing the partner LU alias with the local LU name. Changed file: cmigrate/miggtfld.c in mig_output_appc_lus (4) 5003361048 SNAplus2 SAM is not made for more than 50 IO devices, as listed by ioscan -F; previous patch increased to 128, but large configuration can go up to 1000s. (5) 1653206987 Details of fix applied: Correct check in BL slim. (6) 1653206995 Details of fix applied: Resolve the problem - only produce one line of output (7) 1653207001 Details of fix applied: correct the formatting of the help output. (8) 1653207019 Details of fix applied: Correct the text. (9) 1653207068 The GUI issues a request for detailed information for all 250 sessions. However only a subset of this information will be returned, so the GUI reissues its request for the remaining sessions. However this new request was for summary rather than detailed information. The fix is to ensure that the new request is also for detailed information. (10) 1653207076 The problem is with the Configuration Daemon. The symptoms as seen by a NOF API programmer are that a query_port or query_ls may loop forever. The conditions for the loop are that 1) the initial buffer space available for receiving the data is too small for all of the entities 2) the buffer space available is the same as or just a little bit bigger than the buffer space that is used in packing the data 3) there are more than one type of port (ls) defined. (11) 1653207118 Details of fix applied: Ensure we don't try to write to the dump file, since the user doesn't want one. (12) 4701345124 Details of fix applied: The use of the popen() call is dangerous, not just in a DCE thread environment. Signals can be lost, and the process can just hang. It is also very expensive on performance to issue the popen() call, as this causes about 5-6 new processes to be spawned. The call has been replaced by a system specific call to get the process name. (13) 5003352963 Fix made to GUI admin and CPI-C library to take service TP names in the ASCII format 21F0F1F2 to represent the HEX format eg ASCII 21F0F1F2 will represent HEX 0x21F0F1F2. (14) 1653189522 The problem is caused by the non-existence of two soft links; /etc/vhelp/volumes/C/Help4SNAadmin.hv and /etc/vhelp/families/C/snaplus.hf are missing. (15) 1653196386 Details of fix applied: Remove the use of signals altogether in this library. (16) 5003349969 Details of fix applied: only generate the timeout line for queued TPs. (17) 4701345199 The code was writing to the dump file, even although it had not opened it. (18) 4701325506 Details of fix applied: Code changed to perform the extra migration step. (19) 5003357574 Fix made to GUI admin and CPI-C library to take service TP names in the ASCII format 21F0F1F2 to represent the HEX format eg ASCII 21F0F1F2 will represent HEX 0x21F0F1F2. PHNE_8911: (1) 5003331611 Snapmigrate did not take of the possible R3 value of 0 for pacing in the MODE. (2) 5003344358 Correct the code that grows the data structure as more TPs are configured (the memory is allocated for 16 TPs at a time). (3) 5003333922 The cause of the problem was that SAM/SNA could only support a maximum of 50 IO cards. (4) 4701337444 Snapadmin does not have a command which allows the user to get an overview of the node configuration. The user is required to use several query commands to get information about nodes, ports, link stations, etc. (5) 4701325696 With at least one PSI card already in the kernel, if the user adds at least one more PSI card and then exits the 'SAM SNAplus2 Installation', deferring kernel changes, that PSI card will not display correctly upon reentering the SNAplus2 Installation screen. (6) 4701326249 The reason for the failure in this case is that SAM thought the machine should be a server if the SNAplus2-Link product was installed. (7) 4701325514 The reason the .sty file won't exist is because snapmigrate incorrectly put the on the system as .RJE files. The user can simply copy the files to the correct name, or install the latest SNAplus2-Common patch which fixes snapmigrate. SR: 5003361048 5003357574 5003352963 5003352336 5003349969 5003344358 5003333922 5003331611 4701345199 4701345124 4701337444 4701326249 4701325696 4701325514 4701325506 1653208215 1653207431 1653207118 1653207076 1653207068 1653207019 1653207001 1653206995 1653206987 1653206284 1653205914 1653205898 1653205625 1653196386 1653189522 Patch Files: /opt/sna/conf/lib/libsixc.a /opt/sna/help/Help4SNAadmin.hv /opt/sna/help/Help4SNAadmin.hvk /opt/sna/help/Help4SNAadmin.xrh /opt/sna/help/Help4SNAadmin00.ht /opt/sna/help/Help4SNAadmin01.ht /opt/sna/help/Help4SNAadmin02.ht /opt/sna/help/Help4SNAadmin03.ht /opt/sna/help/Help4SNAadmin04.ht /opt/sna/help/Help4SNAadmin05.ht /opt/sna/help/Help4SNAadmin06.ht /opt/sna/help/Help4SNAadmin07.ht /opt/sna/help/Help4SNAadmin08.ht /opt/sna/help/Help4SNAadmin09.ht /opt/sna/help/lu32d.xwd /opt/sna/help/nodew.xwd /opt/sna/help/snaplus.hf /opt/sna/lib/X11/uid/XSnapadmin/cursor.uid /opt/sna/lib/X11/uid/XSnapadmin/icons.uid /opt/sna/lib/X11/uid/XSnapadmin/icons24.uid /opt/sna/lib/X11/uid/XSnapadmin/xsnadlg.uid /opt/sna/sam/C/help.hv /opt/sna/sam/C/help00.ht /opt/sna/share/man/man8/snapadmin.8 /opt/sna/sna.cat /opt/sna/sna_log.msg /opt/sna/bin/X11/xsnapadmin /opt/sna/bin/snapadmin /opt/sna/bin/snapcfgdae /opt/sna/bin/snaperrlog /opt/sna/bin/snaprunbck /opt/sna/bin/snapmigrate2 /opt/sna/bin/snaptrcfmt /opt/sna/lib/libmgr.1 /opt/sna/lib/libmgrdce.1 /opt/sna/lib/libnof.1 /opt/sna/lib/libpe.1 /opt/sna/lib/libxp.1 /opt/sna/sam/C/SNA_SAM.sl /usr/newconfig/etc/opt/sna/app-defaults/XSnapadmin /opt/sna/bin/snapdaemon what(1) Output: /opt/sna/bin/snapadmin: ]B.10.10.003 SNAplus2 R5 command line administration tool ] (PHNE_9656 : 97/03/10 18:34:10) ] /opt/sna/share/man/man8/snapadmin.8: None /opt/sna/bin/X11/xsnapadmin: ]B.10.10.004 SNAplus2 R5 Motif Administration progra m ] (PHNE_9656 : 97/03/13 11:38:31) ] /usr/newconfig/etc/opt/sna/app-defaults/XSnapadmin: None /opt/sna/bin/snapcfgdae: ]B.10.10.003 SNAplus2 R5 Config Daemon ] (PHNE_9656 : 97/03/10 18:29:43) ] /opt/sna/bin/snapdaemon: ]B.10.10.003 SNAplus2 R5 daemon ] (PHNE_9757 : 97/04/30 10:02:06) ] /opt/sna/bin/snapmigrate2: ]B.10.10.007 SNAplus2 R5 Config file migration tool ] (PHNE_9656 : 97/03/14 09:47:48) ] /opt/sna/bin/snaprunbck: ]B.10.10.001 SNAplus2 R5 Back Level SLIM ] (PHNE_9656 : 97/03/10 18:24:33) ] /opt/sna/bin/snaptrcfmt: ]B.10.10.002 SNAplus2 R5 trace formatting tool ] (PHNE_9656 : 97/03/10 18:33:03) ] /opt/sna/lib/libmgrdce.1: ]B.10.10.010 SNAplus2 R5 Path, Handle, Table and Mem ory Managers with Threads support ] (PHNE_9757 : 97/04/03 17:56:13) ] /opt/sna/lib/libmgr.1: ]B.10.10.002 SNAplus2 R5 Path, Handle, Table and Mem ory Managers, User Space ] (PHNE_9656 : 97/02/17 16:36:03) ] /opt/sna/lib/libnof.1: ]B.10.10.001 SNAplus2 R5 NOF library ] (PHNE_8911: 96/10/04 14:01:39) ] /opt/sna/lib/libpe.1: ]B.10.10.007 SNAplus2 R5 parsing engine ] (PHNE_9656 : 97/03/10 17:06:36) ] /opt/sna/conf/lib/libsixc.a: ]B.10.10.003 SNAplus2 R5 Client Router in the kernel ] (PHNE_9757 : 97/04/30 10:20:25) ] /opt/sna/lib/libxp.1: ]B.10.10.001 SNAplus2 R5 XP Codex library ] (PHNE_8911: 96/10/04 13:50:16) ] /opt/sna/sam/C/SNA_SAM.sl: SNAplus2 R5.x SAM/HP-UX 10.X/Rev.A.1.3 date:03/19/9 7 16:23:39 /opt/sna/sna.cat: None /opt/sna/bin/snaperrlog: ]B.10.10.002 SNAplus2 R5 Trace Daemon ] (PHNE_9656 : 97/02/17 16:36:44) ] /opt/sna/sna_log.msg: 5.1.2-Tue_Apr_29_17:16:20_BST_1997_Message_file /opt/sna/help/Help4SNAadmin.hv: None /opt/sna/help/Help4SNAadmin.hvk: None /opt/sna/help/Help4SNAadmin.xrh: None /opt/sna/help/Help4SNAadmin00.ht: None /opt/sna/help/Help4SNAadmin01.ht: None /opt/sna/help/Help4SNAadmin02.ht: None /opt/sna/help/Help4SNAadmin03.ht: None /opt/sna/help/Help4SNAadmin04.ht: None /opt/sna/help/Help4SNAadmin05.ht: None /opt/sna/help/Help4SNAadmin06.ht: None /opt/sna/help/Help4SNAadmin07.ht: None /opt/sna/help/Help4SNAadmin08.ht: None /opt/sna/help/Help4SNAadmin09.ht: None /opt/sna/sam/C/help.hv: None /opt/sna/sam/C/help00.ht: None /opt/sna/help/snaplus.hf: None /opt/sna/lib/X11/uid/XSnapadmin/cursor.uid: None /opt/sna/lib/X11/uid/XSnapadmin/icons.uid: None /opt/sna/lib/X11/uid/XSnapadmin/icons24.uid: None /opt/sna/lib/X11/uid/XSnapadmin/xsnadlg.uid: None /opt/sna/help/lu32d.xwd: None /opt/sna/help/nodew.xwd: None cksum(1) Output: 3679425076 81920 /opt/sna/bin/snapadmin 1518933299 4774 /opt/sna/share/man/man8/snapadmin.8 3323896069 1077248 /opt/sna/bin/X11/xsnapadmin 1635757045 63240 /usr/newconfig/etc/opt/sna/app-defaults/ XSnapadmin 2329972132 262144 /opt/sna/bin/snapcfgdae 814093301 65536 /opt/sna/bin/snapdaemon 3431702821 147456 /opt/sna/bin/snapmigrate2 914485310 221184 /opt/sna/bin/snaprunbck 4100490570 634880 /opt/sna/bin/snaptrcfmt 4068452819 266240 /opt/sna/lib/libmgrdce.1 4243257465 262144 /opt/sna/lib/libmgr.1 2737178150 118784 /opt/sna/lib/libnof.1 2951578361 630784 /opt/sna/lib/libpe.1 4139378657 444396 /opt/sna/conf/lib/libsixc.a 1490331290 331776 /opt/sna/lib/libxp.1 3945138114 253952 /opt/sna/sam/C/SNA_SAM.sl 775279651 123220 /opt/sna/sna.cat 1001046964 86016 /opt/sna/bin/snaperrlog 3657713181 595836 /opt/sna/sna_log.msg 3257810127 36408 /opt/sna/help/Help4SNAadmin.hv 1976581019 23093 /opt/sna/help/Help4SNAadmin.hvk 1120229556 22361 /opt/sna/help/Help4SNAadmin.xrh 2231434372 2776 /opt/sna/help/Help4SNAadmin00.ht 1160669853 36785 /opt/sna/help/Help4SNAadmin01.ht 2615187876 5561 /opt/sna/help/Help4SNAadmin02.ht 2778000727 2163 /opt/sna/help/Help4SNAadmin03.ht 3829152468 17961 /opt/sna/help/Help4SNAadmin04.ht 622179249 12436 /opt/sna/help/Help4SNAadmin05.ht 3757705431 77636 /opt/sna/help/Help4SNAadmin06.ht 3182918061 121476 /opt/sna/help/Help4SNAadmin07.ht 2005183579 53140 /opt/sna/help/Help4SNAadmin08.ht 2858504774 33752 /opt/sna/help/Help4SNAadmin09.ht 2640916444 4620 /opt/sna/sam/C/help.hv 2769585290 27261 /opt/sna/sam/C/help00.ht 3772269416 573 /opt/sna/help/snaplus.hf 3961081983 8192 /opt/sna/lib/X11/uid/XSnapadmin/cursor.uid 1552148557 81920 /opt/sna/lib/X11/uid/XSnapadmin/icons.uid 90845567 106496 /opt/sna/lib/X11/uid/XSnapadmin/icons24.uid 2173201150 438272 /opt/sna/lib/X11/uid/XSnapadmin/ xsnadlg.uid 4232389181 239991 /opt/sna/help/lu32d.xwd 730470025 308406 /opt/sna/help/nodew.xwd Patch Conflicts: None Patch Dependencies: s700: 10.10: PHNE_9756 s800: 10.10: PHNE_9756 Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_8911 PHNE_9656 Equivalent Patches: None Patch Package Size: 7260 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_9757 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_9757.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_9757.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_9757. 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_9757.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_9757.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).