Skip to contentSkip to conversation

Regarding your presentation "CFP, #LinuxCon, Beijing, June 19-20, 2017"

DISCUSSION Bruce Mitchell 1 participant 1 message Apr 1, 2021 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 39 lines · Bruce Mitchell

Hello David, Pratyush, Vivek, and Maneesh,

This did not seem to send properly from IBM Notes; trying an alternative plain text style.

And I am also referencing:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-guide/kdump/kdump.rst

I am Senior System Software / Firmware / Embedded Engineer do Linux Kernel Developer for OpenBMC Firmware at @IBM, @ibm-openbmc, and @openbmc.

I am having troubles getting kdump functioning (fully implemented) on our SoC is the ASPEED AST2600 which is an ARM Cortex A7 core. I need a crash dump on a kernel panic.  I need to get kdump working on this platform.
Our system has 512MB of RAM  and somewhere between 8GB and 32GB of eMMC for mass storage; kernel panic mounts haven't always gone right, but that seem build dependent.

My Ubuntu 18.04 LTS Server it just worked first time, no issues.

My kernel is:

     Bruce.Mitchell@fstone05p1:~/tmp/openbmc/build/rainier/tmp/work-shared/rainier/kernel-source$ git log | head
     commit a3e4860badca60a766b53d169c1c9822cd65b344
     Author: Zev Weiss <[email protected]>
     Date:   Mon Mar 29 19:23:38 2021 -0500

I have kexec -l functioning about like I would expect.
I can get kexec -p to boot the "crash" kernel (my primary kernel and my crash kernel are the same).

My kexec command line; I have tried with out --initrd=/home/kexec_files/initrd as well.
    kexec -d -p /home/kexec_files/kernel.zImage \
              --initrd=/home/kexec_files/initrd \
              --dtb=/home/kexec_files/dtb \
              --append="earlycon crashkernel=24M console=ttyS4,115200n8
rootwait root=PARTLABEL=rofs-a 1 reset_devices"

I have no core files in /proc
    sh-5.1# ls -l /proc/ | grep core
    sh-5.1#
So what or where should I copy from for kdump?

Quoted 11 lines

OpenBMC builds on OpenEmbedded and Yocto all part of The Linux Foundation Projects.

I feel like I am just missing some simple clue or two.

Any suggestions, pointers, critique would be highly appreciated!

Thank you!

Signature · 1 line
Bruce Mitchell

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec