Re: "Stopped (with error) /dev/dm-0"
- Date: Mon, 5 Feb 2018 09:24:53 -0200
- From: Henrique de Moraes Holschuh <hmh@xxxxxxxxxx>
- Subject: Re: "Stopped (with error) /dev/dm-0"
On Mon, 05 Feb 2018, Curt wrote:
> At every shutdown; looks like another oldie but goodie bug affecting
> those with encrypted swap (maybe some kind or race condition, if that is
> indeed the proper term).
Incorrect sequencing, actually. But if this is ephemeral swap (or
ephemeral *anything*), it is a very minor bug at most.
Ephemeral would mean mounted on tmpfs (RAM), or with a throw-away
(random single-use) crypto key.
> Having said that, filesystems are unmounted cleanly (no fsck at reboot,
> although the shutdown routine stops at "Power down" and I must pull the
> plug--a recurrent problem I've had before encryption in Wheezy).
That's a kernel + platform bug. Updating your BIOS/UEFI might fix it,
otherwise, it requires messing with kernel command line parameters until
you find the poweroff strategy that works, and reporting a bug to get
that into a quirk list inside the kernel.