Patch Name: PHKL_31152 Patch Description: s700_800 11.22 buffer flush Creation Date: 04/08/01 Post Date: 04/08/19 Hardware Platforms - OS Releases: s700: 11.22 s800: 11.22 Products: N/A Filesets: OS-Core.CORE2-KRN,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP Automatic Reboot?: Yes Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHKL_31152 Symptoms: PHKL_31152: ( SR:8606368895 CR:JAGaf29457 ) 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 Defect Description: PHKL_31152: ( SR:8606368895 CR:JAGaf29457 ) 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. Enhancement: No SR: 8606368895 Patch Files: OS-Core.CORE2-KRN,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: /usr/conf/lib/libfs.a(vfs_bio.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: /usr/conf/lib/libfs.a(vfs_bio.o): vfs_bio.c $Date: 2004/07/31 04:54:08 $Revision: r11. 22/1 PATCH_11.22 (PHKL_31152) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: 1876727175 183952 /usr/conf/lib/libfs.a(vfs_bio.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHKL_31151: 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_31152 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_31152.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_31152. 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_31152.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_31152.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_31152.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None