VMCORE and kdump.conf file not found LINUX 6.12 KERNEL
Gokul Praveen
g-praveen at ti.com
Wed Feb 5 04:20:24 PST 2025
Hi Team,
It would be really great,if you could help me with a couple of questions
regarding kexec and kdump.
I tried kdump on my SOC and it is rebooting fine . However,the VMCORE
file and /etc/kdump.conf file is not found.
VERSION:
kexec-tools 2.0.30.
kernel 6.12v
STEPS FOLLOWED:
1)git clone git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git
2)
HOST PC:
>cd $KEXEC_TOOLS_DIR
>./bootstrap LDFLAGS=-static ./configure --prefix=/usr/local
--host=aarch64-linux-gnu --target=aarch64-linux-gnu
>make
>cp $KEXEC_TOOLS_DIR/build/sbin/kexec /media/$USER/rootfs/usr/sbin (To
copy the kexec binary to the rootfs filesystem of the target board)
TARGET BOARD:
>Booted upto linux
>cmdline="crashkernel=128M console=ttyS2,115200n8 root=/dev/mmcblk0p2
rw rootfste=ext4 rootwait" (/dev/mmcblk0p2 refers to EMMC)
> /kexec -p /Image --command-line="$cmdline"
--dtb=/k3-j721e-common-proc-board.dtb
> echo c > /proc/sysrq-trigger
LOGS:
Starting Reboot and dump vmcore via kexec...
[ OK ] Listening on Docker Socket for the API.
[ OK ] Listening on Weston socket.
[ OK ] Started D-Bus System Message Bus.
[ OK ] Reached target Socket Units.
[ OK ] Reached target Basic System.
[ OK ] Started Job spooling tools.
Starting Avahi mDNS/DNS-SD Stack...
[ OK ] Started Periodic Command Scheduler.
Starting Print notice about GPLv3 packages...
Starting IPv6 Packet Filtering Framework...
Starting IPv4 Packet Filtering Framework...
[ OK ] Started irqbalance daemon.
Starting Telephony service...
Starting Expand the rootfs partiti…to full size of the boot
device....
[ 5.992254] audit: type=1334 audit(1728487094.820:10): prog-id=14 op=LOAD
[ 6.003634] audit: type=1334 audit(1728487094.832:11): prog-id=15 op=LOAD
[ 6.010482] audit: type=1334 audit(1728487094.832:12): prog-id=16 op=LOAD
Starting User Login Management...
Starting Telnet Server...
[ OK ] Finished IPv6 Packet Filtering Framework.
[ OK ] Finished IPv4 Packet Filtering Framework.
[ OK ] Finished Telnet Server.
[ OK ] Started User Login Management.
[ OK ] Finished Expand the rootfs partition to full size of the boot
device..
[ OK ] Started Telephony service.
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Created slice Slice /system/systemd-fsck.
Expecting device /dev/mmcblk0p1...
[ OK ] Reached target Preparation for Network.
Starting Load Kernel Module drm...
[ 6.406000] audit: type=1334 audit(1728487095.236:13): prog-id=17 op=LOAD
Starting Network Configuration...
Starting Virtual Console Setup...
[ OK ] Stopped target RPC Port Mapper.
[ OK ] Stopped target Timer Units.
[ OK ] Stopped Daily rotation of log files.
[ OK ] Stopped Daily Cleanup of Temporary Directories.
[ OK ] Stopped target System Time Set.
Stopping Job spooling tools...
Stopping Avahi mDNS/DNS-SD Stack...
Stopping Periodic Command Scheduler...
Stopping irqbalance daemon...
[ OK ] Stopped target Host and Network Name Lookups.
Stopping Telephony service...
[ OK ] Stopped Expand the rootfs partition to full size of the boot
device..
Stopping strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf...
[ OK ] Removed slice Slice /system/getty.
[ OK ] Removed slice Slice /system/serial-getty.
Stopping User Login Management...
Stopping Load/Save OS Random Seed...
Starting Record Runlevel Change in UTMP...
Stopping Telnet Server...
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped Reboot and dump vmcore via kexec.
More information about the kexec
mailing list