kdump cannot generate coredump file on bluefield with 5.4 kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-bluefield (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
kdump cannot generate coredump file on bluefield with 5.4 kernel
Bug description:
Following the instruction in https:/
Bluefield is running 5.4 kernel
bf2:~$ uname -a
Linux sw-mtx-008-bf2 5.4.0-1060-
crashkernel parameter is configured
bf2:~$ cat /proc/cmdline
BOOT_IMAGE=
bf2:~$ dmesg | grep -i crash
[ 0.000000] crashkernel reserved: 0x00000000cfe00000 - 0x00000000efe00000 (512 MB)
[ 0.000000] Kernel command line: BOOT_IMAGE=
[ 8.070921] pstore: Using crash dump compression: deflate
kdump-config is as below:
bf2:~$ kdump-config show
DUMP_MODE: kdump
USE_KDUMP: 1
KDUMP_SYSCTL: kernel.
KDUMP_COREDIR: /var/crash
crashkernel addr: 0x
/var/
kdump initrd:
/var/
current state: ready to kdump
kexec command:
/sbin/kexec -p --command-
sysrq:
bf2:/# cat /proc/sys/
176
After trigged the crash manually with "echo c > /proc/sysrq-
With default 512M, it hangs at "Killed process 674"
[ 8.718188] systemd-
[ 30.252513] Out of memory: Killed process 651 (systemd-resolve) total-vm:24380kB, anon-rss:3812kB, file-rss:1828kB, shmem-rss:0kB, UID:101 pgtables:80kB o0
...
[ 34.651927] Out of memory: Killed process 674 (dbus-daemon) total-vm:7884kB, anon-rss:552kB, file-rss:1380kB, shmem-rss:0kB, UID:103 pgtables:52kB oom_sco0
With 1024M, it hangs at following
[ 8.733323] systemd-
After soft reboot the Bluefield, there's no coredump file generated.
bf2:~$ ls /var/crash/ -la
total 52
drwxrwxrwt 3 root root 4096 May 31 01:43 .
drwxr-xr-x 14 root root 4096 Apr 30 11:26 ..
drwxrwxr-x 2 ubuntu ubuntu 4096 May 31 01:43 202305310143
-rw-r----- 1 root root 34307 May 31 01:18 _usr_share_
-rw-r--r-- 1 root root 0 May 31 03:47 kdump_lock
-rw-r--r-- 1 root root 358 May 31 03:48 kexec_cmd
bf2:~$ ls /var/crash/
total 8
drwxrwxr-x 2 ubuntu ubuntu 4096 May 31 01:43 .
drwxrwxrwt 3 root root 4096 May 31 01:43 ..
This issue also happens on 5.4.0-1049-