You are not logged in.

#1 2016-01-07 18:05:35

domas
Member
Registered: 2015-12-02
Posts: 12

Machine doesn't boot after hibernating

Machine doesn't boot after hibernating. It prints "lvmetad is not active yet. using direct activation during sysinit" and waits indefinitely (or at least a few minutes, which is the span of my patience). Same if restarted, had to pick advanced boot options and boot an earlier kernel (3.16), which works.

~> cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=954ddadd-cca4-4fc9-bcd3-225a71d22037\

~> sudo blkid
/dev/sda1: UUID="88e217f9-00b4-47b7-bcc8-2d20ca5f1c8b" TYPE="ext2" PARTUUID="83a0d389-01"
/dev/sda5: UUID="1WsziF-7BGZ-zdhV-4w7w-D6kG-d9fp-8JDK9e" TYPE="LVM2_member" PARTUUID="83a0d389-05"
/dev/mapper/bl--eee1005ha--vg-root: UUID="c1ff1901-2ceb-4051-9fdc-5080bec5214b" TYPE="ext4"
/dev/mapper/bl--eee1005ha--vg-swap_1: UUID="954ddadd-cca4-4fc9-bcd3-225a71d22037" TYPE="swap"
/dev/mapper/bl--eee1005ha--vg-home: UUID="d45cb617-a40c-4546-a2e8-185e3b88880b" TYPE="ext4"

As illustrated above, my swap is on lvm. I was using the `hibernate` package to hibernate.

My primary concern is being able to boot into the most recent kernel again. It would also be interesting to know how to resume from an lvm swap partition.

Offline

#2 2016-01-07 18:28:51

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Machine doesn't boot after hibernating

Have you tried rebuilding the initramfs for the new kernel?

# dpkg-reconfigure linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,')

How did you install the problematic kernel?

Offline

#3 2016-01-07 18:34:48

domas
Member
Registered: 2015-12-02
Posts: 12

Re: Machine doesn't boot after hibernating

Head_on_a_Stick wrote:

How did you install the problematic kernel?

I have not built this kernel manually and I didn't toy with it. I am running Stretch, so the kernel in question is the kernel that comes with stretch. I presume I am now booted from jessie's kernel.

Edit: `dpkg-reconfigure linux-image-(my stretch kernel)` did not help.

Last edited by domas (2016-01-07 20:14:10)

Offline

#4 2016-01-07 18:38:11

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Machine doesn't boot after hibernating

domas wrote:

I am running Stretch

OK, I'm moving this to Help & Support (Other)

I don't have any experience of LVM (or hibernate) so I'll have to leave this to somebody else, sorry.

Offline

#5 2016-01-09 10:00:48

domas
Member
Registered: 2015-12-02
Posts: 12

Re: Machine doesn't boot after hibernating

After `apt upgrade` kernel boots fine. Last upgrade was about a week ago.

Offline

#6 2016-01-09 18:45:43

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Machine doesn't boot after hibernating

^ stretch is also called "testing", I think you have just found out why wink

If you want a consistently reliable system, I would recommend using Debian stable instead.

Offline

#7 2016-01-09 19:39:15

domas
Member
Registered: 2015-12-02
Posts: 12

Re: Machine doesn't boot after hibernating

Head_on_a_Stick wrote:

^ stretch is also called "testing", I think you have just found out why wink

Haha, I'm starting to wrap my head around that. As far as stability goes, I often need more recent software than found in stable, so when running stable I end up creating a frankenstein anyway. Thanks for your help.

Offline

#8 2016-01-09 19:47:31

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Machine doesn't boot after hibernating

domas wrote:

I often need more recent software than found in stable, so when running stable I end up creating a frankenstein anyway.

Which packages?

Have you checked the jessie-backports repository?
https://wiki.debian.org/Backports

Offline

#9 2016-01-09 19:49:36

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Machine doesn't boot after hibernating

domas wrote:

.... As far as stability goes, I often need more recent software than found in stable,....

Read up on using packages from jessie-backports, and how to backport your own packages: HowTo: Create debs from Testing/Unstable/Experimental/Ubuntu/PPA


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

Board footer

Powered by FluxBB