LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-03-2011, 08:24 PM   #1
Novartum
Member
 
Registered: Feb 2011
Location: France
Distribution: Arch Linux
Posts: 32

Rep: Reputation: 4
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!

Last edited by Novartum; 02-03-2011 at 08:28 PM.
 
Old 02-05-2011, 08:54 AM   #2
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 997
Blog Entries: 15

Rep: Reputation: 136Reputation: 136
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
 
Old 02-07-2011, 08:09 PM   #3
Novartum
Member
 
Registered: Feb 2011
Location: France
Distribution: Arch Linux
Posts: 32

Original Poster
Rep: Reputation: 4
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] acpid, pm-utils, suspend/resume and -current tuxrules Slackware 12 09-16-2009 09:33 PM
s2ram fails on suse 11.1, runlevel services powerd start returned 7 brianpbarnes Linux - Software 0 04-16-2009 10:10 PM
need help with suspend/waking up - pm-utils and acpid lumak Slackware 1 03-09-2009 12:59 PM
Request for Testing: Suspend/Resume (pm-utils backend) rworkman Slackware 16 11-10-2008 11:04 AM
suspend to ram and s2ram radiodee1 Debian 3 12-08-2007 04:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration