Patch Name: PHKL_25237 Patch Description: s700_800 11.00 NFS nfsd deadlock,NFS SIGINT bad text region Creation Date: 01/09/26 Post Date: 01/09/27 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 Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_25237: HANG All NFS processes and swapper process hang. Category Tags: defect_repair general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHKL_25237 Symptoms: PHKL_25237: ( SR:8606180163 CR:JAGad49384 ) NFS and the virtual memory swapper process may hang when a system is under memory pressure and using executables through NFS loopback mounts. 'rpcinfo -u nfs' calls will hang and the following message may appear: NFS server not responding PHKL_22160: ( SR: 8606141531 CR: JAGad10894 ) When accessing binary executables and data files from any NFS file server using a HP-UX machine for a compute server, the following error may be displayed when a user attempts to start an additional instance of the application off the compute server: PID ### killed due to text modification or page I/O error Once this error occurs, no other users can start the application off of the server, but current users remain unaffected. Defect Description: PHKL_25237: ( SR:8606180163 CR:JAGad49384 ) The NFS hang is a result of a deadlock that only occurs when the system is under extreme memory pressure and some files are being used through a NFS loop-back mount. While in the midst of reactivating, a process (say P1) eventually blocks waiting on the region lock for one of the process's regions. If the lock in question is held by a another process (say P2) that encountered a page-fault on that region, a deadlock could occur if the region is NFS mounted. If all the NFS daemons are deactivated due to the machine being under very heavy memory pressure, when P2 attempts to get attribute information through an RPC call to an NFS daemon, it will fail to complete and P2 will not release the region lock. This prevents the swapper from reactivating P1 or any of the NFS daemons on the system. Resolution: The region lock is now dropped before calling the function that makes the RPC call through the NFS daemons. The lock is reacquired after the call returns. This prevents the deadlock over the region lock. PHKL_22160: ( SR: 8606141531 CR: JAGad10894 ) This error is the result of the process receiving a SIGINT while waiting for an answer from the NFS server. This causes NFS to mark the region bad and results in the error described above. More specifically, nfspgin_io() marks the region as bad by setting it as a ZOMBIE region. Resolution: We no longer mark the region as a zombie if there was an error due to EINTR in nfspgin_io(). SR: 8606141531 8606180163 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(remote_vm.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(remote_vm.o) 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(remote_vm.o): remote_vm.c $Date: 2001/09/14 15:20:18 $Revision: r1 1ros/4 PATCH_11.00 (PHKL_25237) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(remote_vm.o): remote_vm.c $Date: 2001/09/14 15:20:18 $Revision: r1 1ros/4 PATCH_11.00 (PHKL_25237) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: 3859897864 15284 /usr/conf/lib/libhp-ux.a(remote_vm.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: 347464830 26616 /usr/conf/lib/libhp-ux.a(remote_vm.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_22160 Equivalent Patches: PHKL_25238: s700: 11.11 s800: 11.11 Patch Package Size: 70 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 PHKL_25237 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_25237.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_25237. 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 PHKL_25237.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_25237.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_25237.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None