From: Len Brown <lenb@kernel.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Miles Lane <miles.lane@gmail.com>,
LKML <linux-kernel@vger.kernel.org>,
linux-acpi@vger.kernel.org
Subject: Re: 2.6.21-rc5-mm2 -- ACPI problems (lid switch broken, always shows running from AC, plugging in AC hangs machine)
Date: Thu, 29 Mar 2007 13:11:09 -0400 [thread overview]
Message-ID: <200703291311.09893.lenb@kernel.org> (raw)
In-Reply-To: <20070329011503.00c89cb8.akpm@linux-foundation.org>
On Thursday 29 March 2007 04:15, Andrew Morton wrote:
> On Thu, 29 Mar 2007 01:00:45 -0700 "Miles Lane" <miles.lane@gmail.com> wrote:
>
> > On 3/28/07, Andrew Morton <akpm@linux-foundation.org> wrote:
> > > On Wed, 28 Mar 2007 13:55:54 -0700
> > > "Miles Lane" <miles.lane@gmail.com> wrote:
> > >
> > > > My laptop (HP dv1240us) is always showing that my laptop is plugged
> > > > into AC power, even when it is running off of the battery. When I
> > > > plug into the AC after running on the battery, the machine immediately
> > > > locks up. Also, the laptop lid button isn't working -- pressing it
> > > > doesn't trigger a suspend.
> > >
> > > OK, thanks.
> > >
> > > If you have time, could you please test
> > >
> > > 2.6.21-rc5 +
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc5/2.6.21-rc5-mm2/broken-out/origin.patch + ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc5/2.6.21-rc5-mm2/broken-out/git-acpi.patch
> > > which will allow us to eliminate any non-acpi patches.
> >
> > Okay, I tested with those patches and got the same problems with the
> > resulting build.
> > I can't reproduce the hang on plugging in the AC with either
> > 2.6.21-rc5-mm2 or the
> > build with the patches you sent.
So it sounds like the most serious problem, the hang,
is not reproducible without the reset of the -mm tree.
> > The other problems are 100% reproducible.
> > I have some new details:
> >
> > 1. Power always shows up as plugged in to AC.
> > 2. The lid button is non-operational for initiating a suspend.
> > 3. Suspending from the Gnome shutdown menu works. Afterwards, the
> > lid button works for resuming from suspend.
> > 4. If I suspend, resume and then try to shutdown; when I see the
> > message "The machine will now halt" the power does not shut off. That
> > is, the various buttons on my laptop stay lit up. I am forced to
> > shutdown by holding down the power button for five seconds.
> >
>
> Thanks. So we can conclude that all these problems are due to changes in
> 2.6.21-rc5-mm2's git-acpi.patch?
Miles,
Please apply the latest acpi patch directly on top of Linus' tree.
http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/test/2.6.21/acpi-test-20070126-2.6.21-rc5.diff.gz
If Andrew and I are in sync, you should get the same issues above as above -- no hang,
but still problems 1-4.
Then revert that patch and edit it to delete all changes to ec.c
and apply it again. ie. keep drivers/acpi/ec.c from Linus's tree and re-test.
If the symptoms 1-4 go away, then we've isolated the regression to the changes to ec.c.
Also, it might be helpful to open up a bug report here:
http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI
and attach to it the output from acpidump
thanks,
-Len
next prev parent reply other threads:[~2007-03-29 17:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <a44ae5cd0703281355h13f1bd70s9eb94092bfa9c3e@mail.gmail.com>
2007-03-28 21:20 ` 2.6.21-rc5-mm2 -- ACPI problems (lid switch broken, always shows running from AC, plugging in AC hangs machine) Andrew Morton
2007-03-29 8:00 ` Miles Lane
2007-03-29 8:15 ` Andrew Morton
2007-03-29 17:11 ` Len Brown [this message]
2007-03-29 20:14 ` Miles Lane
2007-03-29 20:35 ` Miles Lane
2007-03-29 21:49 ` Miles Lane
2007-03-30 18:10 ` Len Brown
2007-03-30 22:30 ` Miles Lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200703291311.09893.lenb@kernel.org \
--to=lenb@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miles.lane@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).