Discussion:
[Bug 195159] New: ACPI Error : AE_AML_PACKAGE_LIMIT
b***@bugzilla.kernel.org
2017-03-30 16:33:52 UTC
Permalink
https://bugzilla.kernel.org/show_bug.cgi?id=195159

Bug ID: 195159
Summary: ACPI Error : AE_AML_PACKAGE_LIMIT
Product: ACPI
Version: 2.5
Kernel Version: >4.9.6
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Power-Video
Assignee: acpi_power-***@kernel-bugs.osdl.org
Reporter: ***@numericable.fr
Regression: No

Hello,

since the kernel 4.9.6 I have this error when I booting :

[ 16.855486] ACPI Exception: AE_AML_PACKAGE_LIMIT, Index (0x000000003) is
beyond end of object (length 0x0) (20160930/exoparg2-427)
[ 16.855566] ACPI Error: Method parse/execution failed [\_SB.PCI0.GFX0._DSM]
(Node ffff8801c84b9848), AE_AML_PACKAGE_LIMIT (20160930/psparse-543)
[ 16.855636] ACPI: \_SB_.PCI0.GFX0: failed to evaluate _DSM (0x300b)
[ 16.855641] ACPI Warning: \_SB.PCI0.GFX0._DSM: Argument #4 type mismatch -
Found [Buffer], ACPI requires [Package] (20160930/nsarguments-95)
[ 16.855714] ACPI Warning: \_SB.PCI0.GFX0._DSM: Argument #4 type mismatch -
Found [Buffer], ACPI requires [Package] (20160930/nsarguments-95)
[ 16.855791] i915 0000:00:02.0: optimus capabilities: enabled, status dynamic
power,
[ 16.855820] ACPI Exception: AE_AML_PACKAGE_LIMIT, Index (0x000000003) is
beyond end of object (length 0x0) (20160930/exoparg2-427)
[ 16.855879] ACPI Error: Method parse/execution failed [\_SB.PCI0.GFX0._DSM]
(Node ffff8801c84b9848), AE_AML_PACKAGE_LIMIT (20160930/psparse-543)
[ 16.855942] ACPI Error: Method parse/execution failed
[\_SB.PCI0.PEG0.GFX0._DSM] (Node ffff8801c84ce168), AE_AML_PACKAGE_LIMIT
(20160930/psparse-543)
[ 16.856014] ACPI: \_SB_.PCI0.PEG0.GFX0: failed to evaluate _DSM (0x300b)
[ 16.856017] ACPI Warning: \_SB.PCI0.PEG0.GFX0._DSM: Argument #4 type
mismatch - Found [Buffer], ACPI requires [Package] (20160930/nsarguments-95)
[ 16.856088] ACPI Warning: \_SB.PCI0.PEG0.GFX0._DSM: Argument #4 type
mismatch - Found [Buffer], ACPI requires [Package] (20160930/nsarguments-95)

and my principal screen is black, but the second work and when I enter my
password with lightdm my screen is power on. If i have one screen it works.
For your information I have Asus K73SD with Optimus and nouveau driver and I'm
on Archlinux.
--
You are receiving this mail because:
You are watching the assignee of the bug.
b***@bugzilla.kernel.org
2017-03-30 16:36:14 UTC
Permalink
https://bugzilla.kernel.org/show_bug.cgi?id=195159

***@numericable.fr changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@numericable.
| |fr
Hardware|All |x86-64
--
You are receiving this mail because:
You are watching the assignee of the bug.
b***@bugzilla.kernel.org
2017-03-30 18:47:03 UTC
Permalink
https://bugzilla.kernel.org/show_bug.cgi?id=195159

tagorereddy (***@gmail.com) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #1 from tagorereddy (***@gmail.com) ---
Please attach acpidump from the affected machine.
--
You are receiving this mail because:
You are watching the assignee of the bug.
b***@bugzilla.kernel.org
2017-03-31 16:10:24 UTC
Permalink
https://bugzilla.kernel.org/show_bug.cgi?id=195159

--- Comment #2 from ***@numericable.fr ---
Created attachment 255665
--> https://bugzilla.kernel.org/attachment.cgi?id=255665&action=edit
Acpidump

This is the acpidump.
--
You are receiving this mail because:
You are watching the assignee of the bug.
b***@bugzilla.kernel.org
2017-03-31 19:38:19 UTC
Permalink
https://bugzilla.kernel.org/show_bug.cgi?id=195159

Robert Moore (***@intel.com) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@intel.com

--- Comment #3 from Robert Moore (***@intel.com) ---
First of all, it looks like the caller of _DSM is incorrectly passing in a
buffer object instead of the required package object.

We can run some small test cases to get more info.
--
You are receiving this mail because:
You are watching the assignee of the bug.
b***@bugzilla.kernel.org
2017-03-31 22:08:43 UTC
Permalink
https://bugzilla.kernel.org/show_bug.cgi?id=195159

--- Comment #4 from tagorereddy (***@gmail.com) ---
(In reply to lolo.branstett from comment #2)
Created attachment 255665 [details]
Acpidump
This is the acpidump.
Also attach full DMESG
--
You are receiving this mail because:
You are watching the assignee of the bug.
b***@bugzilla.kernel.org
2017-03-31 23:10:46 UTC
Permalink
https://bugzilla.kernel.org/show_bug.cgi?id=195159

--- Comment #5 from tagorereddy (***@gmail.com) ---
This issue is harmless in most cases. This occurs when GPU driver pass buffer
as 4th Argument to _DSM method instead of package. NVIDIA drivers are known to
do this (on both Linux and MS Windows). Even though its violating ACPI
specifications, its know to happen more often in practice. I don't think Linux
will fix this in ACPIA, given its not a bug technically.

If you attach full DMESG, we can see if this is having any harmful effect.

Thanks,
Tagore
--
You are receiving this mail because:
You are watching the assignee of the bug.
b***@bugzilla.kernel.org
2017-03-31 23:25:46 UTC
Permalink
https://bugzilla.kernel.org/show_bug.cgi?id=195159

--- Comment #6 from tagorereddy (***@gmail.com) ---
This issue has already been referenced on acpica.
https://bugs.acpica.org/show_bug.cgi?id=1333

It appears to be work in progress.
--
You are receiving this mail because:
You are watching the assignee of the bug.
b***@bugzilla.kernel.org
2017-04-01 10:18:59 UTC
Permalink
https://bugzilla.kernel.org/show_bug.cgi?id=195159

--- Comment #7 from ***@numericable.fr ---
Created attachment 255679
--> https://bugzilla.kernel.org/attachment.cgi?id=255679&action=edit
dmesg

This is the full dmesg.
--
You are receiving this mail because:
You are watching the assignee of the bug.
b***@bugzilla.kernel.org
2017-04-01 10:21:23 UTC
Permalink
https://bugzilla.kernel.org/show_bug.cgi?id=195159

--- Comment #8 from ***@numericable.fr ---
(In reply to tagorereddy from comment #5)
Post by b***@bugzilla.kernel.org
This issue is harmless in most cases. This occurs when GPU driver pass
buffer as 4th Argument to _DSM method instead of package. NVIDIA drivers are
known to do this (on both Linux and MS Windows). Even though its violating
ACPI specifications, its know to happen more often in practice. I don't
think Linux will fix this in ACPIA, given its not a bug technically.
If you attach full DMESG, we can see if this is having any harmful effect.
Thanks,
Tagore
Okay, but I don't use the NVIDIA drivers. I use the nouveau driver
(https://wiki.archlinux.org/index.php/Nouveau).
--
You are receiving this mail because:
You are watching the assignee of the bug.
b***@bugzilla.kernel.org
2017-04-03 23:15:56 UTC
Permalink
https://bugzilla.kernel.org/show_bug.cgi?id=195159

Len Brown (***@kernel.org) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@kernel.org
Component|Power-Video |Video(DRI - non Intel)
Hardware|x86-64 |Intel
Assignee|acpi_power-***@kernel-bug |drivers_video-***@kernel-bu
|s.osdl.org |gs.osdl.org
Product|ACPI |Drivers
Summary|ACPI Error : |nouveau incorrect ACPI
|AE_AML_PACKAGE_LIMIT |usgage results in ACPI
| |Error :
| |AE_AML_PACKAGE_LIMIT
--
You are receiving this mail because:
You are watching the assignee of the bug.
Loading...