Patch Name: PHNE_8225 Patch Description: s700 10.20 OTS C.07.00 cumulative mega patch Creation Date: 96/10/07 Post Date: 96/10/18 Hardware Platforms - OS Releases: s700: 10.20 Products: OTS/9000 C.07.00 Filesets: OTS9000.OTS-KRN,C.07.00 OTS9000.OTS-MAN,C.07.00 OTS9000.OTS-RUN,C.07.00 Automatic Reboot?: Yes Status: General Superseded Critical: Yes PHNE_8225: PANIC Path Name: /hp-ux_patches/s700/10.X/PHNE_8225 Symptoms: PHNE_8225: 1. The retransmission timer doesn't work as expected. 2. System panicked when it was idling. Panic message: Data page fault 3. MSDSG doesn't work. 4. ots_get_layer_stats does not return 0 when successful. 5. OTS does not support TP3. 6. TP3 over CONS is added to OTS. 7. System panicked when a FTAM connection is being established. Panic message: INTERNAL ERROR: Illegal RCI operation 8. a) osipdufmt doesn't handle -l option correctly. b) osipdufmt doesn't handle pdus across multiple X.25 packets c) odipdufmt doesn't format RFC1006 traces. 9. a) With multiple X.25 cards configured, no LAN; all cards in both CLNS and CONS subnets and any card's, other than the first's, X.121 address in the ots_dests file, a loopback(transport) test after doing an x25init of all cards will cause a system panic. b) With a single X.25 card configured in a CLNS subnet and no LAN subnet configured, the CLNS X.25 subnet will not work. One will not be able to make connections or transfer data. A simple loopback(transport) test will fail. Defect Description: PHNE_8225: 1. As tp4clns_maxret = 1000, we should never spend more than than 1000 deciseconds (1 decisecond = 1/10 of a second) between two successive retransmissions. The limit is not checked, before the retransmission timer is increased. 2. The routing mechanism was trying to access a routing entry which was not valid any more. The fix is to verify the entry before referencing it. Also an enhancement is implemented in this release. For X.25 CONS, when multiple remote x25 routes are configured, OTS will try the alternate routes if the connection attempt fails. 3. Changes to provide OSIPING added an additional network SAP (#72) to the static configuration. At startup time OTS initialization places the address of the CLNS Network SAP in each of the CONS and CLNS SATs. The algorithm assumed that the CLNS Network SAP would be the last Network SAP in the configuration. This is no longer true, the OSIPING SAP is 72, and the CLNS SAP is 70 and thus 72 was being placed in both SATs. MSDSG looks in the CONS SAT, finds the wrong SAP number and promptly fails. 4. Procedure did not do an explicit return(0) when successful. 5. This is an enhancement. 6. This is an enhancement. 7. A RCI pointer was set properly. It ended up pointing to the wrong data structure. Now the fix is to ensure proper initialization of this pointer. 8. a) Missing shift in KSH script. b) The more bit processing was incorrect. c) No support provided for processing RFC1006 traces existed in osipdufmt. 9. A local attachment pointer was not set properly. In the case of CLNS/X.25 without LAN, the CLNS master SAP(21) was occupied by X.25 . All X.25 code assumed that the saphctx field of the SAP would point to a local attachment structure, which was not true for the CLNS master SAP. The fix was to check explicitly to see if we are handling a CLNS master SAP and to treat it as a special case. SR: 1653180448 1653182170 1653182915 4701332593 5003335968 1653181628 4701335182 Patch Files: /opt/ots/conf/lib/libotsam.a /opt/ots/bin/otsaddes /opt/ots/bin/otsdeles /opt/ots/bin/otsshowes /opt/ots/bin/osipdufmt /opt/ots/bin/osiconfchk /opt/ots/lbin/bin2conf /opt/ots/lbin/conf2bin /opt/ots/lbin/osiconfx /opt/ots/lbin/osidiagx /opt/ots/lbin/otstrans /opt/ots/lib/OTShardconf /opt/ots/lib/libotsadm.a /opt/ots/lib/libotsadm.sl /opt/ots/lib/nls/msg/C/osiconfchk.cat /opt/ots/lib/nls/msg/C/osidiag.cat /opt/ots/man/man1m.Z/otsaddes.1m /opt/ots/man/man1m.Z/otsdeles.1m /opt/ots/man/man1m.Z/otsshowes.1m /opt/ots/man/man1m/osipdufmt.1m what(1) Output: /opt/ots/lib/OTShardconf: OTS: C.07.00 OTShardconf PATCH C.07.00 (PHNE_8224/PHNE_8225) /opt/ots/lbin/bin2conf: OTS: C.07.00 ics.c PATCH C.07.00 (PHNE_8224/PHNE_8225) cv_tbl.c PATCH C.07.00 (PHNE_8224/PHNE_8225) ic10_r10dav libc.a_ID@@/main/r10dav/libc_dav/bvd_dav /1 /ux/libc/libs/libc/archive_pa1/libc.a_ID Mar 12 1996 18:32:11 /opt/ots/lbin/conf2bin: OTS: C.07.00 ics.c PATCH C.07.00 (PHNE_8224/PHNE_8225) cv_tbl.c PATCH C.07.00 (PHNE_8224/PHNE_8225) ic10_r10dav libc.a_ID@@/main/r10dav/libc_dav/bvd_dav /1 /ux/libc/libs/libc/archive_pa1/libc.a_ID Mar 12 1996 18:32:11 /opt/ots/lib/libotsadm.a: OTS: C.07.00 oa_laystat.c PATCH C.07.00 (PHNE_8224/PHNE_8225) /opt/ots/lib/libotsadm.sl: OTS: C.07.00 oa_laystat.c PATCH C.07.00 (PHNE_8224/PHNE_8225) /opt/ots/conf/lib/libotsam.a: strosxconf.c PATCH C.07.00 (PHNE_8224/PHNE_8225) FILESET OTS-KRN: libotsam.a: Revision: C.07.00 e2iadm.c PATCH C.07.00 (PHNE_8224/PHNE_8225) e2icstz.c PATCH C.07.00 (PHNE_8224/PHNE_8225) e2isub.c PATCH C.07.00 (PHNE_8224/PHNE_8225) e2xsub.c PATCH C.07.00 (PHNE_8224/PHNE_8225) netcstz.c PATCH C.07.00 (PHNE_8224/PHNE_8225) netmai2.c PATCH C.07.00 (PHNE_8224/PHNE_8225) netmain.c PATCH C.07.00 (PHNE_8224/PHNE_8225) tr4cstz.c PATCH C.07.00 (PHNE_8224/PHNE_8225) tr4sub.c PATCH C.07.00 (PHNE_8224/PHNE_8225) trscod.c PATCH C.07.00 (PHNE_8224/PHNE_8225) trsmai2.c PATCH C.07.00 (PHNE_8224/PHNE_8225) trssub.c PATCH C.07.00 (PHNE_8224/PHNE_8225) strintses.c PATCH C.07.00 (PHNE_8224/PHNE_8225) strosxopi.c PATCH C.07.00 (PHNE_8224/PHNE_8225) strosxtpi.c PATCH C.07.00 (PHNE_8224/PHNE_8225) sx25_lam.c PATCH C.07.00 (PHNE_8224/PHNE_8225) /opt/ots/bin/osiconfchk: OTS: C.07.00 chk_strnge.c PATCH C.07.00 (PHNE_8224/PHNE_8225) structures.c PATCH C.07.00 (PHNE_8224/PHNE_8225) find_line.c PATCH C.07.00 (PHNE_8224/PHNE_8225) add_parms.c PATCH C.07.00 (PHNE_8224/PHNE_8225) cv_tbl.c PATCH C.07.00 (PHNE_8224/PHNE_8225) ic10_r10dav libc.a_ID@@/main/r10dav/libc_dav/bvd_dav /1 /ux/libc/libs/libc/archive_pa1/libc.a_ID Mar 12 1996 18:32:11 /opt/ots/lib/nls/msg/C/osiconfchk.cat: OTS: C.07.00 confcheck.msg PATCH C.07.00 (PHNE_8224/PHNE_8225) /opt/ots/lbin/osiconfx: HP92453-02A.10.00 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ OTS: C.07.00 cv_tbl.c PATCH C.07.00 (PHNE_8224/PHNE_8225) structures.c PATCH C.07.00 (PHNE_8224/PHNE_8225) /opt/ots/lib/nls/msg/C/osidiag.cat: OTS: C.07.00 osidiag.msg PATCH C.07.00 (PHNE_8224/PHNE_8225) /opt/ots/lbin/osidiagx: OTS: C.07.00 xti_exec.c PATCH C.07.00 (PHNE_8224/PHNE_8225) CMIS/CMIP_version_1.6 @(#) sbm.h, revision 3.0 890801 SYN_body.c CMIS/CMIP_version_1.6.1 ics.c PATCH C.07.00 (PHNE_8224/PHNE_8225) cv_tbl.c PATCH C.07.00 (PHNE_8224/PHNE_8225) addtype.c 2.3 Released: 3/13/88 pdu.c 2.1 Released: 10/4/87 fpdu.c 2.3 Released: 3/13/88 apdu.c 2.2 Released: 3/13/88 apdu.c 2.2 Released: 3/13/88 fpdu.c 2.3 Released: 3/13/88 vd.c 2.3 Released: 8/1/88 directory.c 2.3 Released: 3/13/88 file.c 2.1 Released: 10/4/87 sbmlib.c, revision 1.0 890801 sbmlib.h, revision 3.0 890801 sbm.h, revision 3.0 890801 sbmprv.c, revision 1.0 890801 sbmlib.h, revision 3.0 890801 sbm.h, revision 3.0 890801 /opt/ots/bin/osipdufmt: OTS: C.07.00 osipdufmt PATCH C.07.00 (PHNE_8224/PHNE_8225) /opt/ots/man/man1m/osipdufmt.1m: C.07.00 osipdufmt.1m PATCH C.07.00 (PHNE_8224/PHNE_8225) /opt/ots/bin/otsaddes: OTS: C.07.00 otsaddes PATCH C.07.00 (PHNE_8224/PHNE_8225) /opt/ots/man/man1m.Z/otsaddes.1m: otsaddes.1m PATCH C.07.00 (PHNE_8224/PHNE_8225) /opt/ots/bin/otsdeles: OTS: C.07.00 otsdeles PATCH C.07.00 (PHNE_8224/PHNE_8225) /opt/ots/man/man1m.Z/otsdeles.1m: otsdeles.1m PATCH C.07.00 (PHNE_8224/PHNE_8225) /opt/ots/bin/otsshowes: OTS: C.07.00 otsshowes PATCH C.07.00 (PHNE_8224/PHNE_8225) /opt/ots/man/man1m.Z/otsshowes.1m: otsshowes.1m PATCH C.07.00 (PHNE_8224/PHNE_8225) /opt/ots/lbin/otstrans: OTS: C.07.00 translib.c PATCH C.07.00 (PHNE_8224/PHNE_8225) genlib.c PATCH C.07.00 (PHNE_8224/PHNE_8225) ics.c PATCH C.07.00 (PHNE_8224/PHNE_8225) cv_tbl.c PATCH C.07.00 (PHNE_8224/PHNE_8225) routelib.c PATCH C.07.00 (PHNE_8224/PHNE_8225) ic10_r10dav libc.a_ID@@/main/r10dav/libc_dav/bvd_dav /1 /ux/libc/libs/libc/archive_pa1/libc.a_ID Mar 12 1996 18:32:11 cksum(1) Output: 1456556090 2892 /opt/ots/lib/OTShardconf 2271667581 180224 /opt/ots/lbin/bin2conf 1424389350 184320 /opt/ots/lbin/conf2bin 422280853 17644 /opt/ots/lib/libotsadm.a 2581560179 24576 /opt/ots/lib/libotsadm.sl 385528793 1383884 /opt/ots/conf/lib/libotsam.a 1960494773 385024 /opt/ots/bin/osiconfchk 404613434 15974 /opt/ots/lib/nls/msg/C/osiconfchk.cat 3520366921 613960 /opt/ots/lbin/osiconfx 1487320037 354988 /opt/ots/lib/nls/msg/C/osidiag.cat 614492490 1159360 /opt/ots/lbin/osidiagx 1556578944 9291 /opt/ots/bin/osipdufmt 1801100354 7234 /opt/ots/man/man1m/osipdufmt.1m 376844607 16905 /opt/ots/bin/otsaddes 1236259252 6895 /opt/ots/man/man1m.Z/otsaddes.1m 857069762 6918 /opt/ots/bin/otsdeles 2809529013 2254 /opt/ots/man/man1m.Z/otsdeles.1m 4027893461 16133 /opt/ots/bin/otsshowes 1369157899 1325 /opt/ots/man/man1m.Z/otsshowes.1m 1794216255 335872 /opt/ots/lbin/otstrans Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: Must be OTS release C.07.00 Supersedes: None Equivalent Patches: PHNE_8224: s800: 10.20 Patch Package Size: 4690 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_8225 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_8225.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_8225.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_8225. 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_8225.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_8225.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None