Hi, I'm trying to use s2ram and s2disk. After s2ram success, I tried working with s2disk. It failed with the following message: hibernate: Running /usr/sbin/s2disk ... s2disk: Could not stat the resume device file. Reason: No such file or directory My suspend.conf had: resume device = /dev/sda2 which works as a normal swap. With a friend's help, I used strace, and found the following line: stat64("/dev/sda2 ", 0xbfaf6c3c) = -1 ENOENT (No such file or directory) It turned out that I had a space at the end of the line, which made s2disk fail. Steps to reproduce: 1. Add a space at the end of the resume device line in suspend.conf. 2. Hibernate. Resolution: Please perform a simple trim whie parsing the conf file. Thanks ! Doron.
This is a wrong place to report this, please send it to upstream ML instead. Thanks. http://sourceforge.net/mailarchive/forum.php?forum_name=suspend-devel