Patch Name: PHNE_9288 Patch Description: s700_800 10.10 2.22 Z7401A ACC X.25 Bundled Product Patch Creation Date: 97/03/05 Post Date: 97/03/12 Hardware Platforms - OS Releases: s700: 10.10 s800: 10.10 Products: HP Z7401A Filesets: ACC.ACC-KRN ACC-X25ST.ACC-X25ST-KRN X25CORE.X25CORE-KRN X25BSD.X25BSD-KRN ACC.ACC-FW ACC-X25.ACC-X25-FW ACC.ACC-RUN Automatic Reboot?: Yes Status: General Superseded Critical: No (superseded patches were critical) PHNE_9285: PANIC Path Name: /hp-ux_patches/s700_800/10.X/PHNE_9288 Symptoms: PHNE_9288: SR 5003342105 / DTS TPO0h00861, SR 5003358846 / DTS TPO0h01145: The acc_bld_lpbk includes the wrong filename, "protocol", in the Interface-Definition specifications of its output ttgen answer file. This occurs when the -p option is used to specify a filename. This problem does not occur when the -p option is used to specify one of the protocols, "loopback" or "x25". 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. PHNE_9285: SR 4701344473 / DTS TPO0h00994: DMA timeouts and system panics can occur when the EISA ACC is used and the onboard LAN interface is busy on some D-class and C-class systems. 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. SR None: "Kernel scheduler interrupt" panic in the n_disconnect_ind() routine. SR None: Panic in sounlock() called by x25L3_n_connect_ind(). Panic in sonewconn() called by x25L3_n_connect_ind(). All networking in the system hangs. SR None: Spinlock deadlock panic. PHNE_9283: SR 4701341719 / DTS TPO0h00745 / DTS TPO0h00804: A system panic can occur when receiving messages greater than 28672 bytes. The long messages can be generated using the X.25 protocol and setting the M-bit (more data) on multiple packets. This problem affects systems with cache coherent I/O such as the C, D, and J-class. The panic is a "Data page fault". The message "DMA buffer mapping failure -1." is written to the system console when this problem occurs. Here is the stack trace for the panic. stack trace for event 0 crash event was a panic panic+0x10 report_trap_or_int_and_panic+0x8c interrupt+0x4e0 $ihndlr_rtn+0x0 eisa_unmap+0x4c nacc0_end_io+0x5c0 eacc0_isr+0x328 eisa_int+0x10c lasi_interrupt+0x18c mp_ext_interrupt+0x280 $RDB_int_patch+0x58 idle+0x344 PHNE_8991: SR 5000716860 / DTS TPO0h00741: A select() call which waits for the file descriptor associated with a program ZLU to become readable is not awakened when a message arrives on the ZLU input queue. The select call returns after the timeout has expired with the read fd mask indicating the ZLU fd is readable. Defect Description: PHNE_9288: SR 5003342105 / DTS TPO0h00861, SR 5003358846 / DTS TPO0h01145: This problem was caused by an error in the function ACCF_bld_mux within the file ACC_ksh_functs. The shell variable protocol_file was being set to protocol instead of $protocol . 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. PHNE_9285: SR 4701344473 / DTS TPO0h00994: The ACC firmware was not correctly setting up the logic which controls the data transfers from the EISA bus into the ACC card memory for host to card transfers. The logic would fail to stop writing to the ACC card memory when the data transfer over the EISA bus was paused. When the onboard LAN was busy, the transfers to the EISA ACC card could be slowed causing the problem to appear. 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 None: An splimp() call was in the wrong location. Under certain circumstances, this caused the interrupt to not be restored correctly. SR None: The panics were cause be incorrect socket lock/unlock code in libx25pa. SR None: Code in the axin driver ended up calling n_disconnect_ind() when zx25callout() returned an error. This resulted in re-entering the top half of the X.25 level 3 programmatic access layer causing the MP I/O semaphore to be re-locked. Note that this thread of execution already had the I/O semaphone locked for the outbound call. PHNE_9283: SR 4701341719 / DTS TPO0h00745 / DTS TPO0h00804: Within the driver for the EISA ACC, the call to wsio_map() to map the zcom buffer for the inbound data fails and the error is not handled properly. When the DMA operation completes the panic occurs in the wsio_unmap() call. PHNE_8991: SR 5000716860 / DTS TPO0h00741: The driver zcom0 was calling selwakeup() with the wrong argument type. For hp-ux 10.10 the type was changed from (struct proc *) to (struct kthread *), but zcom0 was not updated. SR None: Some errors in setting the spl level for inbound events were corrected in the axin driver. SR: 4701341719 5000716860 4701344473 1653195677 5003342105 5003358846 4701348086 Patch Files: /usr/conf/lib/libzcom.a /opt/acc/protocol/x25.zrel /usr/conf/lib/libx25.a /usr/conf/lib/libx25pa.a /opt/acc/sys/z7400_fw.zrel /opt/acc/z7400a/loopback.zabs /opt/acc/z7400a/loopback.zmap /opt/acc/z7400a/x25.zabs /opt/acc/z7400a/x25.zmap /opt/acc/lbin/ACC_ksh_functs /usr/conf/lib/libaxin.a what(1) Output: /usr/conf/lib/libzcom.a: ACC Rel B.02.22 for B.10.10 PHNE_8991 $Header: zcom 0.c@@/main/r2.22/2 10/23/96 09:11:56 $ /opt/acc/protocol/x25.zrel: ZCOM X.25 PROTOCOL CODE Rev 12.36 961114.0000 /usr/conf/lib/libx25.a: X.25: Version: B.10.10.01 $ Revision: TPD 2.7 PHNE_9 285 (13 Jan 97 17:50) /usr/conf/lib/libx25pa.a: X.25: Version: B.10.10.01 $ Revision: TPD 2.7 PHNE_9 285 (13 Jan 97 17:50) /opt/acc/sys/z7400_fw.zrel: ZCOM Z7400A System Software Rev 01.T7 970109.0000 /opt/acc/z7400a/loopback.zabs: ZCOM System Firmware (ROM) Rev 01.T5 951113.1200 ZCOM Z7400A System Software Rev 01.T7 970109.0000 ZCOM LEVEL1 protocol Rev 0.02 950207.0000 ZCOM Monitor module Rev 3.0 940706.1800 ZCOM Port diagnostic module Rev 2.2 950808.1200 ZCOM Protocol module entry point table 870406.1041 /opt/acc/z7400a/loopback.zmap: ZCOM System Firmware (ROM) Rev 01.T5 951113.1200 ZCOM Z7400A System Software Rev 01.T7 970109.0000 ZCOM LEVEL1 protocol Rev 0.02 950207.0000 ZCOM Monitor module Rev 3.0 940706.1800 ZCOM Port diagnostic module Rev 2.2 950808.1200 ZCOM Protocol module entry point table 870406.1041 /opt/acc/z7400a/x25.zabs: ZCOM System Firmware (ROM) Rev 01.T5 951113.1200 ZCOM Z7400A System Software Rev 01.T7 970109.0000 ZCOM LEVEL1 protocol Rev 0.02 950207.0000 ZCOM LAP-B INTERRUPT CODE Rev 10.18 960426.1528 ZCOM X.25 PROTOCOL CODE Rev 12.36 961114.0000 ZCOM HDLC PROTOCOL CODE Rev 3.6 960426.1532 ZCOM Monitor module Rev 3.0 940706.1800 ZCOM Port diagnostic module Rev 2.2 950808.1200 ZCOM Protocol module entry point table 870406.1041 /opt/acc/z7400a/x25.zmap: ZCOM System Firmware (ROM) Rev 01.T5 951113.1200 ZCOM Z7400A System Software Rev 01.T7 970109.0000 ZCOM LEVEL1 protocol Rev 0.02 950207.0000 ZCOM LAP-B INTERRUPT CODE Rev 10.18 960426.1528 ZCOM X.25 PROTOCOL CODE Rev 12.36 961114.0000 ZCOM HDLC PROTOCOL CODE Rev 3.6 960426.1532 ZCOM Monitor module Rev 3.0 940706.1800 ZCOM Port diagnostic module Rev 2.2 950808.1200 ZCOM Protocol module entry point table 870406.1041 /opt/acc/lbin/ACC_ksh_functs: ACC Rel B.02.22 for B.10.10 PHNE_9288 $Header: ACC_k sh_functs@@/main/r2.22/2 03/05/97 16:48:31 $ /usr/conf/lib/libaxin.a: ACC Rel B.02.22 for B.10.10 PHNE_9288 $Header: axin _ssm.c@@/main/r2.22/2 01/13/97 18:11:19 $ cksum(1) Output: 3132874414 264400 /usr/conf/lib/libzcom.a 1598160038 20736 /opt/acc/protocol/x25.zrel 124056890 178192 /usr/conf/lib/libx25.a 2693665294 61220 /usr/conf/lib/libx25pa.a 3094845491 39316 /opt/acc/sys/z7400_fw.zrel 2942085380 16610 /opt/acc/z7400a/loopback.zabs 3337467796 1593 /opt/acc/z7400a/loopback.zmap 2628812859 43964 /opt/acc/z7400a/x25.zabs 3182400616 3153 /opt/acc/z7400a/x25.zmap 669600707 6314 /opt/acc/lbin/ACC_ksh_functs 2562340494 126408 /usr/conf/lib/libaxin.a Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_8991 PHNE_9283 PHNE_9285 Equivalent Patches: None Patch Package Size: 820 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_9288 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_9288.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_9288.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_9288. 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_9288.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_9288.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.