ACPI vs. hibernate on MacBook5,1
Recently, since I upgraded to -rc1, I've been seeing this at hibernate:
[13875.384603] ACPI: Preparing to enter system sleep state S4 [13875.385232] ACPI Error (hwvalid-0186): Denied AML access to port 0x0000000000000080/2 (DMA1 0x0081-0x0083) [20090320] [13875.385745] ACPI Exception (evregion-0422): AE_AML_ILLEGAL_ADDRESS, Returned by Handler for [SystemIO] [20090320] [13875.386244] ACPI Error (psparse-0537): Method parse/execution failed [\P8XH] (Node ffff88007e44ef70), AE_AML_ILLEGAL_ADDRESS [13875.386896] ACPI Error (psparse-0537): Method parse/execution failed [\_PTS] (Node ffff88007e44edd0), AE_AML_ILLEGAL_ADDRESS [13875.387584] PM: Saving platform NVS memory
[13875.960748] ACPI: Waking up from system sleep state S4 [13875.969861] ACPI Error (hwvalid-0186): Denied AML access to port 0x0000000000000080/2 (DMA1 0x0081-0x0083) [20090320] [13875.979217] ACPI Exception (evregion-0422): AE_AML_ILLEGAL_ADDRESS, Returned by Handler for [SystemIO] [20090320] [13875.988885] ACPI Error (psparse-0537): Method parse/execution failed [\P8XH] (Node ffff88007e44ef70), AE_AML_ILLEGAL_ADDRESS [13875.998930] ACPI Error (psparse-0537): Method parse/execution failed [\_WAK] (Node ffff88007e44ee38), AE_AML_ILLEGAL_ADDRESS [13876.008648] ACPI Exception (hwsleep-0589): AE_AML_ILLEGAL_ADDRESS, During Method _WAK [20090320]
Sometimes it also delays hibernate and/or resume a long time. Or maybe that's unrelated:
[55143.680741] ACPI: Waking up from system sleep state S4 [55143.689834] ACPI Error (hwvalid-0186): Denied AML access to port 0x0000000000000080/2 (DMA1 0x0081-0x0083) [20090320] [55143.699183] ACPI Exception (evregion-0422): AE_AML_ILLEGAL_ADDRESS, Returned by Handler for [SystemIO] [20090320] [55143.708843] ACPI Error (psparse-0537): Method parse/execution failed [\P8XH] (Node ffff88007e44ef70), AE_AML_ILLEGAL_ADDRESS [55143.718881] ACPI Error (psparse-0537): Method parse/execution failed [\_WAK] (Node ffff88007e44ee38), AE_AML_ILLEGAL_ADDRESS [55143.728585] ACPI Exception (hwsleep-0589): AE_AML_ILLEGAL_ADDRESS, During Method _WAK [20090320] [55143.738613] HDA Intel 0000:00:08.0: restoring config space at offset 0x1 (was 0xb00006, writing 0xb00002) [55143.748157] forcedeth 0000:00:0a.0: restoring config space at offset 0x1 (was 0xb00003, writing 0xb00007) [55143.757701] ahci 0000:00:0b.0: restoring config space at offset 0x1 (was 0xb00403, writing 0xb00407) [55164.200732] pci 0000:00:03.2: PME# disabled
(look at the timing)
johannes
Quoted 8 lines · Johannes Berg
Recently, since I upgraded to -rc1, I've been seeing this at hibernate:
[13875.384603] ACPI: Preparing to enter system sleep state S4 [13875.385232] ACPI Error (hwvalid-0186): Denied AML access to port 0x0000000000000080/2 (DMA1 0x0081-0x0083) [20090320] [13875.385745] ACPI Exception (evregion-0422): AE_AML_ILLEGAL_ADDRESS, Returned by Handler for [SystemIO] [20090320] [13875.386244] ACPI Error (psparse-0537): Method parse/execution failed [\P8XH] (Node ffff88007e44ef70), AE_AML_ILLEGAL_ADDRESS [13875.386896] ACPI Error (psparse-0537): Method parse/execution failed [\_PTS] (Node ffff88007e44edd0), AE_AML_ILLEGAL_ADDRESS [13875.387584] PM: Saving platform NVS memory
there are patches for this here:
http://bugzilla.kernel.org/show_bug.cgi?id=13036
This should be the final one:
http://bugzilla.kernel.org/attachment.cgi?id=20913
Does it help?
Signature · 2 lines
mattia :wq!
Quoted 10 lines · Mattia Dongili
Quoted 8 lines · Johannes Berg
Recently, since I upgraded to -rc1, I've been seeing this at hibernate:
[13875.384603] ACPI: Preparing to enter system sleep state S4 [13875.385232] ACPI Error (hwvalid-0186): Denied AML access to port 0x0000000000000080/2 (DMA1 0x0081-0x0083) [20090320] [13875.385745] ACPI Exception (evregion-0422): AE_AML_ILLEGAL_ADDRESS, Returned by Handler for [SystemIO] [20090320] [13875.386244] ACPI Error (psparse-0537): Method parse/execution failed [\P8XH] (Node ffff88007e44ef70), AE_AML_ILLEGAL_ADDRESS [13875.386896] ACPI Error (psparse-0537): Method parse/execution failed [\_PTS] (Node ffff88007e44edd0), AE_AML_ILLEGAL_ADDRESS [13875.387584] PM: Saving platform NVS memory
Quoted 5 lines
there are patches for this here:
http://bugzilla.kernel.org/show_bug.cgi?id=13036
This should be the final one:
http://bugzilla.kernel.org/attachment.cgi?id=20913
Does it help?
Thanks, I'll give it a try later, but it seems like it would help to get rid of the warnings, and the random delays I'm seeing are probably something else.
johannes
Len Brown
reviewerQuoted 17 lines · Johannes Berg
Quoted 10 lines · Mattia Dongili
Quoted 8 lines · Johannes Berg
Recently, since I upgraded to -rc1, I've been seeing this at hibernate:
[13875.384603] ACPI: Preparing to enter system sleep state S4 [13875.385232] ACPI Error (hwvalid-0186): Denied AML access to port 0x0000000000000080/2 (DMA1 0x0081-0x0083) [20090320] [13875.385745] ACPI Exception (evregion-0422): AE_AML_ILLEGAL_ADDRESS, Returned by Handler for [SystemIO] [20090320] [13875.386244] ACPI Error (psparse-0537): Method parse/execution failed [\P8XH] (Node ffff88007e44ef70), AE_AML_ILLEGAL_ADDRESS [13875.386896] ACPI Error (psparse-0537): Method parse/execution failed [\_PTS] (Node ffff88007e44edd0), AE_AML_ILLEGAL_ADDRESS [13875.387584] PM: Saving platform NVS memoryQuoted 5 lines
there are patches for this here:
http://bugzilla.kernel.org/show_bug.cgi?id=13036
This should be the final one:
http://bugzilla.kernel.org/attachment.cgi?id=20913
Does it help?
Quoted 3 lines
Thanks, I'll give it a try later, but it seems like it would help to get rid of the warnings, and the random delays I'm seeing are probably something else.
Agreed.
The AML is doing a 2-byte write to port 80. Linux complains b/c we told it that port 81 is protected, and we throw away the write.
However, port 80 is just the debug port, so I think that this blocking and this warning will have no effect on the function of your system.
BTW.
this message should be gone in 2.6.30-rc2, as we deleted the block for port 81 until we could figure out the path that we took in the bugzilla above.
commit fdbdc7fc79c02ae4ede869d514179a2c65633d28
Author: Len Brown <[email protected]> Date: Tue Apr 7 17:33:58 2009 -0400
ACPICA: delete check for AML access to port 0x81-83
thanks,
Len Brown, Intel Open Source Technology Center