Software & AppsOperating SystemLinux

How To fix PCIe Bus Error on Ubuntu with Nvidia graphics card

Ubuntu 5

In this article, we will be discussing how to fix the PCIe Bus Error on Ubuntu systems with Nvidia graphics cards. This error message often appears in the kern.log file and is associated with the Intel Corporation Sunrise Point-LP PCI Express Root Port device.

Understanding the Error

The PCIe Bus Error usually manifests as: “PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e5(Receiver ID)”. This error is often observed on Ubuntu versions 16.04 and 16.10, particularly on ASUS X541UV laptops.

Now, let’s delve into the various solutions available to fix this error.

Solution 1: Disable PCIe Active State Power Management (ASPM)

The first solution involves disabling the PCIe Active State Power Management (ASPM). This can be done by modifying the GRUB_CMDLINE_LINUX_DEFAULT line in the /etc/default/grub file. Here’s how to do it:

  1. Open the terminal and type sudo nano /etc/default/grub. This command opens the grub file in the nano text editor. sudo is used to run the command with root privileges, nano is the text editor, and /etc/default/grub is the file path.
  2. In the file, locate the GRUB_CMDLINE_LINUX_DEFAULT line and add pcie_aspm=off at the end. This command disables the ASPM.
  3. Save the changes and exit the text editor.
  4. Run sudo update-grub. This command updates the GRUB configuration with the changes you made.
  5. Reboot the system to apply the changes.

Solution 2: Add pci=noaer Boot Parameter

The second solution involves adding the pci=noaer boot parameter. Here’s how to do it:

  1. Open the grub file again using sudo nano /etc/default/grub.
  2. In the file, add pci=noaer at the end of the GRUB_CMDLINE_LINUX_DEFAULT line. This command disables the Advanced Error Reporting (AER) in PCI Express.
  3. Save the changes and exit the text editor.
  4. Run sudo update-grub to update the GRUB configuration.
  5. Reboot the system to apply the changes.

Solution 3: Add pci=nomsi Boot Parameter

The third solution involves adding the pci=nomsi boot parameter. Here’s how to do it:

  1. Open the grub file again using sudo nano /etc/default/grub.
  2. In the file, add pci=nomsi at the end of the GRUB_CMDLINE_LINUX_DEFAULT line. This command disables the Message Signaled Interrupts (MSI) in PCI Express.
  3. Save the changes and exit the text editor.
  4. Run sudo update-grub to update the GRUB configuration.
  5. Reboot the system to apply the changes.

Solution 4: Install busybox-syslogd Package

The fourth solution involves installing the busybox-syslogd package. Here’s how to do it:

  1. Open the terminal and type sudo apt-get install busybox-syslogd. This command installs the package.
  2. Check the log files size using ls -s -S /var/log. This command lists the files in the /var/log directory in descending order by file size.
  3. If you find any large log files, empty them using > filename. This command redirects the output of a command to a file, overwriting the file content.

Solution 5: BIOS Setting Change

The fifth solution involves changing a setting in the BIOS:

  1. Access the BIOS settings.
  2. Go to Advanced settings and disable PCI Express native power management.

Please note that these solutions may have different effects on power consumption and system performance. Choose the solution that best suits your needs and consider the trade-offs involved.

In conclusion, the PCIe Bus Error on Ubuntu with Nvidia graphics cards can be resolved through various methods. It’s important to understand the implications of each solution and choose the one that best fits your specific needs.

What is PCIe Bus Error?

PCIe Bus Error refers to an error message that appears in the kern.log file and is associated with the Intel Corporation Sunrise Point-LP PCI Express Root Port device. It often manifests as "PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e5(Receiver ID)".

Which Ubuntu versions are affected by the PCIe Bus Error?

The PCIe Bus Error is commonly observed on Ubuntu versions 16.04 and 16.10.

What is the first solution to fix the PCIe Bus Error?

The first solution involves disabling the PCIe Active State Power Management (ASPM) by modifying the GRUB_CMDLINE_LINUX_DEFAULT line in the /etc/default/grub file.

How can I disable PCIe Active State Power Management (ASPM)?

To disable PCIe Active State Power Management (ASPM), you need to open the terminal, type sudo nano /etc/default/grub, locate the GRUB_CMDLINE_LINUX_DEFAULT line, and add pcie_aspm=off at the end. Save the changes, run sudo update-grub, and reboot the system to apply the changes.

What is the second solution to fix the PCIe Bus Error?

The second solution involves adding the pci=noaer boot parameter.

How can I add the `pci=noaer` boot parameter?

To add the pci=noaer boot parameter, open the /etc/default/grub file using sudo nano /etc/default/grub, add pci=noaer at the end of the GRUB_CMDLINE_LINUX_DEFAULT line, save the changes, run sudo update-grub, and reboot the system.

What is the third solution to fix the PCIe Bus Error?

The third solution involves adding the pci=nomsi boot parameter.

How can I add the `pci=nomsi` boot parameter?

To add the pci=nomsi boot parameter, open the /etc/default/grub file using sudo nano /etc/default/grub, add pci=nomsi at the end of the GRUB_CMDLINE_LINUX_DEFAULT line, save the changes, run sudo update-grub, and reboot the system.

What is the fourth solution to fix the PCIe Bus Error?

The fourth solution involves installing the busybox-syslogd package and emptying large log files.

How can I install the `busybox-syslogd` package?

To install the busybox-syslogd package, open the terminal and type sudo apt-get install busybox-syslogd. This command will install the package.

Leave a Comment

Your email address will not be published. Required fields are marked *