You are not logged in.
I can't make tuxonice work with a swapfile.
It hibernates fine but can't detect the swapfile on resume
This are the parts that i think are relevant from the dmesg output:
[ 0.855985] PM: Checking hibernation image partition swap:/dev/sda9:0x3180000
[ 0.855987] PM: Hibernation image not present or could not be loaded.[ 0.737601] TuxOnIce 3.3 (http://tuxonice.net)
[ 0.855984] TuxOnIce: Ignoring late initcall, as requested.I configured tuxonice to wait for the initramfs, and its using lzo but "works" with lzf as well(in the sense that creates a image).
I tested the hibernation with freezer_test and worked well, but it doesn't detect the swapfile on boot.
I first tried with a swapfile then with a partition but is not working either way.
I'm booting in efi mode.
I tried with
resume=swap:/dev/sda9:0x318000
resume=file:/dev/sda9:0x318000
resume=swap:/dev/sda11
resume=/dev/sda9
nothing (for autodetection)the last three i tried with a swap partition
I tried the mkinitcpio with resume and tuxonice hooks (each one separately) and with nothing(again, for autodetection)
Any help or suggestion is appreciated.
There is anything i can test to know something more?
Offline
Unfortunately I don't know anything about TuxOnIce. But I'm curious as to why you are trying to use that instead of the kernel's implementation of suspend-to-disk? Have you tried using the native functionality?
Also, you didn't mention this at all, so I will ask. You are aware that using TuxOnIce requires a patched kernel, right? The standard Arch kernel is not capable of this. Though as mentioned, you can still use the native suspend-to-disk with systemd. I've never been a 'hibernate' fan myself, but from what I have heard, it has gotten better (assuming your firmware isn't super buggy).
Offline
I'am using a linux-pf kernel compiled for my machine and configured with a little less modules than stock Arch Linux kernel. I was trying to use tuxonice because the time it takes to hibernate is a lot less with compression. I have another notebook in which i have tuxonice installed and running and i have been using it for more than 7 years.
Last edited by jlneder (2014-12-28 01:56:05)
Offline
Looks like you need to set resume_offset.
https://wiki.archlinux.org/index.php/Hi … _swap_file
"Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it."—Linus Torvalds
s/ftp/git/
https://iandouglasscott.com | https://github.org/ids1024 | https://keybase.io/ids1024
Offline