Bug 199413 - ACPI Error: No pointer back to namespace node in package 00000000fd2a44cd (20180313/dsargs-303)
Summary: ACPI Error: No pointer back to namespace node in package 00000000fd2a44cd (20...
Status: RESOLVED CODE_FIX
Alias: None
Product: ACPI
Classification: Unclassified
Component: ACPICA-Core (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Erik Kaneda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-16 11:41 UTC by Paul Menzel
Modified: 2019-07-06 12:34 UTC (History)
4 users (show)

See Also:
Kernel Version: 4.17-rc1
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
Linux 4.17-rc1 messages (240.30 KB, text/plain)
2018-04-16 11:42 UTC, Paul Menzel
Details
Output of `acpidump` (673.66 KB, text/plain)
2018-04-16 11:43 UTC, Paul Menzel
Details
add package init for load operator (3.38 KB, application/mbox)
2018-05-03 17:47 UTC, Erik Kaneda
Details
resolve packages for load and tableload (5.20 KB, patch)
2018-05-09 19:36 UTC, Erik Kaneda
Details | Diff

Description Paul Menzel 2018-04-16 11:41:52 UTC
With Linux 4.17-rc1, the message below is new on the TUXEDO Book BU1406.

```
[    0.251627] calling  acpi_ac_init+0x0/0x83 @ 1
[    0.251922] ACPI Error: No pointer back to namespace node in package 00000000fd2a44cd (20180313/dsargs-303)
[    0.251937] 
               Initialized Local Variables for Method [ADJP]:
[    0.251938]   Local4: 000000003f70c344 <Obj>           Integer 0000000000000000
[    0.251942]   Local5: 0000000007ea22d7 <Obj>           Integer 0000000000000000
[    0.251944]   Local6: 00000000fd2a44cd <Obj>           Package 00000000fd2a44cd
[    0.251947]   Local7: 00000000c340c495 <Obj>           Integer 0000000000000001
[    0.251951] Initialized Arguments for Method [ADJP]:  (1 arguments defined for method invocation)
[    0.251951]   Arg0:   00000000fdbbac69 <Obj>           Integer 0000000000000000
[    0.251956] ACPI Error: Method parse/execution failed \_SB.AC.ADJP, AE_AML_INTERNAL (20180313/psparse-516)
[    0.251975] ACPI Error: Method parse/execution failed \_SB.AC._PSR, AE_AML_INTERNAL (20180313/psparse-516)
[    0.251982] ACPI Error: AE_AML_INTERNAL, Error reading AC Adapter state (20180313/ac-139)
[    0.251994] initcall acpi_ac_init+0x0/0x83 returned 0 after 356 usecs
```

Searching for the error, I only found a FreeBSD thread [1].

Please find all Linux messages, and the dumped ACPI tables attached.


[1] http://freebsd.1045724.x6.nabble.com/New-ACPI-Errors-td6238598.html
Comment 1 Paul Menzel 2018-04-16 11:42:27 UTC
Created attachment 275395 [details]
Linux 4.17-rc1 messages
Comment 2 Paul Menzel 2018-04-16 11:43:36 UTC
Created attachment 275397 [details]
Output of `acpidump`
Comment 3 Zhang Rui 2018-04-25 02:42:57 UTC
this smells like an AML issue to me.

            Method (ADJP, 1, Serialized)
            {
                ...
                Local6 = \_PR.CPU0._PSS ()
                Local2 = SizeOf (Local6)
                PSSN = (0x80000000 | Local2)
                ...
            }
_PSS returns a package, I don't know if we can use AML in this way or not.
and Local6 seems to be related with the error messages

 ACPI Error: No pointer back to namespace node in package 00000000fd2a44cd (20180313/dsargs-303)

[    0.251944]   Local6: 00000000fd2a44cd <Obj>           Package 00000000fd2a44cd



Erik, could you please confirm?
Comment 4 Erik Kaneda 2018-04-25 18:47:17 UTC
We've seen this before and we are trying to reproduce this right now...
Comment 5 Erik Kaneda 2018-04-25 21:24:25 UTC
Hi Paul,

Do you see this error when you boot 4.16?
Comment 6 Paul Menzel 2018-04-26 03:12:03 UTC
(In reply to Erik Schmauss from comment #5)

> Do you see this error when you boot 4.16?

No, I do not.
Comment 7 Robert Moore 2018-05-02 14:32:35 UTC
We are still trying to reproduce this problem.
Comment 8 Erik Kaneda 2018-05-03 17:47:52 UTC
Created attachment 275757 [details]
add package init for load operator

Here's a patch that should fix the issue. Please test it and let us know if it works for you.
Comment 9 Erik Kaneda 2018-05-09 19:36:04 UTC
Created attachment 275885 [details]
resolve packages for load and tableload
Comment 10 Erik Kaneda 2018-05-09 19:36:54 UTC
closing as this issue should be fixed by the patch in Comment #9. Feel free to reopen if this does not work.

Note You need to log in before you can comment on or make changes to this bug.