52

I have Ubuntu 16.10 (although the same happened on 16.04) on a dual boot with Windows 10. I noticed some time ago that my kern.log file was getting pretty big (10GB or more) so I decided to check it. The same error seems to be repeating every second or less:

Dec 19 17:31:01 andrew kernel: [   99.027473] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e5(Receiver ID)
Dec 19 17:31:01 andrew kernel: [   99.027474] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Dec 19 17:31:01 andrew kernel: [   99.027475] pcieport 0000:00:1c.5:    [ 0] Receiver Error        
Dec 19 17:31:01 andrew kernel: [   99.027479] pcieport 0000:00:1c.5: AER: Corrected error received: id=00e5
Dec 19 17:31:01 andrew kernel: [   99.027826] pcieport 0000:00:1c.5: can't find device of ID00e5
Dec 19 17:31:01 andrew kernel: [   99.027887] pcieport 0000:00:1c.5: AER: Multiple Corrected error received: id=00e5

I have tried adding to the grub pci=nomsi and pci=noaer but it keeps popping up. I am using a ASUS Laptop with an Nvidia Geforce 920M. Maybe that's the reason?

1
  • I found this error on same device [8086:9d15] : Intel Corporation Sunrise Point-LP PCI Express Root Port This is an ASUS X541UV laptop. I had latest BIOS update (3.09) Just for the record. I had found this bug that seems related to this issue: bugs.launchpad.net/ubuntu/+source/linux/+bug/1521173
    – cheche
    Jul 24, 2022 at 11:09

8 Answers 8

48

I believe this may be due to PCIe Active State Power Management that is transitioning the link to a lower power state and maybe causing the device to trigger these errors. I believe the device in question is the Sunrise Point-LP PCI Express Root Port.

Try using the pcie_aspm=off boot parameter to see if this stops the messages. Note that this will increase the power consumption of your machine as it disables the power savings.

13
  • In my case I noticed it because systemd-journal caused high cpu usage. Adding the parameter helped. I read however, that this disables some energy saving measures. Probably all for PCIe devices (?) Feb 10, 2017 at 0:10
  • 3
    pcie_aspm=off does indeed disable PCIe power savings. There are in fact two savings modes: L0s and L1 mode. L0 uses low power mode for one direction of the PCIe serial link only. L1 is bidirectional, resulting in improved power reduction (but does incur higher startup latencies). Feb 10, 2017 at 0:17
  • see askubuntu.com/questions/271058/…
    – Ferroao
    Jun 30, 2017 at 18:54
  • 1
    I believe this is the best answer. pci=nomsi disables some interrupts and noaer just disables error reporting, not the actual problem. See also askubuntu.com/a/1066030/284929
    – wbkang
    Dec 20, 2018 at 3:43
  • 1
    Same error with Debian, problem solved by this answer
    – Thecave3
    Jul 7, 2019 at 17:59
15

Try these steps:

  1. sudo gedit /etc/default/grub
  2. Edit grub. Add pci=noaer at the end of GRUB_CMDLINE_LINUX_DEFAULT. Line will be like this:

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=noaer"

  3. sudo update-grub

  4. Reboot now

:) Enjoy.

5
  • 1
    This worked for an ASUS X541U laptop.
    – kraxor
    Oct 9, 2018 at 13:59
  • 14
    ! This boot otpion do not remove the error but just hide it into the error log, a proper option is to disable the PCIe Active State Power Management with pcie_aspm=off but not hiding the errors the system shows.
    – Bo rislav
    Dec 26, 2019 at 17:03
  • I can confirm that pcie_aspm=off works on an HP Laptop for Ubuntu 20.04.1
    – K.Mulier
    Nov 3, 2020 at 20:23
  • @K.Mulier how to set this pcie_aspm=off. Do I need to edit any file or just run it in terminal
    – S Andrew
    Apr 6, 2023 at 15:30
  • Read above, replace pci=noaer with pcie_aspm=off
    – Hannu
    Apr 10, 2023 at 12:38
11

I had the same problem, but the solution was to add pci=nomsi to /etc/default/grub file. Perform the following edit:

before:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

after:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=nomsi"

And save the settings:

sudo update-grub
2
  • 2
    On my system sudo grub-update did not work. sudo su and grub-update did. Apr 26, 2018 at 7:03
  • Thanks for your comment @RobAu . The answer updated to address your concern May 2, 2018 at 22:56
7
  1. If you already installed Ubuntu or Mint, just go to the GRUB screen and from there go to recovery mode. Then go to root and make the commands like on the video and from there make the changes again like in the video, but if pci=nomsi/pci=noaer does not work for you, change it to pcie_aspm=off.

  2. If you cannot install the OS because of this problem, you can edit the boot order in GRUB. You can do that when you boot up for a installation but instead of pressing Enter press E to edit. There should be a line named Linux. Add at the end pcie_aspm=off, but also try out pci=nomsi/pci=noaer.

    Remember, though, that this is not a permanent fix. To fix it permanently apply step 1 after installation. Also, do not forget to update GRUB.

3

I was installing Debian 11, kernel 5.10 amd64. I was getting similar error. During booting, I pressed escape to get boot: prompt At prompt wrote install pcie_aspm=off It worked.

1
  • This is a Ubuntu and Ubuntu flavors support site only any other Linux OS is off topic.
    – David
    Feb 7, 2022 at 7:04
2

I installed Ubuntu 18.04 today and I noticed the same problem. I've just installed that package and problem has been solved.

sudo apt-get install busybox-syslogd

Check log files size and do empty large files:

ls -s -S /var/log

result:

total 4352668
4021088 syslog                 32 wtmp                  4 gdm3
 329168 kern.log               24 Xorg.0.log            4 hp
   1776 dpkg.log               20 Xorg.1.log            4 installer
     40 lastlog                20 Xorg.0.log.old        4 journal

and do:

cd /var/log
sudo su
$ > syslog
$ > kern.log

Then, to make sure, let follow this answer above https://askubuntu.com/a/1019225/725320

In case you can't boot into Ubuntu and get stuck with these logs in your screen (same as me):

Dec 19 17:31:01 andrew kernel: [   99.027473] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e5(Receiver ID)
Dec 19 17:31:01 andrew kernel: [   99.027474] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Dec 19 17:31:01 andrew kernel: [   99.027475] pcieport 0000:00:1c.5:    [ 0] Receiver Error        
Dec 19 17:31:01 andrew kernel: [   99.027479] pcieport 0000:00:1c.5: AER: Corrected error received: id=00e5
Dec 19 17:31:01 andrew kernel: [   99.027826] pcieport 0000:00:1c.5: can't find device of ID00e5
Dec 19 17:31:01 andrew kernel: [   99.027887] pcieport 0000:00:1c.5: AER: Multiple Corrected error received: id=00e5
  • Use Recovery Mode to get root shell
  • Do empty large log files
  • Boot into Ubuntu, install busybox-syslogd and update grub config
1

Bug was gone (fixed, I think) in my PC today after installing new Kernel version "linux-image-4.15.0-50-generic" in Ubuntu 18.04.2 x86_64.

1

ASUS G20. Ran this error message 10000 times or so on startup and closing. Easy Fix, in BIOS, Advanced, I changed PCI Express native power management to disabled. And I'm just beginning to aspire to beginner status.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .