Patch Name: PHCO_29916 Patch Description: s700_800 11.11 fstyp(1M) cumulative patch Creation Date: 03/10/27 Post Date: 03/11/03 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: Yes PHCO_29916: HANG PHCO_28084: ABORT Category Tags: defect_repair general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHCO_29916 Symptoms: PHCO_29916: ( SR:8606333804 CR:JAGae94891 ) fstyp hangs on a VxFS 3.5 filesystem that has more than 14 checkpoints. PHCO_28084: ( SR:8606273970 CR:JAGae38049 ) fstyp(1M) returns "unknown_fstyp" on VxFS version 4 disklayout filesystem. ( SR:8606282038 CR:JAGae45981 ) fstyp(1M) dumps core on a VxFS version 4 disklayout filesystem. Defect Description: PHCO_29916: ( SR:8606333804 CR:JAGae94891 ) When fstyp command is run on VxFS 3.5 filesystem that has more than 14 checkpoints VxFS structural file (meta data) grows beyond a certain limit (has more than one extent) and results in fstyp command reading a particular block of disk, indefinitely. Resolution: The defect was in VxFS libc APIs which was fixed and fstyp is rebuild with the changed libc. PHCO_28084: ( SR:8606273970 CR:JAGae38049 ) fstyp(1M) results in a call to statvfsdev(), which in turn calls lseek(). Lseek() fails on files which are greater than 2GB in size, thus returning "unknown fstyp". Resolution: Makefile was modified to include the large file option. Now lseek64() would be called instead of lseek(). fstyp(1M) was recompiled to make it large file aware. ( SR:8606282038 CR:JAGae45981 ) A "Memory fault(coredump)" might occur when the special device file argument passed to fstyp(1m) is of a version 4 disklayout filesystem. Resolution: The problem was due to an uninitialized structure. The structure is now correctly initialized. Enhancement: No SR: 8606273970 8606282038 8606333804 Patch Files: OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /sbin/fstyp /usr/lib/nls/msg/C/fstyp.cat /usr/sbin/fstyp what(1) Output: OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /sbin/fstyp: fstyp.c $Date: 2003/10/17 01:29:58 $Revision: r11.11 /3 PATCH_11.11 (PHCO_29916) $Revision: @(#) all R11.11_BL2003_1027_1 PATCH_11.11 PHCO_29916 Mon Oct 27 02:30:36 PST 2003 $ $ Version_11.11 Sep 30 2003 08:05:04 $ /usr/lib/nls/msg/C/fstyp.cat: None /usr/sbin/fstyp: fstyp.c $Date: 2003/10/17 01:29:58 $Revision: r11.11 /3 PATCH_11.11 (PHCO_29916) $Revision: @(#) all R11.11_BL2003_1027_1 PATCH_11.11 PHCO_29916 Mon Oct 27 02:30:36 PST 2003 $ $ Version_11.11 Sep 30 2003 08:05:04 $ cksum(1) Output: OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: 301584084 327680 /sbin/fstyp 3490128674 165 /usr/lib/nls/msg/C/fstyp.cat 301584084 327680 /usr/sbin/fstyp Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_28084 Equivalent Patches: None Patch Package Size: 200 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_29916 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_29916.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_29916. 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_29916.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_29916.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_29916.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None