Patch Name: PHCO_29925 Patch Description: s700_800 10.26 trec cumulative patch Creation Date: 03/10/31 Post Date: 04/02/10 Hardware Platforms - OS Releases: s700: 10.26 s800: 10.26 Products: N/A Filesets: BLS.BLS-CORE OS-Core.UX-CORE Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_29925 Symptoms: PHCO_29925: trec command fails with an error "fs_bmap error in fileset 999" on a large Vxfs filesystem. PHCO_16973: The trec command is failing for on an HFS disk with no LVM. When booting, the message is: process_inode: inode number 1865955381 is out of range When prompted to run trec interactively: process_inode: inode number 196937501 is out of range also error Read failed: bad address unable to read file system data block -2147464877, size=8192 at -2199004034048(0x01254c00), offset=-512 Defect Description: PHCO_29925: trec command fails with an error "fs_bmap error in fileset 999" on a large Vxfs filesystem. Resolution: Code has been modified. PHCO_16973: trec fails on HFS disk - 1GB internal, no LVM. The error message indicated a value out of range. Becaues of this, the disk would not boot automatically and you were supposed to run trec manually. This would fail, but after CTRL-D to exit the shell, the machine would boot and no strange behavior was observed. Resolution: The values that were originally out of range seemed to be things that should have been reconciled by fsck. I first looked through the patch list for fsck, and found one for 11.0 that seemed to address the same problem (PHCO_16703). I ported that patch first, which when run made some changes on the disk during the fsck. But trec was still hosed. So - I finally determined that the call to the lseek64 routine had a parameter that was being interpreted as an int, was supposed to be a 64-bit off_t. SR: 0000000000 Patch Files: /tcb/bin/trec /sbin/fs/hfs/fsck what(1) Output: /tcb/bin/trec: HP92453-02A.10.00 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ 03/10/30 lib/libc/core/gen/ctime.c, hpux, hpux_10.26 , ic5il Revision 1.2 PATCH_10.26 (PHCO_17823 ) UNMODIFIED 00/01/04 lib/libc/core/gen/mntent.c, hpux, hpux_10.2 6, ic5il Revision 1.2 PATCH_10.26 (PHCO_2078 2) UNMODIFIED 00/01/05 lib/libc/net/net/innetgr.c, hpux, hpux_10.2 6, ic5il Revision 1.2 PATCH_10.26 (PHCO_2078 2) UNMODIFIED 00/01/05 lib/libc/net/yp/yp_all.c, hpux, hpux_10.26, ic5il Revision 1.2 PATCH_10.26 (PHCO_20782) 00/01/05 lib/libc/net/yp/yp_bind.c, hpux, hpux_10.26 , ic5il Revision 1.2 PATCH_10.26 (PHCO_20782 ) 01/02/01 lib/libc/core/stdio/doprnt.c, hpux, hpux_10 .26, ic5il Revision 1.2 PATCH_10.26 (PHCO_23 181) UNMODIFIED 00/01/05 lib/libc/net/yp/yp_match.c, hpux, hpux_10.2 6, ic5il Revision 1.2 PATCH_10.26 (PHCO_2078 2) 00/01/05 lib/libc/net/rpc/xdr_mem.c, hpux, hpux_10.2 6, ic5il Revision 1.2 PATCH_10.26 (PHCO_2078 2) UNMODIFIED 01/02/01 lib/libc/core/stdio/vsnprintf.c, hpux, hpux _10.26, ic5il Revision 1.2 PATCH_10.26 (PHCO _23181) UNMODIFIED 03/10/29 seccmd/secpolicy/trec/trec_acl.c, hpux, hpu x_10.26, ic5il Revision 1.4 PATCH_10.26 (PHC O_29925) 03/10/29 seccmd/secpolicy/trec/trec_mac.c, hpux, hpu x_10.26, ic5il Revision 1.4 PATCH_10.26 (PHC O_29925) 03/10/30 seccmd/secpolicy/trec/trec_mld.c, hpux, hpu x_10.26, ic5il Revision 1.5 PATCH_10.26 (PHC O_29925) seccmd/secpolicy/trec/trec_ufs.c, hpux, hpux_10.26, ic5il $Date: 03/10/30 23:36:21 $ $Revision: 1.5 PATCH_10.26 (PHCO_16973)$ 03/10/29 seccmd/secpolicy/trec/trec_vxfs.c, hpux, hp ux_10.26, ic5il Revision 1.4 PATCH_10.26 (PH CO_29925) $Revision: 1.1 seccmd/secpolicy/trec/hpux_rel.c, hpu x, hpux_10.26, ic5il $ 99/11/15 seccmd/secpolicy/spdbm.c, hpux, hpux_10.26, ic5il Revision 1.7 PATCH_10.26 (PHCO_20467) 2003/10/31 Hewlett-Packard HP-UX 10.26 TOS [ ic5il - DAV17 ] 03/10/30 lib/libsecurity/mandlib.c, hpux, hpux_10.26 , ic5il Revision 1.5 PATCH_10.26 (PHCO_17760 ) $ 03/02/24 lib/libsecurity/map_ids.c, hpux, hpux_10.26 , ic5il Revision 1.16 PATCH_10.26 (PHCO_2875 7) 99/03/09 lib/libsecurity/psecerror.c, hpux, hpux_10. 26, ic5il Revision 1.4 PATCH_10.26 (PHCO_178 56) 03/04/23 lib/libsecurity/subsystems.c, hpux, hpux_10 .26, ic5il Revision 1.6 PATCH_10.26 (PHCO_28 919) 01/03/26 lib/libsecurity/discr.c, hpux, hpux_10.26, ic5il Revision 1.3 PATCH_10.26 (PHCO_23735) 99/05/21 lib/libsecurity/authcap.c, hpux, hpux_10.26 , ic5il Revision 1.5 PATCH_10.26 (PHCO_18502 ) ic5ae_DAV17 lib/libc/archive_pa1/libc.a_01 Oct 31 2003 05:48:22 /sbin/fs/hfs/fsck: $Revision: Hewlett-Packard 10.26 TOS Level ic5aj Bas e DAV17$$Date: Thu Dec 17 16:39:41 PST 1998$ cmd/fsck/fsck.c, hpux, hpux_10.26, ic5aj $Date: 98/1 2/17 16:07:28 $ $Revision: 1.3 PATCH_10.26 ( PHCO_16973) $ $Revision: 78.5 $ Internal_Unsupported_Version libc.a_ID@@/main/r10dav /libc_dav/15 /ux/libc/libs/libc/archive_pa1/libc.a_ID Dec 17 1998 21:01:29 cksum(1) Output: 594540523 1155072 /tcb/bin/trec 2800097317 450560 /sbin/fs/hfs/fsck Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_16973 Equivalent Patches: None Patch Package Size: 730 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_29925 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_29925.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_29925. 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 PHCO_29925.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/PHCO_29925.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None