Re: Problems with APM suspend and ext3

Kamil Iskra
2001-11-30T23:35:09Z

On Wed, 28 Nov 2001, Andrew Morton wrote:

> Maybe you can turn on APM debugging with `apm=debug' on the
> LILO command line, or `modprobe apm debug=1', see if that
> provides a hint. APM debug mode doesn't seem to do much though.

Yes, exactly. I've already tried it before, but it didn't give me any
useful clue. Anyway, you can find the output below.

With kjournald (ext3):

Nov 30 22:38:27 bubu kernel: apm: setting state busy
Nov 30 22:38:28 bubu kernel: apm: setting state busy
Nov 30 22:38:28 bubu apmd[285]: User Suspend
Nov 30 22:38:28 bubu kernel: apm: setting state busy
Nov 30 22:38:28 bubu kernel: apm: setting state busy
Nov 30 22:38:29 bubu kernel: apm: suspend: Unable to enter requested state
Nov 30 22:38:30 bubu apmd[285]: Normal Resume after 00:00:02 (100% unknown) AC power

Nov 30 22:38:34 bubu kernel: apm: setting state busy
Nov 30 22:38:34 bubu apmd[285]: User Suspend
Nov 30 22:38:34 bubu kernel: apm: setting state busy
Nov 30 22:38:34 bubu kernel: apm: setting state busy
Nov 30 22:38:35 bubu kernel: apm: suspend: Unable to enter requested state
Nov 30 22:38:36 bubu apmd[285]: Normal Resume after 00:00:02 (100% unknown) AC power

Without kjournald (ext2):

Nov 30 22:41:04 bubu kernel: apm: setting state busy
Nov 30 22:41:04 bubu apmd[283]: User Suspend
Nov 30 22:41:26 bubu kernel: apm: received normal resume notify
Nov 30 22:41:26 bubu kernel: apm: received power status change notify
Nov 30 22:41:27 bubu apmd[283]: Normal Resume after 00:00:23 (100% unknown) AC power

Nov 30 22:41:36 bubu kernel: apm: setting state busy
Nov 30 22:41:36 bubu kernel: apm: setting state busy
Nov 30 22:41:37 bubu apmd[283]: User Suspend
Nov 30 22:41:37 bubu kernel: apm: setting state busy
Nov 30 22:41:58 bubu kernel: apm: received normal resume notify
Nov 30 22:41:58 bubu kernel: apm: received power status change notify
Nov 30 22:41:59 bubu apmd[283]: Normal Resume after 00:00:22 (100% unknown) AC power

--
Kamil Iskra http://www.science.uva.nl/~kamil/
Section Computational Science, Faculty of Science, Universiteit van Amsterdam
kamil@science.uva.nl tel. +31 20 525 75 35 fax. +31 20 525 74 90
Kruislaan 403 room F.202 1098 SJ Amsterdam The Netherlandsc