Patch Name: PHNE_19741 Patch Description: s700_800 10.26 LAN products cumulative commands patch Creation Date: 99/09/18 Post Date: 99/10/15 Hardware Platforms - OS Releases: s700: 10.26 s800: 10.26 Products: N/A Filesets: Networking.LAN-RUN Networking.NW-ENG-A-MAN Automatic Reboot?: Yes Status: General Superseded Critical: Yes PHNE_19741: PANIC OTHER Symptom 2 fixes a panic. Without this patch, packets which are sent out by an interface will not be seen by the promiscuous mode application. Path Name: /hp-ux_patches/s700_800/10.X/PHNE_19741 Symptoms: PHNE_19741: Ported 10.20 patch PHNE_18173 to TOS. (PHNE_18173) 1. HP-PB 10BT and Core 10BT drivers do not receive packets they transmit, when in promiscuous mode. 2. System configured with Core 10BT lan interface, sometimes panics (data page fault) with the target address showing 0xa00?????. System could panic with the message "panic: mclfree". 3. swverify(1M) on the Networking product fails on the newer workstations without Core 10BT lan interface. 4. Sequence of packets as seen by promiscuous mode application may be not be in the same sequence as they are on the physical media. 5. When an interface is in promiscuous mode, dlpi/ lanc loops back packets to IP stream even if MF_NOLOOPBACK flag is set. 6. Promiscuous mode application may not see outbound packets if it is operating in 'SAP level promiscuous'. PHNE_17990: Port of PHNE_16999 1. No delete multicast requests sent to driver 2. Inconsistent behaviour when promiscuous mode enabled 3. Token ring failed to enable/disable multicast addresses 4. Improved lanadmin reset of MAC address Defect Description: PHNE_19741: 1. HP-PB 10BT and Core 10BT drivers did not loopback outbound packets while in promiscuous mode. So, the stream which turned on the promiscuous mode didn't receive the outbound packets. Resolution: Drivers now will loopback the outbound packets to DLPI and DLPI will send the packets upstream. 2. Core 10BT lan interface used to do an extra DMA to a receive frame descriptor under some conditions. This caused corruption of the 256 byte bucket. The system panic'd on the next 256 byte allocation request. Resolution: When the Core 10BT lan interface has used up the last available receive frame descriptor, it generates a "Frame Received" interrupt and also a "Receiver Not Ready" interrupt. After processing each of these interrupts, the driver attempted to start the receive engine with a new pool of receive frame descriptors if the receive engine status showed "Not Ready". Sometimes this could result in the same pool of buffers being set up twice for DMA. It has been corrected to start the receive engine only on Receive unit "Not Ready interrupt". 3. Verify scripts for the Networking product assumed the presence of Core 10BT lan interface on the machine. This is no longer true on newer workstations. Resolution: SD Control scripts for the Networking product have been modified to correct the problem. 4. Currently the kernel loops back the packets to promiscuous mode application before they are put on the DMA queue. Hence these packets will be seen by the promiscuous mode application before the packets on the physical media are seen. Resolution: The kernel is modified to loop back the outbound packets to promiscuous mode application only after it is sent on the physical media. 5. lanc/ dlpi currently ignores MF_NOLOOPBACK flag, before looping back the packets to IP stream. In fact these packets are to be sent only to promiscuous mode application (if any) and not to IP stream. Resolution: lanc/ dlpi is modified to check for MF_NOLOOPBACK flag and loop back the packets to appropriate streams only. 6. Due to a defect in lanc/ dlpi packets were not being looped back properly when the promiscous mode application is operating in 'SAP level promiscuous'. Resolution: Modified a comparison statement for sap level promiscuous in lanc/ dlpi to loopback applicable packets to promiscuous mode application. PHNE_17990: 1. LANC did not send multicast delete requests to driver 2. No support for promiscuous data at LANC level 3. LANC expects requests in wire or in canonical form, which was rejected 4. lanadmin -A is enhanced to reset the MAC address Resolution: Defect repairs/enhancements to LANC and lanadmin SR: 5003442897 5000699934 5003419895 5003315291 5003387050 5003388603 5003408674 1653251025 5003394551 1653232157 5003391888 1653230078 5003386516 5003375949 5003372565 5003362418 4701341230 5003353771 1653158527 Patch Files: /usr/sbin/lanadmin /usr/lib/lanadmin/libdslan2.1 /usr/lib/lanadmin/libdslan3.1 /usr/lib/nls/msg/C/lanadmin.cat /usr/sbin/lanscan /usr/lib/nls/msg/C/lanscan.cat /usr/sbin/linkloop /usr/share/man/man1m.Z/lanadmin.1m /usr/share/man/man1m.Z/lanscan.1m what(1) Output: /usr/sbin/lanadmin: 1999/09/16 Hewlett-Packard HP-UX 10.26 TOS [ ic5dh - DAV17 ] 99/04/20 lanlink/LAN/lanadmin/lanadmin.c, hpux, hpux _10.26, ic5dh Revision 1.7 PATCH_10.26 (PHNE _17990) LAN: Version: B.10.10 $Date: 96/05/09 11:26:21 $ /usr/lib/lanadmin/libdslan2.1: 1999/09/16 Hewlett-Packard HP-UX 10.26 TOS [ ic5dh - DAV17 ] 99/04/15 lanlink/LAN/lanadmin/dslan2.c, hpux, hpux_1 0.26, ic5dh Revision 1.1 PATCH_10.26 (PHNE_1 7990) UNMODIFIED /usr/lib/lanadmin/libdslan3.1: 1999/09/16 Hewlett-Packard HP-UX 10.26 TOS [ ic5dh - DAV17 ] 99/04/15 lanlink/LAN/lanadmin/dslan3.c, hpux, hpux_1 0.26, ic5dh Revision 1.1 PATCH_10.26 (PHNE_1 7990) UNMODIFIED /usr/lib/nls/msg/C/lanadmin.cat: None /usr/sbin/lanscan: 1999/09/16 Hewlett-Packard HP-UX 10.26 TOS [ ic5dh - DAV17 ] 99/04/15 lanlink/LAN/lanscan/lanscan.c, hpux, hpux_1 0.26, ic5dh Revision 1.4 PATCH_10.26 (PHNE_1 7990) LAN: Version: B.10.10 $Date: 96/05/09 11:26:21 $ libvmmap.a $Revision: 78.1 $ /usr/lib/nls/msg/C/lanscan.cat: None /usr/sbin/linkloop: 99/04/20 lanlink/LAN/linkloop/linkloop.c, hpux, hpux _10.26, ic5dh Revision 1.4 PATCH_10.26 (PHNE _17990) LAN: Version: B.10.10 $Date: 96/05/09 11:26:21 $ /usr/share/man/man1m.Z/lanadmin.1m: None /usr/share/man/man1m.Z/lanscan.1m: None cksum(1) Output: 3487361033 40960 /usr/sbin/lanadmin 3061305901 16384 /usr/lib/lanadmin/libdslan2.1 4185464712 16384 /usr/lib/lanadmin/libdslan3.1 2224481058 5577 /usr/lib/nls/msg/C/lanadmin.cat 1298158055 36864 /usr/sbin/lanscan 4052451305 2127 /usr/lib/nls/msg/C/lanscan.cat 2601179016 28672 /usr/sbin/linkloop 3456478639 4652 /usr/share/man/man1m.Z/lanadmin.1m 3114622409 2150 /usr/share/man/man1m.Z/lanscan.1m Patch Conflicts: None Patch Dependencies: s700: 10.26: PHCO_18918 PHNE_17988 s800: 10.26: PHCO_18918 PHNE_17989 Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_17990 Equivalent Patches: None Patch Package Size: 220 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_19741 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_19741.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHNE_19741. 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_19741.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_19741.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: You must first install the LAN products cumulative kernel patch (PHNE_17988/PHNE_17989) before installing this patch.