Bug 192621

Summary: Module Level Code - [_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup failure, AE_NOT_FOUND
Product: ACPI Reporter: Adam Van Ymeren (adam)
Component: BIOSAssignee: Lv Zheng (lv.zheng)
Status: RESOLVED MOVED    
Severity: normal CC: lv.zheng, rui.zhang
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.9.3 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg output of kernel 4.9.3 booting with vendor bios
acpidump of machine
Patch used to fix ACPI tables so that they load
dmesg including suspend/resume and hibernate/resume with patch from comment #3 applied

Description Adam Van Ymeren 2017-01-15 18:16:41 UTC
Created attachment 251721 [details]
dmesg output of kernel 4.9.3 booting with vendor bios

The key error messages from dmesg are here:

[    0.000265] ACPI: Core revision 20160831
[    0.006710] ACPI Error: [_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup failure, AE_NOT_FOUND (20160831/dswload-210)
[    0.007016] ACPI Exception: AE_NOT_FOUND, During name lookup/catalog (20160831/psobject-227)
[    0.007615] ACPI Exception: AE_NOT_FOUND, [DSDT] table load failed (20160831/tbxfload-198)
[    0.007833] ACPI Error: [\_SB_.PCI0.SAT0] Namespace lookup failure, AE_NOT_FOUND (20160831/dswload-210)
[    0.008138] ACPI Exception: AE_NOT_FOUND, During name lookup/catalog (20160831/psobject-227)
[    0.008346] ACPI Exception: AE_NOT_FOUND, (SSDT:SataTabl) while loading table (20160831/tbxfload-228)
[    0.008788] ACPI Error: [\_SB_.PCI0.PEG0] Namespace lookup failure, AE_NOT_FOUND (20160831/dswload-210)
[    0.009090] ACPI Exception: AE_NOT_FOUND, During name lookup/catalog (20160831/psobject-227)
[    0.009310] ACPI Exception: AE_NOT_FOUND, (SSDT: SaSsdt ) while loading table (20160831/tbxfload-228)
[    0.009571] ACPI Error: [\_PR_.CPU0] Namespace lookup failure, AE_NOT_FOUND (20160831/dswload-210)
[    0.009816] ACPI Exception: AE_NOT_FOUND, During name lookup/catalog (20160831/psobject-227)
[    0.010087] ACPI Exception: AE_NOT_FOUND, (SSDT: CpuSsdt) while loading table (20160831/tbxfload-228)
[    0.011290] ACPI Error: 4 table load failures, 1 successful (20160831/tbxfload-246)

I have attached the complete dmesg output as dmesg_vendor_bios.txt

This laptop is a fairly new skylake machine:
-http://www.eurocom.com/ec/configure%282,355,0%29ec

I have asked the vendor if there are any BIOS updates but I haven't heard back yet.

I managed to get the ACPI to load by decompiling and hacking the DSDT and SSDT files.  But I have no idea what I'm doing :).
Comment 1 Adam Van Ymeren 2017-01-15 18:17:09 UTC
Created attachment 251731 [details]
acpidump of machine
Comment 2 Adam Van Ymeren 2017-01-15 18:24:57 UTC
Created attachment 251741 [details]
Patch used to fix ACPI tables so that they load

This is a diff of the decompiled DSDT/SSDT* files that can be applied to get them to compile and successfully load.
Comment 3 Lv Zheng 2017-01-16 02:29:40 UTC
This seems like a known issue.
And has already been fixed.
But the fix requires fixes for further triggered problems and thus is blocked:
https://bugs.acpica.org/show_bug.cgi?id=1333

You can try:
https://patchwork.kernel.org/patch/9347349/

Thanks
Lv
Comment 4 Adam Van Ymeren 2017-01-16 03:33:23 UTC
I applied that patch to kernel 4.9.3, and it worked wonders.  Now sleep and hibernate work properly as well, those did not work with my hacked up ACPI tables.

Only bug I noticed is that after hibernate my CPU fan appeared to be pegged at 100% RPMs for 5 minutes or so, the temperatures were not particularly high.  After a few minutes the fans went back to normal.  Could be unrelated.

Thanks for the help!

I have attached a dmesg from with that patch applied.
Comment 5 Adam Van Ymeren 2017-01-16 03:34:57 UTC
Created attachment 251801 [details]
dmesg including suspend/resume and hibernate/resume with patch from comment #3 applied
Comment 6 Lv Zheng 2017-01-16 05:25:04 UTC
If you looked at ACPICA bug 1333, this is an resolved issue.
But enabling it is not an easy way, other ASL compliant issues should be fixed along with it.

So let me link your bug to that page and close this one.

Thanks
Lv
Comment 7 Lv Zheng 2017-01-16 05:30:03 UTC
Linked to https://bugs.acpica.org/show_bug.cgi?id=963
Closing...
Comment 8 Adam Van Ymeren 2017-01-16 17:11:06 UTC
Great thanks!  And thanks for your hard work!
Comment 9 Lv Zheng 2017-01-18 03:41:01 UTC
Keep it not closed so that we can have our eyes on the kernel bugzilla before the ACPICA fixes are upstreamed...
Comment 10 Lv Zheng 2017-01-18 03:44:18 UTC
Hi, Adam

Please also help to upload acpidump and dmidecode output of your platform to https://bugs.acpica.org/show_bug.cgi?id=963 to have a track there.
Comment 11 Adam Van Ymeren 2017-02-11 03:52:41 UTC
Hey Lv,

Sorry I didn't see you comment until now, must have missed the email or something.

I will upload my acpidump and dmidecode to the bug you linked momentarily.

Thanks