[kernel-bugs] [Bug 1172670] New: kdump: fails to create dump as dump-capture kernel boots into systemd emergency mode
http://bugzilla.opensuse.org/show_bug.cgi?id=1172670 Bug ID: 1172670 Summary: kdump: fails to create dump as dump-capture kernel boots into systemd emergency mode Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: shung-hsi.yu@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 838585 --> http://bugzilla.opensuse.org/attachment.cgi?id=838585&action=edit journalctl output (colored) The system is configured to capture core dump on crash with `yast2 kdump`. This is confirmed by looking at /proc/cmdline (contains ' crashkernel=256M,high crashkernel=72M,low'), output of `dmesg`, and the status of kdump.service. Triggering a crash dump manually with `echo c >/proc/sysrq-trigger` shows the stacktrace, but fails to correctly boot up the dump-capturing kernel. Below is an excerpt of the output of `journalctl` before the emergency shell was started. Jun 08 14:13:35 localhost systemd[1]: Starting Switch Root... Jun 08 14:13:35 localhost systemctl[377]: Failed to switch root: Specified switch root path '/sysroot' does not seem to be an OS tree. os-release file is missing. Jun 08 14:13:35 localhost systemd[1]: initrd-switch-root.service: Main process exited, code=exited, status=1/FAILURE Jun 08 14:13:35 localhost systemd[1]: initrd-switch-root.service: Failed with result 'exit-code'. Jun 08 14:13:35 localhost systemd[1]: Failed to start Switch Root. Jun 08 14:13:35 localhost systemd[1]: initrd-switch-root.service: Triggering OnFailure= d ependencies. Jun 08 14:13:35 localhost systemd[1]: Starting Setup Virtual Console... Jun 08 14:13:35 localhost systemd[1]: Finished Setup Virtual Console. Jun 08 14:13:35 localhost systemd[1]: Started Emergency Shell. Jun 08 14:13:35 localhost systemd[1]: Reached target Emergency Mode. This issue looks a bit similar to https://bugzilla.redhat.com/show_bug.cgi?id=1812393 but I'm not too sure. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172670
http://bugzilla.opensuse.org/show_bug.cgi?id=1172670#c1
--- Comment #1 from Shung-Hsi Yu
http://bugzilla.opensuse.org/show_bug.cgi?id=1172670
http://bugzilla.opensuse.org/show_bug.cgi?id=1172670#c2
Jeff Mahoney
http://bugzilla.opensuse.org/show_bug.cgi?id=1172670
Shung-Hsi Yu
http://bugzilla.opensuse.org/show_bug.cgi?id=1172670
http://bugzilla.opensuse.org/show_bug.cgi?id=1172670#c3
--- Comment #3 from Shung-Hsi Yu
Once you drop to emergency mode, what does the 'mount' command show?
The output of the `mount` command is: none on / type rootfs (rw) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) devtmpfs on /dev type devtmpfs (rw,nosuid,size=96736k,nr_inodes=24184,mode=755) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime) none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) none on /sysroot type rootfs (ro) I am also able to run `mount -a` to get rootfs mount just fine. After running `mount -a` I get these entries in addition to those above. /dev/nvme0n1p2 on /kdump/mnt0 type btrfs (rw,relatime,ssd,space_cache,skip_balance,subvolid=267,subvol=/@/.snapshots/1/snapshot) /dev/nvme0n1p2 on /sysroot/mnt0 type btrfs (rw,relatime,ssd,space_cache,skip_balance,subvolid=267,subvol=/@/.snapshots/1/snapshot) /dev/nvme0n1p2 on /kdump/mnt1/var type btrfs (rw,relatime,ssd,space_cache,skip_balance,subvolid=257,subvol=/@/var) /dev/nvme0n1p2 on /sysroot/mnt1/var type btrfs (rw,relatime,ssd,space_cache,skip_balance,subvolid=257,subvol=/@/var) -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com