Patch Name: PHCO_27567 Patch Description: s700_800 11.00 fstyp(1M) cumulative patch Creation Date: 02/09/23 Post Date: 02/09/25 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: Yes PHCO_27567: ABORT Category Tags: defect_repair enhancement general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHCO_27567 Symptoms: PHCO_27567: ( CR: JAGae24467 SR: 8606260145 ) fstyp(1M) dumps the core when run on VxFS filesystem with disk layout version 4. PHCO_24636: ( CR: JAGad57721 SR: 8606188513 ) Fsck(1M) may fail to determine filesystem type for some VxFS file systems with layout version 4. PHCO_18471: Enchancement to report information on a VxFS version 4 filesystem. Defect Description: PHCO_27567: ( CR: JAGae24467 SR: 8606260145 ) A "Memory fault(coredump)" might occur when the special device file argument passed to fstyp(1m) is a layout version 4 VxFS filesystem. This is due to un-intialized structure.This is reproducible by running the given script: while true do umount /jfsvol mkfs -F vxfs -o version=2 /dev/vg00/jfs_vol mount /dev/vg00/jfs_vol /jfsvol vxupgrade -n 3 /jfsvol vxupgrade -n 4 /jfsvol fstyp -v /dev/vg00/jfs_vol vxupgrade /jfsvol done Resolution: The problem was due to a data structure that was not initialised. The data structure has now been correctly initialised. PHCO_24636: ( SR: 8606188513 CR: JAGad57721 ) The filesystem metadata is read using 32 bit offsets, while VxFS layout 4 filesystem allows some metadata to be stored beyond the 2 Gigabyte mark. Resolution: Changed the read mode from 32 bit to 64 bit. PHCO_18471: Multiple VxFS products are available on HPUX 11.00. The VxFS product (JFS3.1) installed with 11.00 does not have version 4 filesystem capability. Later VxFS products (JFS3.3) include a version 4 filesystem. Therefore, fstyp must be modified to identify VxFS version 4 filesystems. To allow for multiple VxFS products the following patches are required: PHCO_19491 libc PHCO_18462 diskusg_vxfs PHCO_18463 fscat PHCO_18464 getext PHCO_18465 setext PHCO_18466 vxdump PHCO_18467 vxrestore PHCO_18468 vxupgrade PHCO_18470 df PHCO_18472 fs_wrapper PHCO_18473 mount_wrapper PHCO_19673 fsck_hfs PHCO_19623 mount_hfs PHCO_19624 mount_cdfs PHCO_19631 lvchange PHCO_19656 mkboot Please note that PHCO_18471 can be used without the above patch dependencies if multiple VxFS product support is not required. Resolution: Modify fstyp to identify VxFS version 4 filesystems. Enhancement: No (superseded patches contained enhancements) PHCO_18471: Enchancement to report information on a VxFS version 4 filesystem. SR: 8606260145 8606188513 4701427328 Patch Files: OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/lib/nls/msg/C/fstyp.cat /sbin/fstyp /usr/sbin/fstyp what(1) Output: OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/lib/nls/msg/C/fstyp.cat: None OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /sbin/fstyp: $Revision: 78.1.1.5 $ $ PATCH/11.00:PHCO_24148 May 25 2001 08:04:43 $ PATCH_11_00: fstyp.o hpux_rel.o 02/09/23 OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/sbin/fstyp: $Revision: 78.1.1.5 $ $ PATCH/11.00:PHCO_24148 May 25 2001 08:04:43 $ PATCH_11_00: fstyp.o hpux_rel.o 02/09/23 cksum(1) Output: OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 3490128674 165 /usr/lib/nls/msg/C/fstyp.cat OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 2168787894 290816 /sbin/fstyp OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 2168787894 290816 /usr/sbin/fstyp Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_18471 PHCO_24636 Equivalent Patches: None Patch Package Size: 310 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 PHCO_27567 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_27567.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_27567. 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 PHCO_27567.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_27567.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_27567.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None