Tag: PCIe Bus Error

  • How to fix PCIe Bus Error: severity=Corrected, type=Physical Layer

    How to fix PCIe Bus Error: severity=Corrected, type=Physical Layer

    On a Linux server running AlmaLinux 8, i get following error on /var/log/messages

    Oct 17 05:33:17 Alma-88-amd64-base kernel: pcieport 0000:00:01.1: AER: Corrected error received: 0000:01:00.0
    Oct 17 05:33:17 Alma-88-amd64-base kernel: nvme 0000:01:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
    Oct 17 05:33:17 Alma-88-amd64-base kernel: nvme 0000:01:00.0:   device [144d:a80a] error status/mask=00000001/0000e000
    Oct 17 05:33:17 Alma-88-amd64-base kernel: nvme 0000:01:00.0:    [ 0] RxErr   
    

    To fix the error, edit file

    vi /etc/default/grub
    

    Find line

    GRUB_CMDLINE_LINUX="biosdevname=0 crashkernel=auto rd.auto=1 consoleblank=0"
    

    Replace with

    GRUB_CMDLINE_LINUX="biosdevname=0 crashkernel=auto rd.auto=1 consoleblank=0 pcie_aspm=off"
    

    We added pcie_aspm=off, this disable PCIe ASPM (Active State Power Management).

    After saving your changes and exiting the text editor, you’ll need to update GRUB for the changes to take effect. You can do this with the following command

    grub2-mkconfig -o /boot/grub2/grub.cfg
    

    Reboot the server

    reboot
    

    Back to Errors