-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-9.4
-
No
-
None
-
rhel-sst-cs-plumbers
-
ssg_core_services
-
3
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
RegressionOnly
-
None
Description of problem:
Kdump fails to capture a vmcore when using eMMC storage to dump the core.
Version-Release number of selected component (if applicable):
RHEL 9.4 - 5.14.0-427.13.1.el9_4.x86_64
Modules - mmc_block.
How reproducible:
Always
Steps to Reproduce:
1. Add the kdump configuration as below -
# grep -v "#" /etc/kdump.conf
~~~
auto_reset_crashkernel yes
core_collector makedumpfile -l --message-level 7 -d 31
path /var/crash
xfs UUID="a36c0aa5-c409-44cf-b2ff-e36a4c287a16" >>> The dump target should be eMMC block.
~~~
# blkid | grep root
~~~
/dev/mapper/rhel-root: UUID="a36c0aa5-c409-44cf-b2ff-e36a4c287a16" BLOCK_SIZE="512" TYPE="xfs"
~~~
# lsblk
~~~
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
mmcblk0 179:0 0 116.5G 0 disk
└─mmcblk0p3 179:3 0 114.9G 0 part
├─rhel-root 253:0 0 70G 0 lvm / ---------->>
~~~
2. Restart the kdump.service
# systemctl restart kdump.service
3. Crash the server using SysRq -
# echo 1 > /proc/sys/kernel/sysrq
# echo 'c' > /proc/sysrq-trigger
Actual results:
The kdump fails to generate vmcore with below errror -
~~~
[ 194.393167] dracut-initqueue[346]: Warning: dracut-initqueue: starting timeout scripts
[ 194.871813] dracut-initqueue[346]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
[ 194.883206] dracut-initqueue[346]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2fmapper\x2frhel-root.sh: "[ -e "/dev/mapper/rhel-root""
[ 194.900180] dracut-initqueue[346]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2frhel\x2froot.sh: "[ -e "/dev/rhel/root" ]"
[ 194.914167] dracut-initqueue[346]: Warning: dracut-initqueue: starting timeout scripts
[ 195.392726] dracut-initqueue[346]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
[ 195.404194] dracut-initqueue[346]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2fmapper\x2frhel-root.sh: "[ -e "/dev/mapper/rhel-root""
[ 195.421183] dracut-initqueue[346]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2frhel\x2froot.sh: "[ -e "/dev/rhel/root" ]"
[ 195.435167] dracut-initqueue[346]: Warning: dracut-initqueue: starting timeout scripts
[ 195.913819] dracut-initqueue[346]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
[ 195.925193] dracut-initqueue[346]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2fmapper\x2frhel-root.sh: "[ -e "/dev/mapper/rhel-root""
[ 195.942180] dracut-initqueue[346]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2frhel\x2froot.sh: "[ -e "/dev/rhel/root" ]"
[ 195.956167] dracut-initqueue[346]: Warning: dracut-initqueue: starting timeout scripts
[ 196.434726] dracut-initqueue[346]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
[ 196.446194] dracut-initqueue[346]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2fmapper\x2frhel-root.sh: "[ -e "/dev/mapper/rhel-root""
[ 196.463170] dracut-initqueue[346]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2frhel\x2froot.sh: "[ -e "/dev/rhel/root" ]"
[ 196.477165] dracut-initqueue[346]: Warning: dracut-initqueue: starting timeout scripts
[ 196.488163] dracut-initqueue[346]: Warning: Could not boot.
[ 196.494235] systemd[1]: systemd-ask-password-console.path: Deactivated successfully.
[ 196.502198] systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.
[ OK ] Stopped Dispatch Password …ts to Console Directory Watch.
[ 196.524282] systemd[1]: Stopped target Basic System.
[ OK ] Stopped target Basic System.
[ 196.536231] systemd[1]: Stopped target System Initialization.
[ OK ] Stopped target System Initialization.
[ 196.557897] systemd[1]: Starting Kdump Error Handler...
Starting Kdump Error Handler...
[ 196.568445] kdump[2928]: Kdump is using the default log level(3).
[ 196.573840] kdump[2933]: Executing failure action systemctl reboot -f
[ 196.577569] systemd[1]: Shutting down.
[ 196.579050] dracut-initqueue[346]: Warning: Not all disks have bee
~~~
Expected results:
Kdump should generate the vmcore in the specified target location.
Example -
# tree /var/crash/
~~~
/var/crash/
├── 127.0.0.1-2024-08-21-11:27:30
│ ├── kexec-dmesg.log
│ ├── vmcore >>>
│ └── vmcore-dmesg.txt
~~~