Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
suspend2 odd error..
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Gil galad
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2004
Posts: 94
Location: Switzerland

PostPosted: Fri Jan 20, 2006 10:25 am    Post subject: suspend2 odd error.. Reply with quote

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
View user's profile Send private message
bosje
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2002
Posts: 75
Location: Utrecht

PostPosted: Fri Jan 20, 2006 7:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gil galad
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2004
Posts: 94
Location: Switzerland

PostPosted: Sun Jan 22, 2006 2:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gil galad
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2004
Posts: 94
Location: Switzerland

PostPosted: Thu Jan 26, 2006 8:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum