Re: "Stopped (with error) /dev/dm-0"
- Date: Mon, 5 Feb 2018 13:10:20 +0000 (UTC)
- From: Curt <curty@xxxxxxx>
- Subject: Re: "Stopped (with error) /dev/dm-0"
On 2018-02-05, Henrique de Moraes Holschuh <hmh@xxxxxxxxxx> wrote:
> 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.
Incorrect sequencing**, gotcha.
> Ephemeral would mean mounted on tmpfs (RAM), or with a throw-away
> (random single-use) crypto key.
I believe it's random, single-use crypto key in my case.
('einstein kernel: Adding 6915068k swap on /dev/mapper/cryptswap1')
>> 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.
I think this machine is too ancient for a BIOS update.
** Creating an /etc/asound.conf (to define a default sound card) and
rebooting made the machine hang for such an extended period during the
boot sequence that I ctrl alt del into recovery mode and deleted the
newly created file. Upon rebooting once more things had returned to
normal again--unless I'm nuts. (Maybe this has nothing to do with
“True terror is to wake up one morning and discover that your high school class
is running the country.” – Kurt Vonnegut