[Pm-utils] Syntax SV266A, Athlon 1600+ XP, KT266: pm-suspend not working at all
Victor Lowther
victor.lowther at gmail.com
Mon Jun 7 16:45:04 PDT 2010
On Mon, 2010-06-07 at 20:26 +0200, Paul Menzel wrote:
> Am Montag, den 07.06.2010, 11:44 -0500 schrieb Victor Lowther:
> > On Jun 7, 2010, at 7:07 AM, Paul Menzel <paulepanter at users.sourceforge.net> wrote:
>
> > > on an SV266A with Debian Sid/unstable `pm-suspend` does not even try to
> > > suspend the system. The option to suspend is also not displayed in the
> > > GNOME log out dialog.
> > >
> > > This is what I get on the console.
> > >
> > > $ sudo pm-suspend
> > > $ echo $?
> > > 1
> >
> > Try running
> > PM_DEBUG=true pm-suspend
> > as root. That should display lots of useful debug info.
>
> It says »pm-utils does not know how to suspend on this system.«.
>
> + log pm-utils does not know how to suspend on this system.
>
> The full log is at the end.
Based on it, your kernel was not compiled with suspend or hibernate
support. Did you custom-compile your kernel?
> Thanks,
>
> Paul
>
>
> $ PM_DEBUG=true sudo -E pm-suspend
> + set -a
> + PM_UTILS_LIBDIR=/usr/lib/pm-utils
> + PM_UTILS_ETCDIR=/etc/pm
> + PM_UTILS_RUNDIR=/var/run/pm-utils
> + PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/lib/pm-utils/bin
> + PM_LOGFILE=/var/log/pm-suspend.log
> + TEMPORARY_CPUFREQ_GOVERNOR=performance
> + LOCKDIR=/var/run/pm-utils/locks
> + STORAGEDIR=/var/run/pm-utils/pm-suspend/storage
> + NA=254
> + NX=253
> + DX=252
> + PM_FUNCTIONS=/usr/lib/pm-utils/functions
> + PM_QUIRKDB=/usr/lib/pm-utils/video-quirks
> + PM_LKW_QUIRKS=/var/cache/pm-utils/last_known_working.quirkdb
> + LC_COLLATE=C
> + HIBERNATE_MODE=
> + HIBERNATE_RESUME_POST_VIDEO=no
> + SLEEP_MODULE=kernel
> + SUSPEND_MODULES=
> + HOOK_BLACKLIST=
> + ADD_PARAMETERS=
> + DROP_PARAMETERS=
> + PARAMETERS=/var/run/pm-utils/pm-suspend/storage/parameters
> + INHIBIT=/var/run/pm-utils/pm-suspend/storage/inhibit
> + PM_CMDLINE=
> + BEFORE_HOOKS=
> + MODULE_HELP=
> + SUSPEND_MODULE=
> + HIBERNATE_MODULE=
> + SUSPEND_HYBRID_MODULE=
> + PM_HIBERNATE_DELAY=900
> + PM_RTC=/sys/class/rtc/rtc0
> + [ -f /usr/lib/pm-utils/defaults ]
> + . /usr/lib/pm-utils/defaults
> + SLEEP_MODULE=auto
> + [ -f /usr/lib/pm-utils/pm-suspend.defaults ]
> + set +a
> + [ -f /etc/pm/config.d/*[!~] ]
> + continue
> + [ -f /etc/pm/pm-suspend.config.d/*[!~] ]
> + continue
> + . /usr/lib/pm-utils/functions
> + is_set true
> + return 0
> + set -x
> + command_exists service
> + type service
> + return 0
> + profiling
> + [ = true ]
> + profiling
> + [ = true ]
> + profiling
> + [ = true ]
> + [ auto = auto ]
> + SLEEP_MODULE=tuxonice uswsusp
> + mod=/usr/lib/pm-utils/module.d/tuxonice
> + [ -f /usr/lib/pm-utils/module.d/tuxonice ]
> + . /usr/lib/pm-utils/module.d/tuxonice
> + export TUXONICE_LOC
> + [ -d /sys/power/tuxonice ]
> + [ -d /sys/power/suspend2 ]
> + [ -z -a -n ]
> + [ -z -a -n ]
> + mod=/usr/lib/pm-utils/module.d/uswsusp
> + [ -f /usr/lib/pm-utils/module.d/uswsusp ]
> + . /usr/lib/pm-utils/module.d/uswsusp
> + [ -z ]
> + command_exists s2ram
> + type s2ram
> + return 127
> + [ -z ]
> + [ -f /sys/power/disk ]
> + grep -q disk /sys/power/state
> + [ -c /dev/snapshot ]
> + command_exists s2disk
> + type s2disk
> + return 127
> + [ -z ]
> + grep -q mem /sys/power/state
> + [ -z ]
> + grep -q mem /sys/power/state
> + [ -c /dev/pmu ]
> + [ -z ]
> + [ -f /sys/power/disk ]
> + grep -q disk /sys/power/state
> + HIBERNATE_MODULE=kernel
> + [ -z -a -w /sys/class/rtc/rtc0/wakealarm ]
> + check_suspend
> + [ -n ]
> + r=0
> + id -u
> + [ 0 != 0 ]
> + try_lock pm-suspend.lock
> + local lock=/var/run/pm-utils/locks/pm-suspend.lock
> + mkdir -p /var/run/pm-utils/locks
> + touch /var/run/pm-utils/locks/pm-suspend.lock
> + exec
> + flock -x -n 3
> + return 0
> + trap remove_suspend_lock 0
> + rm -rf /var/run/pm-utils/pm-suspend/storage
> + mkdir -p /var/run/pm-utils/pm-suspend/storage
> + [ -f /var/run/pm-utils/pm-suspend/storage/parameters ]
> + echo
> + add_parameters
> + remove_parameters
> + local p
> + [ = all ]
> + echo
> + grep
> -vxFf /var/run/pm-utils/pm-suspend/storage/parameters.rm /var/run/pm-utils/pm-suspend/storage/parameters
> + cp
> -f /var/run/pm-utils/pm-suspend/storage/parameters.new /var/run/pm-utils/pm-suspend/storage/parameters
> + update_parameters
> + [ -f /var/run/pm-utils/pm-suspend/storage/parameters.new ]
> + get_parameters
> + cat /var/run/pm-utils/pm-suspend/storage/parameters
> + export PM_CMDLINE=
> + rm -f /var/run/pm-utils/pm-suspend/storage/parameters.new
> + [ 0 -gt 0 ]
> + command_exists check_suspend
> + type check_suspend
> + return 0
> + command_exists do_suspend
> + type do_suspend
> + return 127
> + log pm-utils does not know how to suspend on this system.
> + is_set
> + return 2
> + return 0
> + exit 1
> + remove_suspend_lock
> + release_lock pm-suspend.lock
> + local lock=/var/run/pm-utils/locks/pm-suspend.lock
> + rm -f /var/run/pm-utils/locks/pm-suspend.lock
> + return 0
> _______________________________________________
> Pm-utils mailing list
> Pm-utils at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pm-utils
--
Victor Lowther
LPIC2 UCP RHCE
More information about the Pm-utils
mailing list