linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.0-test2: unable to suspend (APM)
@ 2003-08-06 22:15 Russell King
  2003-08-07  2:46 ` Charles Lepple
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Russell King @ 2003-08-06 22:15 UTC (permalink / raw)
  To: Linux Kernel List

Hi,

I'm trying to test out APM on my laptop (in order to test some PCMCIA
changes), but I'm hitting a brick wall.  I've added the device_suspend()
calls for the SAVE_STATE, DISABLE and the corresponding device_resume()
calls into apm's suspend() function.  (this is needed so that PCI
devices receive their notifications.)

However, APM is refusing to suspend.  I'm seeing the following kernel
messages:

Suspending devices
hdb: start_power_step(step: 0)
hdb: completing PM request, suspend
hda: start_power_step(step: 0)
hda: start_power_step(step: 1)
hda: complete_power_step(step: 1, stat: 50, err: 0)
hda: completing PM request, suspend
Suspending devices
Suspending devices
apm: suspend: Unable to enter requested state
Devices Resumed
hda: Wakeup request inited, waiting for !BSY...
hda: start_power_step(step: 1000)
blk: queue c03a845c, I/O limit 4095Mb (mask 0xffffffff)
hda: completing PM request, resume
hdb: Wakeup request inited, waiting for !BSY...
hdb: start_power_step(step: 1000)
hdb: completing PM request, resume
Devices Resumed
Devices Resumed

The "apm: suspend: Unable to enter requested state" occurs about 20
seconds afterwards.

(Note that APM worked fine with 2.2 and 2.4 kernels.)

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-08-17 16:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-06 22:15 2.6.0-test2: unable to suspend (APM) Russell King
2003-08-07  2:46 ` Charles Lepple
2003-08-07 10:45   ` Stephen Rothwell
2003-08-07 11:00     ` Russell King
2003-08-07 12:31       ` Charles Lepple
2003-08-07 13:50       ` Alan Cox
2003-08-11 10:14 ` Pavel Machek
2003-08-11 11:31   ` Russell King
2003-08-11 12:50   ` Stephen Rothwell
2003-08-17 16:23 ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).