kexec boot fails with a kernel panic
This document (7023983) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Kernel panic - not syncing: ERROR: Failed to allocate 0x0000000000004000 bytes below 0x0000000020000000.
CPU: 0 PID: 0 Comm: swapper Not tainted 4.12.14-195.gbb021ec-default #1 SLE15-SP1
Call Trace:
[c00000000122fcf0] [c000000000a19368] dump_stack+0xb0/0xf0 (unreliable)
[c00000000122fd30] [c000000000a15efc] panic+0x144/0x31c
[c00000000122fdc0] [c000000000d3c8e4] memblock_alloc_base+0x44/0x58
This issue is seen on large configuration systems when the "crashkernel=" parameter is passed to the kernel.
Resolution
kexec -l --append="`cat /proc/cmdline` crashkernel=X@160M" --initrd=/boot/initrd-`uname -r` /boot/vmlinux-`uname -r`
Where X is the memory to be reserved for kdump.
Cause
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7023983
- Creation Date: 01-Jul-2019
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com