Patch Name: PHNE_30773 Patch Description: s700_800 11.23 LAN product cumulative patch Creation Date: 04/05/03 Post Date: 04/06/01 Hardware Platforms - OS Releases: s700: 11.23 s800: 11.23 Products: N/A Filesets: Networking.LAN-PRG,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,v=HP Networking.LAN-RUN,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,v=HP Networking.LAN2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP Networking.LAN2-RUN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHNE_30773: ABORT HANG MEMORY_LEAK PHNE_30242: PANIC Symptom 8 fixes panic. Category Tags: defect_repair general_release critical panic halts_system memory_leak Path Name: /hp-ux_patches/s700_800/11.X/PHNE_30773 Symptoms: PHNE_30773: ( SR:8606356305 CR:JAGaf17011 ) 1. Low probability of memory leak when HP-APA product is configured and system is low in memory. ( SR:8606357449 CR:JAGaf18149 ) 2. System may hang or exhibit other symptoms associated with kernel memory leak including slow system response, increased application response/execution time, and application aborts due to insufficient resources, etc. ( SR:8606360195 CR:JAGaf20891 ) 3. Slow memory leak as a new dlpi interface is registered with HP-DLPI. ( SR:8606361250 CR:JAGaf21940 ) 4. System may hang due to low system memory. PHNE_30242: 1. ( SR:8606325797 CR:JAGae88087 ) User space application may receive larger buffer as a reponse to DL_UNITDATA_REQ when error is returned using DL_UDERROR_IND. 2. ( SR:8606336098 CR:JAGae97151 ) IP state may be inconsistent with link state(ifOper) sometimes (rare conditions). 3. ( SR:8606336110 CR:JAGae97163 ) Compiler warning for kernel and user space modules that include header file dlpi_ext.h on IA platform. 4.( SR:8606338022 CR:JAGae99021 ) Token ring functional MAC address may not enabled correctly. 5. ( SR:8606344382 CR:JAGaf05232 ) TCP segmentation offload (TSO) support for the current iether and igelan ethernet drivers will help reduce the cpu utilization on the system when transmitting data. This is achieved by advertising a large MTU (known as VMTU) which is typically much larger than the link MTU to the upper layer (IP). This enables data transfer down the stack to be much more efficient. 6. ( SR:8606344560 CR:JAGaf05410 ) DLPI currently supports interface of 6 byte MAC address length and Token Ring, FDDI, and ethernet MAC type. DLPI needs to support IB(Infiniband) MAC type, IPoIB packet format and 20 byte MAC address. 7. ( SR:8606344889 CR:JAGaf05739 ) DLPI currently does not support HP-APA product. 8. ( SR:8606345305 CR:JAGaf06155 ) Panics with data page fault over ethernet and token ring interface. Stack trace for ethernet looks as follows: Event selected is 0. It was a panic panic_save_regs_switchstack+0x110 () panic+0x310 () post_hndlr+0xc20 () vm_hndlr+0x220 () bubbleup+0x740 () t2_mblk_ics+0x80 () hp_dlpi_ether_intr_slowpath+0xa00 () Defect Description: PHNE_30773: Fix Summary: For APA : 1 Common for all products: 2, 3, 4 ( SR:8606356305 CR:JAGaf17011 ) 1. In some error cases, allocated memory is not freed. Resolution: Now the allocated memory is freed. ( SR:8606357449 CR:JAGaf18149 ) 2. The problem is caused by an extra block of memory allocated by DLPI and never freed in certain situations. Resolution: The redundant memory allocation has been removed. ( SR:8606360195 CR:JAGaf20891 ) 3. When a new interface is created, an extra 64 byte memory block is allocated and never freed. Resolution: The redundant memory allocation has been removed when a new interface is created. ( SR:8606361250 CR:JAGaf21940 ) 4. DLPI may in some cases queue an excessive amount of memory for a specific stream. Resolution: DLPI will restrict the amount of memory queued in a stream. PHNE_30242: Fix Summary: For Token Ring: 4, 8 For Gigabit Drivers: 5, 8 For IPoIB : 6 For APA : 7 Common for all products: 1, 2, 3 ( SR:8606325797 CR:JAGae88087 ) DLPI program may receive a larger buffer size in reponse to DL_UNITDATA_REQ when error is to be returned using DL_UDERROR_IND. Resolution: Allocate buffer size depending on interface MAC address length and maximum DLSAP length. ( SR:8606336098 CR:JAGae97151 ) List of streams that have requested for link state change notification is not handled properly. Some stream may not receive link event or system may panic. Resolution: The list of streams to be notified link event is handled consistently. ( SR:8606336110 CR:JAGae97163 ) IA compiler warning seen by modules that include header file dlpi_ext.h due to extra comma at end of enumuration dl_hp_link_state_t. Resolution: Enumuration definition corrected. ( SR:8606338022 CR:JAGae99021 ) Token ring functional MAC address may not be enabled correctly due to incorrect handling of multicast list. Resolution: Multicast list handling has been modified in order to fix this. ( SR:8606344382 CR:JAGaf05232 ) DLPI support for drivers to enable TCP segmentation offload. Resolution: DLPI provides interface for upper layers and drivers to negotiate the TCP Segmentation offload capability and send per packet TCP segmentation offload information. ( SR:8606344560 CR:JAGaf05410 ) DLPI needs to support IPoIB(Infiniband) driver that has new packet format, MAC address length and MAC type. Resolution: Changes are done to support new MAC type, 20 byte MAC address length and packet format. ( SR:8606344889 CR:JAGaf05739 ) DLPI needs to support logical modules like HP-APA. Resolution: DLPI provides interfaces for APA module interaction with itself. ( SR:8606345305 CR:JAGaf06155 ) System may panic over ethernet or token ring interface due to uninitialized variables. Resolution: Initialized local variables in packet processing path for ethernet and token ring interfaces. Enhancement: No SR: 8606325797 8606336098 8606336110 8606338022 8606344382 8606344560 8606344889 8606345305 8606356305 8606357449 8606360195 8606361250 Patch Files: Networking.LAN-PRG,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,v=HP: /usr/include/sys/dlpi_ext.h Networking.LAN-RUN,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,v=HP: /usr/lib/nls/msg/C/lanadmin.cat /usr/lib/nls/msg/C/lanscan.cat Networking.LAN2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/conf/lib/liblan.a Networking.LAN2-RUN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/sbin/lanadmin /usr/sbin/landiag /usr/sbin/lanscan /usr/sbin/linkloop what(1) Output: Networking.LAN-PRG,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,v=HP: /usr/include/sys/dlpi_ext.h: include/sys/dlpi_ext.h $Revision: $ Networking.LAN-RUN,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,v=HP: /usr/lib/nls/msg/C/lanadmin.cat: None /usr/lib/nls/msg/C/lanscan.cat: None Networking.LAN2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/conf/lib/liblan.a: dlpi_init.c $Date: 2004/04/23 09:49:14 $Revision: r1 1.23/2 PATCH_11.23 (PHNE_30773) dlpi_ctl.c $Date: 2004/04/29 18:05:11 $Revision: r11 .23/3 PATCH_11.23 (PHNE_30773) $Revision: liblan.a: @(#) lib/liblan.a R11.23_BL2 004_0503_1 PATCH_11.23 PHNE_30773 Mon May 3 10:18:28 PDT 2004 $ Networking.LAN2-RUN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/sbin/lanadmin: $Revision: @(#) lanadmin R11.23_BL2004_0503_1 PATCH_ 11.23 PHNE_30773 Mon May 3 10:18:44 PDT 2004 $ /usr/sbin/landiag: $Revision: @(#) lanadmin R11.23_BL2004_0503_1 PATCH_ 11.23 PHNE_30773 Mon May 3 10:18:44 PDT 2004 $ /usr/sbin/lanscan: $Revision: @(#) lanscan R11.23_BL2004_0503_1 PATCH_1 1.23 PHNE_30773 Mon May 3 10:17:49 PDT 2004 $ /usr/sbin/linkloop: $Revision: @(#) linkloop R11.23_BL2004_0503_1 PATCH_ 11.23 PHNE_30773 Mon May 3 10:17:38 PDT 2004 $ cksum(1) Output: Networking.LAN-PRG,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,v=HP: 712487010 49692 /usr/include/sys/dlpi_ext.h Networking.LAN-RUN,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA,v=HP: 4238436571 12893 /usr/lib/nls/msg/C/lanadmin.cat 1199760807 2967 /usr/lib/nls/msg/C/lanscan.cat Networking.LAN2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: 4060468443 1222580 /usr/conf/lib/liblan.a Networking.LAN2-RUN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: 1123068640 156388 /usr/sbin/lanadmin 1123068640 156388 /usr/sbin/landiag 4077178612 41660 /usr/sbin/lanscan 899694242 40684 /usr/sbin/linkloop Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_30242 Equivalent Patches: None Patch Package Size: 560 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_30773 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHNE_30773.depot By default swinstall will archive the original software in /var/adm/sw/save/PHNE_30773. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHNE_30773.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHNE_30773.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_30773.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None