Translated message

A translation of this page exists in English.

如何为在 Red Hat Enterprise Linux 8 上为使用 kdump 配置 crashkernel 参数?

Solution In Progress - Updated -

Issue

  • 在配置 crashkernel 参数时,kdump 服务无法启动:
# 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.
# systemctl status kdump
● kdump.service - Crash recovery kernel arming
   Loaded: loaded (/usr/lib/systemd/system/kdump.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2018-11-16 09:07:04 CET; 10s ago
  Process: 1164 ExecStart=/usr/bin/kdumpctl start (code=exited, status=1/FAILURE)
 Main PID: 1164 (code=exited, status=1/FAILURE)

11月 16 09:07:03 rhel8a.example.net systemd[1]: Starting Crash recovery kernel arming...
11月 16 09:07:04 rhel8a.example.net kdumpctl[1164]: Could not find a free area of memory of 0x1edb000 bytes...
11月 16 09:07:04 rhel8a.example.net kdumpctl[1164]: locate_hole failed
11月 16 09:07:04 rhel8a.example.net kdumpctl[1164]: kexec: failed to load kdump kernel
11月 16 09:07:04 rhel8a.example.net kdumpctl[1164]: Starting kdump: [FAILED]
11月 16 09:07:04 rhel8a.example.net systemd[1]: kdump.service: Main process exited, code=exited, status=1/FAILURE
11月 16 09:07:04 rhel8a.example.net systemd[1]: kdump.service: Failed with result 'exit-code'.
11月 16 09:07:04 rhel8a.example.net systemd[1]: Failed to start Crash recovery kernel arming.
# 
  • kdump 正常工作的正确的 crashkernel 参数是什么?
  • 内核 panics 时的错误 "crashkernel reservation failed - memory is in use"

Environment

  • Red Hat Enterprise Linux 8
  • 所有支持的构架
  • kdump

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content