Patch Name: PHNE_13819 Patch Description: s700_800 10.20 C.10.02.005 NetWare 4.1 cumulative patch Creation Date: 98/04/30 Post Date: 98/05/05 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: NetWare 4.1/9000 C.10.02 Filesets: NetWare410.NETWARE410-BIN NetWare410.NETWARE410-ETC NetWare410.NETWARE410-KRN Automatic Reboot?: Yes Status: General Release Critical: Yes PHNE_13819: PANIC Path Name: /hp-ux_patches/s700_800/10.X/PHNE_13819 Symptoms: PHNE_13819: 1. NCP Engine cored when processing "End of Job" NCP SR#4701-378802 2. NCP Engine cored when processing a "Destroy Connection" request. SR#4701-378828 3. Print server didn't work in bindery mode. SR#1653-230425 4. NCP engine cores if there are jobs in queue and Read queue status is received. SR#4701-378877 5. The 4.1 print servers , when operating in NDS mode, are not able to serve bindery queues on 3.x file servers. SR#4701-378901 6. NCPGetExtendedVolumeInfo return invalid info. SR#4701-379255 7. timerd and phys_lockd daemons hang. SR#4701-379263 8. NCP Engine cores when deleting "held" jobs from the print queue via PCONSOLE. SR#4701-355370 9. PCONSOLE at times does not display queue jobs. SR#4701-379271 10. PCONSOLE getting error 0x89D0 when displaying empty print queues. SR#4701-379701 11. Fastpath panic in fp_lockMutexForElement. SR#4701-379719 12. NCPGetVolumeInfoWithHandle(22 21), NCPGetVolumeInfoWithNumber(18 --) and NCPGetVolumeInformation(23 233) return 16-bit quantities with the most significant bit set and some clients cannot handle this. SR#4701-382341 13. Netware hangs and is unusable for a period of of about 15 minutes. SR#1653-248328 14. Hybrid users functionality fails when the the Netware user is defined in a different context than that of the server itself. SR#1653-249888 15. Zero-length job files left undeleted by the printer subsystem. SR#1653-252239 16. Removing printer QUEUE does not remove the QUEUE directory and files. SR#5003-393306 Defect Description: PHNE_13819: 1. While releasing the locks,the internal data structures holding the list of locks held by the task and the list of lockers of a file was inconsistent. 2. When the NCP engine processes the read request, it does not check if the read buffer can fit into the Out NCP buffer. 3. The basic problem was the byte ordering issues, and there was also a problem in the packet size negotiation in nuc code. 4. As a part of the "Read Queue status" NCP processing logic, the queue job files is opened and the header file is read. However, The details about the job records were not read and loaded into shared memory. 5. The problem is that the print server operating in NDS mode, did not authenticate itself to the 3.12 file server. 6. NCPGetExtendedVolumeInfo had skipped a length field causing every other field to be out of whack. Also, the data was not being returned in the correct byte-order. 7. timerd and phys_lockd daemons hang due to the SIGALRM signal handler not being invoked. 8. NCP Engine cored when deleting "held" print jobs is due to a problem with one of the Netware API's used by the PSERVER process. It would send an NCP request with a field in HI-LO format when it should have been sent in LO-HI. 9. PCONSOLE at times does not display queue jobs due to UNINITIALIZED array in the NCP handler NCPGetQueueJobList(). 10. When displayiong PRINT JOBS for empty PRINT QUEUES, PCONSOLE would display error 0x89D0. 11. Fastpath panic in function fp_lockMutexForElement(), which in turn was called from hp_ipxncp_completor(), when doing a fastpath READ. 12. When a client requests volume information using NCPGetVolumeInfoWithHandle(22 21), NCPGetVolumeInfoWithNumber(18 --) and NCPGetVolumeInformation(23 233), it cannot handle 16-bit quantities that have the most significant bit set. This fix assures that the most significant bit is never set in the reply to these NCPs. 13. Netware hangs and is unusable for a period of of about 15 minutes. This was caused by a fastlock deadlock timer that was set to an unreasonable value of approximately 15 minutes. This fastlock timer was made configurable and the default set to 60 secs. This default value has been tested with 2 customers via site-specific patches and seems to have worked well. 14. The hybrid user functionality fails when the Netware user is defined in a context different than that of the server itself. The files created by a hybrid user do not have the appropriate UID/GID of the associated UNIX user, like it should. 15. When using the Microsoft NT client to do printing, under certain situations, the client would create a job file and attempt to delete it, which would fail, causing zero-length files to be left in the system. 16. When a printer QUEUE is removed via PCONSOLE or NWADMIN, the QUEUE object is removed from the NDS database, but the QUEUE directory and all the job files within that directory are left behind. SR: 4701378802 4701378828 1653230425 4701378877 4701378901 4701379255 4701379263 4701355370 4701379271 4701379701 4701379719 4701382341 1653248328 1653249888 1653252239 5003393306 Patch Files: /opt/netware4/bin/phys_lockd /opt/netware4/bin/timerd /opt/netware4/bin/ncp_engine /opt/netware4/bin/pserver /opt/netware4/lib/libNwNcp.sl /opt/netware4/lib/libnwu.sl /opt/netware4/lib/libnwfs.sl /opt/netware4/lib/libprnt.sl /opt/netware4/lib/libnds.sl /opt/netware4/lib/libnos.sl /usr/conf/lib/libnuc.a /usr/conf/lib/libnetware4.a /etc/opt/netware4/conf/nwu.bin /opt/netware4/lib/locale/C/LC_MESSAGES/nwumsgs.cat /opt/netware4/lib/locale/C/MSGFILES/nwumsgs.msg /opt/netware4/bin/README what(1) Output: /opt/netware4/bin/phys_lockd: $Id: nwu.m4,v 1.2 1996/04/16 21:47:11 morteza Exp $ NetWare 4.1 on the HP 9000 vers C.10.02.005 /opt/netware4/bin/timerd: $Id: nwu.m4,v 1.2 1996/04/16 21:47:11 morteza Exp $ NetWare 4.1 on the HP 9000 vers C.10.02.005 /opt/netware4/bin/ncp_engine: $Id: nwu.m4,v 1.2 1996/04/16 21:47:11 morteza Exp $ NetWare 4.1 on the HP 9000 vers C.10.02.005 /opt/netware4/bin/pserver: $Id: pservermsg.m4,v 1.2 1996/04/16 21:47:23 morteza Exp $ NetWare 4.1 on the HP 9000 vers C.10.02.005 /opt/netware4/lib/libNwNcp.sl: NetWare 4.1 on the HP 9000 vers C.10.02.005 /opt/netware4/lib/libnwu.sl: NetWare 4.1 on the HP 9000 vers C.10.02.005 /home/nwu41/nwu/nws/nwu/lib/libnwu/hp9k/utilfp.c 1.1 04/11/96 10:26:50 /opt/netware4/lib/libnwfs.sl: NetWare 4.1 on the HP 9000 vers C.10.02.005 /opt/netware4/lib/libprnt.sl: NetWare 4.1 on the HP 9000 vers C.10.02.005 /opt/netware4/lib/libnds.sl: NetWare 4.1 on the HP 9000 vers C.10.02.005 NetWare 4.1 on the HP 9000 vers C.10.02.005 /opt/netware4/lib/libnos.sl: NetWare 4.1 on the HP 9000 vers C.10.02.005 $Id: dsutil.m4,v 1.2 1996/04/16 21:46:56 morteza Exp $ /usr/conf/lib/libnuc.a: NetWare 4.1 on the HP 9000 vers C.10.02.005 /usr/conf/lib/libnetware4.a: NetWare 4.1 on the HP 9000 vers C.10.02.005 $Header: /net/hpntcmp/repository/nwu41/nwu/nwnet/ker nel/hp9k/fp_fastlock.c,v 1.2 1996/10/15 22:5 8:25 mikec Exp $ /etc/opt/netware4/conf/nwu.bin: $Id: nwu.m4,v 1.2 1996/04/16 21:47:11 morteza Exp $ /opt/netware4/lib/locale/C/LC_MESSAGES/nwumsgs.cat: $Id: nwu.m4,v 1.2 1996/04/16 21:47:11 morteza Exp $% s%sSERVER-4.10-3: The NetWare server is usin g %1$s as the configuration file.SERVER-4.10 -4: The /opt/netware4/lib/locale/C/MSGFILES/nwumsgs.msg: $Id: nwu.m4,v 1.2 1996/04/16 21:47:11 morteza Exp $ /opt/netware4/bin/README: NetWare v4.1 for the HP 9000 Version C.10.02 -- READ ME File NetWare v4.1 for the HP 9000 Version C.10.02.005 GR PATCH cksum(1) Output: 994749059 69867 /opt/netware4/bin/phys_lockd 1182415977 61660 /opt/netware4/bin/timerd 1144378334 345674 /opt/netware4/bin/ncp_engine 2635145429 312807 /opt/netware4/bin/pserver 3466277643 328750 /opt/netware4/lib/libNwNcp.sl 1316885476 375483 /opt/netware4/lib/libnwu.sl 770125281 345676 /opt/netware4/lib/libnwfs.sl 1398289690 98738 /opt/netware4/lib/libprnt.sl 2307544575 1358973 /opt/netware4/lib/libnds.sl 1042572280 78354 /opt/netware4/lib/libnos.sl 1581825022 332876 /usr/conf/lib/libnuc.a 2816232479 1415738 /usr/conf/lib/libnetware4.a 4003108816 39720 /etc/opt/netware4/conf/nwu.bin 2593633927 63890 /opt/netware4/lib/locale/C/LC_MESSAGES/ nwumsgs.cat 3202193759 62575 /opt/netware4/lib/locale/C/MSGFILES/ nwumsgs.msg 1885218960 21271 /opt/netware4/bin/README Patch Conflicts: None Patch Dependencies: s700: 10.20: PHNE_13265 s800: 10.20: PHNE_13266 Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 5260 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_13819 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_13819.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_13819.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_13819. 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_13819.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_13819.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: SUBSYSTEM_SHUT NetWare 4.1/9000 must be halted for this patch to be installed. Print jobs from the print queues must be removed before installing this patch. This patch may only be installed on NetWare 4.1/9000 C.10.02