Mailinglist Archive: opensuse-bugs (4247 mails)

< Previous Next >
[Bug 1019590] New: kdump crash simulation cause root FS corruption
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 12 Jan 2017 13:04:34 +0000
  • Message-id: <bug-1019590-21960@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1019590


Bug ID: 1019590
Summary: kdump crash simulation cause root FS corruption
Classification: openSUSE
Product: openSUSE Distribution
Version: Leap 42.2
Hardware: Other
OS: Other
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Basesystem
Assignee: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
Reporter: anton.smorodskyi@xxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

1. Install and setup kdump
2. Press Alt + SysRQ + C to simulate a crash
==> kdump will start collecting dump but instead of write it into defined place
it will start fsck to check root fs .
RESULT :
- dump not written into /var/crash
- root fs contain serious errors which not allowed me to boot system until I
fix them with manual fsck execution on detached root fs

Was able to reproduce this two times in a row IMO this allow to exclude
possibility that I had corrupted fs before simulation of crash.

# zypper info kdump
Information for package kdump:
------------------------------
Repository : Main Repository (OSS)
Name : kdump
Version : 0.8.15-29.1
Arch : x86_64
Vendor : openSUSE
Installed Size : 644.2 KiB
Installed : Yes
Status : up-to-date

# cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.4.41-1.g3bf02b3-default
root=UUID=ba62de1c-0dc0-4c0b-b018-7fac7a19d548
resume=/dev/disk/by-uuid/7f1942a6-291b-4f72-883b-e1295bf1f53d showopts
crashkernel=256M

# cat /usr/lib/systemd/system/kdump.service
[Unit]
Description=Load kdump kernel on startup
After=local-fs.target
Wants=kdump-rebuild-initrd.service

[Service]
Type=oneshot
ExecStart=/lib/kdump/load.sh
ExecStop=/lib/kdump/unload.sh
RemainAfterExit=true

[Install]
WantedBy=multi-user.target

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >