Patch Name: PHKL_29994 Patch Description: s700_800 11.23 install kernel panic with ram fs problem Creation Date: 03/11/14 Post Date: 03/11/24 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: Yes PHKL_29994: PANIC Category Tags: defect_repair general_release critical panic Path Name: /hp-ux_patches/s700_800/11.X/PHKL_29994 Symptoms: PHKL_29994: ( SR:8606325170 CR:JAGae87460 ) install kernel panic with the following message System Panic: panic: cannot allocate memory for RAM disk, possible bad memory Stack Trace: IP Function Name 0xe000000000952e60 AddressSpaceScan+0x800 0xe0000000009526c0 AddressSpaceScan+0x60 0xe0000000010050b0 DoCalllist+0x3a0 End of Stack Trace Defect Description: PHKL_29994: ( SR:8606325170 CR:JAGae87460 ) The pdt_read function inadvertently deallocates the memory with transient SBE (Single Bit Error). This memory is marked as usable by firmware and is actually used by the boot loader. In this situation, this memory with the transient SBE happened to be part of the RAM FS that is preallocated by the boot loader. This causes the install kernel to panic. This could also causes panic in non- install kernel, if this memory with the transient SBE happens to be part of the kernel stack, data, etc. Resolution: Change the pdt_read function to ignore the transient SBE reported by firmware so that this memory will not be deallocated. Enhancement: No SR: 8606325170 Patch Files: OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/conf/lib/libio-pdk.a(foundation_psm.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/conf/lib/libio-pdk.a(foundation_psm.o): foundation_psm.c $Date: 2003/11/04 13:06:59 $Revisio n: r11.23/1 PATCH_11.23 (PHKL_29994) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: 1905109882 49728 /usr/conf/lib/libio-pdk.a(foundation_psm.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 40 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_29994 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_29994.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_29994. 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_29994.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_29994.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_29994.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None