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

Bug 186138

Summary: sys-power/hibernate-script-1.96 is broken w/ suspend2-sources-2.6.22
Product: Gentoo Linux Reporter: Vladimir Pouzanov <farcaller>
Component: Current packagesAssignee: Alon Bar-Lev (RETIRED) <alonbl>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vladimir Pouzanov 2007-07-21 18:30:04 UTC
It seems that tuxonice is using /sys/power/suspend2/resume instead of /sys/power/suspend2/resume2. /usr/share/hibernate/scriptlets.d/suspend2 fails on line 797 (new_resume2="`cat $SWSUSP_ROOT/$RESUME_FILE`"). RESUME_FILE should be "resume" but it is not set thus the script fails.

Reproducible: Always

Steps to Reproduce:
1. hibernate
Actual Results:  
$? == 2, hibernate fails

Expected Results:  
system hibernates
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-07-21 18:32:23 UTC
What's tuxonice?
Comment 2 Vladimir Pouzanov 2007-07-21 18:44:31 UTC
former suspend2.
Comment 3 Vladimir Pouzanov 2007-07-21 18:58:49 UTC
In fact it's broken with sys-kernel/kamikaze-sources-2.6.22-r1 from custom_kernels overlay. kamaikaze1 includes latest suspend2 patch.
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2007-07-21 19:16:07 UTC
Oh... So it uses development version of suspend2.
It won't be supported in portage.