Comment 28 for bug 1349740

SunBear (sunbear-c22) wrote :

I found the reason for error message. It was caused by my system BIOS setting.
Motherboard: ASUS Z170M-Plus
Driver: Z170M-PLUS BIOS 3301 updated 2017/03/02 (latest driver when posting this comment)

In BIOS main, I went to Advanced --> Platform Msc Configuration.
In this page, I had to set:
- PCI Express Native Power Management Enabled
- Native ASPM Enabled
Enabling the latter parameter allowed OS to managed ASPM while disabling it meant that BIOS managed ASPM of PCIe. In my case, Native ASPM was Disabled and this caused the error.
[ 0.201657], acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug PME AER PCIeCapability] now replaced [ 0.186376] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM

$ dmesg | grep acpi
[ 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] ACPI: LAPIC_NMI (acpi_id[0x05] high edge lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x06] high edge lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x07] high edge lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x08] high edge lint[0x1])
[ 0.157543] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.200629] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[ 0.201657] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug PME AER PCIeCapability]
[ 0.209567] acpiphp: Slot [1] registered
[ 0.209618] acpiphp: Slot [1-1] registered
[ 0.234384] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
sunbear1604@Eliot:~$ dmesg | grep ASPM
[ 0.200629] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]