Bug 196989 - BIOS hygene - ACPI Error: [PPMS] Namespace lookup failure, AE_ALREADY_EXISTS - GTX-1060
Summary: BIOS hygene - ACPI Error: [PPMS] Namespace lookup failure, AE_ALREADY_EXISTS ...
Status: RESOLVED DOCUMENTED
Alias: None
Product: ACPI
Classification: Unclassified
Component: BIOS (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Lv Zheng
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-19 03:36 UTC by Fede
Modified: 2017-11-03 07:09 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.13.1
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmidecode (19.67 KB, text/plain)
2017-09-19 03:37 UTC, Fede
Details
journal (217.94 KB, text/plain)
2017-09-19 04:14 UTC, Fede
Details
acpidump (989.84 KB, text/plain)
2017-09-20 06:27 UTC, Fede
Details
acpidump (989.62 KB, text/plain)
2017-09-20 06:32 UTC, Fede
Details

Description Fede 2017-09-19 03:36:17 UTC
Hello!

When starting up, the following ACPI errors are coughed up:

ACPI Error: [PPMS] Namespace lookup failure, AE_ALREADY_EXISTS (20170531/dswload-378)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20170531/psobject-252)
ACPI Exception: AE_ALREADY_EXISTS, (SSDT:  HdaDsp) while loading table (20170531/tbxfload-228)
ACPI Error: 1 table load failures, 14 successful (20170531/tbxfload-246)

Not sure if this is related to the above but the laptop, while it can play audio just fine over the speakers, can't play over HDMI. With NVIDIA discrete cards normally you'd see one Intel HDA device and one NVIDIA HDA device. In this situation (mine is a GTX-1060) I only see one Intel HDA, no NVIDIA HDA, no HDMI either.

If you need more info than the one attached, please let me know and I'll get it for you.
Comment 1 Fede 2017-09-19 03:37:15 UTC
Created attachment 258485 [details]
dmidecode
Comment 2 Fede 2017-09-19 04:14:04 UTC
Created attachment 258487 [details]
journal
Comment 3 Fede 2017-09-19 04:16:34 UTC
Other info which might be of use:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC255 Analog [ALC255 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
################
lspci | grep -i audio
00:1f.3 Audio device: Intel Corporation Device a171 (rev 31)
################
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
HDA Intel PCH, ALC255 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC255 Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC255 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC255 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC255 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC255 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC255 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC255 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
################
Comment 4 Fede 2017-09-20 06:27:16 UTC
Created attachment 258513 [details]
acpidump
Comment 5 Fede 2017-09-20 06:32:38 UTC
Created attachment 258515 [details]
acpidump
Comment 6 Lv Zheng 2017-10-19 05:09:11 UTC
There are redundant definitions in the dumped table:

In DSDT:

    Scope (_SB.PCI0.HDAS)
    {
        Method (PPMS, 1, Serialized)
        {


In SSDT4:
DefinitionBlock ("", "SSDT", 2, "PTEC  ", "HdaDsp", 0x00000000)

    Scope (\_SB.PCI0.HDAS)
    {
        Method (PPMS, 1, Serialized)

The error:
Sep 19 06:45:04 laptop1 kernel: ACPI Error: [PPMS] Namespace lookup failure, AE_ALREADY_EXISTS (20170531/dswload-378)
Sep 19 06:45:04 laptop1 kernel: ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20170531/psobject-252)
Sep 19 06:45:04 laptop1 kernel: ACPI Exception: AE_ALREADY_EXISTS, (SSDT:  HdaDsp) while loading table (20170531/tbxfload-228)
Sep 19 06:45:04 laptop1 kernel: ACPI Error: 1 table load failures, 14 successful (20170531/tbxfload-246)

Seems to be occurring during table loading.
In order to confirm, please upload "acpidump -c off" output here.

If this occurred during table loading, this should be a BIOS issue and wouldn't have any side effect as failure of loading this table could result in the deletion of the entire SSDT4 definition blocks.

Thanks
Lv
Comment 7 Fede 2017-10-19 22:49:16 UTC
Running the command returns an error. Is this expected?

# acpidump -c off
Cannot map /dev/mem
Could not get ACPI tables, AE_ACCESS
Comment 8 Lv Zheng 2017-10-20 00:10:24 UTC
Yes.

The feature is currently based on CONFIG_DEVMEM and it becomes optional now to support /dev/mem access filtering (CONFIG_STRICT_DEVMEM and CONFIG_IO_STRICT_DEVMEM).
You need to enable the options and rebuild the kernel in order to have it working.
-> Device Drivers
  -> Character devices
    -> /dev/mem virtual device support
And probably also CONFIG_STRICT_DEVMEM.
Sorry for the inconvenience.

Thanks in advance.
Comment 9 Fede 2017-10-20 05:46:36 UTC
Would this be alright then?

CONFIG_DEVMEM=y
CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y
CONFIG_STRICT_DEVMEM=y
CONFIG_IO_STRICT_DEVMEM=y
Comment 10 Lv Zheng 2017-11-03 07:09:48 UTC
Let me mark this as documented BIOS issue.

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