Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186138 - sys-power/hibernate-script-1.96 is broken w/ suspend2-sources-2.6.22
Summary: sys-power/hibernate-script-1.96 is broken w/ suspend2-sources-2.6.22
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alon Bar-Lev (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-21 18:30 UTC by Vladimir Pouzanov
Modified: 2007-07-21 19:16 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.