网上提供了很多Ubuntu 以下错误信息的解决方法,但是涉及centos的比较少。其实解决方法是一样的,只是加载grub的命令不一样而已

错误信息如下:

  1. Jan 22 11:42:00 office-test-001 kernel: pcieport 0000:00:1d.0: AER: Corrected error received: id=00e8
  2. Jan 22 11:42:00 office-test-001 kernel: pcieport 0000:00:1d.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e8(Receiver ID)
  3. Jan 22 11:42:00 office-test-001 kernel: pcieport 0000:00:1d.0: device [8086:a330] error status/mask=00000001/00002000
  4. Jan 22 11:42:00 office-test-001 kernel: pcieport 0000:00:1d.0: [ 0] Receiver Error (First)
  5. Jan 22 11:42:00 office-test-001 kernel: pcieport 0000:00:1d.0: AER: Corrected error received: id=00e8
  6. Jan 22 11:42:00 office-test-001 kernel: pcieport 0000:00:1d.0: AER: Corrected error received: id=00e8
  7. Jan 22 11:42:00 office-test-001 kernel: pcieport 0000:00:1d.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e8(Receiver ID)
  8. Jan 22 11:42:00 office-test-001 kernel: pcieport 0000:00:1d.0: device [8086:a330] error status/mask=00000001/00002000
  9. Jan 22 11:42:00 office-test-001 kernel: pcieport 0000:00:1d.0: [ 0] Receiver Error (First)
  10. Jan 22 11:42:01 office-test-001 kernel: pcieport 0000:00:1d.0: AER: Corrected error received: id=00e8
  11. Jan 22 11:42:01 office-test-001 kernel: pcieport 0000:00:1d.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e8(Receiver ID)
  12. Jan 22 11:42:01 office-test-001 kernel: pcieport 0000:00:1d.0: device [8086:a330] error status/mask=00000001/00002000
  13. Jan 22 11:42:01 office-test-001 kernel: pcieport 0000:00:1d.0: [ 0] Receiver Error (First)
  14. Jan 22 11:42:01 office-test-001 kernel: pcieport 0000:00:1d.0: AER: Corrected error received: id=00e8
  15. Jan 22 11:42:01 office-test-001 kernel: pcieport 0000:00:1d.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e8(Receiver ID)
  16. Jan 22 11:42:01 office-test-001 kernel: pcieport 0000:00:1d.0: device [8086:a330] error status/mask=00000001/00002000
  17. Jan 22 11:42:01 office-test-001 kernel: pcieport 0000:00:1d.0: [ 0] Receiver Error (First)
  18. Jan 22 11:42:01 office-test-001 kernel: pcieport 0000:00:1d.0: AER: Corrected error received: id=00e8
  19. Jan 22 11:42:01 office-test-001 kernel: pcieport 0000:00:1d.0: AER: Corrected error received: id=00e8
  20. Jan 22 11:42:01 office-test-001 kernel: pcieport 0000:00:1d.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e8(Receiver ID)

解决方法:

  1. 编辑/etc/default/grub

修改以下内容:

  1. GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet"

  1. GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet splash pci=nomsi"
  1. 加载grub配置

重新生成 grub.cfg 到 /boot/grub2 目录下

  1. grub2-mkconfig -o /boot/grub2/grub.cfg
  1. 重启操作系统后已经没有错误信息了