Patch Name: PHKL_23418 Patch Description: s700 10.20 VxFS mount(2) cumulative patch Creation Date: 01/02/15 Post Date: 01/02/20 Hardware Platforms - OS Releases: s700: 10.20 Products: N/A Filesets: JournalFS.VXFS-BASE-KRN Automatic Reboot?: Yes Status: General Release Critical: No Path Name: /hp-ux_patches/s700/10.X/PHKL_23418 Symptoms: PHKL_23418: (SR: 8606162269 CR: JAGad31585) Mount(2) system call fails, when it is invoked with NULL dataptr and 0 datalen. (SR: 8606178149 CR: JAGad47376) A corrupted file system could be mounted, and an fsck on the filesystem thereafter fails with the following error messages, # fsck -F vxfs /dev/vgtest/lvol4 log replay in progress a full file system check is required # fsck -F vxfs -o full /dev/vgtest/lvol4 log replay in progress pass0 - checking structural files pass1 - checking inode sanity and blocks fileset 999 inode 2 has invalid attributes clear? (ynq)y root inode for fileset 999 is invalid - terminating fileset This problem was introduced by PHKL_15244. Defect Description: PHKL_23418: (SR: 8606162269 CR: JAGad31585) VxFS mount(2) was expecting a dataptr and non-zero datalen. Resolution: Changed VxFS mount(2) to accept NULL dataptr and 0 datalen. (SR: 8606178149 CR: JAGad47376) A function invoked with less number of arguments than required allowed mounting corrupted file systems. Resolution: Invoke the function with correct number of arguments. SR: 8606162269 8606178149 Patch Files: /usr/conf/lib/libvxfs_base.a(vx_mount.o) what(1) Output: /usr/conf/lib/libvxfs_base.a(vx_mount.o): vx_mount.c $Date: 2001/02/15 12:19:23 $ $Revision: 1 .7.98.22 $ PATCH_10.20 (PHKL_23418) cksum(1) Output: 1090300358 28388 /usr/conf/lib/libvxfs_base.a(vx_mount.o) Patch Conflicts: None Patch Dependencies: s700: 10.20: PHKL_16750 Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHKL_23419: s800: 10.20 Patch Package Size: 90 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_23418 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_23418.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHKL_23418. 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 PHKL_23418.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/PHKL_23418.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: This patch depends on base patch PHKL_16750 . For successful installation, please ensure that PHKL_16750 is in the same depot with this patch, or PHKL_16750 is already installed.