Skip site navigation (1)Skip section navigation (2)
Date:      26 Nov 2002 07:23:14 -0500
From:      Mark Evenson <evenson@panix.com>
Cc:        freebsd-mobile@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: apm on an IBM ThinkPad A30
Message-ID:  <a0adjwfrkd.fsf@panix3.panix.com>
In-Reply-To: <Pine.GSO.4.44.0211260747350.14708-100000@bonsai.fernuni-hagen.de>
References:  <Pine.GSO.4.44.0211260747350.14708-100000@bonsai.fernuni-hagen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
The following message is a courtesy copy of an article
that has been posted to comp.unix.bsd.freebsd.misc as well.

Sebastian Benner <benners@bonsai.fernuni-hagen.de> writes:

> Hi,
> 
> I am facing problems with apm on an IBM ThinkPad A30 . Apm works as far as
> the battery status is concerned. Suspend mode lets the display switch off
> but not come back. Anyone else having this problem?
> 

My IBM Thinkpad X20 exhibits the same symptoms.  There was a recent spate
of postings on freebsd-stable [[1]] regarding similar problems with an IBM
Thinkpad R32.  The problem was eventually diagnosed as badly initilized
data structures and fixed to the satisfication of the reporting user with a patch to
sys/dev/ata/ata-all.c [[2]], but it does not work for me. 

Even with this patch applied, my system will always eventually hang on
resume.  "Eventually" as it seems to "sometimes" work once (a
suspend/resume cycle), but never twice.  This is the same behavior as when
I run unpatched STABLE.

I am trying to get a satisfactory kernel trace to follow up with the proper
"authorities", but don't seem to produce a panic when the "options DDB" is
compiled into the kernel.  With "options DDB" compiled in, the resulting
backtrace seemingly has nothing to do with APM events.  I have read the
sections of the FAQ and Developer's guide but as I am rather new to kernel
deugging, I would appreciate any further source of information that the
kind public can provide.  (Like why neither ALT-SHIFT-ESC nor CTRL-BREAK
drop the system into DDB?)  Fsck'in my 20GB disk between crashes makes the
going rather slow--and me rather nervous--as this system is my only
computer these days.

Some more details about my hardware/software:

        o  suspend/resume has not worked since I got this Thinkpad in
           mid-2001

        o  I am currently running BIOS 2.22 (IZET9AWW) and BIOS controller
           version v1.36 (the latest as of October 2002).  Various previous
           BIOS revisions have also failed to work for me.

        o  For my this round of testing, my /usr/src tree is a frozen
           20021125 STABLE

I wonder if suspend/resume is generally broken across the post-2000
(Xnn,Rnn,Ann) Thinkpad series on STABLE?


[[1]] <URI:http://docs.freebsd.org/cgi/getmsg.cgi?fetch=702426+0+/usr/local/www/db/text/2002/freebsd-stable/20021117.freebsd-stable>;

[[2]] <URI:http://www.freebsd.org/cgi/getmsg.cgi?fetch=495700+0+/usr/local/www/db/text/2002/freebsd-stable/20021124.freebsd-stable>;


-- 
Mark Evenson <evenson@panix.com>

"A screaming comes across the sky.  It has happened before, but there is
nothing to compare to it now."

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a0adjwfrkd.fsf>