Patch Name: PHKL_30399 Patch Description: s700_800 11.00 KI nfs performance fix and KI panic fix Creation Date: 04/02/05 Post Date: 04/03/31 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_30399: PANIC PHKL_15782: PANIC Category Tags: defect_repair general_release critical panic Path Name: /hp-ux_patches/s700_800/11.X/PHKL_30399 Symptoms: PHKL_30399: ( SR:8606345226 CR:JAGaf06076 ) System panics with "data page fault" if Kernel Instrumentation (KI) tracing is enabled and the system reads a symbolic link to a very long (1024 or more characters) pathname using NFS Version 3 protocol. The stack trace may look similar to the following: panic+0x60 report_trap_or_int_and_panic+0x5c trap+0xf58 $RDB_trap_patch+0x30 strlen+0xc ki_rfscall+0x300 rfscall+0x47c rfs3call+0x78 nfs3_readlink+0x144 readlink+0xb8 syscall+0x6ec $syscallrtn+0x0 PHKL_16074: Decreased NFS performance when KI active on NFS clients. PHKL_15782: Customer runs performance tools on the system and has had several panics. Possible data page fault panic in KI on PV3 NFS clients. Defect Description: PHKL_30399: ( SR:8606345226 CR:JAGaf06076 ) The maximum pathname in HP-UX is limited to 1024 characters. Linux has a larger limit and NFS Version 3 exposes it. Calculating the size of a pathname KI code assumes that the pathname pointer obtained from the NFS code is valid. This assumption is invalid in a heterogeneous NFS environment. Resolution: Do not calculate the pathname size. Use the size provided by the NFS Version 3 server in symbolic link attributes. PHKL_16074: Decreased NFS write performance seen on 11.0 NFS client systems seen when the midaemon was running. The midaemon activates the KI instrumentation which increased the NFS write path length in 11.0 by causing needless block flushes so that the KI does not affect NFS performance. The midaemon is used by the performance tools HP GlancePlus and the MeasureWare Agent. Customers using Glance or MeasureWare on 11.0 NFS client systems should install this patch. PHKL_15782: Data page fault panic may occur on 11.0 NFS PV3 client systems when the midaemon was running. The KI instrumentation activated by the midaemon had an error in the NFS I/O path, casting a wrong pointer in ki_do_bio() and then accessing it. The panic is most likely to occur when swapping over a PV3 NFS mount. Customers using Glance or MeasureWare on 11.0 NFS client systems should install this patch. Enhancement: No SR: 4701394023 5003426627 8606345226 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(sys_ki.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(sys_ki.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(sys_ki.o): sys_ki.c $Date: 2004/01/30 02:47:56 $Revision: r11ro s/9 PATCH_11.00 (PHKL_30399) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(sys_ki.o): sys_ki.c $Date: 2004/01/30 02:47:56 $Revision: r11ro s/9 PATCH_11.00 (PHKL_30399) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: 3513853328 44932 /usr/conf/lib/libhp-ux.a(sys_ki.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: 1575860093 118200 /usr/conf/lib/libhp-ux.a(sys_ki.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_16074 PHKL_15782 Equivalent Patches: PHKL_30398: s700: 11.11 s800: 11.11 PHKL_30400: s700: 11.23 s800: 11.23 Patch Package Size: 80 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_30399 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_30399.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_30399. 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_30399.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_30399.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_30399.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None