解决Linux下pcieport 0000:00:1c.5问题导致的系统根目录/磁盘空间不足
装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

二、解决方法:

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错误。
文章出处 https://www.cnblogs.com/zongfa/p/8386997.html
参考 http://www.gossamer-threads.com/lists/linux/kernel/2250177

Logo

更多推荐