2004-03-31 22:28:55

by Vincent C Jones

[permalink] [raw]
Subject: Kernel 2.6.X versus APM Suspend on IBM X23

I have found several postings asking about suspend problems on IBM
thinkpads, but no answers so far. Here is what I have so far:

Using APM with ACPI and CPUfreq disabled: Suspend works, but only if
running on battery. When running on AC, I get what sound like PCMCIA
failure beeps (brief high low), the display goes dark, but the system
keeps on running and hitting any key brings be right back (at least
usually, using earlier versions of 2.6 circa .2, the system would
sometimes lock up after restoring the screen, at which point, sometimes
C-A-Del or Alt-sysreq-B would work, and sometimes not.)

FWIW: there were no problems with suspend under any 2.4 kernels.

.config is attached. Let me know if anything else would help.

--
Vincent C. Jones [email protected]


Attachments:
(No filename) (800.00 B)
.config (31.28 kB)
Download all attachments

2004-03-31 22:46:08

by David Weinehall

[permalink] [raw]
Subject: Re: Kernel 2.6.X versus APM Suspend on IBM X23

On Wed, Mar 31, 2004 at 05:27:23PM -0500, Vincent C Jones wrote:
> I have found several postings asking about suspend problems on IBM
> thinkpads, but no answers so far. Here is what I have so far:
>
> Using APM with ACPI and CPUfreq disabled: Suspend works, but only if
> running on battery. When running on AC, I get what sound like PCMCIA
> failure beeps (brief high low), the display goes dark, but the system
> keeps on running and hitting any key brings be right back (at least
> usually, using earlier versions of 2.6 circa .2, the system would
> sometimes lock up after restoring the screen, at which point, sometimes
> C-A-Del or Alt-sysreq-B would work, and sometimes not.)
>
> FWIW: there were no problems with suspend under any 2.4 kernels.

I can confirm the exact same behaviour on a Thinkpad A20m.


Regards: David Weinehall
--
/) David Weinehall <[email protected]> /) Northern lights wander (\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\) http://www.acc.umu.se/~tao/ (/ Full colour fire (/

2004-04-01 11:08:19

by Stefan Seyfried

[permalink] [raw]
Subject: Re: Kernel 2.6.X versus APM Suspend on IBM X23

On Wed, Mar 31, 2004 at 10:52:45PM +0000, David Weinehall wrote:
> On Wed, Mar 31, 2004 at 05:27:23PM -0500, Vincent C Jones wrote:
>
> > Using APM with ACPI and CPUfreq disabled: Suspend works, but only if
> > running on battery. When running on AC, I get what sound like PCMCIA
> > failure beeps (brief high low), the display goes dark, but the system
> > keeps on running and hitting any key brings be right back (at least

> > FWIW: there were no problems with suspend under any 2.4 kernels.
>
> I can confirm the exact same behaviour on a Thinkpad A20m.

Do you have a pcmcia card inserted? IBM Thinkpads (at least older models,
the TP600 for sure) don't suspend, if (AC && PCMCIA_CARD_INSERTED). If
only AC or only CARD_INSERTED, then they suspend.

--
Stefan Seyfried

"Any ideas, John?"
"Well, surrounding thems out."

2004-04-01 11:14:47

by David Weinehall

[permalink] [raw]
Subject: Re: Kernel 2.6.X versus APM Suspend on IBM X23

On Thu, Apr 01, 2004 at 01:07:12PM +0200, Stefan Seyfried wrote:
> On Wed, Mar 31, 2004 at 10:52:45PM +0000, David Weinehall wrote:
> > On Wed, Mar 31, 2004 at 05:27:23PM -0500, Vincent C Jones wrote:
> >
> > > Using APM with ACPI and CPUfreq disabled: Suspend works, but only if
> > > running on battery. When running on AC, I get what sound like PCMCIA
> > > failure beeps (brief high low), the display goes dark, but the system
> > > keeps on running and hitting any key brings be right back (at least
>
> > > FWIW: there were no problems with suspend under any 2.4 kernels.
> >
> > I can confirm the exact same behaviour on a Thinkpad A20m.
>
> Do you have a pcmcia card inserted? IBM Thinkpads (at least older models,
> the TP600 for sure) don't suspend, if (AC && PCMCIA_CARD_INSERTED). If
> only AC or only CARD_INSERTED, then they suspend.

Nopes, no pcmcia-card inserted. And, as noted by Vincent C Jones,
the 2.4-kernel manages to suspend my Thinkpad just fine,
even when (AC && PCMCIA_CARD_INSERTED).


Regards: David Weinehall
--
/) David Weinehall <[email protected]> /) Northern lights wander (\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\) http://www.acc.umu.se/~tao/ (/ Full colour fire (/

2004-04-01 13:17:00

by Vincent C Jones

[permalink] [raw]
Subject: Re: Kernel 2.6.X versus APM Suspend on IBM X23

On Thu, Apr 01, 2004 at 01:07:12PM +0200, Stefan Seyfried wrote:
> On Wed, Mar 31, 2004 at 10:52:45PM +0000, David Weinehall wrote:
> > On Wed, Mar 31, 2004 at 05:27:23PM -0500, Vincent C Jones wrote:
> >
> > > Using APM with ACPI and CPUfreq disabled: Suspend works, but only if
> > > running on battery. When running on AC, I get what sound like PCMCIA
> > > failure beeps (brief high low), the display goes dark, but the system
> > > keeps on running and hitting any key brings be right back (at least
>
> > > FWIW: there were no problems with suspend under any 2.4 kernels.
> >
> > I can confirm the exact same behaviour on a Thinkpad A20m.
>
> Do you have a pcmcia card inserted? IBM Thinkpads (at least older models,
> the TP600 for sure) don't suspend, if (AC && PCMCIA_CARD_INSERTED). If
> only AC or only CARD_INSERTED, then they suspend.
> --
> Stefan Seyfried

Nope, PCMCIA and Memory card slots are empty and nothing is plugged into or
connected via IRDA or USB. Shutting down eth0 (built in Ethernet) or
eth1 (built in 802.11b) has no impact.

Just in case they are useful, attached are the syslog and dmesg
entries for A/C and battery suspend events.

Thanks for your interest!
--
Dr. Vincent C. Jones, PE Expert advice and a helping hand
Computer Network Consultant for those who want to manage and
Networking Unlimited, Inc. control their networking destiny
14 Dogwood Lane, Tenafly, NJ 07670
http://www.networkingunlimited.com
[email protected] +1 201 568-7810 Fax: +1 201 568-7269


Attachments:
(No filename) (1.52 kB)
suspend.dmesg (1.96 kB)
suspend.log (6.50 kB)
Download all attachments