Bug 189371 - Power button event not generated in Clevo n240ju
Summary: Power button event not generated in Clevo n240ju
Status: NEEDINFO
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: x86-64 (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: platform_x86_64@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-30 07:45 UTC by José Pekkarinen
Modified: 2016-12-19 05:53 UTC (History)
2 users (show)

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


Attachments
acpidump (603.50 KB, text/plain)
2016-12-09 04:47 UTC, José Pekkarinen
Details
dmesg (98.54 KB, text/plain)
2016-12-16 17:33 UTC, José Pekkarinen
Details
dmesg after several events with gpio disabled. (76.23 KB, text/plain)
2016-12-19 05:24 UTC, José Pekkarinen
Details

Description José Pekkarinen 2016-11-30 07:45:44 UTC

    
Comment 1 José Pekkarinen 2016-11-30 07:50:27 UTC
Hi,

In this laptop, I try to setup the power button events. I setup acpid with the
default config in Gentoo distribution, and I added the flag -l to acpid to log the events. The result is that acpid reports in /var/log/messages the following:

Nov 30 08:19:43 ant acpid[10301]: starting up with netlink and the input layer
Nov 30 08:19:43 ant acpid[10301]: 4 rules loaded
Nov 30 08:19:43 ant acpid[10301]: waiting for events: event logging is on

If I instead shutdown acpid and try kacpimon, and press the power button several times I get the following output:

Kernel ACPI Event Monitor...
open for /proc/acpi/event: No such file or directory (2)
  (ACPI proc filesystem may not be present)
/dev/input/event0 (AT Translated Set 2 keyboard) opened successfully
/dev/input/event1 (Power Button) opened successfully
/dev/input/event10 (HDA Intel PCH Front Headphone) opened successfully
/dev/input/event11 (HDA Intel PCH HDMI/DP,pcm=3) opened successfully
/dev/input/event12 (HDA Intel PCH HDMI/DP,pcm=7) opened successfully
/dev/input/event13 (HDA Intel PCH HDMI/DP,pcm=8) opened successfully
/dev/input/event2 (Sleep Button) opened successfully
/dev/input/event3 (Lid Switch) opened successfully
/dev/input/event4 (PC Speaker) opened successfully
/dev/input/event5 (Chicony USB 2.0 Camera) opened successfully
/dev/input/event6 (SynPS/2 Synaptics TouchPad) opened successfully
/dev/input/event7 (Video Bus) opened successfully
/dev/input/event8 (HDA Digital PCBeep) opened successfully
/dev/input/event9 (HDA Intel PCH Mic) opened successfully
Netlink ACPI Family ID: 23
Netlink ACPI Multicast Group ID: 2
netlink opened successfully
Press Escape to exit, or Ctrl-C if that doesn't work.
Input Layer:  Type: 4  Code: 4  Value: 28
Input Layer:  Type: 1  Code: 28  Value: 0
Input Layer:  Sync
Input Layer:  Type: 4  Code: 4  Value: 1
Escape key pressed
Input Layer:  Type: 1  Code: 1  Value: 1
Closing files...
^[Goodbye

Forcing netlink doesn't make any difference.

Thanks!

José.
Comment 2 José Pekkarinen 2016-11-30 08:31:08 UTC
I forgot to add that obviously the kernel module is in place:

lsmod| grep button
button                 16384  1 i915

Here it's the /etc/acpi/events/default:

event=.*                                                                                                                                                                                                                                                                       
action=/etc/acpi/default.sh %e

and the /etc/acpi/default.sh is this:

#!/bin/sh                                                                                                                                                                                                                                                                      
# /etc/acpi/default.sh                                                                                                                                                                                                                                                         
# Default acpi script that takes an entry for all actions                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                               
set $*                                                                                                                                                                                                                                                                         

group=${1%%/*}
action=${1#*/}
device=$2
id=$3
value=$4

log_unhandled() {
        logger "ACPI event unhandled: $*"
}

echo 'group: $group, action: $action, device: $device, id: $id, value: $value' >> /var/log/acpi.events.log

case "$group" in
        button)
                case "$action" in
                        power)
                                /etc/acpi/actions/powerbtn.sh
                                ;;

                        # if your laptop doesnt turn on/off the display via hardware
                        # switch and instead just generates an acpi event, you can force
                        # X to turn off the display via dpms.  note you will have to run
                        # 'xhost +local:0' so root can access the X DISPLAY.
                        #lid)
                        #       xset dpms force off
                        #       ;;

                        *)      log_unhandled $* ;;
                esac
                ;;

        ac_adapter)
                case "$value" in
                        # Add code here to handle when the system is unplugged
                        # (maybe change cpu scaling to powersave mode).  For
                        # multicore systems, make sure you set powersave mode
                        # for each core!
                        #*0)
                        #       cpufreq-set -g powersave
                        #       ;;

                        # Add code here to handle when the system is plugged in
                        # (maybe change cpu scaling to performance mode).  For
                        # multicore systems, make sure you set performance mode
                        # for each core!
                        #*1)
                        #       cpufreq-set -g performance
                        #       ;;

                        *)      log_unhandled $* ;;
                esac
                ;;

        *)      log_unhandled $* ;;
esac

The added echo at the beginning is my fault, and it doesn't shows anything in that file.

cat /var/log/acpi.events.log 
ant acpi # 

Thanks!
Comment 3 Zhang Rui 2016-12-08 02:32:52 UTC
please attach the acpidump output
please attach the output of "grep . /sys/firmware/acpi/interrupts/*" both before and after pressing the power button.
please make sure you have acpi_listen installed, and attach the output of acpi_listen after pressing the power button.
Comment 4 José Pekkarinen 2016-12-08 12:13:21 UTC
which acpi_listen
/usr/bin/acpi_listen

acpidump(this is odd):

acpidump                                                                                                                                                            
Cannot map /dev/mem                                                                                                                                                               
Could not get ACPI tables, AE_ACCESS

/sys/firmware/acpi/interrupts/ doesn't exist in my sysfs. Kernel is self compiled, might I be missing something in the config?

.config:

#
# Power management and ACPI options
#
CONFIG_ARCH_HIBERNATION_HEADER=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
# CONFIG_SUSPEND_SKIP_SYNC is not set
CONFIG_HIBERNATE_CALLBACKS=y
CONFIG_HIBERNATION=y
CONFIG_PM_STD_PARTITION=""
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
CONFIG_PM_AUTOSLEEP=y
CONFIG_PM_WAKELOCKS=y
CONFIG_PM_WAKELOCKS_LIMIT=100
CONFIG_PM_WAKELOCKS_GC=y
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_PM_CLK=y
CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y
CONFIG_ACPI=y
CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y
CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
CONFIG_ACPI_DEBUGGER=y
# CONFIG_ACPI_DEBUGGER_USER is not set
CONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS_POWER is not set
CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
CONFIG_ACPI_EC_DEBUGFS=m
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_CPU_FREQ_PSS=y
CONFIG_ACPI_PROCESSOR_CSTATE=y
CONFIG_ACPI_PROCESSOR_IDLE=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_PROCESSOR_AGGREGATOR=m
CONFIG_ACPI_THERMAL=m
CONFIG_ACPI_CUSTOM_DSDT_FILE=""
# CONFIG_ACPI_CUSTOM_DSDT is not set
CONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=y
CONFIG_ACPI_TABLE_UPGRADE=y
CONFIG_ACPI_DEBUG=y
CONFIG_ACPI_PCI_SLOT=y
CONFIG_X86_PM_TIMER=y
CONFIG_ACPI_CONTAINER=y
CONFIG_ACPI_HOTPLUG_IOAPIC=y
CONFIG_ACPI_SBS=m
CONFIG_ACPI_HED=y
# CONFIG_ACPI_CUSTOM_METHOD is not set
CONFIG_ACPI_BGRT=y
CONFIG_ACPI_REDUCED_HARDWARE_ONLY=y
CONFIG_ACPI_NFIT=m
# CONFIG_ACPI_NFIT_DEBUG is not set
CONFIG_HAVE_ACPI_APEI=y
CONFIG_HAVE_ACPI_APEI_NMI=y
CONFIG_ACPI_APEI=y
CONFIG_ACPI_APEI_GHES=y
CONFIG_ACPI_APEI_PCIEAER=y
CONFIG_ACPI_APEI_MEMORY_FAILURE=y
CONFIG_ACPI_APEI_EINJ=m
CONFIG_ACPI_APEI_ERST_DEBUG=m
CONFIG_DPTF_POWER=m
# CONFIG_ACPI_EXTLOG is not set
CONFIG_PMIC_OPREGION=y
CONFIG_ACPI_CONFIGFS=m
CONFIG_SFI=y
Comment 5 Zhang Rui 2016-12-08 12:39:31 UTC
(In reply to José Pekkarinen from comment #4)
> which acpi_listen
> /usr/bin/acpi_listen
> 
you need to run acpi_listen and then get the output of it after pressing the power button.

> acpidump(this is odd):
> 
> acpidump                                                                    
> 
> Cannot map /dev/mem                                                         
> 
> Could not get ACPI tables, AE_ACCESS
> 
need root privilege

> /sys/firmware/acpi/interrupts/ doesn't exist in my sysfs. Kernel is self
> compiled, might I be missing something in the config?
> 
weird, what kernel version are you using?
Comment 6 José Pekkarinen 2016-12-08 12:45:40 UTC
As the root user:

acpidump                                                                                                                                                                                                                                                           
Cannot map /dev/mem                                                                                                                                                                                                                                                            
Could not get ACPI tables, AE_ACCESS
ant linux # uname -r
4.8.10

this is vanilla-kernel:4.8.10 got through portage tree.
Comment 7 José Pekkarinen 2016-12-08 12:50:01 UTC
btw:

ls -l /dev/mem
crw-r----- 1 root kmem 1, 1 Dec  8  2016 /dev/mem
Comment 8 Zhang Rui 2016-12-08 12:52:12 UTC
please attach the full dmesg output after boot.
Comment 9 Zhang Rui 2016-12-08 12:53:37 UTC
(In reply to José Pekkarinen from comment #4)

> /sys/firmware/acpi/interrupts/ doesn't exist in my sysfs. Kernel is self
> compiled, might I be missing something in the config?
> 
do you have /sys/firmware/acpi/? if yes, what do you have in /sys/firmware/acpi/?
Comment 10 José Pekkarinen 2016-12-08 14:24:34 UTC
Yes, I do have it:

ls /sys/firmware/acpi/
bgrt  hotplug  pm_profile  tables

dmesg:

[    0.000000] Linux version 4.8.10 (root@ant) (gcc version 5.4.0 (Gentoo 5.4.0 p1.0, pie-0.6.5) ) #3 SMP Wed Nov 30 19:57:27 CET 2016
[    0.000000] Command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.8.10 root=/dev/mapper/ant-root ro dolvm crypt_root=/dev/sda3 real_root=/dev/ant/root resume=/dev/ant/swap iommu=pt intel_iommu=on default_hugepagesz=1GB hugepagesz=1GB hugepages=8 video=efifb:off,vesafb:off vfio-pci.ids=8086:1916 crashkernel=256M
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: xstate_offset[3]:  832, xstate_sizes[3]:   64
[    0.000000] x86/fpu: xstate_offset[4]:  896, xstate_sizes[4]:   64
[    0.000000] x86/fpu: Enabled xstate features 0x1f, context size is 960 bytes, using 'compacted' format.
[    0.000000] x86/fpu: Using 'eager' FPU context switches.
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000057fff] usable
[    0.000000] BIOS-e820: [mem 0x0000000000058000-0x0000000000058fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000059000-0x000000000009dfff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009e000-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000084852fff] usable
[    0.000000] BIOS-e820: [mem 0x0000000084853000-0x0000000084853fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x0000000084854000-0x000000008487dfff] reserved
[    0.000000] BIOS-e820: [mem 0x000000008487e000-0x0000000086e14fff] usable
[    0.000000] BIOS-e820: [mem 0x0000000086e15000-0x000000008775cfff] reserved
[    0.000000] BIOS-e820: [mem 0x000000008775d000-0x000000008784ffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000087850000-0x0000000087b98fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x0000000087b99000-0x0000000087fa4fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000087fa5000-0x0000000087ffefff] type 20
[    0.000000] BIOS-e820: [mem 0x0000000087fff000-0x0000000087ffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000088000000-0x00000000880fffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fe000000-0x00000000fe010fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x0000000473ffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] efi: EFI v2.40 by American Megatrends
[    0.000000] efi:  ESRT=0x87edbf98  ACPI=0x87b62000  ACPI 2.0=0x87b62000  SMBIOS=0x87eda000  SMBIOS 3.0=0x87ed9000 
[    0.000000] esrt: Reserving ESRT space from 0x0000000087edbf98 to 0x0000000087edbfd0.
[    0.000000] SMBIOS 3.0.0 present.
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: last_pfn = 0x474000 max_arch_pfn = 0x400000000
[    0.000000] MTRR default type: write-back
[    0.000000] MTRR fixed ranges enabled:
[    0.000000]   00000-9FFFF write-back
[    0.000000]   A0000-BFFFF uncachable
[    0.000000]   C0000-FFFFF write-protect
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 00C0000000 mask 7FC0000000 uncachable
[    0.000000]   1 base 00A0000000 mask 7FE0000000 uncachable
[    0.000000]   2 base 0090000000 mask 7FF0000000 uncachable
[    0.000000]   3 base 008C000000 mask 7FFC000000 uncachable
[    0.000000]   4 base 008A000000 mask 7FFE000000 uncachable
[    0.000000]   5 base 0089000000 mask 7FFF000000 uncachable
[    0.000000]   6 base 0088800000 mask 7FFF800000 uncachable
[    0.000000]   7 disabled
[    0.000000]   8 disabled
[    0.000000]   9 disabled
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WC  UC- WT  
[    0.000000] e820: last_pfn = 0x88000 max_arch_pfn = 0x400000000
[    0.000000] Base memory trampoline at [ffff880000098000] 98000 size 24576
[    0.000000] BRK [0x0201a000, 0x0201afff] PGTABLE
[    0.000000] BRK [0x0201b000, 0x0201bfff] PGTABLE
[    0.000000] BRK [0x0201c000, 0x0201cfff] PGTABLE
[    0.000000] BRK [0x0201d000, 0x0201dfff] PGTABLE
[    0.000000] BRK [0x0201e000, 0x0201efff] PGTABLE
[    0.000000] BRK [0x0201f000, 0x0201ffff] PGTABLE
[    0.000000] RAMDISK: [mem 0x36177000-0x370b2fff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x0000000087B62000 000024 (v02 ALASKA)
[    0.000000] ACPI: XSDT 0x0000000087B62098 0000AC (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: FACP 0x0000000087B7B530 00010C (v05 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: DSDT 0x0000000087B621D8 019355 (v02 ALASKA A M I    01072009 INTL 20120913)
[    0.000000] ACPI: FACS 0x0000000087B98F80 000040
[    0.000000] ACPI: APIC 0x0000000087B7B640 000084 (v03 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: FPDT 0x0000000087B7B6C8 000044 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: FIDT 0x0000000087B7B710 00009C (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: MCFG 0x0000000087B7B7B0 00003C (v01 ALASKA A M I    01072009 MSFT 00000097)
[    0.000000] ACPI: HPET 0x0000000087B7B7F0 000038 (v01 ALASKA A M I    01072009 AMI. 0005000B)
[    0.000000] ACPI: SSDT 0x0000000087B7B828 000315 (v01 SataRe SataTabl 00001000 INTL 20120913)
[    0.000000] ACPI: SSDT 0x0000000087B7BB40 001100 (v01 INTEL  PtidDevc 00001000 INTL 20120913)
[    0.000000] ACPI: DBGP 0x0000000087B7CC40 000034 (v01 INTEL           00000000 MSFT 0000005F)
[    0.000000] ACPI: DBG2 0x0000000087B7CC78 000054 (v00 INTEL           00000000 MSFT 0000005F)
[    0.000000] ACPI: SSDT 0x0000000087B7CCD0 003CDD (v02 SaSsdt SaSsdt   00003000 INTL 20120913)
[    0.000000] ACPI: UEFI 0x0000000087B809B0 000042 (v01                 00000000      00000000)
[    0.000000] ACPI: SSDT 0x0000000087B809F8 000E58 (v02 CpuRef CpuSsdt  00003000 INTL 20120913)
[    0.000000] ACPI: BGRT 0x0000000087B81850 000038 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: DMAR 0x0000000087B81888 0000A8 (v01 INTEL  SKL      00000001 INTL 00000001)
[    0.000000] ACPI: TPM2 0x0000000087B81930 000034 (v03        Tpm2Tabl 00000001 AMI  00000000)
[    0.000000] ACPI: ASF! 0x0000000087B81968 0000A5 (v32 INTEL   HCG     00000001 TFSM 000F4240)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] cma: Reserved 4096 MiB at 0x0000000373c00000
[    0.000000] Reserving 256MB of memory at 608MB for crashkernel (System RAM: 16302MB)
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x0000000473ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x0000000000057fff]
[    0.000000]   node   0: [mem 0x0000000000059000-0x000000000009dfff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x0000000084852fff]
[    0.000000]   node   0: [mem 0x000000008487e000-0x0000000086e14fff]
[    0.000000]   node   0: [mem 0x000000008775d000-0x000000008784ffff]
[    0.000000]   node   0: [mem 0x0000000087fff000-0x0000000087ffffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x0000000473ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x0000000473ffffff]
[    0.000000] On node 0 totalpages: 4173434
[    0.000000]   DMA zone: 64 pages used for memmap
[    0.000000]   DMA zone: 22 pages reserved
[    0.000000]   DMA zone: 3996 pages, LIFO batch:0
[    0.000000]   DMA32 zone: 8572 pages used for memmap
[    0.000000]   DMA32 zone: 548574 pages, LIFO batch:31
[    0.000000]   Normal zone: 56576 pages used for memmap
[    0.000000]   Normal zone: 3620864 pages, LIFO batch:31
[    0.000000] Reserving Intel graphics memory at 0x0000000089000000-0x000000008affffff
[    0.000000] ACPI: PM-Timer IO Port: 0x1808
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
[    0.000000] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-119
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a701 base: 0xfed00000
[    0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x00058000-0x00058fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000fffff]
[    0.000000] PM: Registered nosave memory: [mem 0x84853000-0x84853fff]
[    0.000000] PM: Registered nosave memory: [mem 0x84854000-0x8487dfff]
[    0.000000] PM: Registered nosave memory: [mem 0x86e15000-0x8775cfff]
[    0.000000] PM: Registered nosave memory: [mem 0x87850000-0x87b98fff]
[    0.000000] PM: Registered nosave memory: [mem 0x87b99000-0x87fa4fff]
[    0.000000] PM: Registered nosave memory: [mem 0x87fa5000-0x87ffefff]
[    0.000000] PM: Registered nosave memory: [mem 0x88000000-0x880fffff]
[    0.000000] PM: Registered nosave memory: [mem 0x88100000-0x88ffffff]
[    0.000000] PM: Registered nosave memory: [mem 0x89000000-0x8affffff]
[    0.000000] PM: Registered nosave memory: [mem 0x8b000000-0xdfffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xe0000000-0xefffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xf0000000-0xfdffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfe000000-0xfe010fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfe011000-0xfebfffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfec01000-0xfedfffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfee00000-0xfee00fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfee01000-0xfeffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xff000000-0xffffffff]
[    0.000000] e820: [mem 0x8b000000-0xdfffffff] available for PCI devices
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[    0.000000] percpu: Embedded 34 pages/cpu @ffff880473c00000 s102360 r8192 d28712 u524288
[    0.000000] pcpu-alloc: s102360 r8192 d28712 u524288 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 0 1 2 3 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 4108200
[    0.000000] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.8.10 root=/dev/mapper/ant-root ro dolvm crypt_root=/dev/sda3 real_root=/dev/ant/root resume=/dev/ant/swap iommu=pt intel_iommu=on default_hugepagesz=1GB hugepagesz=1GB hugepages=8 video=efifb:off,vesafb:off vfio-pci.ids=8086:1916 crashkernel=256M
[    0.000000] DMAR: IOMMU enabled
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes)
[    0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[    0.000000] Memory: 3425524K/16693736K available (5935K kernel code, 1192K rwdata, 2768K rodata, 1372K init, 1596K bss, 9073908K reserved, 4194304K cma-reserved)
[    0.000000] kmemleak: Kernel memory leak detector disabled
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[    0.000000] NR_IRQS:524544 nr_irqs:1024 16
[    0.000000] NO_HZ: Clearing 0 from nohz_full range for timekeeping
[    0.000000] NO_HZ: Full dynticks CPUs: 1-3.
[    0.000000]  Offload RCU callbacks from CPUs: 1-3.
[    0.000000] spurious 8259A interrupt: IRQ7.
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] kmemleak: Early log buffer exceeded (2351), please increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE
[    0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635855245 ns
[    0.000000] hpet clockevent registered
[    0.000000] tsc: Detected 2600.000 MHz processor
[    0.000016] Calibrating delay loop (skipped), value calculated using timer frequency.. 5184.00 BogoMIPS (lpj=2592000)
[    0.000021] pid_max: default: 32768 minimum: 301
[    0.000040] ACPI: Core revision 20160422
[    0.045305] ACPI: 5 ACPI AML tables successfully acquired and loaded

[    0.046052] Security Framework initialized
[    0.046055] SELinux:  Initializing.
[    0.046082] SELinux:  Starting in permissive mode
[    0.046108] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.046112] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.046536] CPU: Physical Processor ID: 0
[    0.046538] CPU: Processor Core ID: 0
[    0.046543] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.046545] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
[    0.046550] mce: CPU supports 8 MCE banks
[    0.046559] CPU0: Thermal monitoring enabled (TM1)
[    0.046573] process: using mwait in idle threads
[    0.046577] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8
[    0.046580] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
[    0.046879] Freeing SMP alternatives memory: 24K (ffffffff81c83000 - ffffffff81c89000)
[    0.048375] ftrace: allocating 23859 entries in 94 pages
[    0.056650] smpboot: APIC(0) Converting physical 0 to logical package 0
[    0.056653] smpboot: Max logical packages: 2
[    0.056660] DMAR: Host address width 39
[    0.056662] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[    0.056672] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 7e3ff0505e
[    0.056676] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[    0.056681] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da
[    0.056685] DMAR: RMRR base: 0x000000874ff000 end: 0x0000008751efff
[    0.056687] DMAR: RMRR base: 0x00000088800000 end: 0x0000008affffff
[    0.056691] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 1
[    0.056693] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[    0.059037] DMAR-IR: Enabled IRQ remapping in xapic mode
[    0.063149] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.073159] TSC deadline timer enabled
[    0.073164] smpboot: CPU0: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz (family: 0x6, model: 0x4e, stepping: 0x3)
[    0.073170] Performance Events: PEBS fmt3+, Skylake events, 32-deep LBR, full-width counters, Intel PMU driver.
[    0.073196] ... version:                4
[    0.073198] ... bit width:              48
[    0.073200] ... generic registers:      4
[    0.073202] ... value mask:             0000ffffffffffff
[    0.073204] ... max period:             0000ffffffffffff
[    0.073206] ... fixed-purpose events:   3
[    0.073208] ... event mask:             000000070000000f
[    0.073692] NMI watchdog: Disabling watchdog on nohz_full cores by default
[    0.074196] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
[    0.074481] x86: Booting SMP configuration:
[    0.074483] .... node  #0, CPUs:      #1 #2 #3
[    0.260418] x86: Booted up 1 node, 4 CPUs
[    0.260437] smpboot: Total of 4 processors activated (20746.90 BogoMIPS)
[    0.264143] devtmpfs: initialized
[    0.264680] PM: Registering ACPI NVS region [mem 0x84853000-0x84853fff] (4096 bytes)
[    0.264684] PM: Registering ACPI NVS region [mem 0x87850000-0x87b98fff] (3444736 bytes)
[    0.264925] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.273572] pinctrl core: initialized pinctrl subsystem
[    0.273902] NET: Registered protocol family 16
[    0.279724] cpuidle: using governor ladder
[    0.287780] cpuidle: using governor menu
[    0.287783] PCCT header not found.
[    0.287854] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.287858] ACPI: bus type PCI registered
[    0.288032] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[    0.288037] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
[    0.288050] PCI: Using configuration type 1 for base access
[    0.309275] HugeTLB registered 1 GB page size, pre-allocated 8 pages
[    0.309792] ACPI: Added _OSI(Module Device)
[    0.309795] ACPI: Added _OSI(Processor Device)
[    0.309797] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.309800] ACPI: Added _OSI(Processor Aggregator Device)
[    0.311099] ACPI: Executed 23 blocks of module-level executable AML code
[    0.323265] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.327135] ACPI: Dynamic OEM Table Load:
[    0.327142] ACPI: SSDT 0xFFFF880362105800 000660 (v02 PmRef  Cpu0Ist  00003000 INTL 20120913)
[    0.328112] ACPI: \_PR_.CPU0: _OSC native thermal LVT Acked
[    0.329745] ACPI: Dynamic OEM Table Load:
[    0.329750] ACPI: SSDT 0xFFFF8803614EE800 00037F (v02 PmRef  Cpu0Cst  00003001 INTL 20120913)
[    0.331352] ACPI: Dynamic OEM Table Load:
[    0.331357] ACPI: SSDT 0xFFFF880362105000 0005AA (v02 PmRef  ApIst    00003000 INTL 20120913)
[    0.332742] ACPI: Dynamic OEM Table Load:
[    0.332747] ACPI: SSDT 0xFFFF880361501800 000119 (v02 PmRef  ApCst    00003000 INTL 20120913)
[    0.335901] ACPI : EC: EC started
[    0.336675] ACPI: Interpreter enabled
[    0.336721] ACPI: (supports S0 S3 S4 S5)
[    0.336724] ACPI: Using IOAPIC for interrupt routing
[    0.336781] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.340144] ACPI: Power Resource [PG00] (on)
[    0.340227] ACPI Error: [PEGS] Namespace lookup failure, AE_NOT_FOUND (20160422/psargs-359)

[    0.340237] No Local Variables are initialized for method [_ON_]

[    0.340241] No Arguments are initialized for method [_ON_]

[    0.340245] ACPI Error: Method parse/execution failed [\_SB.PCI0.PEG0.PG00._ON] (Node ffff88036212e648), AE_NOT_FOUND (20160422/psparse-542)
[    0.340700] ACPI: Power Resource [PG01] (on)
[    0.340782] ACPI Error: [PEGS] Namespace lookup failure, AE_NOT_FOUND (20160422/psargs-359)

[    0.340791] No Local Variables are initialized for method [_ON_]

[    0.340795] No Arguments are initialized for method [_ON_]

[    0.340799] ACPI Error: Method parse/execution failed [\_SB.PCI0.PEG1.PG01._ON] (Node ffff88036212e948), AE_NOT_FOUND (20160422/psparse-542)
[    0.341254] ACPI: Power Resource [PG02] (on)
[    0.341334] ACPI Error: [PEGS] Namespace lookup failure, AE_NOT_FOUND (20160422/psargs-359)

[    0.341343] No Local Variables are initialized for method [_ON_]

[    0.341346] No Arguments are initialized for method [_ON_]

[    0.341350] ACPI Error: Method parse/execution failed [\_SB.PCI0.PEG2.PG02._ON] (Node ffff88036212ec08), AE_NOT_FOUND (20160422/psparse-542)
[    0.364698] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-fe])
[    0.364705] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[    0.364761] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[    0.365265] PCI host bridge to bus 0000:00
[    0.365268] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.365272] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.365274] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.365278] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000c3fff window]
[    0.365282] pci_bus 0000:00: root bus resource [mem 0x000c4000-0x000c7fff window]
[    0.365285] pci_bus 0000:00: root bus resource [mem 0x000c8000-0x000cbfff window]
[    0.365289] pci_bus 0000:00: root bus resource [mem 0x000cc000-0x000cffff window]
[    0.365292] pci_bus 0000:00: root bus resource [mem 0x000d0000-0x000d3fff window]
[    0.365296] pci_bus 0000:00: root bus resource [mem 0x000d4000-0x000d7fff window]
[    0.365300] pci_bus 0000:00: root bus resource [mem 0x000d8000-0x000dbfff window]
[    0.365303] pci_bus 0000:00: root bus resource [mem 0x000dc000-0x000dffff window]
[    0.365307] pci_bus 0000:00: root bus resource [mem 0x000e0000-0x000e3fff window]
[    0.365310] pci_bus 0000:00: root bus resource [mem 0x000e4000-0x000e7fff window]
[    0.365314] pci_bus 0000:00: root bus resource [mem 0x000e8000-0x000ebfff window]
[    0.365317] pci_bus 0000:00: root bus resource [mem 0x000ec000-0x000effff window]
[    0.365321] pci_bus 0000:00: root bus resource [mem 0x000f0000-0x000fffff window]
[    0.365324] pci_bus 0000:00: root bus resource [mem 0x8b000000-0xdfffffff window]
[    0.365328] pci_bus 0000:00: root bus resource [mem 0xfd000000-0xfe7fffff window]
[    0.365332] pci_bus 0000:00: root bus resource [bus 00-fe]
[    0.365342] pci 0000:00:00.0: [8086:1904] type 00 class 0x060000
[    0.365526] pci 0000:00:02.0: [8086:1916] type 00 class 0x030000
[    0.365532] pci 0000:00:02.0: reg 0x10: [mem 0xde000000-0xdeffffff 64bit]
[    0.365537] pci 0000:00:02.0: reg 0x18: [mem 0xc0000000-0xcfffffff 64bit pref]
[    0.365540] pci 0000:00:02.0: reg 0x20: [io  0xf000-0xf03f]
[    0.365808] pci 0000:00:14.0: [8086:9d2f] type 00 class 0x0c0330
[    0.365826] pci 0000:00:14.0: reg 0x10: [mem 0xdf310000-0xdf31ffff 64bit]
[    0.365891] pci 0000:00:14.0: PME# supported from D3hot D3cold
[    0.366041] pci 0000:00:14.0: System wakeup disabled by ACPI
[    0.366150] pci 0000:00:14.2: [8086:9d31] type 00 class 0x118000
[    0.366168] pci 0000:00:14.2: reg 0x10: [mem 0xdf32e000-0xdf32efff 64bit]
[    0.366406] pci 0000:00:16.0: [8086:9d3a] type 00 class 0x078000
[    0.366425] pci 0000:00:16.0: reg 0x10: [mem 0xdf32d000-0xdf32dfff 64bit]
[    0.366495] pci 0000:00:16.0: PME# supported from D3hot
[    0.366739] pci 0000:00:17.0: [8086:9d03] type 00 class 0x010601
[    0.366753] pci 0000:00:17.0: reg 0x10: [mem 0xdf328000-0xdf329fff]
[    0.366760] pci 0000:00:17.0: reg 0x14: [mem 0xdf32c000-0xdf32c0ff]
[    0.366767] pci 0000:00:17.0: reg 0x18: [io  0xf090-0xf097]
[    0.366774] pci 0000:00:17.0: reg 0x1c: [io  0xf080-0xf083]
[    0.366781] pci 0000:00:17.0: reg 0x20: [io  0xf060-0xf07f]
[    0.366788] pci 0000:00:17.0: reg 0x24: [mem 0xdf32b000-0xdf32b7ff]
[    0.366829] pci 0000:00:17.0: PME# supported from D3hot
[    0.367075] pci 0000:00:1c.0: [8086:9d10] type 01 class 0x060400
[    0.367137] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[    0.367324] pci 0000:00:1c.0: System wakeup disabled by ACPI
[    0.367424] pci 0000:00:1c.1: [8086:9d11] type 01 class 0x060400
[    0.367478] pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
[    0.367660] pci 0000:00:1c.1: System wakeup disabled by ACPI
[    0.367781] pci 0000:00:1d.0: [8086:9d18] type 01 class 0x060400
[    0.367836] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold
[    0.368019] pci 0000:00:1d.0: System wakeup disabled by ACPI
[    0.368150] pci 0000:00:1f.0: [8086:9d48] type 00 class 0x060100
[    0.368452] pci 0000:00:1f.2: [8086:9d21] type 00 class 0x058000
[    0.368460] pci 0000:00:1f.2: reg 0x10: [mem 0xdf324000-0xdf327fff]
[    0.368706] pci 0000:00:1f.3: [8086:9d70] type 00 class 0x040300
[    0.368726] pci 0000:00:1f.3: reg 0x10: [mem 0xdf320000-0xdf323fff 64bit]
[    0.368750] pci 0000:00:1f.3: reg 0x20: [mem 0xdf300000-0xdf30ffff 64bit]
[    0.368796] pci 0000:00:1f.3: PME# supported from D3hot D3cold
[    0.369011] pci 0000:00:1f.3: System wakeup disabled by ACPI
[    0.369123] pci 0000:00:1f.4: [8086:9d23] type 00 class 0x0c0500
[    0.369169] pci 0000:00:1f.4: reg 0x10: [mem 0xdf32a000-0xdf32a0ff 64bit]
[    0.369238] pci 0000:00:1f.4: reg 0x20: [io  0xf040-0xf05f]
[    0.369593] pci 0000:01:00.0: [10ec:5287] type 00 class 0xff0000
[    0.369607] pci 0000:01:00.0: reg 0x10: [mem 0xdf215000-0xdf215fff]
[    0.369649] pci 0000:01:00.0: reg 0x30: [mem 0xdf200000-0xdf20ffff pref]
[    0.369731] pci 0000:01:00.0: supports D1 D2
[    0.369732] pci 0000:01:00.0: PME# supported from D1 D2 D3hot D3cold
[    0.369800] pci 0000:01:00.0: System wakeup disabled by ACPI
[    0.369909] pci 0000:01:00.1: [10ec:8168] type 00 class 0x020000
[    0.369927] pci 0000:01:00.1: reg 0x10: [io  0xe000-0xe0ff]
[    0.369952] pci 0000:01:00.1: reg 0x18: [mem 0xdf214000-0xdf214fff 64bit]
[    0.369968] pci 0000:01:00.1: reg 0x20: [mem 0xdf210000-0xdf213fff 64bit]
[    0.370054] pci 0000:01:00.1: supports D1 D2
[    0.370055] pci 0000:01:00.1: PME# supported from D0 D1 D2 D3hot D3cold
[    0.373155] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.373159] pci 0000:00:1c.0:   bridge window [io  0xe000-0xefff]
[    0.373161] pci 0000:00:1c.0:   bridge window [mem 0xdf200000-0xdf2fffff]
[    0.373278] pci 0000:02:00.0: [8086:24f3] type 00 class 0x028000
[    0.373309] pci 0000:02:00.0: reg 0x10: [mem 0xdf100000-0xdf101fff 64bit]
[    0.373476] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    0.373560] pci 0000:02:00.0: System wakeup disabled by ACPI
[    0.376177] pci 0000:00:1c.1: PCI bridge to [bus 02]
[    0.376183] pci 0000:00:1c.1:   bridge window [mem 0xdf100000-0xdf1fffff]
[    0.376278] pci 0000:03:00.0: [8086:f1a5] type 00 class 0x010802
[    0.376301] pci 0000:03:00.0: reg 0x10: [mem 0xdf000000-0xdf003fff 64bit]
[    0.376473] pci 0000:03:00.0: System wakeup disabled by ACPI
[    0.379177] pci 0000:00:1d.0: PCI bridge to [bus 03]
[    0.379183] pci 0000:00:1d.0:   bridge window [mem 0xdf000000-0xdf0fffff]
[    0.379200] pci_bus 0000:00: on NUMA node 0
[    0.380852] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 10 *11 12 14 15)
[    0.380941] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 *10 11 12 14 15)
[    0.381028] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 10 *11 12 14 15)
[    0.381114] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 10 *11 12 14 15)
[    0.381204] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 10 *11 12 14 15)
[    0.381290] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 10 *11 12 14 15)
[    0.381376] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 10 *11 12 14 15)
[    0.381462] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 10 *11 12 14 15)
[    0.382300] ACPI : EC: EC stopped
[    0.382431] ACPI : EC: GPE = 0x50, I/O: command/status = 0x66, data = 0x62
[    0.382433] ACPI : EC: EC started
[    0.383351] vgaarb: setting as boot device: PCI:0000:00:02.0
[    0.383354] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[    0.383359] vgaarb: loaded
[    0.383361] vgaarb: bridge control possible 0000:00:02.0
[    0.383472] SCSI subsystem initialized
[    0.383535] libata version 3.00 loaded.
[    0.399096] PCI: Using ACPI for IRQ routing
[    0.427167] PCI: pci_cache_line_size set to 64 bytes
[    0.427237] e820: reserve RAM buffer [mem 0x00058000-0x0005ffff]
[    0.427238] e820: reserve RAM buffer [mem 0x0009e000-0x0009ffff]
[    0.427239] e820: reserve RAM buffer [mem 0x84853000-0x87ffffff]
[    0.427240] e820: reserve RAM buffer [mem 0x86e15000-0x87ffffff]
[    0.427241] e820: reserve RAM buffer [mem 0x87850000-0x87ffffff]
[    0.427483] NetLabel: Initializing
[    0.427486] NetLabel:  domain hash size = 128
[    0.427488] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.427520] NetLabel:  unlabeled traffic allowed by default
[    0.427647] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0
[    0.427652] hpet0: 8 comparators, 64-bit 24.000000 MHz counter
[    0.429689] clocksource: Switched to clocksource hpet
[    0.439788] VFS: Disk quotas dquot_6.6.0
[    0.439830] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.440022] pnp: PnP ACPI init
[    0.440333] system 00:00: [io  0x0680-0x069f] has been reserved
[    0.440337] system 00:00: [io  0xffff] has been reserved
[    0.440339] system 00:00: [io  0xffff] has been reserved
[    0.440342] system 00:00: [io  0xffff] has been reserved
[    0.440345] system 00:00: [io  0x1800-0x18fe] has been reserved
[    0.440348] system 00:00: [io  0x164e-0x164f] has been reserved
[    0.440350] system 00:00: [io  0x3322-0x3323] has been reserved
[    0.440354] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.440492] pnp 00:01: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.440567] system 00:02: [io  0x1854-0x1857] has been reserved
[    0.440571] system 00:02: Plug and Play ACPI device, IDs INT3f0d PNP0c02 (active)
[    0.440624] pnp 00:03: Plug and Play ACPI device, IDs PNP0303 (active)
[    0.440702] pnp 00:04: Plug and Play ACPI device, IDs PNP0f13 (active)
[    0.441129] system 00:05: [mem 0xfed10000-0xfed17fff] has been reserved
[    0.441132] system 00:05: [mem 0xfed18000-0xfed18fff] has been reserved
[    0.441135] system 00:05: [mem 0xfed19000-0xfed19fff] has been reserved
[    0.441138] system 00:05: [mem 0xe0000000-0xefffffff] has been reserved
[    0.441141] system 00:05: [mem 0xfed20000-0xfed3ffff] has been reserved
[    0.441144] system 00:05: [mem 0xfed90000-0xfed93fff] could not be reserved
[    0.441147] system 00:05: [mem 0xfed45000-0xfed8ffff] has been reserved
[    0.441150] system 00:05: [mem 0xff000000-0xffffffff] has been reserved
[    0.441153] system 00:05: [mem 0xfee00000-0xfeefffff] could not be reserved
[    0.441156] system 00:05: [mem 0xdffe0000-0xdfffffff] has been reserved
[    0.441159] system 00:05: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.441238] system 00:06: [mem 0xfd000000-0xfdabffff] has been reserved
[    0.441241] system 00:06: [mem 0xfdad0000-0xfdadffff] has been reserved
[    0.441244] system 00:06: [mem 0xfdb00000-0xfdffffff] has been reserved
[    0.441249] system 00:06: [mem 0xfe000000-0xfe01ffff] could not be reserved
[    0.441252] system 00:06: [mem 0xfe036000-0xfe03bfff] has been reserved
[    0.441255] system 00:06: [mem 0xfe03d000-0xfe3fffff] has been reserved
[    0.441258] system 00:06: [mem 0xfe410000-0xfe7fffff] has been reserved
[    0.441261] system 00:06: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.441624] system 00:07: [io  0xff00-0xfffe] has been reserved
[    0.441628] system 00:07: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.443131] system 00:08: [mem 0xfe029000-0xfe029fff] has been reserved
[    0.443134] system 00:08: [mem 0xfe028000-0xfe028fff] has been reserved
[    0.443137] system 00:08: [mem 0xfdaf0000-0xfdafffff] has been reserved
[    0.443140] system 00:08: [mem 0xfdae0000-0xfdaeffff] has been reserved
[    0.443143] system 00:08: [mem 0xfdac0000-0xfdacffff] has been reserved
[    0.443146] system 00:08: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.444019] pnp: PnP ACPI: found 9 devices
[    0.455781] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.455805] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.455809] pci 0000:00:1c.0:   bridge window [io  0xe000-0xefff]
[    0.455814] pci 0000:00:1c.0:   bridge window [mem 0xdf200000-0xdf2fffff]
[    0.455821] pci 0000:00:1c.1: PCI bridge to [bus 02]
[    0.455825] pci 0000:00:1c.1:   bridge window [mem 0xdf100000-0xdf1fffff]
[    0.455832] pci 0000:00:1d.0: PCI bridge to [bus 03]
[    0.455837] pci 0000:00:1d.0:   bridge window [mem 0xdf000000-0xdf0fffff]
[    0.455844] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.455845] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    0.455846] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.455847] pci_bus 0000:00: resource 7 [mem 0x000c0000-0x000c3fff window]
[    0.455847] pci_bus 0000:00: resource 8 [mem 0x000c4000-0x000c7fff window]
[    0.455848] pci_bus 0000:00: resource 9 [mem 0x000c8000-0x000cbfff window]
[    0.455849] pci_bus 0000:00: resource 10 [mem 0x000cc000-0x000cffff window]
[    0.455849] pci_bus 0000:00: resource 11 [mem 0x000d0000-0x000d3fff window]
[    0.455850] pci_bus 0000:00: resource 12 [mem 0x000d4000-0x000d7fff window]
[    0.455851] pci_bus 0000:00: resource 13 [mem 0x000d8000-0x000dbfff window]
[    0.455851] pci_bus 0000:00: resource 14 [mem 0x000dc000-0x000dffff window]
[    0.455852] pci_bus 0000:00: resource 15 [mem 0x000e0000-0x000e3fff window]
[    0.455853] pci_bus 0000:00: resource 16 [mem 0x000e4000-0x000e7fff window]
[    0.455853] pci_bus 0000:00: resource 17 [mem 0x000e8000-0x000ebfff window]
[    0.455854] pci_bus 0000:00: resource 18 [mem 0x000ec000-0x000effff window]
[    0.455855] pci_bus 0000:00: resource 19 [mem 0x000f0000-0x000fffff window]
[    0.455856] pci_bus 0000:00: resource 20 [mem 0x8b000000-0xdfffffff window]
[    0.455856] pci_bus 0000:00: resource 21 [mem 0xfd000000-0xfe7fffff window]
[    0.455857] pci_bus 0000:01: resource 0 [io  0xe000-0xefff]
[    0.455858] pci_bus 0000:01: resource 1 [mem 0xdf200000-0xdf2fffff]
[    0.455858] pci_bus 0000:02: resource 1 [mem 0xdf100000-0xdf1fffff]
[    0.455859] pci_bus 0000:03: resource 1 [mem 0xdf000000-0xdf0fffff]
[    0.456075] NET: Registered protocol family 2
[    0.456539] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.456657] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.456811] TCP: Hash tables configured (established 131072 bind 65536)
[    0.456925] UDP hash table entries: 8192 (order: 6, 262144 bytes)
[    0.456954] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes)
[    0.457117] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.502877] PCI: CLS 0 bytes, default 64
[    0.503049] Trying to unpack rootfs image as initramfs...
[    1.950064] Freeing initrd memory: 15600K (ffff880036177000 - ffff8800370b3000)
[    1.950194] DMAR: No ATSR found
[    1.953591] DMAR: dmar0: Using Queued invalidation
[    1.953600] DMAR: dmar1: Using Queued invalidation
[    1.953889] DMAR: Hardware identity mapping for device 0000:00:00.0
[    1.953895] DMAR: Hardware identity mapping for device 0000:00:02.0
[    1.953899] DMAR: Hardware identity mapping for device 0000:00:14.0
[    1.953902] DMAR: Hardware identity mapping for device 0000:00:14.2
[    1.953905] DMAR: Hardware identity mapping for device 0000:00:16.0
[    1.953907] DMAR: Hardware identity mapping for device 0000:00:17.0
[    1.953910] DMAR: Hardware identity mapping for device 0000:00:1c.0
[    1.953913] DMAR: Hardware identity mapping for device 0000:00:1c.1
[    1.953915] DMAR: Hardware identity mapping for device 0000:00:1d.0
[    1.953918] DMAR: Hardware identity mapping for device 0000:00:1f.0
[    1.953921] DMAR: Hardware identity mapping for device 0000:00:1f.2
[    1.953923] DMAR: Hardware identity mapping for device 0000:00:1f.3
[    1.953926] DMAR: Hardware identity mapping for device 0000:00:1f.4
[    1.953930] DMAR: Hardware identity mapping for device 0000:01:00.0
[    1.953933] DMAR: Hardware identity mapping for device 0000:01:00.1
[    1.953937] DMAR: Hardware identity mapping for device 0000:02:00.0
[    1.953941] DMAR: Hardware identity mapping for device 0000:03:00.0
[    1.953943] DMAR: Setting RMRR:
[    1.953946] DMAR: Ignoring identity map for HW passthrough device 0000:00:02.0 [0x88800000 - 0x8affffff]
[    1.953950] DMAR: Ignoring identity map for HW passthrough device 0000:00:14.0 [0x874ff000 - 0x8751efff]
[    1.953953] DMAR: Prepare 0-16MiB unity mapping for LPC
[    1.953955] DMAR: Ignoring identity map for HW passthrough device 0000:00:1f.0 [0x0 - 0xffffff]
[    1.953965] DMAR: Intel(R) Virtualization Technology for Directed I/O
[    1.954119] iommu: Adding device 0000:00:00.0 to group 0
[    1.954143] iommu: Adding device 0000:00:02.0 to group 1
[    1.954168] iommu: Adding device 0000:00:14.0 to group 2
[    1.954182] iommu: Adding device 0000:00:14.2 to group 2
[    1.954204] iommu: Adding device 0000:00:16.0 to group 3
[    1.954225] iommu: Adding device 0000:00:17.0 to group 4
[    1.954253] iommu: Adding device 0000:00:1c.0 to group 5
[    1.954273] iommu: Adding device 0000:00:1c.1 to group 5
[    1.954298] iommu: Adding device 0000:00:1d.0 to group 6
[    1.954324] iommu: Adding device 0000:00:1f.0 to group 7
[    1.954339] iommu: Adding device 0000:00:1f.2 to group 7
[    1.954354] iommu: Adding device 0000:00:1f.3 to group 7
[    1.954368] iommu: Adding device 0000:00:1f.4 to group 7
[    1.954384] iommu: Adding device 0000:01:00.0 to group 5
[    1.954398] iommu: Adding device 0000:01:00.1 to group 5
[    1.954413] iommu: Adding device 0000:02:00.0 to group 5
[    1.954430] iommu: Adding device 0000:03:00.0 to group 6
[    1.956007] simple-framebuffer simple-framebuffer.0: framebuffer at 0xc0000000, 0x7e9000 bytes, mapped to 0xffffc90000800000
[    1.956012] simple-framebuffer simple-framebuffer.0: format=a8r8g8b8, mode=1920x1080x32, linelength=7680
[    1.959328] Console: switching to colour frame buffer device 240x67
[    1.962341] simple-framebuffer simple-framebuffer.0: fb0: simplefb registered!
[    1.962952] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    1.963012] audit: initializing netlink subsys (disabled)
[    1.963057] audit: type=2000 audit(1481205780.953:1): initialized
[    1.963590] Initialise system trusted keyrings
[    1.963966] workingset: timestamp_bits=46 max_order=22 bucket_order=0
[    1.964486] SELinux:  Registering netfilter hooks
[    1.966387] cryptomgr_test (57) used greatest stack depth: 15336 bytes left
[    1.967554] Key type asymmetric registered
[    1.967567] Asymmetric key parser 'x509' registered
[    1.967644] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    1.967856] io scheduler noop registered (default)
[    1.968719] intel_idle: MWAIT substates: 0x11142120
[    1.968720] intel_idle: v0.4.1 model 0x4E
[    1.969477] intel_idle: lapic_timer_reliable_states 0xffffffff
[    1.969777] GHES: HEST is not enabled!
[    1.969866] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.970842] Linux agpgart interface v0.103
[    2.005833] tpm_tis MSFT0101:00: 2.0 TPM (device-id 0x1A, rev-id 16)
[    2.272475] brd: module loaded
[    2.272537] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[    2.823683] i8042: Detected active multiplexing controller, rev 1.1
[    2.826036] serio: i8042 KBD port at 0x60,0x64 irq 1
[    2.826052] serio: i8042 AUX0 port at 0x60,0x64 irq 12
[    2.826143] serio: i8042 AUX1 port at 0x60,0x64 irq 12
[    2.826228] serio: i8042 AUX2 port at 0x60,0x64 irq 12
[    2.826312] serio: i8042 AUX3 port at 0x60,0x64 irq 12
[    2.826546] rtc_cmos 00:01: RTC can wake from S4
[    2.827040] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0
[    2.827144] rtc_cmos 00:01: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
[    2.827291] hidraw: raw HID events driver (C) Jiri Kosina
[    2.827352] drop_monitor: Initializing network drop monitor service
[    2.827733] NET: Registered protocol family 10
[    2.828748] microcode: sig=0x406e3, pf=0x80, revision=0x57
[    2.828928] microcode: Microcode Update Driver: v2.01 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[    2.829360] registered taskstats version 1
[    2.829373] Loading compiled-in X.509 certificates
[    2.831816] modprobe (87) used greatest stack depth: 14456 bytes left
[    2.832683] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    2.835163] Loaded X.509 cert 'Build time autogenerated kernel key: e3bb21912d9de22ca19f504d3ea5e6dee75f7cae'
[    2.984809] tsc: Refined TSC clocksource calibration: 2591.999 MHz
[    2.984843] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x255cb5c6a11, max_idle_ns: 440795249002 ns
[    3.277733] rtc_cmos 00:01: setting system clock to 2016-12-08 14:03:02 UTC (1481205782)
[    3.279820] Freeing unused kernel memory: 1372K (ffffffff81b2c000 - ffffffff81c83000)
[    3.279846] Write protecting the kernel read-only data: 10240k
[    3.280129] Freeing unused kernel memory: 188K (ffff8800017d1000 - ffff880001800000)
[    3.283427] Freeing unused kernel memory: 1328K (ffff880001ab4000 - ffff880001c00000)
[    3.285495] echo (96) used greatest stack depth: 14392 bytes left
[    3.297959] cut (132) used greatest stack depth: 14288 bytes left
[    3.299057] echo (137) used greatest stack depth: 14264 bytes left
[    3.672586] modprobe (1672) used greatest stack depth: 14080 bytes left
[    3.806557] ahci 0000:00:17.0: version 3.0
[    3.806825] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
[    3.806826] ahci 0000:00:17.0: flags: 64bit ncq pm led clo only pio slum part deso sadm sds apst 
[    3.807534] scsi host0: ahci
[    3.807833] ata1: SATA max UDMA/133 abar m2048@0xdf32b000 port 0xdf32b100 irq 122
[    3.993155] clocksource: Switched to clocksource tsc
[    4.118917] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    4.133564] ata1.00: ATA-8: ST500LM021-1KJ152, 0002YXM1, max UDMA/133
[    4.133565] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[    4.155581] ata1.00: configured for UDMA/133
[    4.156003] scsi 0:0:0:0: Direct-Access     ATA      ST500LM021-1KJ15 YXM1 PQ: 0 ANSI: 5
[    4.183443] modprobe (1842) used greatest stack depth: 13184 bytes left
[    4.210876] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    4.210878] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    4.210915] sd 0:0:0:0: [sda] Write Protect is off
[    4.210916] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    4.210932] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.252385]  sda: sda1 sda2 sda3
[    4.253003] sd 0:0:0:0: [sda] Attached SCSI disk
[    4.258376] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    4.473409] ACPI: bus type USB registered
[    4.473483] usbcore: registered new interface driver usbfs
[    4.473552] usbcore: registered new interface driver hub
[    4.473599] usbcore: registered new device driver usb
[    4.477970] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.479826] ehci-pci: EHCI PCI platform driver
[    4.500259] usbcore: registered new interface driver usb-storage
[    4.504617] uhci_hcd: USB Universal Host Controller Interface driver
[    4.509244] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.524740] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    4.524748] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[    4.526137] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x00109810
[    4.526142] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[    4.526249] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.526250] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.526251] usb usb1: Product: xHCI Host Controller
[    4.526252] usb usb1: Manufacturer: Linux 4.8.10 xhci-hcd
[    4.526252] usb usb1: SerialNumber: 0000:00:14.0
[    4.526578] hub 1-0:1.0: USB hub found
[    4.526596] hub 1-0:1.0: 12 ports detected
[    4.536465] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    4.536467] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    4.536504] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    4.536505] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.536505] usb usb2: Product: xHCI Host Controller
[    4.536506] usb usb2: Manufacturer: Linux 4.8.10 xhci-hcd
[    4.536507] usb usb2: SerialNumber: 0000:00:14.0
[    4.536816] hub 2-0:1.0: USB hub found
[    4.536830] hub 2-0:1.0: 6 ports detected
[    4.542306] modprobe (2230) used greatest stack depth: 11928 bytes left
[    4.551829] usbcore: registered new interface driver usbhid
[    4.551830] usbhid: USB HID core driver
[    4.643870] device-mapper: uevent: version 1.0.3
[    4.643980] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[    4.700693] raid6: sse2x1   gen() 10402 MB/s
[    4.717689] raid6: sse2x1   xor()  7675 MB/s
[    4.734692] raid6: sse2x2   gen() 12765 MB/s
[    4.751722] raid6: sse2x2   xor()  8841 MB/s
[    4.768722] raid6: sse2x4   gen() 13421 MB/s
[    4.785721] raid6: sse2x4   xor() 10115 MB/s
[    4.802690] raid6: avx2x1   gen() 20593 MB/s
[    4.819713] raid6: avx2x2   gen() 23488 MB/s
[    4.836689] raid6: avx2x4   gen() 24457 MB/s
[    4.836690] raid6: using algorithm avx2x4 gen() 24457 MB/s
[    4.836690] raid6: using avx2x2 recovery algorithm
[    4.838441] async_tx: api initialized (async)
[    4.839639] xor: automatically using best checksumming function:
[    4.848688]    avx       : 25676.000 MB/sec
[    4.870627] md: raid6 personality registered for level 6
[    4.870627] md: raid5 personality registered for level 5
[    4.870628] md: raid4 personality registered for level 4
[    4.873276] device-mapper: raid: Loading target version 1.9.1
[    4.878005] md: raid0 personality registered for level 0
[    4.882358] md: raid1 personality registered for level 1
[    4.895113] md: raid10 personality registered for level 10
[    4.898371] md: linear personality registered for level -1
[    4.900713] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    4.901780] md: multipath personality registered for level -4
[    4.987104] FS-Cache: Loaded
[    5.027182] RPC: Registered named UNIX socket transport module.
[    5.027183] RPC: Registered udp transport module.
[    5.027183] RPC: Registered tcp transport module.
[    5.027183] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.073517] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610
[    5.073518] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.073519] usb 1-1: Product: USB2.0 Hub
[    5.073519] usb 1-1: Manufacturer: GenesysLogic
[    5.074505] hub 1-1:1.0: USB hub found
[    5.074965] hub 1-1:1.0: 4 ports detected
[    5.091180] FS-Cache: Netfs 'nfs' registered for caching
[    5.107642] fuse init (API version 7.25)
[    5.133458] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    5.133470] r8169 0000:01:00.1: can't disable ASPM; OS doesn't have ASPM control
[    5.137542] DMAR: 32bit 0000:01:00.1 uses non-identity mapping
[    5.138109] r8169 0000:01:00.1 eth0: RTL8411 at 0xffffc9000001c000, 80:fa:5b:2f:b1:ce, XID 1c800880 IRQ 124
[    5.138111] r8169 0000:01:00.1 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    5.159176] Loading iSCSI transport class v2.0-870.
[    5.173797] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[    5.188152] usb 2-1: New USB device found, idVendor=05e3, idProduct=0612
[    5.188153] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.188154] usb 2-1: Product: USB3.0 Hub
[    5.188155] usb 2-1: Manufacturer: GenesysLogic
[    5.189753] hub 2-1:1.0: USB hub found
[    5.190096] hub 2-1:1.0: 4 ports detected
[    5.193899] AVX2 version of gcm_enc/dec engaged.
[    5.193899] AES CTR mode by8 optimization enabled
[    5.225211] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    5.233468] device-mapper: multipath queue-length: version 0.2.0 loaded
[    5.239394] device-mapper: multipath round-robin: version 1.1.0 loaded
[    5.242591] device-mapper: multipath service-time: version 0.3.0 loaded
[    5.310545] random: lvm: uninitialized urandom read (4 bytes read)
[    5.342703] usb 1-5: new full-speed USB device number 3 using xhci_hcd
[    5.511678] usb 1-5: New USB device found, idVendor=8087, idProduct=0a2b
[    5.511680] usb 1-5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.679694] usb 1-6: new high-speed USB device number 5 using xhci_hcd
[    5.888965] usb 1-6: New USB device found, idVendor=04f2, idProduct=b550
[    5.888966] usb 1-6: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[    5.888967] usb 1-6: Product: Chicony USB 2.0 Camera
[    5.888968] usb 1-6: Manufacturer: Generic
[    5.888968] usb 1-6: SerialNumber: 200901010001
[    5.913765] usb 1-1.3: new full-speed USB device number 6 using xhci_hcd
[    5.991215] usb 1-1.3: New USB device found, idVendor=0451, idProduct=2046
[    5.991217] usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.991899] hub 1-1.3:1.0: USB hub found
[    5.992030] hub 1-1.3:1.0: 4 ports detected
[    6.055794] usb 2-1.2: new SuperSpeed USB device number 3 using xhci_hcd
[    6.068496] usb 2-1.2: New USB device found, idVendor=17e9, idProduct=4307
[    6.068497] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.068498] usb 2-1.2: Product: StarTech.com USB3SDOCKHDV
[    6.068499] usb 2-1.2: Manufacturer: DisplayLink
[    6.068500] usb 2-1.2: SerialNumber: 000100160606477
[    6.264739] usb 1-1.3.1: new low-speed USB device number 7 using xhci_hcd
[    6.346116] usb 1-1.3.1: New USB device found, idVendor=03f0, idProduct=134a
[    6.346117] usb 1-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    6.346118] usb 1-1.3.1: Product: HP USB Optical Mouse
[    6.346119] usb 1-1.3.1: Manufacturer: PixArt
[    6.349276] input: PixArt HP USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/0003:03F0:134A.0001/input/input5
[    6.349358] hid-generic 0003:03F0:134A.0001: input,hidraw0: USB HID v1.11 Mouse [PixArt HP USB Optical Mouse] on usb-0000:00:14.0-1.3.1/input0
[    6.362131] random: fast init done
[    6.413764] usb 1-1.3.2: new low-speed USB device number 8 using xhci_hcd
[    6.496728] usb 1-1.3.2: New USB device found, idVendor=0c45, idProduct=7603
[    6.496730] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    6.496731] usb 1-1.3.2: Product: USB Keyboard
[    6.496731] usb 1-1.3.2: Manufacturer: SONiX
[    6.500605] input: SONiX USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.0/0003:0C45:7603.0002/input/input6
[    6.551869] hid-generic 0003:0C45:7603.0002: input,hidraw1: USB HID v1.11 Keyboard [SONiX USB Keyboard] on usb-0000:00:14.0-1.3.2/input0
[    6.571003] input: SONiX USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.1/0003:0C45:7603.0003/input/input7
[    6.623336] hid-generic 0003:0C45:7603.0003: input,hiddev0,hidraw2: USB HID v1.11 Keyboard [SONiX USB Keyboard] on usb-0000:00:14.0-1.3.2/input1
[    6.687828] usb 1-1.3.3: new low-speed USB device number 9 using xhci_hcd
[    6.773025] usb 1-1.3.3: New USB device found, idVendor=06f2, idProduct=0011
[    6.773042] usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    6.773043] usb 1-1.3.3: Product: USB KVM Switch
[    6.773044] usb 1-1.3.3: Manufacturer: Justcom Technology
[    6.777215] input: Justcom Technology USB KVM Switch as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3.3/1-1.3.3:1.0/0003:06F2:0011.0004/input/input8
[    6.828939] hid-generic 0003:06F2:0011.0004: input,hidraw3: USB HID v1.10 Keyboard [Justcom Technology USB KVM Switch] on usb-0000:00:14.0-1.3.3/input0
[    6.831508] input: Justcom Technology USB KVM Switch as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3.3/1-1.3.3:1.1/0003:06F2:0011.0005/input/input9
[    6.831598] hid-generic 0003:06F2:0011.0005: input,hidraw4: USB HID v1.10 Mouse [Justcom Technology USB KVM Switch] on usb-0000:00:14.0-1.3.3/input1
[    7.406278] random: crng init done
[    8.675348] PM: Starting manual resume from disk
[    8.722583] EXT4-fs (dm-1): couldn't mount as ext3 due to feature incompatibilities
[    8.730846] EXT4-fs (dm-1): couldn't mount as ext2 due to feature incompatibilities
[    8.762750] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: (null)
[   11.372155] NET: Registered protocol family 1
[   12.865673] loop: module loaded
[   13.074831] [drm] Initialized drm 1.1.0 20060810
[   13.161848] usbcore: registered new interface driver udl
[   13.709395] udevd[3707]: starting version 3.1.5
[   14.219198] ACPI: AC Adapter [AC] (on-line)
[   14.348881] ACPI: Battery Slot [BAT0] (battery present)
[   14.388291] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input10
[   14.388294] ACPI: Power Button [PWRB]
[   14.388457] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input11
[   14.388459] ACPI: Sleep Button [SLPB]
[   14.388645] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input12
[   14.388700] ACPI: Lid Switch [LID0]
[   14.388843] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input13
[   14.388845] ACPI: Power Button [PWRF]
[   14.407801] button: probe of LNXPWRBN:00 failed with error -22
[   14.421289] thermal LNXTHERM:00: registered as thermal_zone0
[   14.421290] ACPI: Thermal Zone [TZ0] (25 C)
[   14.479693] i801_smbus 0000:00:1f.4: SMBus using PCI interrupt
[   14.624572] wmi: Mapper loaded
[   14.702140] EFI Variables Facility v0.08 2004-May-17
[   14.783366] media: Linux media interface: v0.10
[   14.832226] r8169 0000:01:00.1 enp1s0f1: renamed from eth0
[   14.850638] pstore: using zlib compression
[   14.859241] mousedev: PS/2 mouse device common for all mice
[   14.862699] pstore: Registered efi as persistent store backend
[   15.123711] nvme nvme0: pci function 0000:03:00.0
[   15.166769] cdc_ncm 2-1.2:1.5: MAC-Address: 00:24:9b:1c:a4:c5
[   15.166770] cdc_ncm 2-1.2:1.5: setting rx_max = 16384
[   15.166895] cdc_ncm 2-1.2:1.5: setting tx_max = 16384
[   15.167241] cdc_ncm 2-1.2:1.5 usb0: register 'cdc_ncm' at usb-0000:00:14.0-1.2, CDC NCM, 00:24:9b:1c:a4:c5
[   15.167964] usbcore: registered new interface driver cdc_ncm
[   15.247728] rtsx_pci 0000:01:00.0: enabling device (0000 -> 0002)
[   15.247845] DMAR: 32bit 0000:01:00.0 uses non-identity mapping
[   15.248033] rtsx_pci 0000:01:00.0: rtsx_pci_acquire_irq: pcr->msi_en = 1, pci->irq = 126
[   15.286139] RAPL PMU: API unit is 2^-32 Joules, 5 fixed counters, 655360 ms ovfl timer
[   15.286140] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules
[   15.286141] RAPL PMU: hw unit of domain package 2^-14 Joules
[   15.286142] RAPL PMU: hw unit of domain dram 2^-14 Joules
[   15.286142] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules
[   15.286143] RAPL PMU: hw unit of domain psys 2^-14 Joules
[   15.462575] Linux video capture interface: v2.00
[   16.257031] input: PC Speaker as /devices/platform/pcspkr/input/input16
[   16.636015] uvcvideo: Found UVC 1.00 device Chicony USB 2.0 Camera (04f2:b550)
[   16.638490] uvcvideo 1-6:1.0: Entity type for entity Realtek Extended Controls Unit was not initialized!
[   16.638495] uvcvideo 1-6:1.0: Entity type for entity Extension 4 was not initialized!
[   16.638498] uvcvideo 1-6:1.0: Entity type for entity Processing 2 was not initialized!
[   16.638500] uvcvideo 1-6:1.0: Entity type for entity Camera 1 was not initialized!
[   16.638646] input: Chicony USB 2.0 Camera as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/input/input17
[   16.638753] usbcore: registered new interface driver uvcvideo
[   16.638754] USB Video Class driver (1.1.1)
[   16.842602] cdc_ncm 2-1.2:1.5 enp0s20f0u1u2i5: renamed from usb0
[   17.104389] psmouse serio2: synaptics: queried max coordinates: x [..5712], y [..4872]
[   17.223655] psmouse serio2: synaptics: queried min coordinates: x [1336..], y [1122..]
[   17.336281] Bluetooth: Core ver 2.21
[   17.336302] NET: Registered protocol family 31
[   17.336303] Bluetooth: HCI device and connection manager initialized
[   17.336308] Bluetooth: HCI socket layer initialized
[   17.336313] Bluetooth: L2CAP socket layer initialized
[   17.336324] Bluetooth: SCO socket layer initialized
[   17.371615] psmouse serio2: synaptics: Touchpad model: 1, fw: 8.2, id: 0x1e2b1, caps: 0xf00123/0x840300/0x26800/0x0, board id: 3175, fw id: 2024995
[   17.412612] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio2/input/input15
[   18.069407] usb 2-1.2: Warning! Unlikely big volume range (=511), cval->res is probably wrong.
[   18.069408] usb 2-1.2: [16] FU [StarTech  Audio Playback Volume] ch = 6, val = -8176/0/16
[   18.069982] usb 2-1.2: Warning! Unlikely big volume range (=767), cval->res is probably wrong.
[   18.069983] usb 2-1.2: [13] FU [Mic Capture Volume] ch = 2, val = -4592/7680/16
[   18.070307] usbcore: registered new interface driver snd-usb-audio
[   18.105336] usbcore: registered new interface driver btusb
[   18.106475] Bluetooth: hci0: Bootloader revision 0.0 build 2 week 52 2014
[   18.111507] Bluetooth: hci0: Device revision is 5
[   18.111512] Bluetooth: hci0: Secure boot is enabled
[   18.111512] Bluetooth: hci0: OTP lock is enabled
[   18.111512] Bluetooth: hci0: API lock is enabled
[   18.111513] Bluetooth: hci0: Debug lock is disabled
[   18.111514] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   18.130013] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[   18.359352] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[   19.237623] Intel(R) Wireless WiFi driver for Linux
[   19.237623] Copyright(c) 2003- 2015 Intel Corporation
[   19.237747] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
[   19.238969] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-8000C-24.ucode failed with error -2
[   19.239033] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-8000C-23.ucode failed with error -2
[   19.239063] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-8000C-22.ucode failed with error -2
[   19.635809] iwlwifi 0000:02:00.0: loaded firmware version 21.302800.0 op_mode iwlmvm
[   19.714875] Bluetooth: hci0: Waiting for firmware download to complete
[   19.715456] Bluetooth: hci0: Firmware loaded in 1572418 usecs
[   19.715495] Bluetooth: hci0: Waiting for device to boot
[   19.732496] Bluetooth: hci0: Device booted in 16615 usecs
[   19.740744] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-11-5.ddc
[   19.742526] Bluetooth: hci0: Applying Intel DDC parameters completed
[   19.743527] Bluetooth: hci0: Setting Intel event mask failed (-16)
[   20.477982] [drm] Memory usable by graphics device = 4096M
[   20.477983] [drm] VT-d active for gfx access
[   20.477985] checking generic (c0000000 7e9000) vs hw (c0000000 10000000)
[   20.477985] fb: switching to inteldrmfb from simple
[   20.478035] Console: switching to colour dummy device 80x25
[   20.478190] [drm] Replacing VGA console driver
[   20.529774] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   20.529774] [drm] Driver supports precise vblank timestamp query.
[   20.536243] [drm] Disabling framebuffer compression (FBC) to prevent screen flicker with VT-d enabled
[   20.537739] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   20.546053] [drm] GuC firmware load skipped
[   20.556987] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[   20.557523] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input20
[   20.557731] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   20.557737] [drm] Initialized i915 1.6.0 20160711 for 0000:00:02.0 on minor 0
[   20.560250] fbcon: inteldrmfb (fb0) is primary device
[   20.560413] [drm] Finished loading i915/skl_dmc_ver1_26.bin (v1.26)
[   21.309031] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
[   21.310715] iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
[   21.311333] iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
[   21.478357] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[   21.479238] thermal thermal_zone2: failed to read out thermal zone (-5)
[   21.497254] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
[   21.737079] [drm] RC6 on
[   21.882581] Console: switching to colour frame buffer device 240x67
[   21.914538] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[   21.977143] snd_hda_codec_realtek hdaudioC2D0: autoconfig for ALC269VC: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   21.977144] snd_hda_codec_realtek hdaudioC2D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   21.977145] snd_hda_codec_realtek hdaudioC2D0:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[   21.977146] snd_hda_codec_realtek hdaudioC2D0:    mono: mono_out=0x0
[   21.977146] snd_hda_codec_realtek hdaudioC2D0:    inputs:
[   21.977147] snd_hda_codec_realtek hdaudioC2D0:      Mic=0x18
[   21.977148] snd_hda_codec_realtek hdaudioC2D0:      Internal Mic=0x12
[   22.039402] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1f.3/sound/card2/input21
[   22.041802] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card2/input22
[   22.041962] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card2/input23
[   22.042125] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card2/input24
[   22.042281] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card2/input25
[   22.042440] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card2/input26
[   30.431689] device-mapper: cache: You have created a cache device with a lot of individual cache blocks (1458176)
               All these mappings can consume a lot of kernel memory, and take some time to read/write.
               Please consider increasing the cache block size to reduce the overall cache block count.
[   31.170175] EXT4-fs (dm-1): re-mounted. Opts: (null)
[   31.406540] Adding 10485756k swap on /dev/mapper/ant-swap.  Priority:-1 extents:1 across:10485756k FS
[   31.504821] EXT4-fs (dm-11): mounted filesystem with ordered data mode. Opts: (null)
Comment 11 Zhang Rui 2016-12-08 14:44:07 UTC
please attach the output of cat /proc/interrupts
Comment 12 Zhang Rui 2016-12-08 14:44:34 UTC
maybe Lv can explain why acpidump does not work.
Comment 13 José Pekkarinen 2016-12-08 14:46:20 UTC
Here we go:

cat /proc/interrupts 
            CPU0       CPU1       CPU2       CPU3       
   0:         70          0          0          0  IR-IO-APIC    2-edge      timer
   1:      12413       4503      21509       4540  IR-IO-APIC    1-edge      i8042
   8:          1          0         27          0  IR-IO-APIC    8-edge      rtc0
  12:     320499      88647     424979      96929  IR-IO-APIC   12-edge      i8042
  16:          0          0          1          0  IR-IO-APIC   16-fasteoi   i801_smbus
 120:          0          0          0          0  DMAR-MSI    0-edge      dmar0
 121:          0          0          0          0  DMAR-MSI    1-edge      dmar1
 122:     293376      57515     226398      75653  IR-PCI-MSI 376832-edge      ahci[0000:00:17.0]
 123:    6348042     963255    3376110    1032223  IR-PCI-MSI 327680-edge      xhci_hcd
 124:          0          0          0          0  IR-PCI-MSI 526336-edge      enp1s0f1
 125:     317115          0          1          0  IR-PCI-MSI 1572864-edge      nvme0q0, nvme0q1
 126:         15          0          0          3  IR-PCI-MSI 524288-edge      rtsx_pci
 127:          0     292832          0          0  IR-PCI-MSI 1572865-edge      nvme0q2
 128:          0          0     235335          0  IR-PCI-MSI 1572866-edge      nvme0q3
 129:          0          0          0     274490  IR-PCI-MSI 1572867-edge      nvme0q4
 130:     176750      30556     106053      31383  IR-PCI-MSI 1048576-edge      iwlwifi
 131:    1259686     406764    1130434     483167  IR-PCI-MSI 32768-edge      i915
 132:       3770       1588       6581       2802  IR-PCI-MSI 514048-edge      snd_hda_intel:card2
 NMI:        202          0          0          0   Non-maskable interrupts
 LOC:   14789751    2264483    2072924    2228400   Local timer interrupts
 SPU:          0          0          0          0   Spurious interrupts
 PMI:        202          0          0          0   Performance monitoring interrupts
 IWI:     861254    1751837    1658191    1558144   IRQ work interrupts
 RTR:          3          0          0          0   APIC ICR read retries
 RES:     736633     905537     972196     718446   Rescheduling interrupts
 CAL:     210426     854481     833990     841582   Function call interrupts
 TLB:     147974     129187     119727     118090   TLB shootdowns
 TRM:          0          0          0          0   Thermal event interrupts
 THR:          0          0          0          0   Threshold APIC interrupts
 MCE:          0          0          0          0   Machine check exceptions
 MCP:         31         31         31         31   Machine check polls
 ERR:         58
 MIS:          0
 PIN:          0          0          0          0   Posted-interrupt notification event
 PIW:          0          0          0          0   Posted-interrupt wakeup event
Comment 14 Zhang Rui 2016-12-09 02:31:04 UTC
well, this confirms my guess.
No acpi interrupt is registered!

This sounds strange, and I didn't see anything abnormal in the dmesg.

Lv, please take a look at this issue. If ACPI SCI interrupt handler is not installed, at least we should get some warnings...
Comment 15 Zhang Rui 2016-12-09 02:38:53 UTC
(In reply to José Pekkarinen from comment #4)
> CONFIG_ACPI_REDUCED_HARDWARE_ONLY=y

hmmm, why are you setting this option? is this a hardware reduced platform?

If no, or if unsure, please rebuild the kernel with this option cleared.
Comment 16 Lv Zheng 2016-12-09 02:52:53 UTC
(In reply to José Pekkarinen from comment #4)
> which acpi_listen
> /usr/bin/acpi_listen
> 
> acpidump(this is odd):
> 
> acpidump                                                                    
> 
> Cannot map /dev/mem                                                         
> 
> Could not get ACPI tables, AE_ACCESS

The default option of "-c off" is already an old behavior.

Please do not use the disribution vendor provided old acpidump.
Please try the acpidump in the latest kernel source tree.
# cd tools
# make acpi

And type the following command:

# tools/power/acpi/acpidump
Or
# tools/power/acpi/acpidump -c on
Comment 17 José Pekkarinen 2016-12-09 04:44:29 UTC
unsetting the option brought the interrupts folder back:

ls /sys/firmware/acpi/                                                                                                                                                  
bgrt  hotplug  interrupts  pm_profile  tables

Before pressing:

/sys/firmware/acpi/interrupts/error:       0
/sys/firmware/acpi/interrupts/ff_gbl_lock:       0   enabled
/sys/firmware/acpi/interrupts/ff_pmtimer:       0   invalid
/sys/firmware/acpi/interrupts/ff_pwr_btn:       0   enabled
/sys/firmware/acpi/interrupts/ff_rt_clk:       0   disabled
/sys/firmware/acpi/interrupts/ff_slp_btn:       0   invalid
/sys/firmware/acpi/interrupts/gpe00:       0   invalid
/sys/firmware/acpi/interrupts/gpe01:       0   invalid
/sys/firmware/acpi/interrupts/gpe02:       0   invalid
/sys/firmware/acpi/interrupts/gpe03:       0   invalid
/sys/firmware/acpi/interrupts/gpe04:       0   invalid
/sys/firmware/acpi/interrupts/gpe05:       0   invalid
/sys/firmware/acpi/interrupts/gpe06:       0   invalid
/sys/firmware/acpi/interrupts/gpe07:       0   invalid
/sys/firmware/acpi/interrupts/gpe08:       0   invalid
/sys/firmware/acpi/interrupts/gpe09:       0   invalid
/sys/firmware/acpi/interrupts/gpe0A:       0   invalid
/sys/firmware/acpi/interrupts/gpe0B:       0   invalid
/sys/firmware/acpi/interrupts/gpe0C:       0   invalid
/sys/firmware/acpi/interrupts/gpe0D:       0   invalid
/sys/firmware/acpi/interrupts/gpe0E:       0   invalid
/sys/firmware/acpi/interrupts/gpe0F:       0   invalid
/sys/firmware/acpi/interrupts/gpe10:       0   invalid
/sys/firmware/acpi/interrupts/gpe11:       0   invalid
/sys/firmware/acpi/interrupts/gpe12:       0   invalid
/sys/firmware/acpi/interrupts/gpe13:       0   enabled
/sys/firmware/acpi/interrupts/gpe14:       0   invalid
/sys/firmware/acpi/interrupts/gpe15:       0   invalid
/sys/firmware/acpi/interrupts/gpe16:       0   invalid
/sys/firmware/acpi/interrupts/gpe17:       0   invalid
/sys/firmware/acpi/interrupts/gpe18:       0   invalid
/sys/firmware/acpi/interrupts/gpe19:       0   invalid
/sys/firmware/acpi/interrupts/gpe1A:       0   invalid
/sys/firmware/acpi/interrupts/gpe1B:       0   invalid
/sys/firmware/acpi/interrupts/gpe1C:       0   invalid
/sys/firmware/acpi/interrupts/gpe1D:       0   invalid
/sys/firmware/acpi/interrupts/gpe1E:       0   invalid
/sys/firmware/acpi/interrupts/gpe1F:       0   invalid
/sys/firmware/acpi/interrupts/gpe20:       0   invalid
/sys/firmware/acpi/interrupts/gpe21:       0   invalid
/sys/firmware/acpi/interrupts/gpe22:       0   invalid
/sys/firmware/acpi/interrupts/gpe23:       0   invalid
/sys/firmware/acpi/interrupts/gpe24:       0   invalid
/sys/firmware/acpi/interrupts/gpe25:       0   invalid
/sys/firmware/acpi/interrupts/gpe26:       0   invalid
/sys/firmware/acpi/interrupts/gpe27:       0   invalid
/sys/firmware/acpi/interrupts/gpe28:       0   invalid
/sys/firmware/acpi/interrupts/gpe29:       0   invalid
/sys/firmware/acpi/interrupts/gpe2A:       0   invalid
/sys/firmware/acpi/interrupts/gpe2B:       0   invalid
/sys/firmware/acpi/interrupts/gpe2C:       0   invalid
/sys/firmware/acpi/interrupts/gpe2D:       0   invalid
/sys/firmware/acpi/interrupts/gpe2E:       0   invalid
/sys/firmware/acpi/interrupts/gpe2F:       0   invalid
/sys/firmware/acpi/interrupts/gpe30:       0   invalid
/sys/firmware/acpi/interrupts/gpe31:       0   invalid
/sys/firmware/acpi/interrupts/gpe32:       0   invalid
/sys/firmware/acpi/interrupts/gpe33:       0   invalid
/sys/firmware/acpi/interrupts/gpe34:       0   invalid
/sys/firmware/acpi/interrupts/gpe35:       0   invalid
/sys/firmware/acpi/interrupts/gpe36:       0   invalid
/sys/firmware/acpi/interrupts/gpe37:       0   invalid
/sys/firmware/acpi/interrupts/gpe38:       0   invalid
/sys/firmware/acpi/interrupts/gpe39:       0   invalid
/sys/firmware/acpi/interrupts/gpe3A:       0   invalid
/sys/firmware/acpi/interrupts/gpe3B:       0   invalid
/sys/firmware/acpi/interrupts/gpe3C:       0   invalid
/sys/firmware/acpi/interrupts/gpe3D:       0   invalid
/sys/firmware/acpi/interrupts/gpe3E:       0   invalid
/sys/firmware/acpi/interrupts/gpe3F:       0   invalid
/sys/firmware/acpi/interrupts/gpe40:       0   invalid
/sys/firmware/acpi/interrupts/gpe41:       0   invalid
/sys/firmware/acpi/interrupts/gpe42:       0   invalid
/sys/firmware/acpi/interrupts/gpe43:       0   invalid
/sys/firmware/acpi/interrupts/gpe44:       0   invalid
/sys/firmware/acpi/interrupts/gpe45:       0   invalid
/sys/firmware/acpi/interrupts/gpe46:       0   invalid
/sys/firmware/acpi/interrupts/gpe47:       0   invalid
/sys/firmware/acpi/interrupts/gpe48:       0   invalid
/sys/firmware/acpi/interrupts/gpe49:       0   invalid
/sys/firmware/acpi/interrupts/gpe4A:       0   invalid
/sys/firmware/acpi/interrupts/gpe4B:       0   invalid
/sys/firmware/acpi/interrupts/gpe4C:       0   invalid
/sys/firmware/acpi/interrupts/gpe4D:       0   invalid
/sys/firmware/acpi/interrupts/gpe4E:       0   invalid
/sys/firmware/acpi/interrupts/gpe4F:       0   invalid
/sys/firmware/acpi/interrupts/gpe50:      13   enabled
/sys/firmware/acpi/interrupts/gpe51:       0   invalid
/sys/firmware/acpi/interrupts/gpe52:       0   invalid
/sys/firmware/acpi/interrupts/gpe53:       0   invalid
/sys/firmware/acpi/interrupts/gpe54:       0   invalid
/sys/firmware/acpi/interrupts/gpe55:       0   invalid
/sys/firmware/acpi/interrupts/gpe56:       0   invalid
/sys/firmware/acpi/interrupts/gpe57:       0   invalid
/sys/firmware/acpi/interrupts/gpe58:       0   invalid
/sys/firmware/acpi/interrupts/gpe59:       0   invalid
/sys/firmware/acpi/interrupts/gpe5A:       0   invalid
/sys/firmware/acpi/interrupts/gpe5B:       0   invalid
/sys/firmware/acpi/interrupts/gpe5C:       0   invalid
/sys/firmware/acpi/interrupts/gpe5D:       0   invalid
/sys/firmware/acpi/interrupts/gpe5E:       0   invalid
/sys/firmware/acpi/interrupts/gpe5F:       0   invalid
/sys/firmware/acpi/interrupts/gpe60:       0   invalid
/sys/firmware/acpi/interrupts/gpe61:       0   enabled
/sys/firmware/acpi/interrupts/gpe62:       2   enabled
/sys/firmware/acpi/interrupts/gpe63:       0   invalid
/sys/firmware/acpi/interrupts/gpe64:       0   invalid
/sys/firmware/acpi/interrupts/gpe65:       0   invalid
/sys/firmware/acpi/interrupts/gpe66:       4   enabled
/sys/firmware/acpi/interrupts/gpe67:       0   enabled
/sys/firmware/acpi/interrupts/gpe68:       0   invalid
/sys/firmware/acpi/interrupts/gpe69:       0   disabled
/sys/firmware/acpi/interrupts/gpe6A:       0   invalid
/sys/firmware/acpi/interrupts/gpe6B:       0   invalid
/sys/firmware/acpi/interrupts/gpe6C:       0   invalid
/sys/firmware/acpi/interrupts/gpe6D:       0   enabled
/sys/firmware/acpi/interrupts/gpe6E:       0   invalid
/sys/firmware/acpi/interrupts/gpe6F:       0   enabled
/sys/firmware/acpi/interrupts/gpe70:       0   invalid
/sys/firmware/acpi/interrupts/gpe71:       0   invalid
/sys/firmware/acpi/interrupts/gpe72:       0   invalid
/sys/firmware/acpi/interrupts/gpe73:       0   invalid
/sys/firmware/acpi/interrupts/gpe74:       0   invalid
/sys/firmware/acpi/interrupts/gpe75:       0   invalid
/sys/firmware/acpi/interrupts/gpe76:       0   invalid
/sys/firmware/acpi/interrupts/gpe77:       0   invalid
/sys/firmware/acpi/interrupts/gpe78:       0   invalid
/sys/firmware/acpi/interrupts/gpe79:       0   invalid
/sys/firmware/acpi/interrupts/gpe7A:       0   invalid
/sys/firmware/acpi/interrupts/gpe7B:       0   invalid
/sys/firmware/acpi/interrupts/gpe7C:       0   invalid
/sys/firmware/acpi/interrupts/gpe7D:       0   invalid
/sys/firmware/acpi/interrupts/gpe7E:       0   invalid
/sys/firmware/acpi/interrupts/gpe7F:       0   invalid
/sys/firmware/acpi/interrupts/gpe_all:      19
/sys/firmware/acpi/interrupts/sci:      19
/sys/firmware/acpi/interrupts/sci_not:       1

after pressing:

/sys/firmware/acpi/interrupts/error:       0
/sys/firmware/acpi/interrupts/ff_gbl_lock:       0   enabled
/sys/firmware/acpi/interrupts/ff_pmtimer:       0   invalid
/sys/firmware/acpi/interrupts/ff_pwr_btn:       0   enabled
/sys/firmware/acpi/interrupts/ff_rt_clk:       0   disabled
/sys/firmware/acpi/interrupts/ff_slp_btn:       0   invalid
/sys/firmware/acpi/interrupts/gpe00:       0   invalid
/sys/firmware/acpi/interrupts/gpe01:       0   invalid
/sys/firmware/acpi/interrupts/gpe02:       0   invalid
/sys/firmware/acpi/interrupts/gpe03:       0   invalid
/sys/firmware/acpi/interrupts/gpe04:       0   invalid
/sys/firmware/acpi/interrupts/gpe05:       0   invalid
/sys/firmware/acpi/interrupts/gpe06:       0   invalid
/sys/firmware/acpi/interrupts/gpe07:       0   invalid
/sys/firmware/acpi/interrupts/gpe08:       0   invalid
/sys/firmware/acpi/interrupts/gpe09:       0   invalid
/sys/firmware/acpi/interrupts/gpe0A:       0   invalid
/sys/firmware/acpi/interrupts/gpe0B:       0   invalid
/sys/firmware/acpi/interrupts/gpe0C:       0   invalid
/sys/firmware/acpi/interrupts/gpe0D:       0   invalid
/sys/firmware/acpi/interrupts/gpe0E:       0   invalid
/sys/firmware/acpi/interrupts/gpe0F:       0   invalid
/sys/firmware/acpi/interrupts/gpe10:       0   invalid
/sys/firmware/acpi/interrupts/gpe11:       0   invalid
/sys/firmware/acpi/interrupts/gpe12:       0   invalid
/sys/firmware/acpi/interrupts/gpe13:       0   enabled
/sys/firmware/acpi/interrupts/gpe14:       0   invalid
/sys/firmware/acpi/interrupts/gpe15:       0   invalid
/sys/firmware/acpi/interrupts/gpe16:       0   invalid
/sys/firmware/acpi/interrupts/gpe17:       0   invalid
/sys/firmware/acpi/interrupts/gpe18:       0   invalid
/sys/firmware/acpi/interrupts/gpe19:       0   invalid
/sys/firmware/acpi/interrupts/gpe1A:       0   invalid
/sys/firmware/acpi/interrupts/gpe1B:       0   invalid
/sys/firmware/acpi/interrupts/gpe1C:       0   invalid
/sys/firmware/acpi/interrupts/gpe1D:       0   invalid
/sys/firmware/acpi/interrupts/gpe1E:       0   invalid
/sys/firmware/acpi/interrupts/gpe1F:       0   invalid
/sys/firmware/acpi/interrupts/gpe20:       0   invalid
/sys/firmware/acpi/interrupts/gpe21:       0   invalid
/sys/firmware/acpi/interrupts/gpe22:       0   invalid
/sys/firmware/acpi/interrupts/gpe23:       0   invalid
/sys/firmware/acpi/interrupts/gpe24:       0   invalid
/sys/firmware/acpi/interrupts/gpe25:       0   invalid
/sys/firmware/acpi/interrupts/gpe26:       0   invalid
/sys/firmware/acpi/interrupts/gpe27:       0   invalid
/sys/firmware/acpi/interrupts/gpe28:       0   invalid
/sys/firmware/acpi/interrupts/gpe29:       0   invalid
/sys/firmware/acpi/interrupts/gpe2A:       0   invalid
/sys/firmware/acpi/interrupts/gpe2B:       0   invalid
/sys/firmware/acpi/interrupts/gpe2C:       0   invalid
/sys/firmware/acpi/interrupts/gpe2D:       0   invalid
/sys/firmware/acpi/interrupts/gpe2E:       0   invalid
/sys/firmware/acpi/interrupts/gpe2F:       0   invalid
/sys/firmware/acpi/interrupts/gpe30:       0   invalid
/sys/firmware/acpi/interrupts/gpe31:       0   invalid
/sys/firmware/acpi/interrupts/gpe32:       0   invalid
/sys/firmware/acpi/interrupts/gpe33:       0   invalid
/sys/firmware/acpi/interrupts/gpe34:       0   invalid
/sys/firmware/acpi/interrupts/gpe35:       0   invalid
/sys/firmware/acpi/interrupts/gpe36:       0   invalid
/sys/firmware/acpi/interrupts/gpe37:       0   invalid
/sys/firmware/acpi/interrupts/gpe38:       0   invalid
/sys/firmware/acpi/interrupts/gpe39:       0   invalid
/sys/firmware/acpi/interrupts/gpe3A:       0   invalid
/sys/firmware/acpi/interrupts/gpe3B:       0   invalid
/sys/firmware/acpi/interrupts/gpe3C:       0   invalid
/sys/firmware/acpi/interrupts/gpe3D:       0   invalid
/sys/firmware/acpi/interrupts/gpe3E:       0   invalid
/sys/firmware/acpi/interrupts/gpe3F:       0   invalid
/sys/firmware/acpi/interrupts/gpe40:       0   invalid
/sys/firmware/acpi/interrupts/gpe41:       0   invalid
/sys/firmware/acpi/interrupts/gpe42:       0   invalid
/sys/firmware/acpi/interrupts/gpe43:       0   invalid
/sys/firmware/acpi/interrupts/gpe44:       0   invalid
/sys/firmware/acpi/interrupts/gpe45:       0   invalid
/sys/firmware/acpi/interrupts/gpe46:       0   invalid
/sys/firmware/acpi/interrupts/gpe47:       0   invalid
/sys/firmware/acpi/interrupts/gpe48:       0   invalid
/sys/firmware/acpi/interrupts/gpe49:       0   invalid
/sys/firmware/acpi/interrupts/gpe4A:       0   invalid
/sys/firmware/acpi/interrupts/gpe4B:       0   invalid
/sys/firmware/acpi/interrupts/gpe4C:       0   invalid
/sys/firmware/acpi/interrupts/gpe4D:       0   invalid
/sys/firmware/acpi/interrupts/gpe4E:       0   invalid
/sys/firmware/acpi/interrupts/gpe4F:       0   invalid
/sys/firmware/acpi/interrupts/gpe50:      13   enabled
/sys/firmware/acpi/interrupts/gpe51:       0   invalid
/sys/firmware/acpi/interrupts/gpe52:       0   invalid
/sys/firmware/acpi/interrupts/gpe53:       0   invalid
/sys/firmware/acpi/interrupts/gpe54:       0   invalid
/sys/firmware/acpi/interrupts/gpe55:       0   invalid
/sys/firmware/acpi/interrupts/gpe56:       0   invalid
/sys/firmware/acpi/interrupts/gpe57:       0   invalid
/sys/firmware/acpi/interrupts/gpe58:       0   invalid
/sys/firmware/acpi/interrupts/gpe59:       0   invalid
/sys/firmware/acpi/interrupts/gpe5A:       0   invalid
/sys/firmware/acpi/interrupts/gpe5B:       0   invalid
/sys/firmware/acpi/interrupts/gpe5C:       0   invalid
/sys/firmware/acpi/interrupts/gpe5D:       0   invalid
/sys/firmware/acpi/interrupts/gpe5E:       0   invalid
/sys/firmware/acpi/interrupts/gpe5F:       0   invalid
/sys/firmware/acpi/interrupts/gpe60:       0   invalid
/sys/firmware/acpi/interrupts/gpe61:       0   enabled
/sys/firmware/acpi/interrupts/gpe62:       2   enabled
/sys/firmware/acpi/interrupts/gpe63:       0   invalid
/sys/firmware/acpi/interrupts/gpe64:       0   invalid
/sys/firmware/acpi/interrupts/gpe65:       0   invalid
/sys/firmware/acpi/interrupts/gpe66:       4   enabled
/sys/firmware/acpi/interrupts/gpe67:       0   enabled
/sys/firmware/acpi/interrupts/gpe68:       0   invalid
/sys/firmware/acpi/interrupts/gpe69:       0   disabled
/sys/firmware/acpi/interrupts/gpe6A:       0   invalid
/sys/firmware/acpi/interrupts/gpe6B:       0   invalid
/sys/firmware/acpi/interrupts/gpe6C:       0   invalid
/sys/firmware/acpi/interrupts/gpe6D:       0   enabled
/sys/firmware/acpi/interrupts/gpe6E:       0   invalid
/sys/firmware/acpi/interrupts/gpe6F:       0   enabled
/sys/firmware/acpi/interrupts/gpe70:       0   invalid
/sys/firmware/acpi/interrupts/gpe71:       0   invalid
/sys/firmware/acpi/interrupts/gpe72:       0   invalid
/sys/firmware/acpi/interrupts/gpe73:       0   invalid
/sys/firmware/acpi/interrupts/gpe74:       0   invalid
/sys/firmware/acpi/interrupts/gpe75:       0   invalid
/sys/firmware/acpi/interrupts/gpe76:       0   invalid
/sys/firmware/acpi/interrupts/gpe77:       0   invalid
/sys/firmware/acpi/interrupts/gpe78:       0   invalid
/sys/firmware/acpi/interrupts/gpe79:       0   invalid
/sys/firmware/acpi/interrupts/gpe7A:       0   invalid
/sys/firmware/acpi/interrupts/gpe7B:       0   invalid
/sys/firmware/acpi/interrupts/gpe7C:       0   invalid
/sys/firmware/acpi/interrupts/gpe7D:       0   invalid
/sys/firmware/acpi/interrupts/gpe7E:       0   invalid
/sys/firmware/acpi/interrupts/gpe7F:       0   invalid
/sys/firmware/acpi/interrupts/gpe_all:      19
/sys/firmware/acpi/interrupts/sci:      19
/sys/firmware/acpi/interrupts/sci_not:       1
Comment 18 José Pekkarinen 2016-12-09 04:47:55 UTC
Created attachment 247221 [details]
acpidump
Comment 19 José Pekkarinen 2016-12-09 04:49:01 UTC
I'll continue this testing with 4.8.12, I guess it might be none of a problem, but feel free to request to get back to the previous if you feel relevant.
Comment 20 Lv Zheng 2016-12-09 06:20:20 UTC
(In reply to José Pekkarinen from comment #17)
> unsetting the option brought the interrupts folder back:

So it sounds to me like this has been fixed.
Let me change it to RESOLVED.
Feel free to re-open if you can see further problems.

Thanks
Lv
Comment 21 José Pekkarinen 2016-12-09 06:54:27 UTC
The power button event is yet not generated, so reopening.
Comment 22 Lv Zheng 2016-12-12 08:11:55 UTC
1. In FACP:
            Control Method Power Button (V1) : 0
   So pushing power button won't trigger fixed events.
2. In DSDT:
        Method (PKG2, 2, Serialized)
        {
            Name (PKG, Package (0x02)
            {
                Zero, 
                Zero
            })
            Store (Arg0, Index (PKG, Zero))
            Store (Arg1, Index (PKG, One))
            Return (PKG)
        }

        Device (PWRB)
        {
            Name (_HID, EisaId ("PNP0C0C"))  // _HID: Hardware ID
            Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
            {
                Return (PKG2 (GGPE (0x02020013), 0x03))
            }
        }
   There is a _PRW defined for the power button.
   However I cannot obtain its information.
   Could you:
   1. enable CONFIG_ACPI_DEBUG/CONFIG_ACPI_DEBUGGER_USER and rebuild kernel
   2. Boot the rebuilt kernel
   2. Build acpidbg utilities, in kernel source tree:
      # cd tools
      # make acpi
   4. Execute _PRW and paste the result here, in kernel source tree:
      # mount -t debugfs none /sys/kernel/debug
      # modprobe acpi_dbg
      # tools/power/acpi/acpidbg -b "ex \_SB.PWRB._PRW"
   One more question is:
   Can you use power button to wake the system up?
   Please also upload /proc/acpi/wakeup result here.

Thanks
Lv
Comment 23 Lv Zheng 2016-12-12 08:29:28 UTC
(In reply to Lv Zheng from comment #22)
> 1. In FACP:
>             Control Method Power Button (V1) : 0

I'm wrong here.

Obtained the spec words:
PWR_BUTTON
A zero indicates the power button is handled as a fixed
feature programming model; a one indicates the power button
is handled as a control method device. If the system does not
have a power button, this value would be “1” and no sleep
button device would be present.
Independent of the value of this field, the presence of a power
button device in the namespace indicates to OSPM that the
power button is handled as a control method device.

0 means fixed event power button to Linux.
However spec also declares that if PNP0C0C exists, no matter whether this flag is 0 or 1, it should be handled as a control method device.

So let's focus on the reset of the tests and questions.

Thanks
Lv
Comment 24 José Pekkarinen 2016-12-12 11:44:23 UTC
So is this actually needing any info at all to proceed?

Thanks!

José.
Comment 25 Lv Zheng 2016-12-13 00:00:45 UTC
Yes, for now please check this test:

   There is a _PRW defined for the power button.
   However I cannot obtain its information.
   Could you:
   1. enable CONFIG_ACPI_DEBUG/CONFIG_ACPI_DEBUGGER_USER and rebuild kernel
   2. Boot the rebuilt kernel
   2. Build acpidbg utilities, in kernel source tree:
      # cd tools
      # make acpi
   4. Execute _PRW and paste the result here, in kernel source tree:
      # mount -t debugfs none /sys/kernel/debug
      # modprobe acpi_dbg
*     # tools/power/acpi/acpidbg -b "ex \_SB.PWRB._PRW"
   One more question is:
   Can you use power button to wake the system up?

*  Please also upload /proc/acpi/wakeup result here.

I'm searching for the PWRB notifications now.
Will come back to you for further tests.
Comment 26 José Pekkarinen 2016-12-13 04:54:13 UTC
Ok:

power/acpi/tools/acpidbg/acpidbg -b "ex \_SB.PWRB._PRW"
Evaluating \_SB.PWRB._PRW
Evaluation of \_SB.PWRB._PRW returned object ffff880359a40000, external buffer length 48
 [Package] Contains 2 Elements:
  [Integer] = 0000000000000013
  [Integer] = 0000000000000003

Regarding to the question about using the power button to wake up the system the answer is no, I didn't take the time to make suspend/resume working.

cat /proc/acpi/wakeup
Device  S-state   Status   Sysfs node
PEG0      S4    *disabled
PEGP      S4    *disabled
PEG1      S4    *disabled
PEGP      S4    *disabled
PEG2      S4    *disabled
PEGP      S4    *disabled
RP17      S4    *disabled
PXSX      S4    *disabled
RP18      S4    *disabled
PXSX      S4    *disabled
RP19      S4    *disabled
PXSX      S4    *disabled
RP20      S4    *disabled
PXSX      S4    *disabled
RP01      S4    *disabled  pci:0000:00:1c.0
PXSX      S4    *disabled  pci:0000:01:00.0
                *disabled  platform:rtsx_pci_sdmmc.0
                *disabled  platform:rtsx_pci_ms.0
RP02      S4    *disabled  pci:0000:00:1c.1
PXSX      S4    *disabled  pci:0000:02:00.0
RP03      S4    *disabled
PXSX      S4    *disabled
RP04      S4    *disabled
PXSX      S4    *disabled
RP05      S4    *disabled
PXSX      S4    *disabled
RP06      S4    *disabled
PXSX      S4    *disabled
RP07      S4    *disabled
PXSX      S4    *disabled
RP08      S4    *disabled
PXSX      S4    *disabled
RP09      S4    *disabled  pci:0000:00:1d.0
PXSX      S4    *disabled  pci:0000:03:00.0
RP10      S4    *disabled
PXSX      S4    *disabled
RP11      S4    *disabled
PXSX      S4    *disabled
RP12      S4    *disabled
PXSX      S4    *disabled
RP13      S4    *disabled
PXSX      S4    *disabled
RP14      S4    *disabled
PXSX      S4    *disabled
RP15      S4    *disabled
PXSX      S4    *disabled
RP16      S4    *disabled
PXSX      S4    *disabled
GLAN      S4    *disabled
XHC       S3    *enabled   pci:0000:00:14.0
XDCI      S4    *disabled
HDAS      S4    *disabled  pci:0000:00:1f.3
PWRB      S3    *enabled   platform:PNP0C0C:00
SLPB      S3    *enabled   platform:PNP0C0E:00
LID0      S3    *enabled   platform:PNP0C0D:00

Thanks!

José.
Comment 27 Lv Zheng 2016-12-15 06:10:05 UTC
OK.
Checked the code, the notifications generated for PWRB are:
\_SB.PCI0.LPCB.SWAK (Invoked by _WAK):
	Line 4088:                         Notify (PWRB, 0x02)
	Line 4091:                     Notify (PWRB, 0x02)
SCMD (Invoked by \_SB.WMI.WMBB):
	Line 23574:                     Notify (PWRB, 0x80)
	Line 23719:                                     Notify (PWRB, 0x80)
_SB.PCI0.LPCB.EC._Q1D:
	Line 25271:                 Notify (PWRB, 0x80)

It looks like:
1. Power button wakeup event is invoked in _WAK;
2. Power button sleep event is invoked either in WMI or EC.

For WMI, it's out of my support scope.
For EC, I'll help to check if there is something wrong with the capability of generating 0x1D EC query (maybe that's just why the OEM needs to implement WMI method).
Comment 28 Lv Zheng 2016-12-15 06:23:40 UTC
According to your previous description, after pressing power button, no SCI IRQs are indicated.
So I'm going to check if EC is working on your platform.

Please use the following boot parameter to boot the kernel:
dyndbg="file ec.c +p"
You need to enable CONFIG_DYNAMIC_DEBUG and rebuild the kernel if it is not enabled.

And do some tests like:
1. closing/opening lid
2. plugging/unplugging power core/battery
3. pushing some switches (if any)
4. cat /proc/acpi/button/lid/LID0/state
5. cat /sys/class/power_supply/BAT0/present(or other files, for example, capacity)
6. cat /sys/class/power_supply/AC/online

Upload the dmesg here.

Thanks
Lv
Comment 29 Zhang Rui 2016-12-16 00:59:19 UTC
(In reply to Lv Zheng from comment #28)
> According to your previous description, after pressing power button, no SCI
> IRQs are indicated.
> So I'm going to check if EC is working on your platform.
> 
why EC?
If there is no SCI, none of the ACPI devices gonna work.
To me, the key problem is, if there is no ACPI Interrupt when pressing the power button, what interrupt is fired actually?
Comment 30 Lv Zheng 2016-12-16 01:04:47 UTC
(In reply to Zhang Rui from comment #29)
> (In reply to Lv Zheng from comment #28)
> > According to your previous description, after pressing power button, no SCI
> > IRQs are indicated.
> > So I'm going to check if EC is working on your platform.
> > 
> why EC?
> If there is no SCI, none of the ACPI devices gonna work.
> To me, the key problem is, if there is no ACPI Interrupt when pressing the
> power button, what interrupt is fired actually?

Please check comment 17, SCI is working now.
We are finding whether power button can generate any events.

So according to this:
_SB.PCI0.LPCB.EC._Q1D:
	Line 25271:                 Notify (PWRB, 0x80)
I'm checking if EC query 0x1D can be seen for this platform
Comment 31 Lv Zheng 2016-12-16 01:16:49 UTC
(In reply to Lv Zheng from comment #30)
> (In reply to Zhang Rui from comment #29)
> > (In reply to Lv Zheng from comment #28)
> > > According to your previous description, after pressing power button, no
> SCI
> > > IRQs are indicated.
> > > So I'm going to check if EC is working on your platform.
> > > 
> > why EC?
> > If there is no SCI, none of the ACPI devices gonna work.
> > To me, the key problem is, if there is no ACPI Interrupt when pressing the
> > power button, what interrupt is fired actually?
> 
> Please check comment 17, SCI is working now.
> We are finding whether power button can generate any events.

Hi, Rui

See comment 21, the bug is reopened by José because of no power button events.

> 
> So according to this:
> _SB.PCI0.LPCB.EC._Q1D:
>       Line 25271:                 Notify (PWRB, 0x80)
> I'm checking if EC query 0x1D can be seen for this platform

We can see this line in the DSDT, so it's required to check if EC is working.
If EC is working and there is still no event, this might be a platform specific issue because:
SCMD (Invoked by \_SB.WMI.WMBB):
	Line 23574:                     Notify (PWRB, 0x80)
	Line 23719:                                     Notify (PWRB, 0x80)

Thanks
Lv
Comment 32 José Pekkarinen 2016-12-16 17:33:11 UTC
Created attachment 247901 [details]
dmesg

I followed the steps as described in the previous comments, and after the power button I tried several of the special keys like blocking the trackpad, modify the brightness of the screen etc.
Comment 33 Lv Zheng 2016-12-19 02:03:04 UTC
1. EC GPE is 0x50
   [    0.383142] ACPI : EC: GPE = 0x50, I/O: command/status = 0x66, data = 0x62

2. EC GPE is handled as IRQ:
	Line 507: [    0.681112] ACPI : EC: IRQ (3)
	Line 516: [    0.681968] ACPI : EC: IRQ (3)
	Line 740: [    5.789237] ACPI : EC: IRQ (0)
	Line 749: [    5.790156] ACPI : EC: IRQ (0)
	Line 785: [    7.794241] ACPI : EC: IRQ (2)
	Line 794: [    7.795129] ACPI : EC: IRQ (2)
	Line 948: [   45.300687] ACPI : EC: IRQ (1)
	Line 951: [   45.300729] ACPI : EC: IRQ (1)
	Line 959: [   45.301505] ACPI : EC: IRQ (1)
	Line 966: [   45.301550] ACPI : EC: IRQ (1)
	Line 972: [   47.305723] ACPI : EC: IRQ (1)
	Line 976: [   47.305761] ACPI : EC: IRQ (1)
	Line 983: [   47.306583] ACPI : EC: IRQ (1)
	Line 991: [   47.306625] ACPI : EC: IRQ (1)
	Line 996: [   49.310847] ACPI : EC: IRQ (2)
	Line 1005: [   49.311709] ACPI : EC: IRQ (2)
	Line 1021: [   51.315772] ACPI : EC: IRQ (2)
	Line 1030: [   51.316573] ACPI : EC: IRQ (2)
	Line 1051: [   75.376495] ACPI : EC: IRQ (2)
	Line 1060: [   75.377261] ACPI : EC: IRQ (2)
	Line 1096: [   98.434695] ACPI : EC: IRQ (0)
	Line 1102: [   98.434737] ACPI : EC: IRQ (0)
	Line 1105: [   98.435491] ACPI : EC: IRQ (0)
	Line 1115: [   98.435536] ACPI : EC: IRQ (2)
	Line 1118: [  113.474148] ACPI : EC: IRQ (0)
	Line 1124: [  113.474191] ACPI : EC: IRQ (0)
	Line 1127: [  113.474975] ACPI : EC: IRQ (0)
	Line 1134: [  113.475022] ACPI : EC: IRQ (0)
	Line 1140: [  120.942604] ACPI : EC: IRQ (3)
	Line 1149: [  120.942667] ACPI : EC: IRQ (2)
	Line 1153: [  120.944601] ACPI : EC: IRQ (3)
	Line 1163: [  120.944660] ACPI : EC: IRQ (2)
	Line 1166: [  121.494193] ACPI : EC: IRQ (0)
	Line 1170: [  121.494235] ACPI : EC: IRQ (0)
	Line 1177: [  121.495086] ACPI : EC: IRQ (2)
	Line 1182: [  121.495134] ACPI : EC: IRQ (0)
	Line 1190: [  123.548705] ACPI : EC: IRQ (0)
	Line 1201: [  123.550736] ACPI : EC: IRQ (0)
	Line 1212: [  124.501338] ACPI : EC: IRQ (2)
	Line 1221: [  124.502175] ACPI : EC: IRQ (0)
	Line 1232: [  126.516158] ACPI : EC: IRQ (2)
	Line 1241: [  126.517005] ACPI : EC: IRQ (2)
	Line 1252: [  126.566194] ACPI : EC: IRQ (2)
	Line 1261: [  126.568133] ACPI : EC: IRQ (2)
	Line 1276: [  127.969715] ACPI : EC: IRQ (0)
	Line 1289: [  127.974460] ACPI : EC: IRQ (1)
	Line 1308: [  128.473597] ACPI : EC: IRQ (1)
	Line 1311: [  128.473641] ACPI : EC: IRQ (1)
	Line 1319: [  128.474038] ACPI : EC: IRQ (1)
	Line 1324: [  128.474092] ACPI : EC: IRQ (1)
	Line 1336: [  135.183871] ACPI : EC: IRQ (0)
	Line 1345: [  135.184272] ACPI : EC: IRQ (0)
	Line 1356: [  135.875824] ACPI : EC: IRQ (2)
	Line 1365: [  135.876162] ACPI : EC: IRQ (1)
	Line 1376: [  136.271809] ACPI : EC: IRQ (2)
	Line 1385: [  136.272142] ACPI : EC: IRQ (0)
	Line 1390: [  136.272202] ACPI : EC: IRQ (0)
	Line 1398: [  144.516127] ACPI : EC: IRQ (2)
	Line 1407: [  144.516513] ACPI : EC: IRQ (3)
	Line 1412: [  144.516561] ACPI : EC: IRQ (1)
	Line 1420: [  163.614534] ACPI : EC: IRQ (2)
	Line 1429: [  163.615328] ACPI : EC: IRQ (3)
	Line 1439: [  163.615378] ACPI : EC: IRQ (0)
	Line 1442: [  167.624573] ACPI : EC: IRQ (0)
	Line 1451: [  167.625378] ACPI : EC: IRQ (0)
	Line 1456: [  167.625425] ACPI : EC: IRQ (0)
	Line 1464: [  186.672971] ACPI : EC: IRQ (2)
	Line 1473: [  186.673688] ACPI : EC: IRQ (0)
	Line 1484: [  206.724957] ACPI : EC: IRQ (2)
	Line 1493: [  206.725014] ACPI : EC: IRQ (0)
	Line 1495: [  206.725727] ACPI : EC: IRQ (2)
	Line 1505: [  206.725770] ACPI : EC: IRQ (0)
	Line 1522: [  245.825925] ACPI : EC: IRQ (0)
	Line 1525: [  245.825967] ACPI : EC: IRQ (0)
	Line 1533: [  245.826756] ACPI : EC: IRQ (0)
	Line 1538: [  245.826802] ACPI : EC: IRQ (0)
	Line 1546: [  261.515976] ACPI : EC: IRQ (0)
	Line 1555: [  261.516348] ACPI : EC: IRQ (3)
	Line 1565: [  261.516395] ACPI : EC: IRQ (2)
	Line 1568: [  261.916922] ACPI : EC: IRQ (0)
	Line 1577: [  261.916983] ACPI : EC: IRQ (2)
	Line 1579: [  261.917327] ACPI : EC: IRQ (2)
	Line 1589: [  261.917377] ACPI : EC: IRQ (1)
	Line 1592: [  274.898975] ACPI : EC: IRQ (0)
	Line 1598: [  274.899018] ACPI : EC: IRQ (0)
	Line 1601: [  274.899891] ACPI : EC: IRQ (0)
	Line 1608: [  274.899941] ACPI : EC: IRQ (0)
	Line 1614: [  276.904403] ACPI : EC: IRQ (0)
	Line 1623: [  276.905310] ACPI : EC: IRQ (0)
	Line 1630: [  276.905356] ACPI : EC: IRQ (0)
   That can explain your previous test result:
   /sys/firmware/acpi/interrupts/gpe50:      13   enabled

3. EC event is working:
	Line 523: [    0.682007] ACPI : EC: Query(0x1c) scheduled
	Line 525: [    0.682009] ACPI : EC: Query(0x1c) started
	Line 526: [    0.682092] ACPI : EC: Query(0x1c) stopped
	Line 756: [    5.790204] ACPI : EC: Query(0x1c) scheduled
	Line 758: [    5.790206] ACPI : EC: Query(0x1c) started
	Line 759: [    5.790297] ACPI : EC: Query(0x1c) stopped
	Line 801: [    7.795163] ACPI : EC: Query(0x1c) scheduled
	Line 803: [    7.795165] ACPI : EC: Query(0x1c) started
	Line 804: [    7.795256] ACPI : EC: Query(0x1c) stopped
	Line 968: [   45.301571] ACPI : EC: Query(0x1c) scheduled
	Line 970: [   45.301573] ACPI : EC: Query(0x1c) started
	Line 971: [   45.301682] ACPI : EC: Query(0x1c) stopped
	Line 990: [   47.306612] ACPI : EC: Query(0x1c) scheduled
	Line 994: [   47.306646] ACPI : EC: Query(0x1c) started
	Line 995: [   47.306727] ACPI : EC: Query(0x1c) stopped
	Line 1012: [   49.311741] ACPI : EC: Query(0x1c) scheduled
	Line 1014: [   49.311743] ACPI : EC: Query(0x1c) started
	Line 1015: [   49.311850] ACPI : EC: Query(0x1c) stopped
	Line 1037: [   51.316612] ACPI : EC: Query(0x1c) scheduled
	Line 1039: [   51.316615] ACPI : EC: Query(0x1c) started
	Line 1040: [   51.316779] ACPI : EC: Query(0x1c) stopped
	Line 1067: [   75.377315] ACPI : EC: Query(0x1c) scheduled
	Line 1069: [   75.377319] ACPI : EC: Query(0x1c) started
	Line 1070: [   75.377752] ACPI : EC: Query(0x1c) stopped
	Line 1112: [   98.435521] ACPI : EC: Query(0x1c) scheduled
	Line 1114: [   98.435523] ACPI : EC: Query(0x1c) started
	Line 1117: [   98.435634] ACPI : EC: Query(0x1c) stopped
	Line 1136: [  113.475042] ACPI : EC: Query(0x1c) scheduled
	Line 1138: [  113.475044] ACPI : EC: Query(0x1c) started
	Line 1139: [  113.475172] ACPI : EC: Query(0x1c) stopped
	Line 1160: [  120.944629] ACPI : EC: Query(0x1b) scheduled
	Line 1162: [  120.944631] ACPI : EC: Query(0x1b) started
	Line 1165: [  120.944758] ACPI : EC: Query(0x1b) stopped
	Line 1186: [  121.495157] ACPI : EC: Query(0x1c) scheduled
	Line 1188: [  121.495159] ACPI : EC: Query(0x1c) started
	Line 1189: [  121.495264] ACPI : EC: Query(0x1c) stopped
	Line 1208: [  123.550796] ACPI : EC: Query(0x1b) scheduled
	Line 1210: [  123.550803] ACPI : EC: Query(0x1b) started
	Line 1211: [  123.551152] ACPI : EC: Query(0x1b) stopped
	Line 1228: [  124.502221] ACPI : EC: Query(0x1c) scheduled
	Line 1230: [  124.502227] ACPI : EC: Query(0x1c) started
	Line 1231: [  124.502567] ACPI : EC: Query(0x1c) stopped
	Line 1248: [  126.517076] ACPI : EC: Query(0x1c) scheduled
	Line 1250: [  126.517088] ACPI : EC: Query(0x1c) started
	Line 1251: [  126.517552] ACPI : EC: Query(0x1c) stopped
	Line 1268: [  126.568180] ACPI : EC: Query(0x16) scheduled
	Line 1270: [  126.568184] ACPI : EC: Query(0x16) started
	Line 1275: [  127.178341] ACPI : EC: Query(0x16) stopped
	Line 1296: [  127.974533] ACPI : EC: Query(0x16) scheduled
	Line 1298: [  127.974541] ACPI : EC: Query(0x16) started
	Line 1328: [  128.474132] ACPI : EC: Query(0x16) scheduled
	Line 1330: [  128.474136] ACPI : EC: Query(0x16) started
	Line 1331: [  128.585622] ACPI : EC: Query(0x16) stopped
	Line 1332: [  129.081612] ACPI : EC: Query(0x16) stopped
	Line 1352: [  135.184378] ACPI : EC: Query(0x11) scheduled
	Line 1354: [  135.184457] ACPI : EC: Query(0x11) started
	Line 1355: [  135.184981] ACPI : EC: Query(0x11) stopped
	Line 1372: [  135.876856] ACPI : EC: Query(0x12) scheduled
	Line 1374: [  135.876862] ACPI : EC: Query(0x12) started
	Line 1375: [  135.877247] ACPI : EC: Query(0x12) stopped
	Line 1394: [  136.272229] ACPI : EC: Query(0x11) scheduled
	Line 1396: [  136.272234] ACPI : EC: Query(0x11) started
	Line 1397: [  136.272536] ACPI : EC: Query(0x11) stopped
	Line 1416: [  144.516598] ACPI : EC: Query(0x16) scheduled
	Line 1418: [  144.516602] ACPI : EC: Query(0x16) started
	Line 1419: [  145.129541] ACPI : EC: Query(0x16) stopped
	Line 1436: [  163.615358] ACPI : EC: Query(0x1c) scheduled
	Line 1438: [  163.615361] ACPI : EC: Query(0x1c) started
	Line 1441: [  163.615565] ACPI : EC: Query(0x1c) stopped
	Line 1460: [  167.625597] ACPI : EC: Query(0x1c) scheduled
	Line 1462: [  167.625600] ACPI : EC: Query(0x1c) started
	Line 1463: [  167.625729] ACPI : EC: Query(0x1c) stopped
	Line 1480: [  186.673761] ACPI : EC: Query(0x1c) scheduled
	Line 1482: [  186.673767] ACPI : EC: Query(0x1c) started
	Line 1483: [  186.674115] ACPI : EC: Query(0x1c) stopped
	Line 1502: [  206.725757] ACPI : EC: Query(0x1c) scheduled
	Line 1504: [  206.725758] ACPI : EC: Query(0x1c) started
	Line 1507: [  206.725905] ACPI : EC: Query(0x1c) stopped
	Line 1542: [  245.827373] ACPI : EC: Query(0x1c) scheduled
	Line 1544: [  245.827376] ACPI : EC: Query(0x1c) started
	Line 1545: [  245.827481] ACPI : EC: Query(0x1c) stopped
	Line 1562: [  261.516380] ACPI : EC: Query(0x42) scheduled
	Line 1564: [  261.516382] ACPI : EC: Query(0x42) started
	Line 1567: [  261.517150] ACPI : EC: Query(0x42) stopped
	Line 1586: [  261.917355] ACPI : EC: Query(0x53) scheduled
	Line 1588: [  261.917357] ACPI : EC: Query(0x53) started
	Line 1591: [  261.918145] ACPI : EC: Query(0x53) stopped
	Line 1610: [  274.899961] ACPI : EC: Query(0x1c) scheduled
	Line 1612: [  274.899964] ACPI : EC: Query(0x1c) started
	Line 1613: [  274.900091] ACPI : EC: Query(0x1c) stopped
	Line 1632: [  276.905375] ACPI : EC: Query(0x1c) scheduled
	Line 1634: [  276.905378] ACPI : EC: Query(0x1c) started
	Line 1635: [  276.905477] ACPI : EC: Query(0x1c) stopped

I can see the following queries:
0x1c: related to thermal
0x1b: related to lid
0x16: related to AC/battery
0x11: related to backlight/WMI
0x12: related to backlight/WMI
0x42: related to AC
0x53: related to AC

However I cannot see any SLPB/PWRB related notifications.

So from ACPI's point of view, everything is working and still there is no PWRB/SLPB notifications.

My conclusion is:
You platform seems to be needing a clevo-WMI driver.
It's beyond my support scope, let me re-assign it to platform specific hardware.

Thanks and best regards
Lv
Comment 34 Lv Zheng 2016-12-19 02:04:20 UTC
It's better to have someone owning same laptop to enable the clevo-wmi support.
Comment 35 Lv Zheng 2016-12-19 02:09:44 UTC
Another possibility is:
You may want to disable all GPIO support from your kernel build and try again.
Comment 36 José Pekkarinen 2016-12-19 05:24:48 UTC
Created attachment 248001 [details]
dmesg after several events with gpio disabled.

Second try disabling the gpio support in the kernel config.
Comment 37 Lv Zheng 2016-12-19 05:53:39 UTC
More queries can be seen now:

	Line 523: [    1.446230] ACPI : EC: Query(0x1c) scheduled
	Line 525: [    1.446232] ACPI : EC: Query(0x1c) started
	Line 526: [    1.446373] ACPI : EC: Query(0x1c) stopped
	Line 642: [    3.545760] ACPI : EC: Query(0x1c) scheduled
	Line 644: [    3.545762] ACPI : EC: Query(0x1c) started
	Line 647: [    3.545866] ACPI : EC: Query(0x1c) stopped
	Line 777: [   11.562573] ACPI : EC: Query(0x1c) scheduled
	Line 779: [   11.562575] ACPI : EC: Query(0x1c) started
	Line 782: [   11.562688] ACPI : EC: Query(0x1c) stopped
	Line 924: [   41.922026] ACPI : EC: Query(0x1c) scheduled
	Line 926: [   41.922029] ACPI : EC: Query(0x1c) started
	Line 927: [   41.922352] ACPI : EC: Query(0x1c) stopped
	Line 951: [   91.474485] ACPI : EC: Query(0x1b) scheduled
	Line 953: [   91.474494] ACPI : EC: Query(0x1b) started
	Line 954: [   91.474896] ACPI : EC: Query(0x1b) stopped
	Line 971: [   93.578408] ACPI : EC: Query(0x1b) scheduled
	Line 973: [   93.578411] ACPI : EC: Query(0x1b) started
	Line 974: [   93.578614] ACPI : EC: Query(0x1b) stopped
	Line 991: [   98.692702] ACPI : EC: Query(0x0b) scheduled
	Line 993: [   98.692711] ACPI : EC: Query(0x0b) started
	Line 994: [   98.693047] ACPI : EC: Query(0x0b) stopped
	Line 1011: [  100.997972] ACPI : EC: Query(0x0c) scheduled
	Line 1013: [  100.997982] ACPI : EC: Query(0x0c) started
	Line 1014: [  100.998418] ACPI : EC: Query(0x0c) stopped
	Line 1031: [  102.952119] ACPI : EC: Query(0x0e) scheduled
	Line 1033: [  102.952128] ACPI : EC: Query(0x0e) started
	Line 1034: [  102.952584] ACPI : EC: Query(0x0e) stopped
	Line 1051: [  103.522887] ACPI : EC: Query(0x0f) scheduled
	Line 1053: [  103.522894] ACPI : EC: Query(0x0f) started
	Line 1054: [  103.523185] ACPI : EC: Query(0x0f) stopped
	Line 1071: [  103.838498] ACPI : EC: Query(0x0e) scheduled
	Line 1073: [  103.838502] ACPI : EC: Query(0x0e) started
	Line 1074: [  103.838681] ACPI : EC: Query(0x0e) stopped
	Line 1091: [  104.269973] ACPI : EC: Query(0x0f) scheduled
	Line 1093: [  104.269982] ACPI : EC: Query(0x0f) started
	Line 1094: [  104.270403] ACPI : EC: Query(0x0f) stopped
	Line 1111: [  106.058255] ACPI : EC: Query(0x11) scheduled
	Line 1113: [  106.058318] ACPI : EC: Query(0x11) started
	Line 1114: [  106.058878] ACPI : EC: Query(0x11) stopped
	Line 1131: [  106.308599] ACPI : EC: Query(0x12) scheduled
	Line 1133: [  106.308604] ACPI : EC: Query(0x12) started
	Line 1134: [  106.308882] ACPI : EC: Query(0x12) stopped
	Line 1151: [  106.779844] ACPI : EC: Query(0x13) scheduled
	Line 1153: [  106.779857] ACPI : EC: Query(0x13) started
	Line 1154: [  106.781859] ACPI : EC: Query(0x13) stopped
	Line 1172: [  108.823969] ACPI : EC: Query(0x13) scheduled
	Line 1174: [  108.823973] ACPI : EC: Query(0x13) started
	Line 1177: [  108.824204] ACPI : EC: Query(0x13) stopped
	Line 1208: [  109.630895] ACPI : EC: Query(0x15) scheduled
	Line 1210: [  109.630900] ACPI : EC: Query(0x15) started
	Line 1211: [  109.631173] ACPI : EC: Query(0x15) stopped
	Line 1229: [  110.733224] ACPI : EC: Query(0x13) scheduled
	Line 1231: [  110.733233] ACPI : EC: Query(0x13) started
	Line 1232: [  110.733591] ACPI : EC: Query(0x13) stopped

New SCIs:
  0b: WMI
  0c: WMI
  0e: WMI
  0f: WMI
Still no _Q1D, _Q0D.
It looks you really need a clevo-wmi developer to get things proceeded now.

You can try another test like comment 17 and post more information here for the candidate.

Thanks and best regards
Lv

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