Patch Name: PHNE_29231 Patch Description: s700_800 11.00 nettl(1M) & nettladm(1M) cumulative patch Creation Date: 03/07/22 Post Date: 03/08/12 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP OS-Core.CORE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Networking.NETTL-MIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Networking.NETTL-64SLIB,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Networking.NETTL-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Networking.NETTL-ADM,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Networking.NW-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHNE_29231: PANIC PHNE_27128: ABORT Category Tags: defect_repair enhancement general_release critical panic halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHNE_29231 Symptoms: PHNE_29231: 1) SR: 8606316938 CR: JAGae79650 Possible system panic in the NetTL kernel code. 2) SR: 8606320659 CR: JAGae83141 ntl_reader daemon does not terminate on traceoff operation when nktl_daemon is not running. PHNE_27128: 1) SR: 8606293049 CR: JAGae56799 NetTL has to be enhanced to reduce the packet loss, when tracing packets at Gigabit speed. 2) SR:8606257016 CR: JAGae21326 netfmt(1M) dumps core while nice formatting a trace file containing RPC packets. 3) SR: 8606293050 CR: JAGae56800 nettl(1M) man page needs to be updated to include new tracing options. 4) SR: 1653310730 CR: JAGab43780 netfmt(1M) prints unwanted extra bytes for ns_ls_ip subsystem packets. 5) SR: 8606250545 CR: JAGae16920 (a) When the help button of nettladm(1M) was clicked it displays the following message "The requested online help is either not installed or not in the proper help search path." (b) When the help button of xtrackmsg utility was clicked it displays the following message "No help volume specified." 6) SR: 8606291840 CR: JAGae55604 NetTL doesn't set the correct write put procedure while turning off trace for NS_LS_UDP subsystem. 7) SR: 8606231286 CR: JAGae00524 netfmt(1M) dumps core while nice formatting trace file containing NFS packets. 8) SR: 8606234810 CR: JAGae03999 netfmt(1M) was displaying corrupted output while nice formatting a trace file containing NFS packets. 9) SR: 8606298453 CR: JAGae61953 netfmt daemon was not getting terminated, when some product SD configure script tries to terminate netfmt daemon by issuing "nettl -stop" command. PHNE_18218: 1. CR JAGab11073 PHNE_16636 preinstall script causing a bad system call (core-dump). 2. SR 5003453837/ CR JAGaa94864 nettl prints the following failure message when turning nettl trace on for IP and ICMP sub-systems: "nettl: I_BACKENDTRACE_ACTIVE ioctl failure: Operation already in progress" 3. SR 5003456079/ CR JAGab11210 PHNE_16636 breaks "nettladm -t" filtering with IP address. When running "nettladm -t", the user will not be able to set some sub-system specific filters(like Local and Remote IP addresses) for IP, ICMP, IGMP, TCP and UDP sub-systems through the user interface, though this can be done by using the "-c" option in the command line. 4. CR JAGab11209 netfmt exits on invalid TERM values, printing out the following message: "No such terminal" PHNE_16636: 1. Tersely format -1 (one) cuts the mss field to only 3 characters. 2. Enhancement: Tersely format -1 doesn't show the ACK counter and the window size if the packet is only ACK without data content. 3. netfmt date handling is not consistent with the libc inferencing window. PHNE_16145: NetTL patch dumps core when the system is updated from 10.x releases to 11.00. PHNE_15490: NetTL patch dumps core when installed along with the OS. PHNE_15400: PHNE_14682 outputs extraneous messages to install logfile. PHNE_14682: 1. nettladm will give error when status is viewed. 2. netfmt will dump core when formatting corrupted IP packets. Defect Description: PHNE_29231: 1) SR: 8606316938 CR: JAGae79650 Possibility of dereferencing a NULL pointer. Resolution: Code has been modified to check for NULL pointer. 2) SR: 8606320659 CR: JAGae83141 ntl_reader daemon does not check for tracing status when nktl_daemon is not running. Due to this, ntl_reader does not terminate on traceoff operation. Resolution: Code is modified so that traceoff results in termination of ntl_reader daemon when nktl_daemon is not running. PHNE_27128: 1) SR: 8606293049 CR: JAGae56799 NetTL needs to be enhanced to reduce the packet loss, when tracing packets at Gigabit speed. Resolution: The kernel and user space components of NetTL are enhanced to achieve the required functionality. 2) SR:8606257016 CR: JAGae21326 A function pointer variable was not initialized before using it. Resolution: The function pointer variable has been initialized before using it. 3) SR: 8606293050 CR: JAGae56800 nettl(1M) man page needs to be updated to include new tracing options. Resolution: nettl(1M) man page is updated with new tracing options. 4) SR: 1653310730 CR: JAGab43780 netfmt(1M) prints extra bytes for ns_ls_ip subsystem packets. netfmt(1M) is overwriting ip_len field in the IP header, if the next protocol type is TCP. Resolution: netfmt(1M) is modified such that it does not overwrite ip_len field in the IP header, if the next protocol type is TCP. 5) SR: 8606250545 CR: JAGae16920 Both nettladm(1M) and xtrackmsg utility were refering wrong help file. Resolution: Both nettladm(1M) and xtrackmsg are now changed to refer correct help file. 6) SR: 8606291840 CR: JAGae55604 NetTL doesn't set alternate stream tabs properly during trace on and off for NS_LS_UDP Subsystem. Resolution: The NetTL code is modified such that it sets the alternate stream tabs properly during trace on and off for NS_LS_UDP subsystem. 7) SR: 8606231286 CR: JAGae00524 In the NFS formatter code of netfmt(1M), use of an incorrect print format caused this problem. Resolution: The NFS formatter code is changed to use the correct print format. 8) SR: 8606234810 CR: JAGae03999 netfmt(1M) was encountering an incorrect data size as well as it was doing an improper check for a data size in the NFS formatting code. Resolution: NFS formatting code is modified such that data size is handled correctly as well as it checks for a proper data size. 9) SR: 8606298453 CR: JAGae61953 "nettl -stop" command sends SIGTERM signal which should have terminated netfmt daemon. Under some conditions the SIGTERM signal of netfmt daemon process was getting masked. Resolution: netfmt daemon code is modified to always unmask SIGTERM signal. PHNE_18218: 1. CR JAGab11073 PHNE_16636 preinstall script uses "/sbin/rm" to remove a stale man-page. This causes a coredump when updating a system from 10.x to 11.00 Extension Pack. Resolution: Replace "/sbin/rm" command in preinstall script with "rm" command. 2. SR 5003453837/ CR JAGaa94864 When nettl pduout packet trace is enabled for IP and ICMP sub-systems, nettl prints out an ioctl failure message, though tracing is enabled correctly and functionality is not affected. This is because PHNE_16636 was compiled without some compiler flags which are necessary for a threaded environment. Resolution: Added the thread-specific compiler flags. 3. SR 5003456079/ CR JAGab11210 This defect can be reproduced in the following manner: a. Run "nettladm -t" from the command line. b. Highlight any of these sub-systems, namely, IP, ICMP, IGMP, TCP or UDP and select the "Modify Tracing" Action. c. Set "Include in Trace" to "Yes". d. Select "[Specify Filter (Optional)...]" e. A screen that should ask the Local and Remote IP addresses as input, appears instead as a blank screen. This is because PHNE_16636 was compiled without a certain compiler flag. Resolution: Added the missing compiler flag, namely, "-Wl,-E" which exports all the symbols of "nettladm" to shared libraries. 4. CR JAGab11209 When the TERM environment variable is set to an invalid value that does not exist in the TERMINFO database, or if the TERMINFO database does not exist, netfmt exits as it tries to set up the terminal. Resolution: netfmt is changed so that it does not exit but rather turns off highlight mode silently and continues. PHNE_16636: 1.When netfmt displays the mss during terse formatting,it is limited to 3 digits, even if the mss is a 4 digit value. 2.When netfmt does terse formatting, it doesn't show the ACK and WIN fields if the packet is only ACK without any data. 3.Netfmt should be able to deal with both 2 figure and 4 figure year dates post 2000 (as it does pre 2000).The inferencing window for the 2 figure dates should be consistent with the libC inferencing window. PHNE_16145: The patch will dump core when the system is updated from 10.x releases to 11.00 due to the 'nettl -stop' command being used in the preinstall script. PHNE_15490: NetTL patch when installed along with the OS, dumps core. This is due to the modifications done to the installation scripts. PHNE_15400: PHNE_14682 outputs messages in install log file which are not in proper format. PHNE_14682: 1. nettladm gui interface fails when viewing the status of logging or tracing. This was due to the changes made to the ObAM libraries. 2. netfmt dumps core when it formats some IP packets which are corrupted. Enhancement: No (superseded patches contained enhancements) PHNE_27128: This patch delivers a new tracing functionality which reduces packet loss while tracing packets at Gigabit speed. PHKL_28171 must also be installed to achieve the full result of this performance improvement. PHNE_16636: netfmt(1M) terse formatting is enhanced to show the ACK counter and window size fields if the packet is only ACK without any data. SR: 8606320659 8606316938 8606293049 8606257016 8606293050 1653310730 8606250545 8606291840 8606231286 8606234810 8606298453 5003453837 8606315313 5003456079 1653267575 1653256081 Patch Files: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libhp-ux.a(net_diag.o) /usr/conf/lib/libhp-ux.a(netdiag.o) /usr/conf/lib/libhp-ux.a(netdiag1.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(net_diag.o) /usr/conf/lib/libhp-ux.a(netdiag.o) /usr/conf/lib/libhp-ux.a(netdiag1.o) OS-Core.CORE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/conf/h/net_diag.h /usr/conf/h/netdiag1.h Networking.NETTL-MIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/lib/libntl.1 /usr/lib/libntl.2 Networking.NETTL-64SLIB,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/lib/pa20_64/libntl.2 Networking.NETTL-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/lib/libnsfmt.1 /usr/lib/libfmtutil.1 /usr/sbin/netfmt /usr/sbin/nettl /usr/lbin/nktl_daemon /usr/lbin/ntl_reader /usr/include/sys/net_diag.h /usr/include/sys/netdiag1.h /usr/lib/nls/msg/C/netfmt.cat /usr/include/ntl.h /usr/lib/nls/msg/C/nettl.cat Networking.NETTL-ADM,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /opt/nettladm/bin/nettladm /opt/nettladm/lib/nls/msg/C/nettladm.cat /opt/nettladm/lbin/xtrackmsg /opt/nettladm/lbin/SFE/FORMATTER /opt/nettladm/ui/nettladm.ui Networking.NW-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/share/man/man1m.Z/netfmt.1m /usr/share/man/man1m.Z/nettl.1m what(1) Output: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libhp-ux.a(net_diag.o): net_diag.c $Revision: 1.13.105.2 $ $Date: 2003/07/05 21:40:43 PHNE_29231 $ /usr/conf/lib/libhp-ux.a(netdiag.o): netdiag.c $Revision: 1.12.105.3 $ $Date: 2003/07/05 21:40:46 PHNE_29231 $ /usr/conf/lib/libhp-ux.a(netdiag1.o): netdiag1.c $Revision: 1.12.105.3 $ $Date: 2003/07/05 21:40:46 PHNE_29231 $ OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(net_diag.o): net_diag.c $Revision: 1.13.105.2 $ $Date: 2003/07/05 21:40:43 PHNE_29231 $ /usr/conf/lib/libhp-ux.a(netdiag.o): netdiag.c $Revision: 1.12.105.3 $ $Date: 2003/07/05 21:40:46 PHNE_29231 $ /usr/conf/lib/libhp-ux.a(netdiag1.o): netdiag1.c $Revision: 1.12.105.3 $ $Date: 2003/07/05 21:40:46 PHNE_29231 $ OS-Core.CORE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/conf/h/net_diag.h: net_diag.h $Revision: 1.13.105.2 $ $Date: 2003/02/2 5 16:01:39 PHNE_27128 $ /usr/conf/h/netdiag1.h: netdiag1.h $Revision:1.13.105.2 $ $Date:2003/07/05 1 6:01:43 PHNE_29231 $ Networking.NETTL-MIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/lib/libntl.1: None /usr/lib/libntl.2: ntl_write.c $Revision: 1.7.119.5 $ $Date: 2003/07/05 23:06:41 PHNE_29231 $ Networking.NETTL-64SLIB,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/lib/pa20_64/libntl.2: ntl_write.c $Revision: 1.7.119.5 $ $Date: 2003/07/05 23:06:41 PHNE_29231 $ Networking.NETTL-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/lib/libnsfmt.1: nfs_xdr.c $Revision: 1.3.119.2 $ nfs3_xdr.c $Revision: 1.2.119.2 $ netterse.c $Revision: 1.8.119.2 $ $Date: 10/12/98 Pa tch: PHNE_16636 $ PATCH_11.00: netnice.c $Revision: 1.6.119.2 $ stcpsubsys.c $Revision: 1.2.119.1 $Date:2003/02/25 1 8:54:48 PHNE_27128 $ mount_xdr.c: $Revision: 1.2.119.1 $ $Date: 96/10 /01 12:22:26 $ /usr/lib/libfmtutil.1: fmt_option.nl $Revision: 1.7.119.2 $Date: 10/12/98 P atch: PHNE_16636 $ /usr/sbin/netfmt: NETTL: Version: B.11.00 $Date: 97/10/15 10:44:21 $ fmt_main.c $Revision: 1.5.119.1 $ $Date: 2003/02/25 12:21:29 PHNE_27128 $ /usr/sbin/nettl: NETTL: Version: B.11.00 $Date: 97/10/15 10:44:21 $ nui_tlproc.c $Revision: 1.6.119.1 $ $Date: 2003/02/2 5 18:54:48 PHNE_27128 $ ntl_control.c $Revision: 1.10.119.3 $ $Date: 2003/07 /05 21:16:40 PHNE_29231 $ /usr/lbin/nktl_daemon: NETTL: Version: B.11.00 $Date: 97/10/15 10:44:21 $ ntl_write.c $Revision: 1.7.119.5 $ $Date: 2003/07/05 23:06:41 PHNE_29231 $ /usr/lbin/ntl_reader: ntl_reader.c $Revision: 1.7.119.3 $ $Date: 2003/07/0 5 12:52:43 PHNE_29231 $ NETTL: Version: B.11.00 $Date: 97/10/15 10:44:21 $ /usr/include/sys/net_diag.h: net_diag.h $Revision: 1.13.105.2 $ $Date: 2003/02/2 5 16:01:39 PHNE_27128 $ /usr/include/sys/netdiag1.h: netdiag1.h $Revision:1.13.105.2 $ $Date:2003/07/05 1 6:01:43 PHNE_29231 $ /usr/lib/nls/msg/C/netfmt.cat: NETTL: Version: B.11.00 $Date: 97/10/15 10:44:21 $ /usr/include/ntl.h: $Revision: 1.8.119.6 $ */ /usr/lib/nls/msg/C/nettl.cat: nettl.msg $Revision: 1.5.119.1 $ $Date:2003/02/25 18 :54:48 PHNE_27128 $ Networking.NETTL-ADM,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /opt/nettladm/bin/nettladm: NETTL: Version: B.11.00 $Date: 97/10/15 10:44:21 $ PATCH_11.00: fe_log.c $Revision: 1.2.119.4 PHNE_161 45 $ fe_trace.c $Revision: 1.4.119.1 $ $Date: 2003/02/25 12:25:04 PHNE_27128 $ mi_time.c $Revision: 1.3.119.2 $ $Date: 98/11/19 Pat ch: PHNE_16636 $ ntl_control.c $Revision: 1.10.119.3 $ $Date: 2003/07 /05 21:16:40 PHNE_29231 $ /opt/nettladm/lib/nls/msg/C/nettladm.cat: None /opt/nettladm/lbin/xtrackmsg: NETTL: Version: B.11.00 $Date: 97/10/15 10:44:21 $ xtrackmsg.c $Revision: 1.3.119.1 $ $Date: 2003/25/02 12:28:39 PHNE_27128 $ /opt/nettladm/lbin/SFE/FORMATTER: None /opt/nettladm/ui/nettladm.ui: None Networking.NW-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/share/man/man1m.Z/netfmt.1m: None /usr/share/man/man1m.Z/nettl.1m: None cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: 3348772063 37712 /usr/conf/lib/libhp-ux.a(netdiag1.o) 3890573282 6912 /usr/conf/lib/libhp-ux.a(net_diag.o) 266610450 14844 /usr/conf/lib/libhp-ux.a(netdiag.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: 1829582338 79072 /usr/conf/lib/libhp-ux.a(netdiag1.o) 1085482495 14352 /usr/conf/lib/libhp-ux.a(net_diag.o) 2205059346 20072 /usr/conf/lib/libhp-ux.a(netdiag.o) OS-Core.CORE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 1046216697 21678 /usr/conf/h/netdiag1.h 3630618325 59466 /usr/conf/h/net_diag.h Networking.NETTL-MIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 3496795486 24672 /usr/lib/libntl.1 235418922 28672 /usr/lib/libntl.2 Networking.NETTL-64SLIB,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 4138375184 28496 /usr/lib/pa20_64/libntl.2 Networking.NETTL-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 1293072004 442368 /usr/lib/libnsfmt.1 1125918172 122880 /usr/lib/libfmtutil.1 542248193 36864 /usr/sbin/netfmt 3888700790 274432 /usr/sbin/nettl 3230919170 45056 /usr/lbin/nktl_daemon 4074033051 40960 /usr/lbin/ntl_reader 1046216697 21678 /usr/include/sys/netdiag1.h 3630618325 59466 /usr/include/sys/net_diag.h 1709695470 17513 /usr/lib/nls/msg/C/netfmt.cat 2996846051 24097 /usr/include/ntl.h 3403340369 34543 /usr/lib/nls/msg/C/nettl.cat Networking.NETTL-ADM,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 2170949353 253952 /opt/nettladm/bin/nettladm 3734874978 28547 /opt/nettladm/lib/nls/msg/C/nettladm.cat 2352360998 32768 /opt/nettladm/lbin/xtrackmsg 2688018270 24576 /opt/nettladm/lbin/SFE/FORMATTER 3513023159 87860 /opt/nettladm/ui/nettladm.ui Networking.NW-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 2823307040 14594 /usr/share/man/man1m.Z/netfmt.1m 4255345088 12633 /usr/share/man/man1m.Z/nettl.1m Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: PHKL_28171 must also be installed to make netdiag1 driver "Multi Processor safe" which in turn improves the NetTL's tracing performance. Supersedes: PHNE_14682 PHNE_15400 PHNE_15490 PHNE_16145 PHNE_16636 PHNE_18218 PHNE_27128 Equivalent Patches: None Patch Package Size: 720 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_29231 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHNE_29231.depot By default swinstall will archive the original software in /var/adm/sw/save/PHNE_29231. 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_29231.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHNE_29231.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_29231.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None