Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276428 - sys-kernel/tuxonice-sources-2.6.30 version bump
Summary: sys-kernel/tuxonice-sources-2.6.30 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-04 07:57 UTC by DaggyStyle
Modified: 2009-07-25 09:52 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
A patch to apply on the last in-tree 2.6.29-r3 ebuild (tuxonice-sources-2.6.30-r1.patch,719 bytes, patch)
2009-07-04 08:59 UTC, Gef
Details | Diff
The full 2.6.30-r1 ebuild (with Gentoo Patchset VER_2) (tuxonice-sources-2.6.30-r1.ebuild,1.22 KB, patch)
2009-07-04 09:01 UTC, Gef
Details | Diff
/sys/power/tuxonice/debug_info (debug_info,653 bytes, text/plain)
2009-07-04 10:53 UTC, Gef
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DaggyStyle 2009-07-04 07:57:54 UTC
is there any chance to see soon tuxonice-2.6.30 in the tree?

Reproducible: Always
Comment 1 Gef 2009-07-04 08:57:46 UTC
(In reply to comment #0)
> is there any chance to see soon tuxonice-2.6.30 in the tree?
> 
> Reproducible: Always
> 

Maybe yes, if someone provides an ebuild with the fresh new upstream TOI patch for 2.6.30 [1]. I'll post my ebuild right now. Be warned that this patch does NOT include anymore LZF compressor code, so you have to modify your configuration to use LZO algorith, which is part of the vanilla kernel code [2].

[1] http://lists.tuxonice.net/lurker/message/20090620.002907.ff82dc58.en.html
[2] http://lists.tuxonice.net/lurker/message/20090523.083211.72013f7d.en.html
Comment 2 Gef 2009-07-04 08:59:45 UTC
Created attachment 196588 [details, diff]
A patch to apply on the last in-tree 2.6.29-r3 ebuild
Comment 3 Gef 2009-07-04 09:01:12 UTC
Created attachment 196590 [details, diff]
The full 2.6.30-r1 ebuild (with Gentoo Patchset VER_2)
Comment 4 DaggyStyle 2009-07-04 10:42:22 UTC
thanks for the ebuilds, am I right by assuming that they are based on gentoo-sources-2.6.30-r1?
how stable are they?
in order to use them I need to make sure that LZF is un checked in the kernel and select LZO if I want to use it in the kernel?
Comment 5 Gef 2009-07-04 10:53:35 UTC
Created attachment 196605 [details]
/sys/power/tuxonice/debug_info

(In reply to comment #4)
> thanks for the ebuilds, am I right by assuming that they are based on
> gentoo-sources-2.6.30-r1?
Yes, you are right.

> how stable are they?
Not a single problem encountered, and my laptop has been running for 8 days with a good number or suspend-to-disk/resume cycles.

> in order to use them I need to make sure that LZF is un checked in the kernel
> and select LZO if I want to use it in the kernel?
CONFIG_CRYPTO_LZF doesn't exist anymore. So just make sure that the following is set :
CONFIG_CRYPTO_LZO=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y

and that /etc/hibernate/* config includes the following statement
Compressor lzo

(I'm assuming you actually use sys-power/hibernate-script to suspend. If you just use the /sys/power/tuxonice/ interface, check the content of /sys/power/tuxonice/compression/algorithm).
Comment 6 DaggyStyle 2009-07-04 13:53:53 UTC
(In reply to comment #5)
> Created an attachment (id=196605) [edit]
> /sys/power/tuxonice/debug_info
> 
> (In reply to comment #4)
> > thanks for the ebuilds, am I right by assuming that they are based on
> > gentoo-sources-2.6.30-r1?
> Yes, you are right.
> 
> > how stable are they?
> Not a single problem encountered, and my laptop has been running for 8 days
> with a good number or suspend-to-disk/resume cycles.
> 
> > in order to use them I need to make sure that LZF is un checked in the kernel
> > and select LZO if I want to use it in the kernel?
> CONFIG_CRYPTO_LZF doesn't exist anymore. So just make sure that the following
> is set :
> CONFIG_CRYPTO_LZO=y
> CONFIG_LZO_COMPRESS=y
> CONFIG_LZO_DECOMPRESS=y
> 
> and that /etc/hibernate/* config includes the following statement
> Compressor lzo
> 
> (I'm assuming you actually use sys-power/hibernate-script to suspend. If you
> just use the /sys/power/tuxonice/ interface, check the content of
> /sys/power/tuxonice/compression/algorithm).
> 

sadly, I've not been able to make these work yet, I have a strange problem that the process is halted due to some busy device, I have no time to sit on it now but university is ending soon so I'll try to solve the issue.

thanks for the info, I'll try the ebuilds.
Comment 7 DaggyStyle 2009-07-04 16:28:24 UTC
I don't know if it is tux related but after working a couple of hours, it feels heavier, more slowdowns...
Comment 8 DaggyStyle 2009-07-04 19:29:15 UTC
ok, now I can confirm that using this version is slowing my system into crawl... using 800MB out of 2G, no swap, kdevelop,geany, dolphin, ff and boinc crunching in th background haven't affected usage in 2.6.29, but on this, systems gets into a crawl here and there
Comment 9 Gef 2009-07-05 09:51:13 UTC
Can you reproduce the problem with sys-kernel/gentoo-sources-2.6.30-r1 ? It may not be TOI related...
Comment 10 DaggyStyle 2009-07-05 12:32:08 UTC
(In reply to comment #9)
> Can you reproduce the problem with sys-kernel/gentoo-sources-2.6.30-r1 ? It may
> not be TOI related...
> 

need to try, will try and report
Comment 11 DaggyStyle 2009-07-05 18:31:55 UTC
I'm using gentoo-sources-2.6.30-r2 and I experience the same effects. I'm not sure if it is kernel config related.
Comment 12 Krzysztof Pawlik (RETIRED) gentoo-dev 2009-07-25 09:52:00 UTC
tuxonice-sources-2.6.30-r4 added to the tree: it uses genpatches version 5 and snapshot from 20090620 for TOI.