Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201874 - Genkernel support for TuxOnIce
Summary: Genkernel support for TuxOnIce
Status: RESOLVED DUPLICATE of bug 197244
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-10 19:02 UTC by Krzysztof Kozlowski
Modified: 2007-12-15 08:03 UTC (History)
0 users

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


Attachments
Proof of concept - add TuxOnIce support to genkernel 3.4.9 (genkernel-3.4.9-tuxonice_support.diff,1.16 KB, patch)
2007-12-10 19:05 UTC, Krzysztof Kozlowski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Kozlowski 2007-12-10 19:02:46 UTC
I was curious why tuxonice sources do not resume after hibernating, while suspend2 sources work OK. Answer was simple - there is no tuxonice_resume() function in genkernel initrd scripts similar to suspend2_resume().
Comment 1 Krzysztof Kozlowski 2007-12-10 19:05:56 UTC
Created attachment 138187 [details, diff]
Proof of concept - add TuxOnIce support to genkernel 3.4.9

This patch changes suspend2_resume() behavior to resume from tuxonice hibernating. This is only proof of concept, maybe there should be another function "tuxonice_resume()" os something. It is important that it WORKS.

Tested on 2.6.23-tuxonice-r4 (compiled in kernel), sys-power/hibernate-script-1.97-r4, genkernel-3.4.9_pre6
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-12-12 17:37:00 UTC
Wasn't it fixed in >=sys-kernel/genkernel-3.4.9_pre8 for Bug #197244?

http://sources.gentoo.org/viewcvs.py/genkernel?rev=555&view=rev
Comment 3 Krzysztof Kozlowski 2007-12-12 18:20:47 UTC
Arrrr... yes, it seems fixed. I have searched Bugzilla for similar bugs but it seems I forgot to check "RESOLVED" status bugs. 
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2007-12-15 08:03:46 UTC

*** This bug has been marked as a duplicate of bug 197244 ***