FS#9535 - resume hook in mkinitcpio doesn't work with tuxonice

Attached to Project: Arch Linux
Opened by Damjan Georgievski (damjan) - Monday, 11 February 2008, 21:49 GMT
Last edited by Greg (dolby) - Saturday, 17 May 2008, 16:21 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture i686
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The resume hook in /lib/initcpio/hooks/resume as shipped with mkinitcpio 0.5.17-2 doesn't work with tuxonice!
The problem is because of several reasoins.. one is, it's not longer /sys/power/suspend2 but /sys/power/tuxonice.

Even more I suspect it works with the kernel suspend since I guess the klibc parseblock util changed how it works.
This is the reason why TuxOnIce's support for kernel suspend doesn't work either.

Attached is a script that works for me, but it would perhaps need some more refinement.


PS.
Does mkinitcpio have a public VCS repository?
This task depends upon

Closed by  Greg (dolby)
Saturday, 17 May 2008, 16:21 GMT
Reason for closing:  Fixed
Comment by Jens Adam (byte) - Tuesday, 12 February 2008, 06:05 GMT Comment by Thomas Bächler (brain0) - Saturday, 22 March 2008, 15:47 GMT Comment by Damjan Georgievski (damjan) - Saturday, 22 March 2008, 20:08 GMT
looks fine by me. maybe someone using the kernel suspend support (not tuxonice) should check everything works ok for them too.

Loading...