Patch Name: PHNE_26988 Patch Description: s700_800 11.X RFC-NETBIOS cumulative patch Jun2002 Creation Date: 02/01/17 Post Date: 02/07/02 Hardware Platforms - OS Releases: s700: 11.00 11.11 s800: 11.00 11.11 Products: Advanced Server/9000 for HP-UX (AS/U) B.04.05 B.04.06 B.04.07 B.04.08 B.04.09 Filesets: RFC-NETBIOS.RFC-NETBIOS,fr=B.04.07,fa=HP-UX_B.11.00_32,v=HP RFC-NETBIOS.RFC-NETBIOS,fr=B.04.06,fa=HP-UX_B.11.00_32,v=HP RFC-NETBIOS.RFC-NETBIOS,fr=B.04.05,fa=HP-UX_B.11.00_32,v=HP RFC-NETBIOS.RFC-NETBIOS,fr=B.04.07,fa=HP-UX_B.11.00_64,v=HP RFC-NETBIOS.RFC-NETBIOS,fr=B.04.06,fa=HP-UX_B.11.00_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHNE_26988: PANIC This patch fixes a problem that could cause a PANIC in systems running the previous RFC-NETBIOS version, (version B.04.09) that was delivered in PHNE_26105. PHNE_26105: PANIC CORRUPTION This patch fixes a problem that could possibly cause a system PANIC on multiprocessor systems running RFC-NETBIOS version prior to this version (version B.04.09). It could also cause data corruption under some special cases. Category Tags: defect_repair general_release critical panic corruption manual_dependencies Path Name: /hp-ux_patches/s700_800/11.X/PHNE_26988 Symptoms: PHNE_26988: -----[ NB version B.04.10 ]----- 1. CR JAGae22669 Netbios panics when it receives a malformed UDP packet on port 138. 2. CR JAGae24107 The LMXLOOP streams module causes a panic due to the value of the spinlock counter going negative. PHNE_26105: -----[ NB version B.04.09 ]----- 1. Releasing Netbios site-specific patch PHNE_25427 for General Release (GR). PHNE_25427: -----[ NB version B.04.08 ]----- 1. CR JAGad91364 As of B.0x.06, the LMXLOOP driver was shipped in UP emulation mode to prevent PANICs on MP systems, but this has caused performance degradation on such systems. PHNE_24444: -----[ NB version B.04.07.01 ]----- 1. CR JAGad46459 With multiple large file transfers from an AS/U server onto the same client PC, the transfers can fail with "The session was cancelled" or "Network Error" message. The event viewer error reports: EVENT ID: 3005 The redirector received an incorrectly formatted response from . 2. CR JAGad71340 Smpsched panics with a data pagefault when NetBIOS was being halted. Defect Description: PHNE_26988: -----[ NB version B.04.10 ]----- 1. CR JAGae22669 Netbios panics when it tries to dereference a NULL pointer due to a malformed UDP packet. The fix for this problem was simply to check for the NULL pointer before dereferencing it and exiting the function with an error if the pointer is indeed NULL. 2. CR JAGae24107 The LMXLOOP streams module causes a panic due to a spinlock counter value going negative. The fix for this problem was to remove one line of code which was the unneeded and extraneous unlock call. PHNE_26105: -----[ NB version B.04.09 ]----- 1. PHNE_25427 was a site-specific patch. This patch makes PHNE_25427 a General Release (GR) patch but changes the version from B.04.08 to B.04.09 and changes the patch number to PHNE_26105. PHNE_25427: -----[ NB version B.04.08 ]----- 1. CR JAGad91364 The LMXLOOP driver was re-coded to make it MP-SAFE. PHNE_24444: -----[ NB version B.04.07.01 ]----- 1. CR JAGad46459 This problem was caused when pieces of the data were getting out of sequence due to the way NetBIOS processes the streams messages (pieces of data). The problem has been resolved by changing NetBIOS code to let the service routine handle the message if there is already a message in the queue. 2. CR JAGad71340 NetBIOS ignored the situation in which a new session had been requested but was no longer valid because NetBIOS was shutting down. The resolution is to have NetBIOS check the validity of a data pointer before trying to use it. Enhancement: No SR: 8606258368 8606259789 8606222249 8606177227 8606202166 Patch Files: RFC-NETBIOS.RFC-NETBIOS,fr=B.04.07,fa=HP-UX_B.11.00_32,v=HP: RFC-NETBIOS.RFC-NETBIOS,fr=B.04.06,fa=HP-UX_B.11.00_32,v=HP: RFC-NETBIOS.RFC-NETBIOS,fr=B.04.05,fa=HP-UX_B.11.00_32,v=HP: /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 RFC-NETBIOS.RFC-NETBIOS,fr=B.04.07,fa=HP-UX_B.11.00_64,v=HP: RFC-NETBIOS.RFC-NETBIOS,fr=B.04.06,fa=HP-UX_B.11.00_64,v=HP: /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: RFC-NETBIOS.RFC-NETBIOS,fr=B.04.07,fa=HP-UX_B.11.00_32,v=HP: /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.04.10 /opt/lmu/netbios/bin/netbios: None /opt/lmu/netbios/bin/netdemon: FILESET RFC-NETBIOS:nbutil : Version: B.04.10 /opt/lmu/netbios/conf/lib/liblmxloop.a: FILESET RFC-NETBIOS:lib lmxloop : Version: B.04.10 /opt/lmu/netbios/conf/lib/libnb.a: FILESET RFC-NETBIOS:lib nb : Version: B.04.10 /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 RFC-NETBIOS.RFC-NETBIOS,fr=B.04.07,fa=HP-UX_B.11.00_64,v=HP: /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.04.10 /opt/lmu/netbios/bin/netbios: None /opt/lmu/netbios/bin/netdemon: FILESET RFC-NETBIOS:nbutil : Version: B.04.10 /opt/lmu/netbios/conf/lib/liblmxloop.a: FILESET RFC-NETBIOS:lib lmxloop : Version: B.04.10 /opt/lmu/netbios/conf/lib/libnb.a: FILESET RFC-NETBIOS:lib nb : Version: B.04.10 /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: RFC-NETBIOS.RFC-NETBIOS,fr=B.04.07,fa=HP-UX_B.11.00_32,v=HP: 43117120 6686 /opt/lmu/netbios/bin/autoconfig 3413016065 1336 /opt/lmu/netbios/bin/nb_ver 2275639481 40960 /opt/lmu/netbios/bin/nbmem 3349901987 49152 /opt/lmu/netbios/bin/nbtest 323481653 36864 /opt/lmu/netbios/bin/nbtestdg 4255479667 24576 /opt/lmu/netbios/bin/nbtrace 2534225394 65536 /opt/lmu/netbios/bin/nbutil 2681052601 1566 /opt/lmu/netbios/bin/netbios 1061607402 36864 /opt/lmu/netbios/bin/netdemon 4031156922 6652 /opt/lmu/netbios/conf/lib/liblmxloop.a 1453175687 231236 /opt/lmu/netbios/conf/lib/libnb.a 550612260 4543 /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 430268172 3886 /opt/lmu/netbios/init.d/lmu.script 3247278888 558 /opt/lmu/tlinks/RFC-NETBIOS RFC-NETBIOS.RFC-NETBIOS,fr=B.04.07,fa=HP-UX_B.11.00_64,v=HP: 43117120 6686 /opt/lmu/netbios/bin/autoconfig 3413016065 1336 /opt/lmu/netbios/bin/nb_ver 1635639685 38104 /opt/lmu/netbios/bin/nbmem 2550507121 53144 /opt/lmu/netbios/bin/nbtest 3260443365 34344 /opt/lmu/netbios/bin/nbtestdg 90851143 17184 /opt/lmu/netbios/bin/nbtrace 1235120151 72528 /opt/lmu/netbios/bin/nbutil 2681052601 1566 /opt/lmu/netbios/bin/netbios 359777664 34568 /opt/lmu/netbios/bin/netdemon 179240656 10940 /opt/lmu/netbios/conf/lib/liblmxloop.a 3092877089 428288 /opt/lmu/netbios/conf/lib/libnb.a 550612260 4543 /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 430268172 3886 /opt/lmu/netbios/init.d/lmu.script 3247278888 558 /opt/lmu/tlinks/RFC-NETBIOS Patch Conflicts: None Patch Dependencies: s700: 11.00: PHNE_25440 s700: 11.11: PHNE_26728 s800: 11.00: PHNE_25440 s800: 11.11: PHNE_26728 Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_24444 PHNE_25427 PHNE_26105 Equivalent Patches: None Patch Package Size: 1280 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_26988 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHNE_26988.depot By default swinstall will archive the original software in /var/adm/sw/save/PHNE_26988. 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_26988.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHNE_26988.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_26988.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: Before installing PHNE_26988, shutdown NetBIOS and AS/U. For more information, see the information in SD by selecting the RFC-NETBIOS Fileset then choosing Actions -> Show Description Of Software After installing this patch, you will see the actual patch name, PHNE_26988, in SD when invoking swlist. Please note that when applying this patch, previous versions of overwritten files are saved on the system. These files will be restored when the patch is removed. After installation, use /opt/lmu/netbios/bin/nb_ver or /opt/asu/lanman/asu_ver to verify that the RFC-NETBIOS product revisions are B.04.10. Other product version numbers displayed by asu_ver should remain unchanged.