Fail to drop to a shell session inside the initramfs if the kdump fails to dump the kernel crash dump.

Solution In Progress - Updated -

Issue

  • Fail to drop into a shell session inside the initramfs if the kdump fails to dump the kernel crash dump.

Serial Console Log:

[   26.183118] systemd[1]: Starting Kdump Vmcore Save Service...
[   26.195355] systemd[1]: Started Cleanup squashfs mounts when switch root.
[   26.514822] systemd[1]: kdump-capture.service: Main process exited, code=exited, status=1/FAILURE
[   26.517466] systemd[1]: kdump-capture.service: Failed with result 'exit-code'.
[   26.521167] systemd[1]: Failed to start Kdump Vmcore Save Service.
[   26.528655] systemd[1]: kdump-capture.service: Triggering OnFailure= dependencies.
[   26.532690] systemd[1]: Stopped target Timers.
[   26.538711] systemd[1]: Stopping Cleanup squashfs mounts when switch root...
[   26.554889] systemd[1]: Stopped Cleanup squashfs mounts when switch root.
[   26.559956] systemd[1]: Stopped dracut pre-pivot and cleanup hook.
[   26.564929] systemd[1]: Stopped target Initrd Default Target.
[   26.568096] systemd[1]: Stopped target Basic System.
[   26.570582] systemd[1]: Stopped target System Initialization.
[   26.574404] systemd[1]: Stopped target Swap.
[   26.577089] systemd[1]: Stopped Apply Kernel Variables.
[   26.579777] systemd[1]: Stopped Create Volatile Files and Directories.
[   26.584667] systemd[1]: Stopped target Local File Systems.
[   26.587916] systemd[1]: Unmounting /sysroot...
[   26.590856] systemd-journald[196]: Received SIGTERM from PID 1 (systemd).
[   26.595650] systemd[1]: Stopping Journal Service...
[   26.600282] systemd[520]: sysroot.mount: Failed to execute command: No such file or directory
[   26.606900] systemd[1]: Starting Kdump Emergency...
[   26.608750] systemd[520]: sysroot.mount: Failed at step EXEC spawning /usr/bin/umount: No such file or directory
...
[   26.675435] systemd[1]: sysroot.mount: Mount process exited, code=exited status=203
[   26.677981] systemd[1]: Failed unmounting /sysroot.
[   26.688474] systemd[1]: emergency.service: Main process exited, code=exited, status=4/NOPERMISSION
[   26.692279] systemd[1]: emergency.service: Failed with result 'exit-code'.
[   26.695980] systemd[1]: Failed to start Kdump Emergency.
[   26.701514] systemd[1]: Dependency failed for Emergency Mode.
[   26.705696] systemd[1]: emergency.target: Job emergency.target/start failed with result 'dependency'.
[   26.709428] systemd[1]: Starting Journal Service...
[   26.712216] systemd[1]: Stopped File System Check on /dev/mapper/rhel-root.
[   26.720298] systemd[1]: Stopped target Initrd Root Device.
[   26.729217] systemd[1]: Stopped dracut pre-udev hook.
[   26.735664] systemd[1]: Stopped dracut cmdline hook.
[   26.738217] systemd[527]: systemd-journald.service: Failed to execute command: No such file or directory

OR

[   45.475740] systemd-journald[193]: Received SIGTERM from PID 1 (systemd).
[   45.481683] systemd[1]: Stopping Journal Service...
[   45.488551] systemd[1]: Starting Kdump Emergency...
[   45.490898] systemd[1]: Stopped Create Volatile Files and Directories.
[   45.498386] systemd[1]: Stopped Apply Kernel Variables.
[   45.503724] systemd[1]: Stopped target Local File Systems.
[   45.506685] systemd[1]: Stopped target Sockets.
[   45.508913] systemd[1]: Stopped target Slices.
[   45.511152] systemd[1]: Stopped target Initrd Root File System.
[   45.513707] systemd[1]: Stopped target Remote File Systems.
[   45.516262] systemd[1]: Stopped target Remote File Systems (Pre).
[   45.525844] systemd[526]: sysroot.mount: Failed to execute command: No such file or directory
[   45.552629] systemd[529]: systemd-journald.service: Failed to execute command: No such file or directory
[   45.556641] systemd[530]: systemd-vconsole-setup.service: Failed to execute command: No such file or directory
[   45.599840] systemd[533]: systemd-journald.service: Failed to execute command: No such file or directory
[   45.614772] systemd[534]: systemd-journald.service: Failed to execute command: No such file or directory
[   45.629000] systemd[536]: systemd-journald.service: Failed to execute command: No such file or directory
[   45.644289] systemd[538]: systemd-journald.service: Failed to execute command: No such file or directory

Environment

  • Red Hat Enterprise Linux release 8.0 Beta (Ootpa)
  • kexec-tools
  • dracut-squash

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content