From: Andre Prendel <andre_prendel@gmx.de>
To: Zhang Rui <rui.zhang@intel.com>
Cc: Andre Prendel <andre_prendel@gmx.de>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
kernel-testers@vger.kernel.org, Andi Kleen <andi@firstfloor.org>,
Andrew Morton <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>,
"Zhao, Yakui" <yakui.zhao@intel.com>
Subject: Re: ACPI Error under 2.6.26-rc*
Date: Tue, 22 Jul 2008 10:01:12 +0200 [thread overview]
Message-ID: <20080722080112.GA4653@linux.int.dgn.ag> (raw)
In-Reply-To: <1216693359.1617.258.camel@rzhang-fc9>
On Tue, Jul 22, 2008 at 10:22:39AM +0800, Zhang Rui wrote:
> On Thu, 2008-07-17 at 16:41 +0800, Andre Prendel wrote:
> > On Tue, Jul 15, 2008 at 04:41:00PM +0800, Zhang Rui wrote:
> > > > > It seems that OS failed to get the correct RSDT address
> > > > (0x1fff0000),
> > > > > although the RSDP is found correctly. (ACPI: RSDP 000FA340,
> > 0014)
> > > > >
> > > > > please run "./acpidump --addr 0xFA340 --length 0x14 > rsdp_xxx",
> > > > > and attach the rsdp for all of the three cases (good, ACPI
> > Error,
> > > > ACPI
> > > > > Exception).
> > > > Hello Rui,
> > > >
> > > > here is the output of the three cases. The dump files are attached
> > > > too.
> > > >
> > > > ----
> > > > good
> > > > ----
> > > > andre@ubuntu:~/src/acpi/pmtools-20071116/acpidump$ hexdump
> > rsdp_good
> > > > 0000000 5352 2044 5450 2052 418c 494d 2020 0020
> > > > 0000010 0000 1fff
> > > > 0000014
> > > >
> > > > -----
> > > > error
> > > > -----
> > > > andre@ubuntu:~/src/acpi/pmtools-20071116/acpidump$ hexdump
> > rsdp_error
> > > > 0000000 5352 2044 5450 2052 418a 494d 2020 0020
> > > > 0000010 0000 21ff
> > > > 0000014
> > > >
> > > > ---------
> > > > exception
> > > > ---------
> > > > andre@ubuntu:~/src/acpi/pmtools-20071116/acpidump$ hexdump
> > > > rsdp_exception
> > > > 0000000 5352 2044 5450 2052 417c 494d 2020 0020
> > > > 0000010 0000 2fff
> > > > 0000014
> > >
> > > Weird.
> > > The dmesg shows that the memory map gotten from e820 table is
> > changed.
> > > And the file attached shows that rsdp points to different rsdt
> > address.
> > > >
> > > > Now I see the ACPI Error under the 2.6.25.10 kernel sometimes too,
> > but
> > > > power off works well. So I also attach the two configs. Maybe the
> > > > different config is the reason why power off works under
> > 2.6.25.10.
> > > so you may get different e820 table when running 2.6.25.10 as well?
> > > could you please attach the dmesg output of a 2.6.25.10 kernel which
> > has
> > > the ACPI error?
> >
> > Attached. Yes, the e820 table differs, but power off still works.
>
> Hmm, there seems to be two bugs here.
> 1. invalid e820 tables, which seems like a BIOS bug, please try to
> upgrade your BIOS.
> 2. poweroff doesn't work.
> Hmm, please try boot option "acpi=off" in both 2.6.25 and 2.6.26.
> I guess power off works on 2.6.25 while it fails on 2.6.26, right?
Hello Rui,
I have found the power off problem. After bisecting the problem without
success I compared the configs from 2.6.25.10 and 2.6.26-rc*. I have
seen a difference in the APM section. In the 2.6.26-rc* config
CONFIG_APM_DO_ENABLE was not enabled. I dont know how this could happen. AFAIR
I used the working 2.6.25 config and made just a "make oldconfig". So I have
enabled CONFIG_APM_DO_ENABLE, build the kernel and now power off works
fine. Further the ACPI errors/exceptions do not appear with 2.6.26 (stable)
and the new config. Maybe this is why CONFIG_APM_DO_ENABLE is enabled. I dont
know the relation between this option and ACPI.
-----------------------
dmesg (extract)
-----------------------
Linux version 2.6.26-default (andre@ubuntu) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #13 Mon Jul 21 22:48:01 CEST 2008
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000002fff0000 - 000000002fff8000 (ACPI data)
BIOS-e820: 000000002fff8000 - 0000000030000000 (ACPI NVS)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffee0000 - 00000000fff00000 (reserved)
BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
[...]
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
[...]
The bios problem still exists so maybe I will do an upgrade.
> thanks,
> rui
Thanks,
Andre
>
> --
> To unsubscribe from this list: send the line "unsubscribe kernel-testers" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-07-22 8:01 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-09 8:38 ACPI Error under 2.6.26-rc* Andre Prendel
[not found] ` <20080709083829.GA5748-VuQAYsv1561O042OENdYwQ@public.gmane.org>
2008-07-10 20:55 ` Rafael J. Wysocki
[not found] ` <200807102255.23090.rjw-KKrjLPT3xs0@public.gmane.org>
2008-07-11 1:20 ` Zhang Rui
2008-07-11 1:28 ` Zhang Rui
2008-07-11 7:43 ` Andre Prendel
2008-07-14 8:09 ` Andre Prendel
2008-07-14 9:11 ` Zhang Rui
2008-07-15 7:41 ` Andre Prendel
[not found] ` <20080715074130.GA4724-VuQAYsv1561O042OENdYwQ@public.gmane.org>
2008-07-15 8:41 ` Zhang Rui
2008-07-15 10:06 ` Andre Prendel
2008-07-17 8:41 ` Andre Prendel
[not found] ` <20080717084102.GA4597-VuQAYsv1561O042OENdYwQ@public.gmane.org>
2008-07-22 2:22 ` Zhang Rui
2008-07-22 8:01 ` Andre Prendel [this message]
2008-07-22 8:18 ` Yinghai Lu
[not found] ` <20080722080112.GA4653-VuQAYsv1561O042OENdYwQ@public.gmane.org>
2008-07-22 8:18 ` Zhang Rui
[not found] ` <20080714080914.GA4965-VuQAYsv1561O042OENdYwQ@public.gmane.org>
2008-07-14 10:23 ` Zhao Yakui
2008-07-15 7:43 ` Andre Prendel
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=20080722080112.GA4653@linux.int.dgn.ag \
--to=andre_prendel@gmx.de \
--cc=akpm@linux-foundation.org \
--cc=andi@firstfloor.org \
--cc=kernel-testers@vger.kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
--cc=rui.zhang@intel.com \
--cc=yakui.zhao@intel.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).