Patch Name: PHKL_31151 Patch Description: s700_800 11.23 Cumulative vfs,do early escapes,buffer flush Creation Date: 04/07/21 Post Date: 04/08/24 Hardware Platforms - OS Releases: s700: 11.23 s800: 11.23 Products: N/A Filesets: OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP Automatic Reboot?: Yes Status: General Release Critical: No (superseded patches were critical) PHKL_30445: HANG Category Tags: defect_repair general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHKL_31151 Symptoms: PHKL_31151: ( SR:8606368894 CR:JAGaf29456 ) Any of the following symptoms will be seen : 1) mk_kernel(1M) will fail intermittently with the following error message. bstab: Kernel ID symbol not found *** Error exit code 1 2) There will be inconsistency between the data that was read using read() and mmap() system calls. This can result in several unexpected failures and one such error message is as follows. # kconfig -s foo ERROR: Unable to open the kernel registry file for the configuration 'foo': KRS error code -1 ERROR: Error reading kernel configuration , while generating system file PHKL_30445: ( SR:8606325344 CR:JAGae87634 ) Certain commands may seem to cause a system hang. mount(2), umount(2) & sync(2) syscalls may run very slowly on systems with large amounts of RAM. This affects boot time, shutdown time and activities such as mount, umount, df, bdf, rlogin and sync during normal system operation. Defect Description: PHKL_31151: ( SR:8606368894 CR:JAGaf29456 ) When data is read using mmap() system call, all buffers in buffer cache corresponding to the data are not properly flushed off to the disk. This results in inconsistency between the data that was read using mmap() and read(). Resolution: When data is read using mmap() system call, all buffers in buffer cache corresponding to the data are properly flushed off to the disk so that mmap() will not get any stale data. PHKL_30445: ( SR:8606325344 CR:JAGae87634 ) The basic problems are that several lists whose length is proportional to RAM size are processed serially, with unnecessary locking and/or no provision for early exit. Resolution: This fix terminates a scan once all desired objects are found. Enhancement: No SR: 8606325344 8606368894 Patch Files: OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/conf/lib/libfs.a(vfs.o) /usr/conf/lib/libfs.a(vfs_bio.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/conf/lib/libfs.a(vfs.o): vfs.c $Date: 2004/07/15 11:13:18 $Revision: r11.23/4 PATCH_11.23 (PHKL_30445) /usr/conf/lib/libfs.a(vfs_bio.o): vfs_bio.c $Date: 2004/07/21 08:23:13 $Revision: r11. 23/5 PATCH_11.23 (PHKL_31151) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: 2892373043 162696 /usr/conf/lib/libfs.a(vfs.o) 3667279790 188200 /usr/conf/lib/libfs.a(vfs_bio.o) Patch Conflicts: None Patch Dependencies: s700: 11.23: PHCO_30440 PHKL_30442 PHKL_30443 PHKL_30444 PHKL_30471 PHKL_30506 s800: 11.23: PHCO_30440 PHKL_30442 PHKL_30443 PHKL_30444 PHKL_30471 PHKL_30506 Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_30445 Equivalent Patches: PHKL_31152: s700: 11.22 s800: 11.22 Patch Package Size: 140 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_31151 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_31151.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_31151. 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_31151.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_31151.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_31151.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None