Patch Name: PHNE_12006 Patch Description: s700_800 10.01 RFC-NETBIOS B.01.02 full product patch Creation Date: 97/08/05 Post Date: 97/09/29 Repost: 97/10/02 The one-line Patch Description was modified to reflect the version of the RFC-NETBIOS product included in the patch, B.01.02. The files included in the patch were not modified. Hardware Platforms - OS Releases: s700: 10.01 s800: 10.01 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_12006: PANIC HANG PHNE_9637: PANIC HANG MEMORY_LEAK Path Name: /hp-ux_patches/s700_800/10.X/PHNE_12006 Symptoms: PHNE_12006: 1. SR 4701363341 On HP-UX 10.01 and 10.10 systems NetBIOS data remains in the kernel configuration file /stand/system after a swremove of the RFC-NetBIOS fileset has been done. 2. SR 4701354449 Enhancement to enable /opt/lmu/netbios/bin/nbutil utility to administer the NetBIOS name cache. 3. SR 4701326595 The utility /opt/lmu/netbios/bin/nbtest and all net commands fail due to the NetBIOS name, datagram, and/or session services failing. 4. SR 4701356568 Enhancement to enable /opt/lmu/netibos/bin/autoconfig utility to retain existing NetBIOS configuration data. 5. SR 4701327528 When the -V option is used with cacheadm an error message "AddRemoteName failed" is reported if the NetBIOS name has already be added to the cache dynamically, via from-name caching. 6. SR 1653217877 The NetBIOS install script has an spelling error in the message "error you need to shutdown nedemon". 7. SR 4701344929 Enhancement to enable the HP RFC-NetBIOS WINS client feature to support an backup WINS server. 8. SR 4701350199 Executing cacheadm -g -N when RFC NetBIOS is installed but not running causes a system panic. 9. SR 4701348557 Enhancement to enable RFC-NetBIOS to run over 100baseT lan cards. 10. SR 4701337402 The NetBIOS post-installation configure script fails when NetBIOS is installed on a system with multiple lan interfaces and lan0 in not the active lan interface. 11. SR 4701343624 Net commmads fail and doing a "netstat -an | grep 137" lists nothing, indicating that the NetBIOS names service port has been deleted. 12. SR 4701345264 NetBIOS enhancement to improve file copy throughput performance. 13. SR 4701343863 RFC-NetBIOS casued system panic during AS/U shutdown. 14. SR 4701344291 RFC-NetBIOS caused sytstem panic in lmxloop driver during AS/U shutdown. 15. SR 4701343426 RFC-NetBIOS caused system hang. 16. SR 4701339440 Enhancement to enable WINS Client support. PHNE_9637: 1. SR 1653174953 System panics related to NetBIOS/LMU 2. SR 1653194852 RFC-NetBIOS caused Data Page fault system panic 3. SR 5003346635 Memory Leak problem in NetBIOS for LM/U on 10.01 system 4. SR 4701338780 NetBIOS cached names aging fails if NetBIOS is stopped & restarted 5. SR 4701339333 NetBIOS does not send all session data to user space App. 6. 4701327627 NetBIOS loopback driver lmxloop.a caused Data Page fault system panic 7. 1653194837 NetBIOS loopback driver lmxloop.a caused Data Page fault system panic Defect Description: PHNE_12006: 1. SR 4701363341 Swremove on 10.01 and 10.10 NetBIOS leaves NetBIOS data in the kernel configuration file /stand/system. 2. SR 4701354449 Enhancement to enable /opt/lmu/netbios/bin/nbutil utility to administer the NetBIOS name cache. 3. SR 4701326595 RFC-NetBIOS does not detect when ports 137, 138, and/or 139 are already bound by another application. 4. SR 4701356568 Enhancement to enable /opt/lmu/netibos/bin/autoconfig utility to retain existing NetBIOS configuration data. 5. SR 4701327528 Cacheadm -V should override from-name cached NetBIOS names. 6. SR 1653217877 The NetBIOS install script message has an spelling error. 7. SR 4701344929 Enhancement to enable the HP RFC-NetBIOS WINS client feature to support an backup WINS server. 8. SR 4701350199 Executing cacheame -g -N when RFC NetBIOS is installed but not running causes a system panic. 9. SR 4701348557 Enhancement to enable RFC-NetBIOS to run over 100baseT lan cards. 10. SR 4701337402 NetBIOS installation fails if lan0 is not configured on the host system. 11. SR 4701343624 The NetBIOS Name Service fails due to a UDP port failure. 12. SR 4701345264 NetBIOS enhancement to improve file copy throughput performance. 13. SR 4701343863 RFC-NetBIOS casued system panic during AS/U shutdown. 14. SR 4701344291 RFC-NetBIOS caused sytstem panic in lmxloop driver during AS/U shutdown. 15. SR 4701343426 RFC-NetBIOS caused system hang. 16. SR 4701339440 Enhancement to enable WINS Client support. PHNE_9637: 1. SR 1653174953 The panics were observed in 2 different functions of NetBIOS code. In the first case, the session structure had a pointer to already freed command structure. 2. SR 1653194852 NetBIOS was accessing memory that had already been freed. 3. SR 5003346635 NetBIOS fails to free memory allocated for internal data structures when a name query failed. 4. SR 4701338780 NetBIOS failed to reset a global variable to 0 when it was stopped and restared. 5. SR 4701339333 NetBIOS failed zero out an internal data structure when processing session data. 6. SR 4701327627 The loopback driver failed to check if the q->next was not NULL before using that field to pass a STREAMS message. 7. SR 1653194837 See SR 470132627 SR: 4701363341 4701354449 4701326595 4701356568 4701327528 1653217877 4701344929 4701350199 4701348557 4701337402 4701343624 4701345264 4701343863 4701344291 4701343426 4701339440 1653174953 1653194852 5003346635 4701338780 4701339333 4701327627 1653194837 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.01.02 /opt/lmu/netbios/bin/netbios: None /opt/lmu/netbios/bin/netdemon: FILESET RFC-NETBIOS:nbutil : Version: B.01.02 /opt/lmu/netbios/conf/lib/liblmxloop.a: FILESET RFC-NETBIOS:lib lmxloop : Version: B.01.02 /opt/lmu/netbios/conf/lib/libnb.a: FILESET RFC-NETBIOS:lib nb : Version: B.01.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 35918954 36864 /opt/lmu/netbios/bin/nbmem 2179294759 53248 /opt/lmu/netbios/bin/nbtest 1760542033 36864 /opt/lmu/netbios/bin/nbtestdg 1745103986 20480 /opt/lmu/netbios/bin/nbtrace 563213735 61440 /opt/lmu/netbios/bin/nbutil 2561860211 1204 /opt/lmu/netbios/bin/netbios 1965303421 32768 /opt/lmu/netbios/bin/netdemon 1294385469 5456 /opt/lmu/netbios/conf/lib/liblmxloop.a 76617904 276264 /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_9637 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_12006 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_12006.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_12006.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_12006. 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_12006.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_12006.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. Original files are not backed up, or saved.