2.2.14/APM: Thinkpad 560 can suspend/hibernate only once

From: Sanjoy Mahajan (sanjoy@mrao.cam.ac.uk)
Date: Thu Jun 15 2000 - 14:11:33 EST


I still cannot get my ThinkPad 560 (BIOS 1.11) to suspend or hibernate
more than once; I'm running a mostly stock RH 6.2, with kernel 2.2.14
patched with the 2.2.14-APM.3 patch (now integrated into 2.2.15pre8).

On the second suspend attempt (both using Fn-F4), the suspend light
flashes for maybe 30 seconds and then no luck. Here is the extract
from the syslog:

I had booted in single-user mode with apm=debug, then started syslog
(so no pcmcia or any other daemons running):

11:40:54 foo kernel: apm: received system suspend notify
11:40:54 foo kernel: apm: suspend: Unable to enter requested state
11:40:54 foo kernel: apm: received normal resume notify

I then switched to runlevel 2 (multiuser without NFS or X), with no
PCMCIA cards in use (apmd 3.0final; pcmcia-cs 3.1.8). The suspend
attempt fails, for a different reason:

11:48:03 foo kernel: suspend notify
11:48:03 foo kernel: apm: received system suspend notify
11:48:22 foo last message repeated 1672 times
11:48:22 foo apmd[304]: System Suspend
11:48:43 foo kernel: apm: received system suspend notify
11:48:43 foo last message repeated 6 times
11:48:43 foo kernel: apm: suspend: Unable to enter requested state
11:48:44 foo kernel: apm: received normal resume notify
11:48:45 foo apmd[304]: Normal Resume after 00:00:23 (95% 2:25) Battery power

It is a bit absurd that 1672+6 suspend events are received, presumably
generated by the silly IBM BIOS. Here are the APM config options:

CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
CONFIG_APM_CPU_IDLE=y
CONFIG_APM_DISPLAY_BLANK=y
CONFIG_APM_IGNORE_MULTIPLE_SUSPEND=y
CONFIG_APM_IGNORE_SUSPEND_BOUNCE=y
CONFIG_APM_RTC_IS_GMT=y
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

Does BIOS 1.20 fix this problem? Or some kernel patch that I missed?

I'm reluctant to upgrade the BIOS because of the hangs on resume,
reported at http://www.arctic.org/~dean/tp560/olin_note

Are those hangs fixed by setting CONFIG_APM_ALLOW_INTS=y?

Let me know whether, or how, I can help to debug this problem. I sent
this report to the APM folks at linuxcare about two weeks ago but
haven't heard back.

-Sanjoy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:36 EST