Patch Name: PHNE_12223 Patch Description: s700_800 10.20 2.23 ACC X.25 Protocol Software (EISA) Patch Creation Date: 97/08/24 Post Date: 97/08/27 Warning: 97/09/11 - This Non-Critical Warning has been issued by HP. - The following enhancement was mistakenly included in the patches, and does not function as specified: SR None / DTS None: When the remote device sent a data packet to the ACC card on a PVC, the ACC firmware would automatically send a level 3 RR. However, when the upper layers received the data packet and an application had not attached itself to the PVC (through the X25_SETUP_PVC ioctl), the data would be thrown away and a reset transmitted. In the meantime, the remote device received the RR and threw the data away thinking the remote application had read the data. This resulted in data being lost. The enhancement is to prevent sending the level 3 RR when data is received on a PVC if no application is attached to the PVC. - For systems that do not not require the fix from: SR 5003374884 / DTS TPO0h01431: Call request not accepted. Call is cleared, if "called address extension" is present in confirm. The previous patch PHNE_12094 should be installed. - For systems that do require the fix from: SR 5003374884 / DTS TPO0h01431: Call request not accepted. Call is cleared, if "called address extension" is present in confirm. The enhancement should not be enabled. It is a "tunable" feature that is disabled by default, and must be explicitly enabled. - The superseding patch PHNE_12522 should be installed when available. Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: Z7401A 2.23; Z7434AA 2.23; Filesets: ACC-X25.ACC-X25-KRN Automatic Reboot?: Yes Status: General Superseded With Warnings Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHNE_12223 Symptoms: PHNE_12223: SR None / DTS None: When the remote device sent a data packet to the ACC card on a PVC, the ACC firmware would automatically send a level 3 RR. However, when the upper layers received the data packet and an application had not attached itself to the PVC (through the X25_SETUP_PVC ioctl), the data would be thrown away and a reset transmitted. In the meantime, the remote device received the RR and threw the data away thinking the remote application had read the data. This resulted in data being lost. The enhancement is to prevent sending the level 3 RR when data is received on a PVC if no application is attached to the PVC. PHNE_12094: SR None / DTS None: Reset packets that omit the diagnostic code are rejected with a packet too short error. PHNE_11869: SR 5003379479 / DTS TPO0h01476: When using negotiated packet or window sizes, then the called and calling direction sense of the negotiated parameters is reversed. The facilities field in the call packet is formatted correctly. The error is only noticeable when the ACC is not connected to another ACC card and the negotiated values are asymmetric (not the same in each direction). The error can lead to RESETS on SVCs, with diagnostic errors indicating bad P(r), bad P(s) or packet size errors. SR None / DTS None: Restart packets that omit the diagnostic code are rejected with a packet too short error. PHNE_11434: SR None: Problem in clearing SVCs; they get into an incorrect state. Problem for inbound calls, not for outbound calls because of queuing on inbound calls. PHNE_11283: SR 4701356246 "Application timeout on inbound call" error in the ZCOM logfile SR 4701356253 SVCs could be left around instead of cleaned up. PHNE_11025: SR None / DTS TPO0h01163: When using the X.121 address information supplied in the TTGEN configuration on an outbound call request (ZCOM API only), both the calling and called addresses transmitted in the call packet were the same. They both coresponded to the X.121 address configured for the link. SR 4701349134 / DTS TPO0h01160: If call user data is supplied in the TTGEN configuration file for a SVC and the user request the TTGEN call user data be sent in the call, the call user data was not being inserted into the call request packet. Defect Description: PHNE_12223: SR None / DTS None: This enhancement is disabled by default. It is enable by adding the statement "acc_alt_pvc_setup 1" to the system file and then rebuilding the HP-UX kernel. It causes the ACC software to leave PVCs disabled until an application issues an X25_SETUP_PVC ioctl request. When the ioctl is issued, the ACC software will enable the PVC. Note that disabled PVCs will not sent a level 3 RR in response to inbound data. PHNE_12094: SR None / DTS None: Under ISO 8208 the diagnostic code for restarts and resets is mandatory. However, under ITU-T X.25, it is optional. The ACC implementation was treating the diagnostic code as mandatory. PHNE_11869: SR 5003379479 / DTS TPO0h01476: Incorrect parsing of the packet size and window size facilities fields. SR None / DTS None: Under ISO 8208 the diagnostic code is mandatory. However, under ITU-T X.25, it is optional. The ACC implementation was treating the diagnostic code as mandatory. PHNE_11434: SR None: This is a follow-up fix to the last superseded patch. Fix for a fix to an ENOSPC problem in axin. PHNE_11283: SR 4701356246 zx25 driver was clearing a call when the call did not have to be cleared. SR 4701356253 zx25 driver call accept did not correctly check state of the circuit. PHNE_11025: SR None / DTS TPO0h01163: When using the TTGEN supplied X.121 addresses, the driver copies the address into temporary variables (addr1 and addr2) and assigns pointer for the called and calling address to these temporaries. However, the code was assigning both the called and calling pointers to the same temporary (addr1) which resulted in both addresses being the same. SR 4701349134 / DTS TPO0h01160: The code to retrieve the call user data from the SVC's table area was incorrect. SR: 5003379479 4701356246 4701356253 4701349134 Patch Files: /usr/conf/lib/libzx25d.a /usr/conf/master.d/zx25 /usr/conf/space.h.d/zx25_space.h what(1) Output: /usr/conf/lib/libzx25d.a: ACC Rel B.02.23 for B.10.20 PHNE_12223 $Header: zx2 5_fsif.c@@/main/r2.23/7 08/01/97 10:04:21 $ /usr/conf/master.d/zx25: None /usr/conf/space.h.d/zx25_space.h: $Header: zx25_space.h@@/main/r2.23/1 07/30/97 12:11 :40 $ cksum(1) Output: 343064386 94468 /usr/conf/lib/libzx25d.a 4076457685 3399 /usr/conf/master.d/zx25 3865591941 3810 /usr/conf/space.h.d/zx25_space.h Patch Conflicts: None Patch Dependencies: s700: 10.20: PHNE_12227 s800: 10.20: PHNE_12227 Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_11025 PHNE_11283 PHNE_11434 PHNE_11869 PHNE_12094 Equivalent Patches: None Patch Package Size: 160 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_12223 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_12223.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_12223.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_12223. 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_12223.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_12223.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: SUBSYSTEM_SHUT Before installing this patch, use the following command to shutdown the ACC subsystem and kill the ACC daemons. /opt/acc/bin/zmasterd kill The above command kills any of the ACC daemons that are still running, including zmasterd, zx25d, watch, zmlog, zmon, and znode. The kernel will be regenerated and the system will reboot automatically during the patch installation.