Bug#777735: systemd: Disk corruption on reboot initiated through systemd

Peter Colberg peter at colberg.org
Thu Feb 12 08:54:09 GMT 2015


On Thu, Feb 12, 2015 at 08:50:59AM +0100, Michael Biebl wrote:
> Some more findings: Aside from only happening on reboot, but not
> shutdown, it also seems to only happen with i6300esb. Switching the qemu
> config to use ib700 instead of i6300esb, I am not able to trigger the
> problem. This confirm's Peter's findings who was not able to reproduce
> it on real hardware.
> 
> I wonder, if this is a qemu issue, after all?

For completeness, these are the messages using ib700 with action "reset":

[   11.441964] systemd[1]: Reached target Shutdown.
[   11.442542] systemd[1]: Starting Final Step.
[   11.443075] systemd[1]: Reached target Final Step.
[   11.443599] systemd[1]: Starting Reboot...
[   11.445617] systemd[1]: Shutting down.
[   11.473895] systemd[1]: Failed to set timeout to 600s: Invalid argument
[   11.474649] ib700wdt: WDT device closed unexpectedly.  WDT will not stop!
[   11.497648] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[   11.500527] systemd-journald[148]: Received SIGTERM from PID 1 (systemd-shutdow).
[   11.506153] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[   11.508942] systemd-shutdown[1]: Hardware watchdog 'IB700 WDT', version 1
[   11.510122] systemd-shutdown[1]: Unmounting file systems.
[   11.511108] systemd-shutdown[1]: Unmounting /dev/hugepages.
[   11.536126] systemd-shutdown[1]: Unmounting /sys/kernel/debug.
[   11.568089] systemd-shutdown[1]: Unmounting /dev/mqueue.
[   11.719123] EXT4-fs (vda3): re-mounted. Opts: (null)
[   11.722559] EXT4-fs (vda3): re-mounted. Opts: (null)
[   11.723643] EXT4-fs (vda3): re-mounted. Opts: (null)
[   11.724687] systemd-shutdown[1]: All filesystems unmounted.
[   11.725834] systemd-shutdown[1]: Deactivating swaps.
[   11.726946] systemd-shutdown[1]: All swaps deactivated.
[   11.728077] systemd-shutdown[1]: Detaching loop devices.
[   11.749468] systemd-shutdown[1]: All loop devices detached.
[   11.750649] systemd-shutdown[1]: Detaching DM devices.
[   11.751759] systemd-shutdown[1]: All DM devices detached.
[   11.766548] systemd-shutdown[1]: Rebooting.
[   11.767417] Unregister pv shared memory for cpu 0
[   11.767421] Unregister pv shared memory for cpu 3
[   11.767460] Unregister pv shared memory for cpu 1
[   11.769581] Unregister pv shared memory for cpu 2
[   11.770811] reboot: Restarting system
[   11.771454] reboot: machine restart

This looks similar to i6300esb with action "dump".

[   11.473895] systemd[1]: Failed to set timeout to 600s: Invalid argument
[   11.474649] ib700wdt: WDT device closed unexpectedly.  WDT will not stop!

Both watchdogs close unexpectedly, but i6300esb immediately resets the
machine, while ib700wdt allows the machine to continue the shutdown.

Peter




More information about the Pkg-systemd-maintainers mailing list