View previous topic :: View next topic |
Author |
Message |
Hu Administrator
Joined: 06 Mar 2007 Posts: 23103
|
Posted: Wed Sep 29, 2010 2:34 am Post subject: |
|
|
I do not use genkernel initramfs, so I do not have its initscript handy. Please post the section of its initscript which you believe should be triggering resume. The resume program is often placed in /sbin in an initramfs, although it is located at /usr/lib/suspend/resume on the host filesystem. |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Wed Sep 29, 2010 12:27 pm Post subject: |
|
|
Hu wrote: | I do not use genkernel initramfs, so I do not have its initscript handy. Please post the section of its initscript which you believe should be triggering resume. The resume program is often placed in /sbin in an initramfs, although it is located at /usr/lib/suspend/resume on the host filesystem. |
I meanwhile re-emerged genkernel and started from scratch with a vanilla 2.6.35.7 kernel with latest tuxonice patched on top
and ...
it works !
thanks anyway Hu
I guess I'll stay away from the regular software-suspend in the near future ... _________________ https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa
Hardcore Gentoo Linux user since 2004 |
|
Back to top |
|
|
melinux n00b
Joined: 25 May 2006 Posts: 59 Location: Malta
|
Posted: Wed Dec 08, 2010 8:06 pm Post subject: |
|
|
This still isn't resolved on my laptop.. I can't pm-hibernate with pm-utils-1.4.1 and I have enough swap space in my swap partition..
I have to keep using pm-utils-1.3.0-r2. |
|
Back to top |
|
|
ippo n00b
Joined: 09 May 2010 Posts: 35 Location: PL
|
Posted: Wed Dec 08, 2010 10:58 pm Post subject: |
|
|
@ melinux
What about Your /etc/pm/config.d/defaults?
I can`t run hibernate on my laptop until i change my conf as below:
Code: |
# cat /etc/pm/config.d/defaults
##########################################################
# DO NOT EDIT THIS FILE! #
# #
# Add files in /etc/pm/config.d/ instead! #
##########################################################
# Default method to power down the system when hibernating.
# If commented out, the system will use the kernel default as a
# default value.
#
# Check /sys/power/disk for valid values. The default value
# will be surrounded by [square brackets].
HIBERNATE_MODE="shutdown"
# Whether we need to post the video card when resuming from
# hibernate. You should not normally need to set this.
# In the future pm-utils will get this setting from HAL.
#
# Valid values are "no" and "yes"
# HIBERNATE_RESUME_POST_VIDEO="no"
# The default sleep/wake system to use. Valid values are:
# kernel The built-in kernel suspend/resume support.
# Use this if nothing else is supported on your system.
# uswsusp If your system has support for the userspace
# suspend programs (s2ram/s2disk/s2both), then use this.
# tuxonice If your system has support for tuxonice, use this.
#
# The system defaults to "kernel" if this is commented out.
SLEEP_MODULE="kernel"
# These variables will be handled specially when we load files in
# /etc/pm/config.d.
# Multiple declarations of these environment variables will result in
# their contents being concatenated instead of being overwritten.
# If you need to unload any modules to suspend/resume, add them here.
# SUSPEND_MODULES=""
# If you want to keep hooks from running, add their names here.
# HOOK_BLACKLIST=""
# If you want to unconditionally add parameters to the commandline,
# add them here.
# ADD_PARAMETERS=""
# If you want to ignore commandline parameters, add them here.
# DROP_PARAMETERS=""
# If you need to synchronize the system clock across a suspend/resume or
# hibernate/thaw cycle, set this variable.
# NEED_CLOCK_SYNC="true"
|
Now it works both - in console or gnome button.
Regards |
|
Back to top |
|
|
melinux n00b
Joined: 25 May 2006 Posts: 59 Location: Malta
|
Posted: Thu Jan 20, 2011 6:48 pm Post subject: |
|
|
I have no such file on my laptop...
I have a file called gentoo instead which contains a single line:
HOOK_BLACKLIST="01grub 55NetworkManager 90clock"
ippo wrote: | @ melinux
What about Your /etc/pm/config.d/defaults?
I can`t run hibernate on my laptop until i change my conf as below:
Code: |
# cat /etc/pm/config.d/defaults
##########################################################
# DO NOT EDIT THIS FILE! #
# #
# Add files in /etc/pm/config.d/ instead! #
##########################################################
# Default method to power down the system when hibernating.
# If commented out, the system will use the kernel default as a
# default value.
#
# Check /sys/power/disk for valid values. The default value
# will be surrounded by [square brackets].
HIBERNATE_MODE="shutdown"
# Whether we need to post the video card when resuming from
# hibernate. You should not normally need to set this.
# In the future pm-utils will get this setting from HAL.
#
# Valid values are "no" and "yes"
# HIBERNATE_RESUME_POST_VIDEO="no"
# The default sleep/wake system to use. Valid values are:
# kernel The built-in kernel suspend/resume support.
# Use this if nothing else is supported on your system.
# uswsusp If your system has support for the userspace
# suspend programs (s2ram/s2disk/s2both), then use this.
# tuxonice If your system has support for tuxonice, use this.
#
# The system defaults to "kernel" if this is commented out.
SLEEP_MODULE="kernel"
# These variables will be handled specially when we load files in
# /etc/pm/config.d.
# Multiple declarations of these environment variables will result in
# their contents being concatenated instead of being overwritten.
# If you need to unload any modules to suspend/resume, add them here.
# SUSPEND_MODULES=""
# If you want to keep hooks from running, add their names here.
# HOOK_BLACKLIST=""
# If you want to unconditionally add parameters to the commandline,
# add them here.
# ADD_PARAMETERS=""
# If you want to ignore commandline parameters, add them here.
# DROP_PARAMETERS=""
# If you need to synchronize the system clock across a suspend/resume or
# hibernate/thaw cycle, set this variable.
# NEED_CLOCK_SYNC="true"
|
Now it works both - in console or gnome button.
Regards |
|
|
Back to top |
|
|
melinux n00b
Joined: 25 May 2006 Posts: 59 Location: Malta
|
Posted: Thu Jan 20, 2011 6:52 pm Post subject: |
|
|
I decided to try creating this defaults file and pm-hibernate worked this time...
thanks.. your post helped me solve the problem.
melinux wrote: | I have no such file on my laptop...
I have a file called gentoo instead which contains a single line:
HOOK_BLACKLIST="01grub 55NetworkManager 90clock"
ippo wrote: | @ melinux
What about Your /etc/pm/config.d/defaults?
I can`t run hibernate on my laptop until i change my conf as below:
Code: |
# cat /etc/pm/config.d/defaults
##########################################################
# DO NOT EDIT THIS FILE! #
# #
# Add files in /etc/pm/config.d/ instead! #
##########################################################
# Default method to power down the system when hibernating.
# If commented out, the system will use the kernel default as a
# default value.
#
# Check /sys/power/disk for valid values. The default value
# will be surrounded by [square brackets].
HIBERNATE_MODE="shutdown"
# Whether we need to post the video card when resuming from
# hibernate. You should not normally need to set this.
# In the future pm-utils will get this setting from HAL.
#
# Valid values are "no" and "yes"
# HIBERNATE_RESUME_POST_VIDEO="no"
# The default sleep/wake system to use. Valid values are:
# kernel The built-in kernel suspend/resume support.
# Use this if nothing else is supported on your system.
# uswsusp If your system has support for the userspace
# suspend programs (s2ram/s2disk/s2both), then use this.
# tuxonice If your system has support for tuxonice, use this.
#
# The system defaults to "kernel" if this is commented out.
SLEEP_MODULE="kernel"
# These variables will be handled specially when we load files in
# /etc/pm/config.d.
# Multiple declarations of these environment variables will result in
# their contents being concatenated instead of being overwritten.
# If you need to unload any modules to suspend/resume, add them here.
# SUSPEND_MODULES=""
# If you want to keep hooks from running, add their names here.
# HOOK_BLACKLIST=""
# If you want to unconditionally add parameters to the commandline,
# add them here.
# ADD_PARAMETERS=""
# If you want to ignore commandline parameters, add them here.
# DROP_PARAMETERS=""
# If you need to synchronize the system clock across a suspend/resume or
# hibernate/thaw cycle, set this variable.
# NEED_CLOCK_SYNC="true"
|
Now it works both - in console or gnome button.
Regards |
|
|
|
Back to top |
|
|
|
|
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
|
|