zoukankan      html  css  js  c++  java
  • 一个内核报错日志分析与解决

    问题

    今天检查jira服务器挂了的时候,查看了该服务器/var/log/messages日志,发现报错如下:

    Dec  4 13:50:26 localhost kernel: pcieport 0000:00:1c.6: AER: Corrected error received: id=00e6
    Dec  4 13:50:26 localhost kernel: pcieport 0000:00:1c.6: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e6(Receiver ID)
    Dec  4 13:50:26 localhost kernel: pcieport 0000:00:1c.6:   device [8086:a116] error status/mask=00000001/00002000
    Dec  4 13:50:26 localhost kernel: pcieport 0000:00:1c.6:    [ 0] Receiver Error        
    Dec  4 13:50:26 localhost kernel: pcieport 0000:00:1c.6: AER: Corrected error received: id=00e6
    Dec  4 13:50:26 localhost kernel: pcieport 0000:00:1c.6: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e6(Receiver ID)
    Dec  4 13:50:26 localhost kernel: pcieport 0000:00:1c.6:   device [8086:a116] error status/mask=00000001/00002000
    Dec  4 13:50:26 localhost kernel: pcieport 0000:00:1c.6:    [ 0] Receiver Error        
    Dec  4 13:50:27 localhost kernel: pcieport 0000:00:1c.6: AER: Corrected error received: id=00e6
    Dec  4 13:50:27 localhost kernel: pcieport 0000:00:1c.6: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e6(Receiver ID)
    Dec  4 13:50:27 localhost kernel: pcieport 0000:00:1c.6:   device [8086:a116] error status/mask=00000001/00002000
    Dec  4 13:50:27 localhost kernel: pcieport 0000:00:1c.6:    [ 0] Receiver Error

    这种报错可能是由于活动状态电源管理正在将链路转换为较低的电源状态,可能导致设备触发这些错误。

    解决

    # 0.修改/etc/default/grub引导文件
    [root@localhost ~]# cp /etc/default/grub /etc/default/grub.bak
    [root@localhost ~]# vim /etc/default/grub
    
    # 1.修改以下配置
    # GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=nomsi"
    
    # 2.保存关闭grub文件,更新grub引导,并重启
    [root@localhost ~]# update-grub
    [root@localhost ~]# reboot
     
  • 相关阅读:
    【Codeforces 923A】Primal Sport
    【Codeforces 924C】Riverside Curio
    【Codeforces 682C】Alyona and the Tree
    【Codeforces 1118D1】Coffee and Coursework (Easy version)
    【Codeforces 493C】Vasya and Basketball
    【Codeforces 598D】Igor In the Museum
    js 时间格式化
    C#自定义规则对比两个集合的对象是否相等
    VUE的组件DEMO
    js 去掉指定符号的字符串做法
  • 原文地址:https://www.cnblogs.com/herui1991/p/10064531.html
Copyright © 2011-2022 走看看