Subject: Re: Call for testing: ACPI standby/suspend support
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Quentin Garnier <cube@cubidou.net>
List: tech-kern
Date: 03/09/2006 18:20:18
--AVLaZh4WnxHuffer
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 09, 2006 at 12:13:24PM -0500, Steven M. Bellovin wrote:
> On 09 Mar 2006 11:41:16 -0500
> "Nathan J. Williams" <nathanw@wasabisystems.com> wrote:
>=20
> > "Jared D. McNeill" <jmcneill@invisible.ca> writes:
> >=20
> > > PLEASE TEST THIS CODE! It's very simple, boot a kernel with these
> > > patches single-user, and run 'apm -d -z'. Report your results. If you
> > > can, provide patches to hardware device driver powerhooks. This is
> > > probably the biggest task involved with getting ACPI suspend/resume
> > > working properly.
> >=20
> > On an IBM ThinkPad X20, I get these errors from the kernel with either
> > "apm -d -S" or "apm -d -z":
> >=20
> > ACPI Error (evregion-0415): No handler for Region [ECOR] (0xc0aa7dc0) [=
EmbeddedControl]
> > ACPI Error (exfldio-0381): Region EmbeddedControl(3) has no handler
> > ACPI Error (psparse-0626): Method parse/execution failed [\_PTS] (Node =
0xc0ab0680), AE_NOT_EXIST
> > acpi: failed preparing to sleep (AE_NOT_EXIST)
> >=20
> > Suggestions? Are there any ACPI dumps that would be useful?
>=20
> I saw similar messages at boot time with the older version of Jared's pat=
ch on
> a Thinkpad T42:
>=20
> acpi0 at mainbus0: Advanced Configuration and Power Interface
> acpi0: using Intel ACPI CA subsystem version 20060113
> acpi0: X/RSDT: OemId <IBM   ,TP-1R   ,00003130>, AslId < LTP,00000000>
> ACPI Error (evregion-0415): No handler for Region [ECOR] (0xc2d1af40) [Em=
beddedControl]
> ACPI Error (exfldio-0381): Region EmbeddedControl(3) has no handler
> ACPI Error (psparse-0626): Method parse/execution failed [\_SB_.PCI0.LPC_=
.EC__._INI] (Node 0xc2d1b280), AE_NOT_EXIST
> acpi0: SCI interrupting at int 9
> acpi0: fixed-feature power button present
> apmdev0 at acpi0: Power Management spec V1.2
> APM get power status: unknown error code
> ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
> ACPI Error (evregion-0415): No handler for Region [ECOR] (0xc2d1af40) [Em=
beddedControl]
> ACPI Error (exfldio-0381): Region EmbeddedControl(3) has no handler
> ACPI Error (dswexec-0570): [AE_NOT_CONFIGURED]: Could not resolve operand=
s, AE_NOT_EXIST
> ACPI Error (psparse-0626): Method parse/execution failed [\_SB_.PCI0.LPC_=
.EC__.BAT0._STA] (Node 0xc2d1d8e0), AE_NOT_EXIST
> ACPI Error (uteval-0255): Method execution failed [\_SB_.PCI0.LPC_.EC__.B=
AT0._STA] (Node 0xc2d1d8e0), AE_NOT_EXIST
> ACPI Error (evregion-0415): No handler for Region [ECOR] (0xc2d1af40) [Em=
beddedControl]
> ACPI Error (exfldio-0381): Region EmbeddedControl(3) has no handler
> ACPI Error (dswexec-0570): [AE_NOT_CONFIGURED]: Could not resolve operand=
s, AE_NOT_EXIST
> ACPI Error (psparse-0626): Method parse/execution failed [\_SB_.PCI0.LPC_=
.EC__.BAT1._STA] (Node 0xc2d1d760), AE_NOT_EXIST
> ACPI Error (uteval-0255): Method execution failed [\_SB_.PCI0.LPC_.EC__.B=
AT1._STA] (Node 0xc2d1d760), AE_NOT_EXIST

Do you have the acpiec(4) driver compiled in?

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--AVLaZh4WnxHuffer
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBRBBj0tgoQloHrPnoAQLD8QgApt+vHjzKYsMLG0uKX6wsVGPcmkFfMaYD
MJqqtiAqesNv7OhkxCybaw+oJN99lI4DgHIvGG4OhuQRhvdVi/8vi7XzdpayXqJD
0I3M8eFkKe2+zxb24v/Kks9LP4J8n5wbixC3os/zFnNK5A5PQk0bExCh1WL3k/cG
rP0OoHaGdoz43/N1yX5F+mJBtVhg5ZFptwxSfHxvBuOfg6MoByR7oN+mWB3ljvzr
/78R5n/WkyWEb8WVf+ANoQHmPVfed7IlFG96DwV6+GuQEx2vnXsdy5UCxQkIXMNz
xsN2q/hZ3D/ovbSA2EzzCxS5Ns9K2c3Jmrsmj50nsWASDqznKBDmpw==
=LBgJ
-----END PGP SIGNATURE-----

--AVLaZh4WnxHuffer--