Kernel Bug Tracker – Bug 5361
Failed to interpret AML code alternated with Method declarations
Last modified: 2006-09-28 13:23:16 UTC
Most recent kernel where this bug did not occur:
The Linux kernel ACPI interpreter fails the following
AML test when it is compiled into a simulator. So if an
OEM BIOS includes this code, Linux would fail.
Steps to reproduce:
Run interpreter with the .asl demo code attached below.
Created attachment 6218 [details]
ASL code to reproduce bug.
The demo Method contains ASL code alternated with the
Method declarations (ACPI doesn't refuse such code).
Exception unexpectedly happens after execution of some
usual ASL code preceded the new Method declarations.
Exception to happen depends somehow on the execution of
another Method during the mentioned usual ASL code flow.
INTERNAL BUG NUMBER
Created attachment 7968 [details]
The update was tested by the ASLTS test suite runs
(all the test cases) on the following systems:
- CYGWIN_NT-5.1 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 unknown unknown Cygwin
- Linux 2.6.5-7.191-smp #1 SMP Tue Jun 28 14:58:56 UTC 2005 i686 i686 i386
for the following (all) modes supported by the ASLTS test suite:
- 32-bit norm mode
- 64-bit norm mode
- 32-bit slack mode
- 64-bit slack mode
The tests were run (on the systems described above) before update,
then the tests were run on those systems after update. Then results
of two runs were compared. All is Ok (the relevant error fixed, no
Fix integrated into ACPICA version 20060526
ACPICA 20060608 shipped in Linux 2.6.17-git9, closed.