Patch Name: PHCO_20868 Patch Description: s700_800 10.10 savecore(1M) cumulative patch Creation Date: 99/01/08 Post Date: 00/02/01 Hardware Platforms - OS Releases: s700: 10.10 s800: 10.10 Products: N/A Filesets: OS-Core.UX-CORE Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_20868 Symptoms: PHCO_20868: ( SR: 8606124057 DTS: JAGac39438 ) On large memory systems that use dedicated dump devices, savecore may fail with a "Broken pipe" error in the INDEX file. The messages in the INDEX file are: warning savecore: running in the background error savecore: write failed : Broken pipe warning savecore: only ##### of ##### bytes saved. PHCO_12688: ( SR: 5003387886 1653230540 DTS: DSDe428773 DSDe433024 DSDe439608 DSDe439647 DSDe428326 DSDer26755 ) If the dump area is beyond 2Gb on the physical disk, the following error message results when savecore attempts to read the dump: savecore: seek failed : savecore: could not open dump Defect Description: PHCO_20868: ( SR: 8606124057 DTS: JAGac39438 ) On large memory systems using dedicated dump devices, savecore puts itself into the background and protects itself from the RC scripts terminating by ignoring SIGHUP. When a compression process is spawned, the handling of SIGHUP is returned to the default (terminate the process). When the RC scripts completed, the compression process catches the hangup signal and terminates. Savecore detects this as a broken pipe as it tries to write data out to the compression process. Resolution: Remove the code that revert the handling of SIGHUP back to SIG_DFL from child processes. PHCO_12688: ( SR: 5003387886 1653230540 DTS: DSDe428773 DSDe433024 DSDe439608 DSDe439647 DSDe428326 DSDer26755 ) When the size of a dump device is greater than 4Gb, savecore cannot access the dump. The savecore command will fail with: savecore: seek failed : savecore: could not open dump The will tend to be random as savecore is reporting an error that did not really occur. SR: 8606124057 Patch Files: /sbin/savecore what(1) Output: /sbin/savecore: PHCO_17276 $Revision: 78.3.1.3.1.1 $ PATCH/10_10 PHCO_13917 $Revision: 76.162.1.14.1.60 $ PATCH_10_10: hpux_rel.o main.o args.o source.o targe t.o util.o disk_area.o module.o image.o inde x.o compress.o tape.o 00/01/18 cksum(1) Output: 2915190708 212992 /sbin/savecore Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_12688 Equivalent Patches: None Patch Package Size: 270 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_20868 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_20868.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_20868. 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_20868.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_20868.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None