fail to use kdump function
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kunpeng920 |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu-20.04-hwe |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Bug Description]
if use offical way to config kdump function, it fail to be ok
[Steps to Reproduce]
1) root@caoll:~# apt install linux-crashdump
2)reboot
3) root@caoll:~# kdump-config show
DUMP_MODE: kdump
USE_KDUMP: 1
KDUMP_SYSCTL: kernel.
KDUMP_COREDIR: /var/crash
crashkernel addr: 0x5e000000
/var/
kdump initrd:
/var/
current state: ready to kdump
kexec command:
/sbin/kexec -p --command-
root@caoll:~# dmesg | grep crashkernel
[ 0.000000] cannot allocate crashkernel (size:0x100000000)
[ 0.000000] Kernel command line: BOOT_IMAGE=
root@caoll:~# echo c > /proc/sysrq-trigger
[Actual Results]
dump fail
[Expected Results]
dump ok
[Reproducibility]
100%
[Additional information]
(Firmware version, kernel version, affected hardware, etc. if required 2022032315434):
[Resolution]
fix grub.cfg file
vi /etc/default/
vi /boot/grub/
We can not use one crashkernel setting to satisfy all arm64 platform. Instead of that, for developer function e.g. kdump that crashkernel shall be input manually by developer for his own environment.