LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Suspend fails (s2ram and pm-utils) (https://www.linuxquestions.org/questions/linux-kernel-70/suspend-fails-s2ram-and-pm-utils-860585/)

Novartum 02-03-2011 08:24 PM

Suspend fails (s2ram and pm-utils)
 
I am having difficulty suspending my computer using Arch. I have tried using both s2ram and pm-utils (have the resume=[swap partition] in grub, resume hook in mkinitcpio.conf, and resume=[swap] in /etc/suspend.conf). For both (i.e. s2ram -f, pm-suspend), the system appears to suspend correctly; the file systems, however, are not clean when I restart the computer. And for my /var partition which is reiserfs, I receive messages like these:

Code:

Reiserfs
Filesystem is NOT clean
Replaying journal: Trans replayed: mountid 47, transid 2301, desc 4815, len 25, commit 4841, next trans offset 4824
..... (repeats ~130 actions)

pm-suspend.log doesn't directy anything strange. Anyone know how I may solve this? Thanks!

serafean 02-05-2011 08:54 AM

Hi, I haven't run across this problem, but from memory I remember seeing a CONFIG_TOI_CHECKSUM option in the kernel, described as
Quote:

Adds support for checksumming pageset2 pages, to ensure you really get an atomic copy. Since some filesystems (XFS especially) change metadata even
when there's no other activity, we need this to check for pages that have
been changed while we were saving the page cache. If your debugging output
always says no pages were resaved, you may be able to safely disable this
option.
. I don't really understand what it does, but its filesystem related, so it might help :)
This is using tuxonice (the "better" suspend framework for linux). You can install it via AUR, it pulls in a new kernel : tuxonice-sources.

Serafean

Novartum 02-07-2011 08:09 PM

Thanks for your reply. I have tried tuxonice and have had other issues (http://www.linuxquestions.org/questi...ernate-860936/).

I think I will just give up on suspend for the time being. I know it's quite flaky with linux so I am fine just shutting down (I have trimmed down boot process to about ~15 seconds). Thank you for your reply, I may wish to try it once again in a little while and will certainly look into what you said.

Cheers!


All times are GMT -5. The time now is 04:09 PM.