Patch Name: PHNE_15089 Patch Description: s700_800 10.20 RFC-NETBIOS B.03.03.02 cumulative patch Creation Date: 98/05/01 Post Date: 98/08/11 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: Lan Manager for HP-UX (LMU) Advanced Server/9000 for HP-UX (AS/U) Filesets: RFC-NETBIOS.RFC-NETBIOS Automatic Reboot?: Yes Status: General Release Critical: Yes PHNE_15089: PANIC PHNE_14004: PANIC HANG MEMORY_LEAK PHNE_10032: PANIC HANG Path Name: /hp-ux_patches/s700_800/10.X/PHNE_15089 Symptoms: PHNE_15089: 1. SR 4701389841 System Panic after increasing the nrfc_nb kernel parameter and a WINS server is being used. PHNE_14004: 1. SR 1653239707 NetBIOS session keepalive packets were being sent out every 150 seconds with no way of turning them off. In some cases this can have undesirable effects. 2. SR 1653248849 System Panic with NetBIOS on top of stack rfc_udata calling freemsg. 3. SR 4701368787 Manually cached NetBIOS group name disappears. 4. SR 1653236430 A system panic occurs when NetBIOS receives a status query response packet sent by an NT server with a "invalid" transaction id. 5. SR 5003391516 A rogue WFW Client floods the network with NetBIOS UDP broadcast packets sent to the NetBIOS name 0102__MSBROWSE_0201. If HP RFC-NETBIOS is listening for packets on this name it will use up all available system memory processing this packet. Some of the memory used is never released thus a memory leak is produced. 6. SR 4701375386 NetBIOS name service link corruption. 7. SR 4701354449 Move name cache administration to NetBIOS fileset. 8. SR 4701326595 Have Netbios detect when ports are already bound. 9. SR 4701356568 Have autoconfig retain existing config data. 10. SR 4701327528 Have static name cache entries override dynamic ones. 11. SR 1653217877 NetBIOS install scripts have spelling error. 12. SR 4701354431 Port changes to support High Availability from AT&T special. 13. SR 4701344929 Enable HP NetBIOS WINS Client to support backup WINS server. 14. SR 4701350199 Fix cacheadm -g system panic. 15. SR 4701348557 Enable NetBIOS to run over 100baseT lan cards. 16. SR 4701337402 Changed autoconfig script not to exit when lan0 is inactive. 17. SR 4701346510 Add warning messages to autoconfig script when no lan card. PHNE_10032: 1. SR 4701345504 AS/U net commands fail due to NetBIOS Control structure table becoming full 2. SR 4701345033 NetBIOS Name Conflict response breaks AS/U server and browser services 3. SR 4701345488 AS/U net time command fails due to NetBIOS defect. 4. SR 4701345496 AS/U net view command fails due to NetBIOS defect. 5. SR 4701344954 NetBIOS caused Data Page fault system panic due to an uninitialized variable. 6. SR 4701345231 NetBIOS would stop accepting connection request due to internal table filling up. 7. SR 4701344937 AS/U session will terminate with a Abort/Retry failure due to NetBIOS defect. 8. SR 4701343624 The NetBIOS Name Service fails due to a UDP port failure. 9. SR 4701345264 NetBIOS enhancement to improve file copy throughput performance. 10.SR 4701343863 RFC-NetBIOS caused system panic during AS/U shutdown. 11.SR 4701344291 RFC-NetBIOS caused system panic in lmxloop driver during AS/U shutdown. 12.SR 4701343426 RFC-NetBIOS caused system hang. 13.SR 4701346510 Modified NetBIOS autoconfig script to add warnings about overwriting config file. Defect Description: PHNE_15089: 1. SR 4701389841 The System Panic occurs after increasing the nrfc_nb kernel parameter and a WINS server is being used because a pointer is retrieved from outside the name array used with WINS and incorrectly addressed with a value related to nrfc_nb. PHNE_14004: 1. SR 1653239707 NetBIOS session keepalive packets were being sent out every 150 seconds with no way of turning them off. In some cases this can have an undesirable effects. This fix is to disable NetBIOS session keepalive until a configurable parameter is available. The keepalive packets were not functional anyway. 2. SR 1653248849 Need to be consistent in our manner of freeing memory so we don't free memory twice. This fix prevents a panic under circumstances in which we receive a "bad" packet. 3. SR 4701368787 Manually cached NetBIOS group name disappears. 4. SR 1653236430 A system panic occurs when NetBIOS receives a status query response packet sent by an NT server with a "invalid" transaction id. 5. SR 5003391516 A rogue WFW Client floods the network with NetBIOS UDP broadcast packets sent to the NetBIOS name 0102__MSBROWSE_0201. If HP RFC-NETBIOS is listening for packets on this name it will use up all available system memory processing this packet. Some of the memory used is never released thus a memory leak is produced. 6. SR 4701375386 NetBIOS name service link corruption. 7. SR 4701354449 Move name cache administration to NetBIOS fileset. 8. SR 4701326595 Have Netbios detect when ports are already bound. 9. SR 4701356568 Have autoconfig retain existing config data. 10. SR 4701327528 Have static name cache entries override dynamic ones. 11. SR 1653217877 NetBIOS install scripts have spelling error. 12. SR 4701354431 Port changes to support High Availability from AT&T special. 13. SR 4701344929 Enable HP NetBIOS WINS Client to support backup WINS server. 14. SR 4701350199 Fix cacheadm -g system panic. 15. SR 4701348557 Enable NetBIOS to run over 100baseT lan cards. 16. SR 4701337402 Changed autoconfig script not to exit when lan0 is inactive. 17. SR 4701346510 Add warning messages to autoconfig script when no lan card PHNE_10032: 1. SR 4701345504 AS/U net commands fail due to NetBIOS Control structure table becoming full 2. SR 4701345033 NetBIOS Name Conflict response breaks AS/U server and browser services 3. SR 4701345488 AS/U net time command fails due to NetBIOS defect. 4. SR 4701345496 AS/U net view command fails due to NetBIOS defect. 5. SR 4701344954 NetBIOS caused Data Page fault system panic due to an uninitialized variable. 6. SR 4701345231 NetBIOS would stop accepting connection request due to internal table filling up. 7. SR 4701344937 AS/U session will terminate with a Abort/Retry failure due to NetBIOS defect. 8. SR 4701343624 The NetBIOS Name Service fails due to a UDP port failure. 9. SR 4701345264 NetBIOS enhancement to improve file copy throughput performance. 10.SR 4701343863 RFC-NetBIOS caused system panic during AS/U shutdown. 11.SR 4701344291 RFC-NetBIOS caused system panic in lmxloop driver during AS/U shutdown. 12.SR 4701343426 RFC-NetBIOS caused system hang. 13.SR 4701346510 Modified NetBIOS autoconfig script to add warnings about overwriting config file. SR: 4701345504 4701345033 4701345488 4701345496 4701344954 4701345231 4701344937 4701343624 4701345264 4701343863 4701344291 4701343426 4701346510 4701368787 1653236430 5003391516 1653239707 1653248849 4701337402 4701346510 4701375386 4701354449 4701326595 4701356568 4701327528 1653217877 4701354431 4701344929 4701350199 4701348557 4701389841 Patch Files: /opt/lmu/netbios/bin/autoconfig /opt/lmu/netbios/bin/nb_ver /opt/lmu/netbios/bin/nbmem /opt/lmu/netbios/bin/nbtest /opt/lmu/netbios/bin/nbtestdg /opt/lmu/netbios/bin/nbtrace /opt/lmu/netbios/bin/nbutil /opt/lmu/netbios/bin/netbios /opt/lmu/netbios/bin/netdemon /opt/lmu/netbios/conf/lib/liblmxloop.a /opt/lmu/netbios/conf/lib/libnb.a /opt/lmu/netbios/conf/master.d/netbios.master /opt/lmu/netbios/conf/sam/params_nb.tx /opt/lmu/netbios/conf/space.h.d/netbios_space.h /opt/lmu/netbios/init.d/lmu.config /opt/lmu/netbios/init.d/lmu.script /opt/lmu/tlinks/RFC-NETBIOS what(1) Output: /opt/lmu/netbios/bin/autoconfig: :autoconfig 1.11 /opt/lmu/netbios/bin/nb_ver: None /opt/lmu/netbios/bin/nbmem: RFCNB:$Header: main.c,v 1.4 93/06/23 09:34:04 bijj E xp $ /opt/lmu/netbios/bin/nbtest: RFCNB:$Header: nbtest.c,v 1.11 93/06/23 09:25:32 bij j Exp $ /opt/lmu/netbios/bin/nbtestdg: RFCNB:$Header: nbtestdg.c,v 1.6 93/06/23 09:26:09 bi jj Exp $ /opt/lmu/netbios/bin/nbtrace: RFCNB:$Header: nbtrace.c,v 1.6 93/06/23 09:40:35 bij j Exp $ /opt/lmu/netbios/bin/nbutil: FILESET RFC-NETBIOS:nbutil : Version: B.03.03.02 /opt/lmu/netbios/bin/netbios: None /opt/lmu/netbios/bin/netdemon: FILESET RFC-NETBIOS:nbutil : Version: B.03.03.02 /opt/lmu/netbios/conf/lib/liblmxloop.a: FILESET RFC-NETBIOS:lib lmxloop : Version: B.03.03.0 2 /opt/lmu/netbios/conf/lib/libnb.a: FILESET RFC-NETBIOS:lib nb : Version: B.03.03.02 /opt/lmu/netbios/conf/master.d/netbios.master: None /opt/lmu/netbios/conf/sam/params_nb.tx: None /opt/lmu/netbios/conf/space.h.d/netbios_space.h: None /opt/lmu/netbios/init.d/lmu.config: $Revision: 1.0 $ /opt/lmu/netbios/init.d/lmu.script: None /opt/lmu/tlinks/RFC-NETBIOS: None cksum(1) Output: 3296132758 6098 /opt/lmu/netbios/bin/autoconfig 846663856 1018 /opt/lmu/netbios/bin/nb_ver 3354321532 36864 /opt/lmu/netbios/bin/nbmem 1828516120 53248 /opt/lmu/netbios/bin/nbtest 4060728817 36864 /opt/lmu/netbios/bin/nbtestdg 1889728776 20480 /opt/lmu/netbios/bin/nbtrace 4062015050 61440 /opt/lmu/netbios/bin/nbutil 2561860211 1204 /opt/lmu/netbios/bin/netbios 1362264930 32768 /opt/lmu/netbios/bin/netdemon 2245121945 5568 /opt/lmu/netbios/conf/lib/liblmxloop.a 2826225483 278980 /opt/lmu/netbios/conf/lib/libnb.a 780157432 4570 /opt/lmu/netbios/conf/master.d/netbios.master 1195249019 184 /opt/lmu/netbios/conf/sam/params_nb.tx 2341221007 23 /opt/lmu/netbios/conf/space.h.d/ netbios_space.h 3672013744 359 /opt/lmu/netbios/init.d/lmu.config 1806615324 3894 /opt/lmu/netbios/init.d/lmu.script 3247278888 558 /opt/lmu/tlinks/RFC-NETBIOS Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_10032 PHNE_14004 Equivalent Patches: None Patch Package Size: 590 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_15089 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_15089.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_15089.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_15089. 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_15089.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_15089.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: SINGLE_USER SUBSYSTEM_SHUT RFC-NETBIOS must be halted for this patch to install. The LAN Manager for UNIX Server should be stopped with the command "net stop server" and then RFC-NETBIOS should be stopped with the command "nbutil -N stop". This is a FULL product replacement. The original files are not backed up or saved. /opt/lmu/netbios/bin/nb_ver should display: libnb : RFC-NETBIOS: (Release B.03.03.02) liblmxloop : RFC-NETBIOS: (Release B.03.03.02) netdemon : RFC-NETBIOS: (Release B.03.03.02) nbutil : RFC-NETBIOS: (Release B.03.03.02)