View previous topic :: View next topic |
Author |
Message |
Gil galad Tux's lil' helper
Joined: 26 Mar 2004 Posts: 94 Location: Switzerland
|
Posted: Fri Jan 20, 2006 10:25 am Post subject: suspend2 odd error.. |
|
|
Hello!
I'm playing a little with suspend2. But I have a odd problem:
Code: | # hibernate
/usr/share/hibernate/scriptlets.d/suspend2: line 69: UsingSuspendMethod: command not found
/usr/share/hibernate/scriptlets.d/suspend2: line 161: IsANumber: command not found
hibernate: Filewriter size is not numeric!
|
Otherwise, hibernate-ram works almost fine (almost because, first time it works always, but if I try again to suspend, it crash at resume...)
Is someone have an idea?
The hibernate-script is the 12 one and it came from portage.
Thanks! |
|
Back to top |
|
|
bosje Tux's lil' helper
Joined: 01 Nov 2002 Posts: 75 Location: Utrecht
|
Posted: Fri Jan 20, 2006 7:35 pm Post subject: |
|
|
Same problem here. I only have the line:
Code: | Fri Jan 20 20:31:02 2006] BEGIN HANDLER MESSAGES
/usr/share/hibernate/scriptlets.d/suspend2: line 69: UsingSuspendMethod: command not found
|
using kernel 2.6.14 and suspend2 (emerged today)
I suspend to swap, it looks like that goes correctly, also resume seems to work |
|
Back to top |
|
|
Gil galad Tux's lil' helper
Joined: 26 Mar 2004 Posts: 94 Location: Switzerland
|
Posted: Sun Jan 22, 2006 2:46 pm Post subject: |
|
|
I think that the default SuspendMethod is suspend2 so it works for you. The problem in my case is IsANumber make an exit(1) and so suspend can't work..
I really don't know where I have to search the problem.
Can somebody help me? Thanks! |
|
Back to top |
|
|
Gil galad Tux's lil' helper
Joined: 26 Mar 2004 Posts: 94 Location: Switzerland
|
Posted: Thu Jan 26, 2006 8:23 pm Post subject: |
|
|
bosje wrote: | Same problem here. I only have the line:
Code: | Fri Jan 20 20:31:02 2006] BEGIN HANDLER MESSAGES
/usr/share/hibernate/scriptlets.d/suspend2: line 69: UsingSuspendMethod: command not found
|
|
It's because you are using suspend to swap. I'm 98% sure, if you use suspend to file, you will have also the line
Code: | /usr/share/hibernate/scriptlets.d/suspend2: line 161: IsANumber: command not found |
I use the last stable suspend2-sources and last hibernate-script. I've try to emerge -C and rm -R the rest and re-emerge again, but the problem still exist. I've also done a emerge -avuD world and revdep-rebuild without problem.
Can you give me some tips where I have to search the problem?
Thanks! |
|
Back to top |
|
|
|