Patch Name: PHKL_30781 Patch Description: s700_800 11.23 Swap Dump Configuration Fix Creation Date: 04/05/05 Post Date: 04/05/17 Hardware Platforms - OS Releases: s700: 11.23 s800: 11.23 Products: N/A Filesets: OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP Automatic Reboot?: Yes Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHKL_30781 Symptoms: PHKL_30781: ( SR:8606339375 CR:JAGaf00304 ) Modifying the swap or dump configuration using the lvlnboot(1M) command have no effect on the kernel. Modifying swap and dump settings through the system files will also have no effect unless all optional parameters are specified. The problem is that the command returns successfully, but the kernel does not honor the settings. The kernel always dumps to the primary swap device. Defect Description: PHKL_30781: ( SR:8606339375 CR:JAGaf00304 ) The kernel swap and dump configuration code was wrongly enforcing the usage of optional parameters (offset and blocks) for swap and dump settings. This causes all the settings made through the command lvlnboot or without optional parameters to be ignored. Since the kernel does this silently at boot time, the user will be surprised when the kernel dumps. Resolution: The kernel swap and dump configuration code has been modified to make sure that the optional parameters are treated that way. Enhancement: No SR: 8606339375 Patch Files: OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/conf/mod/kconfig what(1) Output: OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/conf/mod/kconfig: kc_init.c $Date: 2004/04/19 15:38:43 $Revision: r11. 23/1 PATCH_11.23 (PHKL_30781) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: 2832308394 167136 /usr/conf/mod/kconfig Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 80 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_30781 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_30781.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_30781. 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 PHKL_30781.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_30781.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_30781.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None