Centos 7下PCIe Bus Error: severity=Corrected, type=Data Link Layer解决方案

近期,应测试需求,将批量比较老的联想台式机安装成CentOS 7系统(发现数十台电脑全这样报错)。发现网卡一直报错,经参考网上各类方案,通过修改grub,终于解决了此问题。
错误情况大致如下:

Feb 28 11:52:07 test148 kernel: pcieport 0000:00:1c.5:   device [8086:a115] error status/mask=00001000/00002000
Feb 28 11:52:07 test148 kernel: pcieport 0000:00:1c.5:    [12] Replay Timer Timeout  
Feb 28 11:52:07 test148 kernel: pcieport 0000:00:1c.5: AER: Corrected error received: id=00e5
Feb 28 11:52:07 test148 kernel: pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e5(Transmitter ID)
Feb 28 11:52:07 test148 kernel: pcieport 0000:00:1c.5:   device [8086:a115] error status/mask=00001000/00002000
Feb 28 11:52:07 test148 kernel: pcieport 0000:00:1c.5:    [12] Replay Timer Timeout  
Feb 28 11:52:10 test148 kernel: pcieport 0000:00:1c.5: AER: Multiple Corrected error received: id=00e5
Feb 28 11:52:10 test148 kernel: pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e5(Transmitter ID)
Feb 28 11:52:10 test148 kernel: pcieport 0000:00:1c.5:   device [8086:a115] error status/mask=00001000/00002000
Feb 28 11:52:10 test148 kernel: pcieport 0000:00:1c.5:    [12] Replay Timer Timeout  
Feb 28 11:52:21 test148 kernel: pcieport 0000:00:1c.5: AER: Corrected error received: id=00e5
Feb 28 11:52:21 test148 kernel: pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e5(Transmitter ID)
Feb 28 11:52:21 test148 kernel: pcieport 0000:00:1c.5:   device [8086:a115] error status/mask=00001000/00002000
Feb 28 11:52:21 test148 kernel: pcieport 0000:00:1c.5:    [12] Replay Timer Timeout  
Feb 28 11:52:37 test148 kernel: pcieport 0000:00:1c.5: AER: Corrected error received: id=00e5
Feb 28 11:52:37 test148 kernel: pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e5(Transmitter ID)
Feb 28 11:52:37 test148 kernel: pcieport 0000:00:1c.5:   device [8086:a115] error status/mask=00001000/00002000
Feb 28 11:52:37 test148 kernel: pcieport 0000:00:1c.5:    [12] Replay Timer Timeout  
Feb 28 11:52:46 test148 kernel: pcieport 0000:00:1c.5: AER: Corrected error received: id=00e5
Feb 28 11:52:46 test148 kernel: pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e5(Transmitter ID)
Feb 28 11:52:46 test148 kernel: pcieport 0000:00:1c.5:   device [8086:a115] error status/mask=00001000/00002000
Feb 28 11:52:46 test148 kernel: pcieport 0000:00:1c.5:    [12] Replay Timer Timeout  
Feb 28 11:52:53 test148 kernel: pcieport 0000:00:1c.5: AER: Corrected error received: id=00e5
Feb 28 11:52:53 test148 kernel: pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e5(Transmitter ID)

Centos 7下PCIe Bus Error: severity=Corrected, type=Data Link Layer解决方案_第1张图片
解决方案为:
1、编辑/etc/default/grub

修改以下内容:

GRUB_CMDLINE_LINUX=“crashkernel=auto spectre_v2=retpoline rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet”

GRUB_CMDLINE_LINUX=“crashkernel=auto spectre_v2=retpoline rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet splash pci=nomsi”

2、加载grub配置

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

3、重启电脑reboot。

特别感谢:https://blog.csdn.net/weixin_34008784/article/details/92543869

你可能感兴趣的:(centos)