/ 详情

[20.03-LTS-SP2]x86机器message日志偶现错误:crashkernel reservation failed

Accepted
Bug
Opened this issue  
2021-05-14 10:38

【环境信息】
软件信息:
1) 版本20.03-LTS-SP2,x86物理机,虚拟机
2) 4.19.90-2104.21.0.0083.oe1.x86_64
3) 偶现
【问题复现步骤】
安装最小化,安装完成后查看message日志
【预期结果】
无报错
【实际结果】
有报错: crashkernel reservation failed - No suitable area found.
【附件信息】
输入图片说明

Attachments
messages(2.04 MB)Download
ga_beng_cui 2021-05-14 10:41
dmesg_log(163.92 KB)Download
ga_beng_cui 2021-05-14 11:35

Comments (7)

ga_beng_cui created缺陷
ga_beng_cui set related repository to openEuler/kernel
展开全部操作日志

Hey ga_beng_cui, 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.

ga_beng_cui set deadline to 2021-05-15
ga_beng_cui set start time to 2021-05-14
ga_beng_cui set priority to Secondary
ga_beng_cui changed priority from Secondary to Main
ga_beng_cui upload filemessages
ga_beng_cui changed description
ga_beng_cui upload filedmesg_log

附件中没有报错信息,是不是放错了

报错信息在message里面

XieXiuQi added
 
issue_needinfo
label
成坚 (CHENG Jian) changed priority from Main to Unimportant

预留空间信息,还有 iomem 的信息都提供下吧。

这种一般都是预留空间不足造成的。

默认从前 4G 预留空间,而前 4G 的空间是非常宝贵的。因此会概率性出现这样的问题

成坚 (CHENG Jian) changed issue state from 待办的 to 已完成
成坚 (CHENG Jian) changed issue state from 已完成 to 修复中

X86 5.2-rc1 合入了如下补丁 之后,crashkernel=xM 参数会优先从低 4G 内存预留空间, 但是低 4G 空间不足时,会尝试用高地址空间去 fallback。

commit b9ac3849af412fd3887d7652bdbabf29d2aecc16
Author: Dave Young <dyoung@redhat.com>
Date:   Mon Apr 22 11:19:05 2019 +0800

    x86/kdump: Fall back to reserve high crashkernel memory

https://lore.kernel.org/patchwork/patch/1064569/

4.19 暂时不支持此特性,如果低 4G 不够,需要显式从高地址预留

ARM64 则通过如下补丁支持从高 4G 去预留

7526a628d93c kdump: update Documentation about crashkernel on arm64
8ad16a4b9c7c memblock: extend memblock_cap_memory_range to multiple ranges
19ab5d6d6b8c arm64: kdump: support reserving crashkernel above 4G
ca2e51954ad8 x86: kdump: move reserve_crashkernel_low() into kexec_core.c
成坚 (CHENG Jian) changed issue state from 修复中 to 已完成
ga_beng_cui changed issue state from 已完成 to 已验收

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
Confirm
参与者(4)
5329419 openeuler ci bot 1578984659