Patch Name: PHNE_19220 Patch Description: s700_800 10.20 2.23 ACC X.25/9000 Support (EISA) Patch Creation Date: 99/09/02 Post Date: 00/02/16 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: Z7401A 2.23; Z7436AA 2.23 Filesets: ACC-X25ST.ACC-X25ST-KRN ACC-X25ST.ACC-X25ST-RUN X25CORE.X25CORE-KRN X25BSD.X25BSD-KRN X25IP.X25IP-KRN X25PAD.X25PAD-RUN Automatic Reboot?: Yes Status: General Superseded Critical: No (superseded patches were critical) PHNE_11027: PANIC HANG Path Name: /hp-ux_patches/s700_800/10.X/PHNE_19220 Symptoms: PHNE_19220: DTS TPO0h02787 System panics when receiving a large amount of X25 Interrupt Packets and/or VC_RESET packet from the remote system. DTS TPO0h02802 When configuring an X.25 link with more VCs than the ACC card can support, the error message logged in nettl.LOG00 does not indicate clearly what the problem is. DTS TPO0h02819 An error message references the location of a file for HP-UX 9.0 DTS TPO0h02824 system panics , stack trace shows the sleep was issued on ICS SR 1653301580 / SR 4701427237 / DTS TPO0h02760 padem - While padem is run with aprof command, core dump occurs. x29printd - Failed to work PHNE_15356: SR 1653234476 / DTS TPO0h01652: Customers failed to configure a throughput class facility value higher than 48k with our high speed cards. DTS TPO0h02089 Write completion length mismatch messages in ZCOM log file. The could be other random symptoms being generated by the ACC physical driver. PHNE_12994: SR None / DTS None: Under certain circumstances, an SVC was being cleared without the application being informed. PHNE_12526: SR None / DTS None: Fix some general problems discovered in the handling of the Fast-Select and Call/Clear user data. SR None / DTS None: Fix a potential hang in PVC setups if a Reset Collision occurs. SR None / DTS None: Fix a defect introduced in the PVC close handling. SR None / DTS None: Fix a configuration problem with one-way SVCs when an unequal number of SVC INs vs OUTs are defined and the link is configured as a DCE. SR 5003374884 / DTS TPO0h01431: Call request not accepted. Call is cleared, if "called address extension" is present in confirm. PHNE_12227: SR None / DTS None: Enhancement patch erroneously submitted. Patch recalled. PHNE_11674: SR 5003374884 / DTS TPO0h01431: Client Call request reject by the server test program with non-default X25 facility request. PHNE_11435: SR None: In an inbound flow control condition (especially when the remote system is continuing to send data packets after an RNR), in rare circumstances the ACC will send an RNR and never reply with an RR when the application reads all of its data. SR None: ENOSPC (no space) error in the Nettl logfile when an attempt is made to connect to a new SVC. PHNE_11027: SR 5003371195: - SVCs not getting cleared or hanging. - Duplicate packets arriving. - Netisr defect. - Defect in socket lock/unlock code will show up as: - Panic in sounlock() routine. - Random panic implicating malloc. - All networking on the system hangs. SR None: Also noticing in axin that when an error occurred on an outbound call, an unnecessary attempt would be made to disable the ZLU. SR None: 15 copies of x25stat(1M) were running. Customer did a "zmasterd kill". This caused the system to panic. SR 4701350231 / DTS TPO0h01210: If a user issued an outbound call request on the last free logical channel number at the same time that an inbound call arrived on that LCN, the outbound call would be lost causing the application to wait for ever for the call to complete. SR None: Application could get ENOSPC errors when only a single X.25 call was placed. X.25 SVCs still established when all of the applications using X.25 have terminated. SR None: When only a single VC is being used in the entire system, an inbound call indication or the call accepted packet could potentially not get delivered to the application. That is, the connect() call might hang. SR 4701352062 / DTS TPO0h01260: Running x25check test program on multiple 2-channel ACC cards causes the test to fail due to duplicate sequence number errors. SR 4701348086 / DTS TPO0h01132: PVC sockets that were closed by an application did not have a Reset Request issued on them as documented in the X.25/9000 manuals. SR 1653195677 / DTS TPO0h00908: A connection cannot be established using FTAM and OTS/9000 with the ACC when the ACC is connected to an older model Siemens switch. Defect Description: PHNE_19220: DTS TPO0h02787 The Classic X25 code does not calculate the OOB_queue's range correctly. This allows the OOB_queue buffer of the VC to be overran, which corrupts OOB_queue's link list fields. DTS TPO0h02802 The driver has been modified to log an appropriate message that clearly states that too many virtual circuits were requested. DTS TPO0h02819 An error message logged by the AXIN driver was not updated when the product was released for the HP-UX 10.X operating system release. This message has been corrected. DTS TPO0h02824 When Axin driver runs out of free poll of buffers it tries to allocate new buffers and waits (sleeps) until they are allocated. This is OK if the routine is called in process context but when called on ICS it panics. SR 1653301580 / SR 4701427237 / DTS TPO0h02760 ACC ships old version of padem. The version of x29printd sever that ships with ACC is old (10.12) PHNE_15356: SR 1653234476 / DTS TPO0h01652: Customers are not able to use a throughput class facility value higher than 48k with our high speed cards. DTS TPO0h02089 Under extremely high loads, the ACC DAM can sometimes be reentered while it is currently executing on the ICS. The ACC DAM is not designed to be reentrant (it is MP SAFE). The AXIN driver was lowering the interrupt level when it should not have been allowing the ACC DAM to be reentered. The AXIN driver was modified to maintain a high SPL level when executing on the ICS. PHNE_12994: SR None / DTS None: During clear request processing, one of the fields in the call request table is set to 0. Some time ago, usage of this field changed so that it tracks the PVC table entry number instead of the absolute PVC LCN number. Note LCN numbers start at 1, table entry numbers start at 0. The change was not propagated into all of the physical drivers. This defect was corrected by setting the field to -1 PHNE_12526: SR None / DTS None: There were missing checks in the Clear Request handling for "Fast-Select" and in the Call Accept handling for "Restricted Fast-Select". Call user data is not allowed in these cases. SR None / DTS None: When a Reset Collision occurred, a Reset Complete unsolicited status message was not being sent to the upper layers. SR None / DTS None: There was a missing check when disabling PVCs on a close. SR None / DTS None: The LCN subscription table is defined from the perspective of the DTE, but the ZLUs are always created from the local perspective. For DCEs, the number of input and output one-way SVCs created needed to be reversed. SR 5003374884 / DTS TPO0h01431: The axin driver module was not processing the facility CLASS-D octet length properly. PHNE_12227: SR None / DTS None: Enhancement patch erroneously submitted. Patch recalled. PHNE_11674: SR 5003374884 / DTS TPO0h01431: Problem in the axin driver. The axin driver is not handling the processing of the CLASS-D octect length for the facility packet. PHNE_11435: SR None: This problem occurs then the software has turned off inbound flow control and additional data is received that exceeds the size of the socket buffer. SR None This is a follow-up fix to the last superseded patch. Error due to code commented out for SVC recovery but flags governing code not commented out. PHNE_11027: SR 5003371195: - SVCs not getting cleared or hanging. Classic X.25 product was issuing a disconnect on the wrong SVC and then rejecting an inbound call accept. - Duplicate packets arriving. Classic X.25 product was issuing a disconnect on the wrong SVC and then rejecting an inbound call accept. - Workaround fix to accomodate netisr defect. Fixing unproctected Interrupt problem. The protection level around the calling of schednetisr() is dropped to splnet(). This opens up a small time frame to allow the ISR come, which causes the x25check out of sequence problem. - This patch is a comprehensive attempt to fix the socket lock/unlock problem. SR None: Fixed unnecessary disabling of the ZLU by commenting out code. SR None: 15 copies of x25stat(1M) were running. Customer did a "zmasterd kill". This caused the system to panic. Fixed spl levels, pointers in axin to handle this. SR 4701350231 / DTS TPO0h01210: When a call collision occured, both the inbound and outbound calls on that SVC were thrown away. SR None: If a clear request was issued by the application before the call was accepted (or cleared) from the remote end of the VC, the wrong call request table entry was being used. This caused the disconnect request to be ignored leaving an established SVC with no socket associated with it. SR None: Occassionally, netisr is called to schedule the processing of an inbound event, but netisr fails to call the driver's inbound event handler. Netisr loses schedule requests potentially caused an unprocessed "orphan" event to be left unprocessed. SR 4701352062 / DTS TPO0h01260: The ACC interface (DAM) driver queues the data packets and schedules the netisr to call axin_proc_eventq() to process incoming data packet in a more convinient time. The spl proctection around the code that set up the netisr was dropped from spl5 to splnet, which opens up a window for the ISR to preempt the axin driver before it has the chance to finish the staging of data packet; hence causes the same data packet to be processed twice. SR 4701348086 / DTS TPO0h01132: The X.25/9000 product deleted the functionality which issued the Reset Request when the socket close was issued. TPD was never informed of this change. SR 1653195677 / DTS TPO0h00908: OTS/9000 is setting up the facilities with the facility code 0x01 for reverse charging and fast select, but the associated facility parameter field is 0. This is allowed by the X.25 specification but is not accepted by some Siemens switches. SR: 5003374884 5003371195 4701350231 4701352062 4701348086 1653195677 1653234476 1653301580 4701427237 Patch Files: /usr/conf/space.h.d/axin_space.h /usr/conf/lib/libx25.a /usr/conf/lib/libx25ip.a /opt/acc/bin/zx25init /usr/conf/acc/axin.msgs /usr/conf/lib/libaxin.a /usr/conf/lib/libx25pa.a /usr/sbin/padem /usr/sbin/x29printd /opt/acc/.patch_build_info_PHNE_19220 what(1) Output: /usr/conf/space.h.d/axin_space.h: $Header: axin_space.h@@/main/r2.23/1 04/30/97 09:43 :21 $ /usr/conf/lib/libx25.a: X.25: Version: B.10.20.00 $ Revision: TPD 2.7 PHNE_1 1027 (05 Jun 97 16:08) /usr/conf/lib/libx25ip.a: X.25: Version: B.10.20.00 $ Revision: TPD 2.7 PHNE_1 1027 (05 Jun 97 16:08) /opt/acc/bin/zx25init: ACC Rel B.02.23 for B.10.20 PHNE_19220 zx25init $Hea der: main.c@@/main/6 06/11/96 07:12:05 $ X.25: Version: B.10.20.00 PHNE_19220 $ Revision: TPD 2.7 /usr/conf/acc/axin.msgs: None /usr/conf/lib/libaxin.a: ACC Rel B.02.40-B.02.40.02 for B.10.20 PHNE_19220 $H eader: axin_ssm.c@@/main/r2.23/2 05/23/97 0 0:31:30 $ /usr/conf/lib/libx25pa.a: X.25: Version: B.10.20.00 PHNE_19220 $ Revision: TPD 2.7 PHNE_9286 (24 Jul 99 18:49) /usr/sbin/padem: X.25 PAD Services $Revision: 10.32 $ 28_Jan_99_18:23 /usr/sbin/x29printd: X.25 PAD Services $Revision: 10.32 $ 28_Jan_99_18:23 /opt/acc/.patch_build_info_PHNE_19220: None cksum(1) Output: 1226570961 11050 /usr/conf/space.h.d/axin_space.h 2204106671 181428 /usr/conf/lib/libx25.a 4215227105 29896 /usr/conf/lib/libx25ip.a 1141794694 82188 /opt/acc/bin/zx25init 1351162131 15290 /usr/conf/acc/axin.msgs 109962595 133552 /usr/conf/lib/libaxin.a 2761432607 59884 /usr/conf/lib/libx25pa.a 843732451 118784 /usr/sbin/padem 2536207429 151552 /usr/sbin/x29printd 3962816936 1091 /opt/acc/.patch_build_info_PHNE_19220 Patch Conflicts: None Patch Dependencies: s700: 10.20: PHNE_19224 s800: 10.20: PHNE_19224 Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_11027 PHNE_11435 PHNE_11674 PHNE_12227 PHNE_12526 PHNE_12994 PHNE_15356 Equivalent Patches: None Patch Package Size: 840 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_19220 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_19220.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHNE_19220. 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_19220.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_19220.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: IMPORTANT NOTE : This patch is dependent on patch PHNE_19224 which must be installed before installing this patch otherwise the mk_kernel would fail. 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.