Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 201874

Summary: Genkernel support for TuxOnIce
Product: Gentoo Hosted Projects Reporter: Krzysztof Kozlowski <krzysztof.kozlowski>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Proof of concept - add TuxOnIce support to genkernel 3.4.9

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 ***