—————— 环境 ————————
Server: TS200 2480
kernel: 4.19.90-2003.4.0.0036.oe1.aarch64
——————————————————————————————————————————————
问题:在使用systemctl restart kdump 重启kdump服务时失败
journalctl -xe如下:
[root@localhost ~]# journalctl -xe
Sep 05 19:12:56 localhost.localdomain dracut[12139]: *** Including module: fs-lib ***
Sep 05 19:12:56 localhost.localdomain dracut[12139]: *** Including module: kdumpbase ***
Sep 05 19:12:56 localhost.localdomain dracut[12139]: *** Including module: shutdown ***
Sep 05 19:12:56 localhost.localdomain dracut[12139]: *** Including module: squash ***
Sep 05 19:12:56 localhost.localdomain dracut[12139]: *** Including modules done ***
Sep 05 19:12:56 localhost.localdomain dracut[12139]: *** Installing kernel module dependencies ***
Sep 05 19:12:57 localhost.localdomain dracut[12139]: *** Installing kernel module dependencies done ***
Sep 05 19:12:57 localhost.localdomain dracut[12139]: *** Resolving executable dependencies ***
Sep 05 19:12:57 localhost.localdomain dracut[12139]: *** Resolving executable dependencies done***
Sep 05 19:12:57 localhost.localdomain dracut[12139]: *** Hardlinking files ***
Sep 05 19:12:57 localhost.localdomain dracut[12139]: *** Hardlinking files done ***
Sep 05 19:12:57 localhost.localdomain dracut[12139]: *** Stripping files ***
Sep 05 19:12:58 localhost.localdomain dracut[12139]: *** Stripping files done ***
Sep 05 19:12:58 localhost.localdomain dracut[12139]: *** Generating early-microcode cpio image ***
Sep 05 19:12:58 localhost.localdomain dracut[12139]: *** Constructing AuthenticAMD.bin ****
Sep 05 19:12:58 localhost.localdomain dracut[12139]: *** Store current command line parameters ***
Sep 05 19:12:58 localhost.localdomain dracut[12139]: Stored kernel commandline:
Sep 05 19:12:58 localhost.localdomain dracut[12139]: rd.lvm.lv=openeuler/root
Sep 05 19:12:58 localhost.localdomain dracut[12139]: *** Creating image file '/boot/initramfs-4.19.90-2003.4.0.0036.oe1.aarch64kdump.img' ***
Sep 05 19:12:59 localhost.localdomain dracut[12139]: *** Creating initramfs image file '/boot/initramfs-4.19.90-2003.4.0.0036.oe1.aarch64kdump.img' done >
Sep 05 19:12:59 localhost.localdomain kdumpctl[11802]: Could not find a free area of memory of 0x10000 bytes...
Sep 05 19:12:59 localhost.localdomain kdumpctl[11802]: locate_hole failed
Sep 05 19:12:59 localhost.localdomain kdumpctl[11802]: kexec: failed to load kdump kernel
Sep 05 19:12:59 localhost.localdomain kdumpctl[11802]: Starting kdump: [FAILED]
Sep 05 19:12:59 localhost.localdomain systemd[1]: kdump.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- An ExecStart= process belonging to unit kdump.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Sep 05 19:12:59 localhost.localdomain systemd[1]: kdump.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit kdump.service has entered the 'failed' state with result 'exit-code'.
Sep 05 19:12:59 localhost.localdomain systemd[1]: Failed to start Crash recovery kernel arming.
-- Subject: A start job for unit kdump.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit kdump.service has finished with a failure.
--
-- The job identifier is 904 and the job result is failed.
Sep 05 19:12:59 localhost.localdomain audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=kdump>
Sep 05 19:12:59 localhost.localdomain [17209]: [systemctl restart kdump] return code=[1], execute failed by [root(uid=0)] from [pts/0 (90.253.95.44)]
———————— debug步骤 ————————————
1、尝试增加crashkernel内存到2048M失败
2、尝试配置/etc/sysconfig/kdump 禁用网卡驱动,失败
3、尝试升级kexec-tools到openEuler 最新的2.0.20-13版本,失败
Hey @sharpro, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
登录 后才可以发表评论