acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM

Bug #1349740 reported by Cristian Aravena Romero
150
This bug affects 35 people
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

[ 0.183201] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: linux-image-3.16.0-6-generic 3.16.0-6.11
ProcVersionSignature: Ubuntu 3.16.0-6.11-generic 3.16.0-rc7
Uname: Linux 3.16.0-6-generic x86_64
ApportVersion: 2.14.4-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: caravena 2878 F.... pulseaudio
CurrentDesktop: GNOME
Date: Tue Jul 29 04:47:24 2014
HibernationDevice: RESUME=UUID=360bd2d2-4f44-4311-86d6-4781ac81ee87
InstallationDate: Installed on 2014-04-27 (92 days ago)
InstallationMedia: Ubuntu-GNOME 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 530U3C/530U4C
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-6-generic root=UUID=13144268-2374-4154-83f1-c35d81306190 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-6-generic N/A
 linux-backports-modules-3.16.0-6-generic N/A
 linux-firmware 1.132
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/15/2013
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: P14AAJ
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: SAMSUNG_NP1234567890
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvrP14AAJ:bd04/15/2013:svnSAMSUNGELECTRONICSCO.,LTD.:pn530U3C/530U4C:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnSAMSUNG_NP1234567890:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
dmi.product.name: 530U3C/530U4C
dmi.product.version: 0.1
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

Revision history for this message
Cristian Aravena Romero (caravena) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.16 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16-rc7-utopic/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Cristian Aravena Romero (caravena) wrote :

[ 0.186187] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM

tags: added: kernel-bug-exists-upstream
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
In , untaintableangel (untaintableangel-linux-kernel-bugs) wrote :

Created attachment 152971
lspci.txt

Greetings! New laptop and suffers a few ACPI issues on linux.

OS: Ubuntu 14.10 64bit

Current kernel: 3.17.0-031700-generic #201410060605 SMP Mon Oct 6 10:07:09 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux (from ubuntu mainline) (also running ubuntu 14.10's latest default based on 3.16.3 ("3.16.0.21.22")

Laptop: Acer Aspire E5-511, with latest BIOS (v1.03)

To be attached:
lspci.txt
dmidecode.txt
result of 'sudo acpidump'

Booting is very temperamental, and i can't get it to hibernate/suspend without becoming totally non-responsive to get the /var/log/kern.log.0 file.
However, these are the results of debugging boot parameters:

acpi=off boots but with fans constantly going
acpi=ht boots, fan behaves itself
pci=noacpi doesn't boot, hangs on garbled text
acpi=noirq boots but then hangs on plymouth splash
pnpacpi=off boots and behaves itself reasonably (currently using this)
noapic xor nolapic neither boot

/proc/acpi/fan and /proc/acpi/thermal_zone/*/trip_points via 'cat' are both empty.

Recurring error messages printed:
dw_dmac INTL9C60:00: invalid resource (for anything with the power button?)

and the following with the latter acpi debugging parameters:
"SCI (ACPI GSI 9) not registered" and
"i2c_designware 80860F41:02 failure requesting irq 34"
"i2c_designware 80860F41:05 failure requesting irq 37"

Revision history for this message
In , untaintableangel (untaintableangel-linux-kernel-bugs) wrote :

Created attachment 152981
dmidecode.txt

Revision history for this message
In , untaintableangel (untaintableangel-linux-kernel-bugs) wrote :

Created attachment 152991
result of 'sudo acpidump'

Revision history for this message
In , untaintableangel (untaintableangel-linux-kernel-bugs) wrote :

Created attachment 153001
dmesg | grep acpi

Revision history for this message
In , untaintableangel (untaintableangel-linux-kernel-bugs) wrote :

Created attachment 153011
dsdt.dsl file from acpi dump

using instructions from
http://alexhungdmz.blogspot.co.uk/2012/05/how-to-dump-acpi-tables-in-ubuntu.html

just incase

Revision history for this message
In , rui.zhang (rui.zhang-linux-kernel-bugs) wrote :

(In reply to untaintableangel from comment #0)
> pnpacpi=off boots and behaves itself reasonably (currently using this)

what do you get if you boot without any of these boot option?

>
> /proc/acpi/fan and /proc/acpi/thermal_zone/*/trip_points via 'cat' are both
> empty.
>
there is no active thermal control on your machine.
BTW, /proc/acpi/fan and /proc/acpi/thermal_zone are both removed years ago, and I don't know why you can still use it with 3.17 kernel.

> Recurring error messages printed:
> dw_dmac INTL9C60:00: invalid resource (for anything with the power button?)
>
please attach the full dmesg output with those error messages.

> and the following with the latter acpi debugging parameters:
> "SCI (ACPI GSI 9) not registered" and
> "i2c_designware 80860F41:02 failure requesting irq 34"
> "i2c_designware 80860F41:05 failure requesting irq 37"

please apply the patch at https://bugzilla.kernel.org/show_bug.cgi?id=84381#c9 and see if it helps.

Revision history for this message
In , untaintableangel (untaintableangel-linux-kernel-bugs) wrote :

Thanks for your time,

Trying to boot without any of the parameters gives the same results as
pci=noacpi, noapic and nolapic: just garbled text and then it freezes and won't respond to anything at all, so there's no choice but to just switch it off.
Full dmesg attached after booting (dmesg_full_pnpacpi=off.txt)

also for completeness, i've attached the results of

ls /sys/bus/acpi/drivers/*/
and
/sys/bus/acpi/devices/*/hid

Having seen a couple of messages suggesting this might be a regression from 3.15+, i also tried the latest 3.14 (3.14.21) from ubuntu's kernelmainline as well as building a custom 3.17 with the patch you linked to.

Results: Some success with patched 3.17.0 kernel! Can actually boot without any of the parameters set now, but still some errors/warnings recorded. (See dmesg_after_patched_kernel.txt)

3.14.21 also boots with no parameters set AND there's no warnings/errors (e.g. nothing related to dw_dmac) at boot. (See dmesg_with_3.14_kernel.txt)

Unfortunately neither kernel seems to completely fix the issue 100%, as it still won't power off properly at shutdown?
I think we're close to narrowing down the issue(s) though!

Revision history for this message
In , untaintableangel (untaintableangel-linux-kernel-bugs) wrote :

Created attachment 153571
full dmesg after booting (pnpacpi=off)

Revision history for this message
In , untaintableangel (untaintableangel-linux-kernel-bugs) wrote :

Created attachment 153581
acpi_devices_hid.txt

Revision history for this message
In , untaintableangel (untaintableangel-linux-kernel-bugs) wrote :

Created attachment 153591
acpi_drivers_list.txt

Revision history for this message
In , untaintableangel (untaintableangel-linux-kernel-bugs) wrote :

Created attachment 153601
dmesg with patched 3.17.0 kernel

Revision history for this message
In , untaintableangel (untaintableangel-linux-kernel-bugs) wrote :

Created attachment 153611
dmesg using kernel 3.14.21

Revision history for this message
In , untaintableangel (untaintableangel-linux-kernel-bugs) wrote :

Yes, just to clarify, the system will halt but not poweroff at shutdown.

Currently having a look at bug reports like (https://bugzilla.kernel.org/show_bug.cgi?id=56931) implicated by this in dmesg logs:

pci 0000:00:1d.0: EHCI: BIOS handoff failed (BIOS bug?) 01010001

Revision history for this message
Anthony Harrington (linuxchemist) wrote :

Having this problem myself on Acer Aspire E5-511. Can't poweroff (but can halt) and there are a few suspect dmesg entries for a cause, but it may help lead to a solution, assuming the upcming 3.18 kernel won't hold great untold treasures of course!

See bug report upstream https://bugzilla.kernel.org/show_bug.cgi?id=85931

Changed in linux (Ubuntu):
status: Expired → New
Revision history for this message
Brad Figg (brad-figg) wrote :

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
In , untaintableangel (untaintableangel-linux-kernel-bugs) wrote :

Phew! It's been a long time since i last updated this report, and a lot of testing has happened but everything is at long last fixed.

First of all, i think i should say what an absolute mess the UEFI/Boot settings are in. I discovered that all these acpi problems, errors for the keyboard, hiccups with ehci not behaving and most importantly: the backlight not working despite reconfiguring it and the machine not powering off properly were all caused as a result of a faulty EFI install of ubuntu 14.10 and _i think_ some systemd-logind bug or at the least inherent to a package in ubuntu 14.10 rather than kernel-side.

When i gave up with 14.10 yesterday and installed 14.04 LTS, there isn't a single problem to be found anywhere; the difference in stability is astounding.

That patch you mentioned for me to try, according to that bug report, was ported upsteam into 3.18rc3 and i've been trying every kernel (both mainline debug and custom made with ehci support disabled etc) during the 3.18 cycle with varying amounts of success but never solving the power problems fully.

I looked into the UEFI settings and found a player in this crime - tried installing ubuntu in legacy and met with exactly all the same problems in this bug report, then tried manually creating EFI partition and switching back to UEFI (which caused LOTS of grey hairs!) which eventually worked but then didn't solve the problems anyway (black screen and random hangs at random unless modesetting was disabled) and there seemed to be underlying systemd errors. Booting successfully was like a 1 in 5 chance.

You'll notice that before in this bug report, i manually set systemd to take over with "init=/lib/systemd/systemd" as this has proven effective and harmless before with 14.04 installations - however, in ubuntu 14.10 by default the system has a bizarre mix of inits with systemd not-quite-in-charge-100% and i suspect it wasn't getting information from a daemon or understanding something. (I wish i hadn't just lost my last dmesg in that reinstall.)

Since october, i've tried a kernel from just about every main version 3.12-3.18rc5 and still met with teething pains over UEFI/Legacy boot and something else (bootloader related?). I'm quite fed up with how easy it is to upset it and will be sticking with ubuntu trusty on my friend's laptop for the foreseeable future.

In short:
installing ubuntu 14.10 + booting grub-pc (legacy) -> all these acpi problems and needed that patch now in 3.18rc3 just to boot; instability and won't poweroff
installing ubuntu 14.10 + booting grub-efi (EFI) -> ehci behaves itself but the screen is still fickle, if not more, so and loves to keep going black
install ubuntu 14.04 + booting grub-efi (EFI) -> no problems at all, even powers off at shutdown

Revision history for this message
In , untaintableangel (untaintableangel-linux-kernel-bugs) wrote :

Created attachment 158631
dmesg from fresh EFI ubuntu 14.04LTS install

In spite of there still being an entry:

acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM

all is well!

Revision history for this message
In , zhengjun.xing (zhengjun.xing-linux-kernel-bugs) wrote :

From your test result, it related with ubuntu 14.10 rather than kernel-side.
Have you try other Linux OS (except ubuntu)?

If it is only related with ubuntu 14.10 , maybe you can try ubuntu 14.04LTS with the latest version kernel.

Revision history for this message
WinEunuchs2Unix (ricklee518) wrote :

Same issue on stock Dell Inspiron 17R SE 7720, Ubuntu 14.04 w/EnhanceIO ssd caching, Win 7 w/Intel iRST ssd caching, Linux 3.17.4 kernel.

An hour of googling led to kernel parameter pci=nocrs without any change except, clearing up the message "kernel: [ 0.211061] PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug"

In google circles David Rientjes, Rafael J. Wysocki and Jiang Liu touch on this issue but only a patch for ACPI CPU errors was released (as best I can decipher).

A few bug reports were issued for "kernel: [ 0.216171] \_SB_.PCI0:_OSC invalid UUID" this year but expired because another user didn't confirm it. FTR this error also exists in my /var/log/syslog.

Hopefully these annoying messages can be suppressed because whilst one is looking for a REAL error these ones send him/her down a rabbit hole require hours of goggling update-initramfs and reboots only to discover a false-positive and move onto the next trial & error repair option.

Revision history for this message
frederic varin (tux4fun) wrote :

Affect by this bug too.

Revision history for this message
msreekanth (sreekanth-manga) wrote :

I have all the latest updates. But some times my machine suddenly crashes. So I looked at the /var/log/syslog and I reached this bug report.

I am attaching the file.

Revision history for this message
Timocheck (timocheck) wrote :

The same with Ubuntu 14.04.1 LTS, kernel 3.14

Revision history for this message
In , zhengjun.xing (zhengjun.xing-linux-kernel-bugs) wrote :

ping...

Revision history for this message
In , rui.zhang (rui.zhang-linux-kernel-bugs) wrote :

bug closed as there is no response from the bug reporter.
please feel free to re-open it if you can provide the information requested.

Revision history for this message
Irene Grammatika (irenegr92) wrote :

Kernel: 4.1.0-999-generic x86_64 (64 bit, gcc: 4.6.3)
Desktop: LXDE (Openbox 3.5.2) Distro: Ubuntu 15.04 vivid
System: LENOVO product: 12989YG version: ThinkPad Edge E320
Mobo: LENOVO model: 12989YG Bios: LENOVO version: 8NET36WW (1.20 ) date: 03/01/2013
CPU: Dual core Intel Core i5-2450M

Ubuntu 15.04 with the latest mainline kernel:

$ dmesg | grep failed
[ 1.581973] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM

Revision history for this message
Ross-mounce (ross-mounce) wrote :

Kernel: 3.19.0-16-generic x86_64 (64 bit, gcc: 4.9.2)
Distro: Lubuntu 15.04 vivid
Hardware: HP ENVY 14-k018tx laptop
CPU: Quad core Intel Core i7-4500U

$ dmesg | grep failed
[ 4.060556] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM

Revision history for this message
In , phartatmisassa (phartatmisassa-linux-kernel-bugs) wrote :

Kernel 3.16.30 and 3.16.37

I have been struggling with the same issues, I have switched from Debian 7 to Ubuntu 14.04 to 14.10 to Snappy and back to 14.04.2.

I don't even know where to start, I am not a kernel developer, but it is starting to seem like Microsoft took over recently, or least started "helping" too much.

I just managed to install 14.04.2 by using acpi=no during boot from the disk. At one point while 15 was installed I could only boot into the system in recovery mode and then pop out of that to get a semi functional desktop. I read about the acpi=no thing, tried it, and suddenly I could boot up 100% and shutdown without getting stuck at a black screen and a spinning fan. It reminds me of pulling the cartridge out of a nintendo and trying to keep playing.

So now I am on Windows, because that's the only thing working round here (never in a million years thought I'd say that). I finished installing 14.04.2, it started up fine, I was stoked, then I updated and upgraded it, then rebooted. The damn thing hung and fans started spinning again without a full power down. So I had to press and hold the power button. Next I turned it back on (feel like I am tearing up my PC), and hit f12 and selected ubuntu and grub initiated, then it went to black screen and fans started spinning. Now I can't boot back into Linux anymore, not even with acpi=no.

What info do you need? I will try to get it by booting into rescue mode or trying to boot from dvd. But the last three attempts to boot with acpi=no failed with black screen and spinning fans.

Revision history for this message
iKazmi (alikazmi-2040) wrote :

Bug is present in upstream Kernel 4.0.4 as well.

Kernerl: 4.0.4-generic x86_64
Distro : Kubuntu 15.04

Hardware:
Processor : Quad Core Intel i7-4700qm
GPU : Nvidia 740M (unused, nouveau blacklisted and proprietary drivers not installed) and Intel 4600M (driver version 06)
RAM : 8GB
SWAP : 16GB

Actual error:

acpi PNP0A08 0: _OSC failed (AE_ERROR); disabling ASPM

Revision history for this message
Javier Marcon (javiermarcon) wrote :

Also affects kernel 3.19.0-22-generic in Ubuntu 15.04 x86_64

Revision history for this message
In , rkurbatov (rkurbatov-linux-kernel-bugs) wrote :

Just installed 14.04.2 64-bit, same note (Acer e5-551). Same error.

dw_dmac INTL9C60:00: invalid resource

"SCI (ACPI GSI 9) not registered" and
"i2c_designware 80860F41:02 failure requesting irq 34"
"i2c_designware 80860F41:05 failure requesting irq 37"

i2c errors disappeared after I disabled Advanced mode of touchpad (it was something about it uses I2C so better to be disabled on most of systems).

And dw_dmac error disappeared after I set

modprobe.blacklist=dw_dmac,dw_dmac_core

during boot. I can installed system, though touchpad worked strange (constantly pressing buttons).

After install and upgrade system booted. It was same dw_dmac error, but system booted. It is late, so i'll try to investigate something tomorrow. What info should I provide?

Revision history for this message
In , bhelgaas (bhelgaas-linux-kernel-bugs) wrote :

Reopening because Roman is willing to provide more info.

Revision history for this message
In , ijramirezpaz (ijramirezpaz-linux-kernel-bugs) wrote :

start the notebook without battery...
comments.

Revision history for this message
In , itsikstrashcan (itsikstrashcan-linux-kernel-bugs) wrote :

This bug also occurs on Packard Bell EasyNote ENTF71BM.
Ubuntu version 14.04.2 LTS
Newbi to Linux so won't be able to help much.
Installed on the notebook from a memory stick.

Revision history for this message
In , aaron.lu (aaron.lu-linux-kernel-bugs) wrote :

(In reply to Roman Kurbatov from comment #19)
> Just installed 14.04.2 64-bit, same note (Acer e5-551). Same error.

Acer e5-551? The original reporter has e5-511, a typo perhaps?

>
> dw_dmac INTL9C60:00: invalid resource
>
> "SCI (ACPI GSI 9) not registered" and
> "i2c_designware 80860F41:02 failure requesting irq 34"
> "i2c_designware 80860F41:05 failure requesting irq 37"
>
> i2c errors disappeared after I disabled Advanced mode of touchpad (it was
> something about it uses I2C so better to be disabled on most of systems).

In BIOS setting?

>
> And dw_dmac error disappeared after I set
>
> modprobe.blacklist=dw_dmac,dw_dmac_core
>
> during boot. I can installed system, though touchpad worked strange
> (constantly pressing buttons).
>
> After install and upgrade system booted. It was same dw_dmac error, but
> system booted. It is late, so i'll try to investigate something tomorrow.
> What info should I provide?

Except the dw_dmac error message, do you have any problem related to functionality?

Revision history for this message
In , dmytro.kyrychuck (dmytro.kyrychuck-linux-kernel-bugs) wrote :

I have same `dw_dmac INTL9C60:00: invalid resource` error on Acer Aspire E5-511. I managed to install Linux Mint MATE 17.2 in legacy BIOS mode. LiveUSB won't boot at first, so I selected compatibility mode in LiveUSB boot menu.

When I try to turn laptop on, boot freezes at splash screen. When I select Recovery Mode in grub2 boot menu and then just select "resume" in recovery menu, system almost always boots fine, but sometimes `dw_dmac INTL9C60:00: invalid resource` appears before I even get to recovery menu.

When I try to turn laptop off, the screen just goes dark and fan periodically spins very fast and then slow, then fast, then slow... I have to hold power button to turn laptop off.

Linux Mint MATE 17.2 shipped with Linux Kernel 3.16.0-38 (3.16.7-ckt10). I also installed 3.16.0-45 and 3.19.0-26 via Update Manager > Linux Kernels, but that didn't helped much. First boot with newly installed kernel works fine, but turning off still does not work, and all next boots require to use Recovery Mode.

Linux Mint with 3.19.0-26 boots correctly sometimes (via regular boot, not Recovery Mode).

When boot via Recovery Mode screen brightness cannot be changed with `Fn + left or right arrow keys`. Sound volume can be changed with `Fn + up or down arrow keys`, however.

Please, let me know if I can provide more information.

Revision history for this message
In , aaron.lu (aaron.lu-linux-kernel-bugs) wrote :

Looks like the problem of this bug report is about:
1 some dw_dmac error messages
2 not able to shutdown
on this Acer Aspire E5-511 laptop.

I guess Andy may know better what is going wrong with dw_dmac, but I don't know his account here, I'll write an email to him.

Revision history for this message
In , andy.shevchenko (andy.shevchenko-linux-kernel-bugs) wrote :

Please, file the differ(In reply to itsik from comment #22)
> This bug also occurs on Packard Bell EasyNote ENTF71BM.
> Ubuntu version 14.04.2 LTS
> Newbi to Linux so won't be able to help much.
> Installed on the notebook from a memory stick.

Does the blacklisting dw_dmac help?
It did for Dmytro at least (see comment #24).

If your case the same, then I have to reassign the bug to myself.

Revision history for this message
In , tolstov_den (tolstovden-linux-kernel-bugs) wrote :

I've successfully installed Linux Mint 17.2 MATE 64 on my Acer Aspire E5-511 laptop for dualboot with OEM Windows 8.1 Home 64 SL (which works fine except dropping wifi after de-hibernation).
The installation media is a 4GB flash stick; burned with Rufus.
I had to play with kernel commandline to boot the liveUSB; probed acpi_backlight='vendor' and nodma. At some point it managed to get past the line

dw_dmac INTL9C60:00: invalid resource
(now without fan spinning crazy each 20sec or so)

ubuntu/grub-efi-x64 added to UEFI, but not present in UEFI boot priority settings. Never ever tried to switch to Legacy mode.
However, to get freshly installed system up and running, I needed to write something into kernel commandline again.
acpi_backlight='vendor' -- doesn't fix it.
nodma -- ? Needs testing
Nothing interesting in $dmesg|less.

Cannot poweroff, OS halts (stops responding) and CPU fan starts spinning in squarewave pattern each 20sec so I hold the power button to switch it all off.

Does disabling DMA affect performance or battery life?

btw, on first successful boot into installed system touchpad didn't work. UEFI setting 'Touchpad mode Advanced/Basic' didn't seem to change anything.

I am happy to hand any logs or hardware info at your request.

Revision history for this message
In , andy.shevchenko (andy.shevchenko-linux-kernel-bugs) wrote :

So, there is a bug #101271 against dw_dmac, I'm removing myself from Cc list here and leave this report for the rest of ACPI issues if any.

Revision history for this message
In , aaron.lu (aaron.lu-linux-kernel-bugs) wrote :

(In reply to ALTracer from comment #27)
> I've successfully installed Linux Mint 17.2 MATE 64 on my Acer Aspire E5-511
> laptop for dualboot with OEM Windows 8.1 Home 64 SL (which works fine except
> dropping wifi after de-hibernation).
> The installation media is a 4GB flash stick; burned with Rufus.
> I had to play with kernel commandline to boot the liveUSB; probed
> acpi_backlight='vendor' and nodma. At some point it managed to get past the
> line
>
> dw_dmac INTL9C60:00: invalid resource
> (now without fan spinning crazy each 20sec or so)

I guess it is nodma that matters here?

>
> ubuntu/grub-efi-x64 added to UEFI, but not present in UEFI boot priority
> settings. Never ever tried to switch to Legacy mode.
> However, to get freshly installed system up and running, I needed to write
> something into kernel commandline again.
> acpi_backlight='vendor' -- doesn't fix it.
> nodma -- ? Needs testing
> Nothing interesting in $dmesg|less.
>
> Cannot poweroff, OS halts (stops responding) and CPU fan starts spinning in
> squarewave pattern each 20sec so I hold the power button to switch it all
> off.
>
> Does disabling DMA affect performance or battery life?

Not sure, I don't know anything about dw_dmac, which is the driver for DesignWare DMA controller.

>
> btw, on first successful boot into installed system touchpad didn't work.
> UEFI setting 'Touchpad mode Advanced/Basic' didn't seem to change anything.
>
> I am happy to hand any logs or hardware info at your request.

Since there is a problem with dw_dmac, I think we should wait for that problem fixed and then see if any problems still remained.

Revision history for this message
In , alfred.bez (alfred.bez-linux-kernel-bugs) wrote :

(In reply to Xing Zhengjun from comment #15)
> From your test result, it related with ubuntu 14.10 rather than kernel-side.
> Have you try other Linux OS (except ubuntu)?

I have the same issue on Linux Mint 17.2 and Arch, except when I use an old kernel (3.13)

A quick Google Search shows that many distros are related: https://www.google.com/search?q=dw_dmac+INTL9C60%3A00%3A+invalid+resource

Revision history for this message
In , andy.shevchenko (andy.shevchenko-linux-kernel-bugs) wrote :

Set dependency due to comment #29.

Revision history for this message
In , harlemsquirrel (harlemsquirrel-linux-kernel-bugs) wrote :

I am showing similar issues with my Acer ES1-511-c665. I found stability with the 3.13 kernel on Linux Mint 17 but am unable to boot the 3.16, 3.19, and 4.0 kernels. I am now writing this on 4.2.1-040201-generic installed from Ubuntu mainline. The 3.13 kernel worked well but I could not change my screen brightness. I do do this now with 4.2.1 but it seems to be inverted so that Fn+[Left Arrow] increases brightness but the on scree Cinnamon indicator shows brightness decreasing and vice versa with Fn+[Right Arrow]. Also, when idle, my screen brightens when it should be dimming.

Revision history for this message
Alexander (sality) wrote :

I have this bug in Ubuntu 15.10 x86_64

[ 0.284016] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM

Revision history for this message
Colin Ian King (colin-king) wrote :

This error message occurs when the kernel runs the root PCI bridge _OSC control method in your firmware and the execution fails, perhaps due to a bug in the firmware or perhaps it does not exist. The kernel hence cannot determine the features supported or capabilities provided by the device (as specified by your firmware) and hence has to disable PCIe ASPM (Active State Power Management).

The downside of Active State Power Management not being enabled is that the machine is less power efficient, however, one can force this on with the kernel boot parameter "pcie_aspm=force" however, forcing this on may cause system lockups.

Revision history for this message
Colin Ian King (colin-king) wrote :

So, just to add some more clarification, this is not a kernel bug, but a "feature" in your BIOS firmware and hence can't be fixed. The above notes do explain how to workaround this, but beware that it may not be a viable fix for your machine.

Revision history for this message
In , elwaterson (elwaterson-linux-kernel-bugs) wrote :

I encountered some of these exact problems on a new Acer Aspire E5-573G. I found a usable workaround here that allowed me to install Ubuntu Gnome 15.10. I still need to mess with BIOS trust settings to get GRUB to load instead of Windows Bootloader but I'm confident I'll find a way. After this downgrade my USB loaded up flawlessly in UEFI mode with secure boot off.

http://community.acer.com/t5/E-and-M-Series/Acer-Aspire-e5-573g-You-can-not-install-any-one-Linux/td-p/386009

===============================
Go to: http://us.acer.com/ac/en/US/content/drivers

Search by Product Model:

Aspire E5-573G

Select the right OS and download a bios. In my case I downloaded 1.15.

Run the ZRT_115.exe.

It will fail.

But before you close the installer, go to C:\Users\name\AppData\Local\Temp\

Search for a folder (random letters).tmp

There should be a H2OFFT-W.exe and zrt.rd file in there.

Just copy this folder and close the failing install.

In that copied folder, edit the platform.ini file.

Before:

[BIOSVersionFormat]
;[nb4-version] +
BIOSVFEnable=1
VersionFormat=XN.NN

After:

[BIOSVersionFormat]
;[nb4-version] +
BIOSVFEnable=1
VersionFormat=XN.DD

The VersionFormat value now has 'XN.DD' instead of 'XN.NN'.

This will ignore the fact that 1.25 -> 1.15 is a downgrade.

Prepare for a reboot. I.E. close unnecessary applications. Because it'll happen automatically after running the installer.

Run H2OFFT-W.exe.

Upon reboot, you'll see a bios installing progress bar.

After that is done, press F2 during startup to get to bios. The version should now be 1.15."

Revision history for this message
In , darknight.wings (darknight.wings-linux-kernel-bugs) wrote :

ubuntu 14.04 lts does install on the acer aspire e15 e5-511 with legacy mode
blacklisting dw_dmac,dw_dmac_core eberything works fine
this solution does not work on ubuntu 15.10
the laptop freezes still randomly...

Revision history for this message
In , 96greenmachine (96greenmachine-linux-kernel-bugs) wrote :

I had the same problem with my Acer Aspire E15 (E5-511-P01P) after installing Linux. Everytime on shut down or reboot and sometimes on startup it would freeze/hang. Seem to have fixed the problem like this...

open a terminal and write 'sudo nano /etc/default/grub', go to the line where it says 'GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"' and change it to 'GRUB_CMDLINE_LINUX_DEFAULT="quiet splash modprobe.blacklist=dw_dmac,dw_dmac_core"'. On your keyboard press 'Control + X', then 'Y' and 'Enter' to save and exit. Now write 'sudo update-grub' in the terminal.

Hopefully this helps...

Revision history for this message
In , libor.chmelik (libor.chmelik-linux-kernel-bugs) wrote :

I had the same problem on my Acer Aspire E15 (E5-511-P7AT). I'm on Mint 17.3 Mate 64bit, kernel 3.19.0-28 from ubuntu 14.04 LTS.

Everytime on Shut Down or Reboot came a black screen and the fan started spinning like crazy every +-20 seconds, but the machine didn't shut down or reboot.

Since blacklisting dw_dmac and dw_dmac_core, Shut Down and reboot work flawlessly.

The question now is, which impact will the blacklisting have on the performance of the machine ?

Revision history for this message
In , aaron.lu (aaron.lu-linux-kernel-bugs) wrote :

The fix for dw_dmac will arrive in kernel v4.5 according to:
https://bugzilla.kernel.org/show_bug.cgi?id=101271#c8
Please test v4.5-rc1 when it's out, thanks.

Revision history for this message
In , erlington.j (erlington.j-linux-kernel-bugs) wrote :

Created attachment 198581
Logs after system hangs Kernel 4.3

Logs recorded for a compete view.

Revision history for this message
In , erlington.j (erlington.j-linux-kernel-bugs) wrote :

Created attachment 198591
Logs after system hangs Kernel 4.3.3

Revision history for this message
In , rui.zhang (rui.zhang-linux-kernel-bugs) wrote :

has anyone tried 4.5?
does the problem still exist?

Revision history for this message
In , 96greenmachine (96greenmachine-linux-kernel-bugs) wrote :

(In reply to Zhang Rui from comment #40)
> has anyone tried 4.5?
> does the problem still exist?

I've tried 3.19 up to 4.4 and still had issues and using the same work around as above. Will try it tonight and see how I get on. Update shortly.

Revision history for this message
In , 96greenmachine (96greenmachine-linux-kernel-bugs) wrote :

Currently running Linux Mint 17.3 (XFCE) on the Acer Aspire E5-511-PO1P laptop. Removed the work around above. Changed 'GRUB_CMDLINE_LINUX_DEFAULT="quiet splash modprobe.blacklist=dw_dmac,dw_dmac_core" back to "GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" which was the original. Just upgraded the kernel from default 3.19 to 4.5 and have now rebooted the laptop 5 times with no issues so far. Seems the issue may of been fixed. Hope this helps.

Revision history for this message
In , 96greenmachine (96greenmachine-linux-kernel-bugs) wrote :

(In reply to 96greenmachine from comment #42)
> (In reply to Zhang Rui from comment #40)
> > has anyone tried 4.5?
> > does the problem still exist?
>
> I've tried 3.19 up to 4.4 and still had issues and using the same work
> around as above. Will try it tonight and see how I get on. Update shortly.

Update: Just finished upgrading kernel to 4.5 and rebooted 5 times all working well for now. Seems it may of been fixed.

Revision history for this message
In , rui.zhang (rui.zhang-linux-kernel-bugs) wrote :

Great.

Bug closed. Please feel free to reopen it if the problem can be reproduced again.

Revision history for this message
In , libor.chmelik (libor.chmelik-linux-kernel-bugs) wrote :

Confirmed.

Upgraded to kernel 4.5. Removed "modprobe.blacklist=dw_dmac,dw_dmac_core" and Shut Down as well as Reboot work well on my Acer Aspire E15 (E5-511-P7AT).

Seems to be fixed.

Revision history for this message
In , erlington.j (erlington.j-linux-kernel-bugs) wrote :

Created attachment 209391
attachment-15067-0.html

Same here, but my laptop still freezes randomly and the fans start to sound
loudly. Many improvement on ACPI thought.

2016-03-15 14:42 GMT-06:00 <email address hidden>:

> https://bugzilla.kernel.org/show_bug.cgi?id=85931
>
> --- Comment #46 from Libor Chmelik <email address hidden> ---
> Confirmed.
>
> Upgraded to kernel 4.5. Removed "modprobe.blacklist=dw_dmac,dw_dmac_core"
> and
> Shut Down as well as Reboot work well on my Acer Aspire E15 (E5-511-P7AT).
>
> Seems to be fixed.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
>

Revision history for this message
In , 96greenmachine (96greenmachine-linux-kernel-bugs) wrote :

(In reply to Erlington Espinoza Cardoza from comment #47)
> Created attachment 209391 [details]
> attachment-15067-0.html
>
> Same here, but my laptop still freezes randomly and the fans start to sound
> loudly. Many improvement on ACPI thought.
>
> 2016-03-15 14:42 GMT-06:00 <email address hidden>:
>
> > https://bugzilla.kernel.org/show_bug.cgi?id=85931
> >
> > --- Comment #46 from Libor Chmelik <email address hidden> ---
> > Confirmed.
> >
> > Upgraded to kernel 4.5. Removed "modprobe.blacklist=dw_dmac,dw_dmac_core"
> > and
> > Shut Down as well as Reboot work well on my Acer Aspire E15 (E5-511-P7AT).
> >
> > Seems to be fixed.
> >
> > --
> > You are receiving this mail because:
> > You are on the CC list for the bug.
> >

Erlington Espinoza Cardoza, What model laptop? After updating kernel last night to 4.5 it seems to have fixed reboot issues etc.. but i still do have issue with it randomly crashing and fans spinning loudly etc.. I have had multiple linux distros, windows 8.1 and windows 10 installed on mine and it seems to make no difference when it comes to it crashing randomly (Except Fedora, for some reason that was almost unusable with how often it crashed). I own 2x Acer E5-511-PO1P, one is shocking for crashing and the other has just started the same issue but not as often. Also own Acer ES1-411-C1WD, this one does not seem to crash but is slow as anything. Slowly coming to the conclusion that Acer laptops are rubbish... What do others think? Or has anyone else experienced the random crashing and found a fix?

Revision history for this message
In , erlington.j (erlington.j-linux-kernel-bugs) wrote :

(In reply to 96greenmachine from comment #48)
> (In reply to Erlington Espinoza Cardoza from comment #47)
> > Created attachment 209391 [details]
> > attachment-15067-0.html
> >
> > Same here, but my laptop still freezes randomly and the fans start to sound
> > loudly. Many improvement on ACPI thought.
> >
> > 2016-03-15 14:42 GMT-06:00 <email address hidden>:
> >
> > > https://bugzilla.kernel.org/show_bug.cgi?id=85931
> > >
> > > --- Comment #46 from Libor Chmelik <email address hidden> ---
> > > Confirmed.
> > >
> > > Upgraded to kernel 4.5. Removed "modprobe.blacklist=dw_dmac,dw_dmac_core"
> > > and
> > > Shut Down as well as Reboot work well on my Acer Aspire E15
> (E5-511-P7AT).
> > >
> > > Seems to be fixed.
> > >
> > > --
> > > You are receiving this mail because:
> > > You are on the CC list for the bug.
> > >
>
> Erlington Espinoza Cardoza, What model laptop? After updating kernel last
> night to 4.5 it seems to have fixed reboot issues etc.. but i still do have
> issue with it randomly crashing and fans spinning loudly etc.. I have had
> multiple linux distros, windows 8.1 and windows 10 installed on mine and it
> seems to make no difference when it comes to it crashing randomly (Except
> Fedora, for some reason that was almost unusable with how often it crashed).
> I own 2x Acer E5-511-PO1P, one is shocking for crashing and the other has
> just started the same issue but not as often. Also own Acer ES1-411-C1WD,
> this one does not seem to crash but is slow as anything. Slowly coming to
> the conclusion that Acer laptops are rubbish... What do others think? Or has
> anyone else experienced the random crashing and found a fix?

It is an Acer E5-511-P0GC, Kernel 3.16 is the only one I can use this computer without troubles by black listing dw_dmac and dw_dmac_core. I run Linux Mint 17 most of the time.

Revision history for this message
In , andy.shevchenko (andy.shevchenko-linux-kernel-bugs) wrote :

About reboot (modprobe.blacklist=dw_dmac,dw_dmac_core) issue refer to bug #101271 as mentioned in the header of this bug.

Revision history for this message
In , libor.chmelik (libor.chmelik-linux-kernel-bugs) wrote :

(In reply to Erlington Espinoza Cardoza from comment #49)
> (In reply to 96greenmachine from comment #48)

> > > Same here, but my laptop still freezes randomly and the fans start to
> sound
> > > loudly. Many improvement on ACPI thought.
> > >

> > Erlington Espinoza Cardoza, What model laptop? After updating kernel last
> > night to 4.5 it seems to have fixed reboot issues etc.. but i still do have
> > issue with it randomly crashing and fans spinning loudly etc..
> > anyone else experienced the random crashing and found a fix?

Confirmed.

Kernel 4.5. fixes the shutdown/reboot problem.

But my Acer Aspire E15 (E5-511-P7AT) also still freezes randomly and the fan(s) start to spin loudly. A hard reboot is the only option then.

Revision history for this message
In , andy.shevchenko (andy.shevchenko-linux-kernel-bugs) wrote :

Random freezes issue is being discussed in bug #109051

Revision history for this message
Musbach (frank-musbach) wrote :

The bug is still present in 16.04.1 LTS. The BIOS settings don't influence the behavior: ASPM on or off. It is a bug in the kernel.

Revision history for this message
Colin Ian King (colin-king) wrote :

@Musbach:

        decode_osc_support(root, "OS supports", support);
        status = acpi_pci_osc_support(root, support);
        if (ACPI_FAILURE(status)) {
                dev_info(&device->dev, "_OSC failed (%s); disabling ASPM\n",
                         acpi_format_exception(status));
                *no_aspm = 1;
                return;
        }

Please explain how this is a kernel bug when it is a firmware issue and I'll be happy to figure out a fix.

Revision history for this message
Alex ARNAUD (alexarnaud) wrote :

Hey Colin,

When I run following command "sudo acpidump > acpitables.log", I obtain a error message :
http://paste.ubuntu.com/23893961/

Best regards.

Revision history for this message
Alex ARNAUD (alexarnaud) wrote :

Dear again,

Sorry for the noise.

I use Debian 8.7 and the kernel 4.8.
I've upgraded acpidump and now I can provide you a log :
http://sprunge.us/HjIG

Best regards.

Revision history for this message
Colin Ian King (colin-king) wrote :

@Alex,

Your ACPI DSDT contains the following ACPI code:

            Name (GUID, ToUUID ("33db4d5b-1ff7-401c-9657-7441c03dd766") /* PCI Host Bridge Device */)
            Name (SUPP, Zero)
            Name (CTRL, Zero)
            Name (XCNT, Zero)
            Method (_OSC, 4, Serialized) // _OSC: Operating System Capabilities
            {
                Store (Arg3, Local0)
                CreateDWordField (Local0, Zero, CDW1)
                CreateDWordField (Local0, 0x04, CDW2)
                CreateDWordField (Local0, 0x08, CDW3)
                If (LAnd (LEqual (Arg0, GUID), NEXP)) // I believe this comparison is false...
                {
                    Store (CDW2, SUPP) /* \_SB_.PCI0.SUPP */
                    Store (CDW3, CTRL) /* \_SB_.PCI0.CTRL */
                    If (LAnd (LEqual (TBTS, One), LEqual (TNAT, One)))
                    {
                        And (CTRL, 0xFFFFFFF7, CTRL) /* \_SB_.PCI0.CTRL */
                    }

                    If (Not (And (CDW1, One)))
                    {
                        If (And (CTRL, One))
                        {
                            NHPG ()
                        }

                        If (And (CTRL, 0x04))
                        {
                            NPME ()
                        }
                    }

                    If (LNotEqual (Arg1, One))
                    {
                        Or (CDW1, 0x08, CDW1) /* \_SB_.PCI0._OSC.CDW1 */
                    }

                    If (LNotEqual (CDW3, CTRL))
                    {
                        Or (CDW1, 0x10, CDW1) /* \_SB_.PCI0._OSC.CDW1 */
                    }

                    Store (CTRL, CDW3) /* \_SB_.PCI0._OSC.CDW3 */
                    Store (CTRL, OSCC) /* \OSCC */
                    Return (Local0)
                }
                Else // ... we end up here, bit 2 is set, indicating unrecognised UUID.
                {
                    Or (CDW1, 0x04, CDW1) /* \_SB_.PCI0._OSC.CDW1 */
                    Return (Local0)
                }
            }

From what I can understand from your firmware, it tries to match against a specific UUID and it does not match, so bit 2 is set in the _OSC return code which informs the kernel that it is not recognized. Hence stuff like ASPM capabilities are not enabled. If you require ASPM, gave you tried forcing it to be enabled using the kernel parameter "pcie_aspm=force" ?

Revision history for this message
adbot (balidubiba) wrote :

Attaching a dump from Lenovo T560p. Is issue with the firmware as described above?

Revision history for this message
SunBear (sunbear-c22) wrote :
Download full text (11.5 KiB)

I am reporting the same issue in UBUNTU 16.04 LTS 4.4.0-64-generic.
[ 0.186376] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM

I noticed the following messages preceding this error message.
[ 0.144970] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[ 0.172842] ACPI: Interpreter enabled
[ 0.172864] ACPI: (supports S0 S3 S4 S5)
[ 0.172865] ACPI: Using IOAPIC for interrupt routing
[ 0.172885] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug

In my BIOS setting, I have "Charging USB devices in Power State S5" as "Enabled". However, my USB still do not have power. I would like to know if the error is the reason for why I can't get power from my USB during suspend/hibernation mode.

$ 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.144971] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.186356] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[ 0.186376] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[ 0.198599] acpiphp: Slot [1] registered
[ 0.198650] acpiphp: Slot [1-1] registered
[ 0.198695] acpiphp: Slot [1-2] registered
[ 0.222862] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns

$ dmesg | grep ACPI
[ 0.000000] BIOS-e820: [mem 0x00000000b295f000-0x00000000b2994fff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x00000000b2d37000-0x00000000b2d37fff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000c2546000-0x00000000c2558fff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x00000000c2a14000-0x00000000c2d3bfff] ACPI NVS
[ 0.000000] efi: ACPI 2.0=0xb295f000 ACPI=0xb295f000 SMBIOS=0xc3205000 SMBIOS 3.0=0xc3204000 ESRT=0xbe11a098
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI: RSDP 0x00000000B295F000 000024 (v02 ALASKA)
[ 0.000000] ACPI: XSDT 0x00000000B295F0A8 0000CC (v01 ALASKA A M I 01072009 AMI 00010013)
[ 0.000000] ACPI: FACP 0x00000000B2988600 000114 (v06 ALASKA A M I 01072009 AMI 00010013)
[ 0.000000] ACPI: DSDT 0x00000000B295F210 0293EF (v02 ALASKA A M I 01072009 INTL 20160422)
[ 0.000000] ACPI: FACS 0x00000000C2D3BC40 000040
[ 0.000000] ACPI: APIC 0x00000000B2988718 0000BC (v03 ALASKA A M I 01072009 AMI 00010013)
[ 0.000000] ACPI: FPDT 0x00000000B29887D8 000044 (v01 ALASKA A M I 01072009 AMI 00010013)
[ 0.000000] ACPI: DMAR 0x00000000B2993F68 0000A8 (v01 INTEL SKL 00000001 INTL 00000001)
[ 0.000000] ACPI: MCFG 0x00000000B2988878 00003C (v01 ALASKA A M I 01072009 MSFT 00000097)
[ 0.000000] ACPI: SSDT 0x00000000B29888B8 000390 (v01 SataRe SataTabl...

Revision history for this message
Colin Ian King (colin-king) wrote :

@SunBear. I very much doubt PCIe ASPM being disabled is any connection with the USB charging not working.

Revision history for this message
SunBear (sunbear-c22) wrote :

@colin-king. Noted. So what is causing the "acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM"?

Btw, what is a FADT?

Revision history for this message
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]

Revision history for this message
Colin Ian King (colin-king) wrote :

Good to see that it was a BIOS tweakable setting that could fix this.

BTW, the FADT is an ACPI table "Fixed ACPI Description Table" that contains setting mainly for power management as well as other hardware resources. See: http://wiki.osdev.org/FADT

Revision history for this message
Josep Pujadas-Jubany (jpujades) wrote :

* Acer TravelMate B117-M
* Lubuntu 16.04 LTS HWE 64 bit up-to-date

I can see this error since I installed the system for the first time.

$ zgrep "disabling ASPM" /var/log/*

acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM

Kernels 4.10.0.40-generic, 4.13.0-26-generic, 4.13.0-31-generic (latest LTS HWE) and 4.14.15-generic

Tried also:

* with intel-microcode package with same result.
* upgrading to latest Acer BIOS, 1.15

We have more than 200 units at job of B117-M. Systems are working. I don't know which impact can have this error.

Revision history for this message
In , cricketprima.com (cricketprima.com-linux-kernel-bugs) wrote :

I am showing similar issues with my Acer ES1-511-c665. I found stability with the 3.13 kernel on Linux Mint 17 but am unable to boot the 3.16, 3.19, and 4.0 kernels. I am now writing this on 4.2.1-040201-generic installed from Ubuntu mainline. The 3.13 kernel worked well but I could not change my screen brightness. I do do this now with 4.2.1 but it seems to be inverted so that Fn+[Left Arrow] increases brightness but the on scree Cinnamon indicator shows brightness decreasing and vice versa with Fn+[Right Arrow]. Also, when idle, my screen brightens when it should be dimming.

Revision history for this message
In , cricketprima.com (cricketprima.com-linux-kernel-bugs) wrote :

I am showing similar issues with my Acer ES1-511-c665 (https://wheon.com/in/reviews/best-laptop-under-40000/). I found stability with the 3.13 kernel on Linux Mint 17 but am unable to boot the 3.16, 3.19, and 4.0 kernels. I am now writing this on 4.2.1-040201-generic installed from Ubuntu mainline. The 3.13 kernel worked well but I could not change my screen brightness. I do do this now with 4.2.1 but it seems to be inverted so that Fn+[Left Arrow] increases brightness but the on scree Cinnamon indicator shows brightness decreasing and vice versa with Fn+[Right Arrow]. Also, when idle, my screen brightens when it should be dimming.

Revision history for this message
In , andy.shevchenko (andy.shevchenko-linux-kernel-bugs) wrote :

(In reply to sachin khanna from comment #54)
> I am showing similar issues with my Acer ES1-511-c665
> (https://wheon.com/in/reviews/best-laptop-under-40000/). I found stability
> with the 3.13 kernel on Linux Mint 17 but am unable to boot the 3.16, 3.19,
> and 4.0 kernels. I am now writing this on 4.2.1-040201-generic installed
> from Ubuntu mainline. The 3.13 kernel worked well but I could not change my
> screen brightness. I do do this now with 4.2.1 but it seems to be inverted
> so that Fn+[Left Arrow] increases brightness but the on scree Cinnamon
> indicator shows brightness decreasing and vice versa with Fn+[Right Arrow].
> Also, when idle, my screen brightens when it should be dimming.

Does it work in latest vanilla (v5.2-rc5 now and v5.7-rc7 will be on Monday)?

Changed in linux:
importance: Unknown → Medium
status: Unknown → Fix Released
Brad Figg (brad-figg)
tags: added: cscc
Revision history for this message
In , andy.shevchenko (andy.shevchenko-linux-kernel-bugs) wrote :

(In reply to Navv Singh from comment #56)
> I found stability
> with the 3.13 kernel on Linux Mint 17 but am unable to boot the 3.16, 3.19,
> and 4.0 kernels. I am now writing this on 4.2.1-040201-generic installed
> from Ubuntu mainline.

We are in 2020 and we have v5.9.x kernels. Please, try it and actually if the problem is still present, v5.10-rc3.

Revision history for this message
In , andy.shevchenko (andy.shevchenko-linux-kernel-bugs) wrote :

Two different accounts (oh, even one more from 2019) with different laptop models and unclear comments with a potentially dangerous links outside of kernel.org infrastructure. Marked all those as spam. Sorry.

Revision history for this message
In , wirab24144 (wirab24144-linux-kernel-bugs) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.