Package: acpi-support
Version: 0.103-5
Severity: normal
Hello,
Let me apologise in advance for the vague-ness of the following bug
report --- suspend/resume still seems to be a bit of black-magic :-)
Hardware: Thinkpad R51 with Intel 855 chipset graphics.
Story: I had a perfectly working suspend -to-ram and -to-disk
configuration with etch. I recently upgraded to lenny and immediately
saw some regression in the support. The machine would sometimes resume
from the suspension fine and at other times would seem to hang either
while resuming or within a few minutes after resuming.
Changes: The changes that I have made are to the acpi-support files
as follows:
1. I no longer need to use "SAVE_VIDEO_PCI_STATE=true"
which was required with "etch".
2. I ensured that laptop-mode is switched off as the first
step of suspend.d by creating 01-laptop-mode-stop.sh
which runs "invoke-rc.d laptop-mode stop".
3. I ensured that laptop-mode is re-invoked as the *last*
step of the resume.d by creating 95-laptop-mode-start.sh
which runs "invoke-rc.d laptop-mode restart".
After these three steps suspend-to-ram was working fine but
suspend-to-disk was failing. Then I found that laptop-mode was being
restarted at the *first* step of resumption from suspend-to-disk in
/etc/acpi/hibernate.sh.
4. I commented out the line "invoke-rc.d laptop-mode restart"
from the script /etc/acpi/hibernate.sh
After a number of tests and trials, the suspend -to-ram and -to-disk
configuration is now working fine again.
Unfortunately, I can by no means be sure that I have not made any
changes to packages other than "acpi-support" in the meantime.
However, I strongly suspect that it is the invocation of laptop-mode
that caused the earlier regression. This makes the following
statements at the end of /etc/default/acpi-support somewhat
mis-leading:
# Note: to enable "laptop mode" (to spin down your hard drive for longer
# periods of time), install the laptop-mode-tools package and configure
# it in /etc/laptop-mode/laptop-mode.conf.
#
# (Note to upgraders: earlier versions of the acpi-support package
contained
# an option to enable/disable laptop mode. This option has never
actually
# worked, and for that reason it has been removed.)
Possible reasons:
"laptop-mode-tools" make a number of changes to the system and some of them
may be interfering with resume. One would need to break down the
process further to figure out the problem:
1. hdparm
2. cpufreq settings
3. kernel "laptop-mode" settings
Perhaps, if someone has time this could be investigated further.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-vserver-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages acpi-support depends on:
ii acpi-support-base 0.103-5 scripts for handling base ACPI eve
ii acpid 1.0.4-7.1 Utilities for using ACPI power man
ii dmidecode 2.9-1 Dump Desktop Management Interface
ii finger 0.17-11 user information lookup program
ii hdparm 7.7-1 tune hard disk parameters for high
ii laptop-detect 0.12.1-0.1 attempt to detect a laptop
ii libc6 2.7-4 GNU C Library: Shared libraries
ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip
ii nvclock 0.8b2-1 Allows you to overclock your nVidi
ii powermgmt-base 1.29 Common utils and configs for power
ii radeontool 1.5-5 utility to control ATI Radeon back
ii toshset 1.72-6 Access much of the Toshiba laptop
ii vbetool 1.0-1.1 run real-mode video BIOS code to a
ii x11-xserver-utils 7.3+2 X server utilities
acpi-support recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]