Open priyadi opened 1 year ago
I think your primary issue is pretty simple: the message getResumeInfo() Not a valid block device: KERNEL_RESUME_DEVICE=
indicates that it can't detect a resume=
parameter on your kernel command line, which makes sense since the script doesn't look for real_resume=
.
If you feel comfortable enough with the code to submit a PR adding real_resume=
as a fallback when resume=
doesn't exist, I would appreciate it. If not, I can work on putting it together over the next few weeks.
There may be another issue with handling /dev/mapper/
devices, but off the top of my head, I can't be sure if that's a side effect of the failure to detect resume=
.
My setup is a swapfile in a btrfs filesystem under a LUKS volume. Normal hibernate without zram is working, but I can't get zram-hibernate to work.
zram is initialized using zram-generator. Distro is Gentoo Linux.