55

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?

Andrew
  • 664

8 Answers8

51

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.

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.

CentaurusA
  • 2,692
Ehtesham
  • 167
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
David Foerster
  • 36,890
  • 56
  • 97
  • 151
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.

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.

Pebas
  • 111
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.

tom
  • 11