zoukankan      html  css  js  c++  java
  • 解决Linux下pcieport 0000:00:1c.5问题导致的系统根目录/磁盘空间不足

    最近刚换了笔记本,拿到本后在win10基础装上Ubuntu 16.04双系统,有个问题是每次关机都会报一堆pcie问题,并且经常没声音,声音问题通过上一篇文章暂时解决,然后就没在意了,可是几天后出现系统盘根目录磁盘空间不够的提醒,于是用磁盘空间分析工具查看,/var/log/下kern.log 和syslog非常大,两个kern.log都接近10G,一个syslog也接近10G,三个点开都发现同样的问题,即pcie重复报错,信息如下:

    Jan 28 10:55:39 zzf-ubuntu kernel: [  339.364989] pcieport 0000:00:1c.5:    [ 0] Receiver Error         (First)
    Jan 28 10:55:39 zzf-ubuntu kernel: [  339.364999] pcieport 0000:00:1c.5: AER: Multiple Corrected error received: id=00e5
    Jan 28 10:55:39 zzf-ubuntu kernel: [  339.365644] pcieport 0000:00:1c.5: can't find device of ID00e5
    Jan 28 10:55:39 zzf-ubuntu kernel: [  339.365647] pcieport 0000:00:1c.5: AER: Corrected error received: id=00e5
    Jan 28 10:55:39 zzf-ubuntu kernel: [  339.365657] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e5(Receiver ID)
    Jan 28 10:55:39 zzf-ubuntu kernel: [  339.365664] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000

    以上报错信息使得内核日志文件和系统日志文件越来越大,那根源就是pcie的问题了。于是Google搜索,找到一个方法解决,大家也可以看看下面这个链接。

    http://www.gossamer-threads.com/lists/linux/kernel/2250177

    一、环境:

      电脑: 华硕FL8000U (双硬盘双系统)

      系统 :win10 + Ubuntu 16.04 LTS

    二、解决方法:

      grub引导时加入 

    pci=nomsi

      1、打开终端,修改/etc/default/grub引导文件,要有备份的好习惯

    sudo cp /etc/default/grub /etc/default/grub.bak
    sudo -H gedit /etc/default/grub

      2、打开之后找到以下这句

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

      然后将其改为:

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=nomsi"

      3、保存关闭grub文件,更新grub引导,并重启

    sudo update-grub
    sudo reboot

      问题解决了,关机时不再会报一长串pcie错误。

     

  • 相关阅读:
    leetcode 347. Top K Frequent Elements
    581. Shortest Unsorted Continuous Subarray
    leetcode 3. Longest Substring Without Repeating Characters
    leetcode 217. Contains Duplicate、219. Contains Duplicate II、220. Contains Duplicate、287. Find the Duplicate Number 、442. Find All Duplicates in an Array 、448. Find All Numbers Disappeared in an Array
    leetcode 461. Hamming Distance
    leetcode 19. Remove Nth Node From End of List
    leetcode 100. Same Tree、101. Symmetric Tree
    leetcode 171. Excel Sheet Column Number
    leetcode 242. Valid Anagram
    leetcode 326. Power of Three
  • 原文地址:https://www.cnblogs.com/zongfa/p/8386997.html
Copyright © 2011-2022 走看看