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
     
  • 相关阅读:
    java要注意的问题1
    广义表(线性表的推广)
    java基本类型和包装器类
    面试题10:斐波那契数列
    面试题9:用两个栈实现队列
    面试题8:二叉树的下一个结点
    10 分组数据
    9 汇总数据
    8 使用数据处理函数
    7 创建计算字段
  • 原文地址:https://www.cnblogs.com/herui1991/p/10064531.html
Copyright © 2011-2022 走看看