Discussion:
[TuxOnIce-devel] Tuxonice for 3.17?
Nigel Cunningham
2014-11-24 21:12:00 UTC
Permalink
Hi Harald (ccing list too).

I've been working on it, but it's taking time getting my dev environment
up to scratch. I have a 64 bit VM set up in which I'm testing TuxOnIce,
but that config is currently triggering a hang in the atomic copy while
writing the image. At that point, even in a VM, kdb and serial consoles
are useless. The one thing that does get me somewhere is gdb, but the
gdb macros for viewing process states within a VM haven't been updated
since something like 2.6.16. So I've been updating them. I'm now at the
stage where I get a rough-and-ready backtrace of running processes
(needs more work) and believe the issue is in CPU hotplugging but need
to do that "more work" to be sure.

So, in short, I am working on it, and am making progress but
unfortunately don't yet have something I can give you.

Humble apologies, and thanks for asking.

Nigel
Hi Nigel,
I don't want to get on your nerves, but any update on this? It's been
quite a while since the last update, and 3.17 and 3.18 solve important
issues on my laptop... Would be very grateful for an update.
Harald
Hi Harald.
I'm working on it, but some changes in 3,17 made it non trivial. Hope to
have a new version out soon.
Nigel
Hi Nigel,
I hope you are not too busy, and maybe you find time for updating
tuxonice for 3.17? Last changes are from 7th August, which was quite a
while ago. Quite dependent on tuxonice ;-)
Harald
PS: Apparently my mail provider refuses to send mails to your other
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Oleksandr Natalenko
2014-11-26 17:29:21 UTC
Permalink
Latest HEAD of 3.17 TOI git tree fails with the following error:

===
CC kernel/power/tuxonice_checksum.o
kernel/power/tuxonice_checksum.c: In function ‘check_checksums’:
kernel/power/tuxonice_checksum.c:305:2: error: implicit declaration of
function ‘memory_bm_position_reset’ [-Werror=implicit-function-declaration]
memory_bm_position_reset(pageset2_map);
^
kernel/power/tuxonice_checksum.c:306:2: error: implicit declaration of
function ‘memory_bm_next_pfn’ [-Werror=implicit-function-declaration]
for (pfn = memory_bm_next_pfn(pageset2_map); pfn != BM_END_OF_MAP;
^
kernel/power/tuxonice_checksum.c:306:54: error: ‘BM_END_OF_MAP’ undeclared
(first use in this function)
for (pfn = memory_bm_next_pfn(pageset2_map); pfn != BM_END_OF_MAP;
^
kernel/power/tuxonice_checksum.c:306:54: note: each undeclared identifier is
reported only once for each function it appears in
===

Forgot to convert one file?
Post by Nigel Cunningham
Hi Harald (ccing list too).
I've been working on it, but it's taking time getting my dev environment
up to scratch. I have a 64 bit VM set up in which I'm testing TuxOnIce,
but that config is currently triggering a hang in the atomic copy while
writing the image. At that point, even in a VM, kdb and serial consoles
are useless. The one thing that does get me somewhere is gdb, but the
gdb macros for viewing process states within a VM haven't been updated
since something like 2.6.16. So I've been updating them. I'm now at the
stage where I get a rough-and-ready backtrace of running processes
(needs more work) and believe the issue is in CPU hotplugging but need
to do that "more work" to be sure.
So, in short, I am working on it, and am making progress but
unfortunately don't yet have something I can give you.
Humble apologies, and thanks for asking.
Nigel
Hi Nigel,
I don't want to get on your nerves, but any update on this? It's been
quite a while since the last update, and 3.17 and 3.18 solve important
issues on my laptop... Would be very grateful for an update.
Harald
Hi Harald.
I'm working on it, but some changes in 3,17 made it non trivial. Hope to
have a new version out soon.
Nigel
Hi Nigel,
I hope you are not too busy, and maybe you find time for updating
tuxonice for 3.17? Last changes are from 7th August, which was quite a
while ago. Quite dependent on tuxonice ;-)
Harald
PS: Apparently my mail provider refuses to send mails to your other
_______________________________________________
TuxOnIce-devel mailing list
http://lists.tuxonice.net/listinfo/tuxonice-devel
--
Oleksandr post-factum Natalenko, MSc
pf-kernel community
https://natalenko.name/
Oleksandr Natalenko
2014-11-26 18:03:28 UTC
Permalink
Fixed that compiler error with commit [1].

However, just on processes freezing during early stage of hibernation I get
the following panic [2].

Tried to disable TOI via replace_swsusp, but on resuming I get the following
panic [3].

Something wrong with your BM implementation?

[1] https://github.com/pfactum/pf-kernel/commit/63e7ca67cd187d05e51e7da62d6599e433765c13

[2]
Loading Image...

[3]
Loading Image...
Post by Oleksandr Natalenko
===
CC kernel/power/tuxonice_checksum.o
kernel/power/tuxonice_checksum.c:305:2: error: implicit declaration of
function ‘memory_bm_position_reset’ [-Werror=implicit-function-declaration]
memory_bm_position_reset(pageset2_map);
^
kernel/power/tuxonice_checksum.c:306:2: error: implicit declaration of
function ‘memory_bm_next_pfn’ [-Werror=implicit-function-declaration]
for (pfn = memory_bm_next_pfn(pageset2_map); pfn != BM_END_OF_MAP;
^
kernel/power/tuxonice_checksum.c:306:54: error: ‘BM_END_OF_MAP’ undeclared
(first use in this function)
for (pfn = memory_bm_next_pfn(pageset2_map); pfn != BM_END_OF_MAP;
^
kernel/power/tuxonice_checksum.c:306:54: note: each undeclared identifier is
reported only once for each function it appears in
===
Forgot to convert one file?
Post by Nigel Cunningham
Hi Harald (ccing list too).
I've been working on it, but it's taking time getting my dev environment
up to scratch. I have a 64 bit VM set up in which I'm testing TuxOnIce,
but that config is currently triggering a hang in the atomic copy while
writing the image. At that point, even in a VM, kdb and serial consoles
are useless. The one thing that does get me somewhere is gdb, but the
gdb macros for viewing process states within a VM haven't been updated
since something like 2.6.16. So I've been updating them. I'm now at the
stage where I get a rough-and-ready backtrace of running processes
(needs more work) and believe the issue is in CPU hotplugging but need
to do that "more work" to be sure.
So, in short, I am working on it, and am making progress but
unfortunately don't yet have something I can give you.
Humble apologies, and thanks for asking.
Nigel
Hi Nigel,
I don't want to get on your nerves, but any update on this? It's been
quite a while since the last update, and 3.17 and 3.18 solve important
issues on my laptop... Would be very grateful for an update.
Harald
Hi Harald.
I'm working on it, but some changes in 3,17 made it non trivial. Hope to
have a new version out soon.
Nigel
Hi Nigel,
I hope you are not too busy, and maybe you find time for updating
tuxonice for 3.17? Last changes are from 7th August, which was
quite
a
while ago. Quite dependent on tuxonice ;-)
Harald
PS: Apparently my mail provider refuses to send mails to your other
_______________________________________________
TuxOnIce-devel mailing list
http://lists.tuxonice.net/listinfo/tuxonice-devel
--
Oleksandr post-factum Natalenko, MSc
pf-kernel community
https://natalenko.name/
Loading...