Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionAfom T. Michael
2017-11-07 22:41:16 UTC
Description of problem:
kdump service fails to start when set with "crashkernel=auto" running 4.14.0-0.rc7.1.el7a.ppc64le.
Version-Release number of selected component (if applicable):
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.5 Beta (Maipo)
$ uname -rm
4.14.0-0.rc7.2.el7a.x86_64 x86_64
$ rpm -q kexec-tools
kexec-tools-2.0.15-4.el7.x86_64
$
How reproducible:
Always
Steps to Reproduce:
1. Install latest such as RHEL-ALT-7.5-20171106.1
2. Install kexec-tools and add crashkernel=auto in grub (as described on https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/kernel_crash_dump_guide/sect-kdump-config-cli)
3. reboot & check kdump status (systemctl status kdump -l)
Actual results:
kdump service doesn't start with "...kdumpctl[2041]: No memory reserved for crash kernel..."
$ free -m
total used free shared buff/cache available
Mem: 32228 363 31647 9 217 31450
Swap: 16127 0 16127
$ cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.14.0-0.rc7.2.el7a.x86_64 root=/dev/mapper/rhelaa_rdma--dev--05-root ro console=tty0 rd_NO_PLYMOUTH crashkernel=auto rd.lvm.lv=rhelaa_rdma-dev-05/root rd.lvm.lv=rhelaa_rdma-dev-05/swap console=ttyS1,115200
$ systemctl is-enabled kdump
enabled
$ systemctl is-active kdump
failed
$ systemctl status kdump -l
● kdump.service - Crash recovery kernel arming
Loaded: loaded (/usr/lib/systemd/system/kdump.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2017-11-07 21:09:08 EST; 47min ago
Process: 970 ExecStart=/usr/bin/kdumpctl start (code=exited, status=1/FAILURE)
Main PID: 970 (code=exited, status=1/FAILURE)
Nov 07 21:09:08 localhost.localdomain systemd[1]: Starting Crash recovery kernel arming...
Nov 07 21:09:08 localhost.localdomain kdumpctl[970]: No memory reserved for crash kernel
Nov 07 21:09:08 localhost.localdomain kdumpctl[970]: Starting kdump: [FAILED]
Nov 07 21:09:08 localhost.localdomain systemd[1]: kdump.service: main process exited, code=exited, status=1/FAILURE
Nov 07 21:09:08 localhost.localdomain systemd[1]: Failed to start Crash recovery kernel arming.
Nov 07 21:09:08 localhost.localdomain systemd[1]: Unit kdump.service entered failed state.
Nov 07 21:09:08 localhost.localdomain systemd[1]: kdump.service failed.
$ systemctl start kdump
Job for kdump.service failed because the control process exited with error code. See "systemctl status kdump.service" and "journalctl -xe" for details.
$
Expected results:
For kdump to start & run when set with crashkernel=auto.
Additional info:
Seen on x86_64 & ppc64le
*** This bug has been marked as a duplicate of bug 1431982 ***
Comment 6Francisco Peralta
2019-11-08 13:09:34 UTC
(In reply to Dave Young from comment #5)
>
> *** This bug has been marked as a duplicate of bug 1431982 ***
Dear Dave and Team,
I've a customer on RHEL7.7 that still sees this issue and we do not agree that this issue is a duplicate of the one you mentioned (which was fixed but is actually for having a fixed value of crashkernel).
Would you agree to unmark it as duplicate and follow up on this one (if that's possible and makes sense, otherwise I can still open a new one on 7.7)
My customer is ok to accept that the value =auto is going to disappear in RHEL8 but in RHEL7 it exists and is documented and whatsmore all their servers already have auto, (presumably) because that's what's configured automatically in a default installation. Changing this now to a large-enough hard-coded value is a mayor issue.
What is your opinion?
Thanks in advance,
Cisco.
On the early phase of RHEL-alt, we have no crashkernel=auto code enabled in the 4.14 kernel, so this is expected, and later we ported the crashkernel=auto in RHEL-alt and also simplified it a lot, which is the bug 1431982. So this should be good to be a duplicate.
About the similar issue customer has, it is probably not a same issue, the product is RHEL7.7 not RHEL-alt, and the kernel is also different, we use 3.10 kernel in RHEL7 instead. I would suggest to collect the kernel log in case crashkernel=auto failed. Then we can see what it happened.
Thanks
Dave