红联Linux门户
Linux帮助

解决Linux下pcieport 0000:00:1c.5导致的系统根目录/空间不足

发布时间:2018-01-31 11:46:10来源:linu站作者:理想几岁
最近刚换了笔记本,拿到本后在win10基础装上Ubuntu 16.04双系统,有个问题是每次关机都会报一堆pcie问题,并且经常没声音,声音问题通过上一篇文章暂时解决,然后就没在意了,可是几天后出现系统盘根目录磁盘空间不够的提醒,于是用磁盘空间分析工具查看,/var/log/下kern.log 和syslog非常大,两个kern.log都接近10G,一个syslog也接近10G,三个点开都发现同样的问题,即pcie重复报错,信息如下:
zzf-ubuntu kernel: [339.364989] pcieport 0000:00:1c.5:[ 0] Receiver Error (First)
zzf-ubuntu kernel: [339.364999] pcieport 0000:00:1c.5: AER: Multiple Corrected error received: id=00e5
zzf-ubuntu kernel: [339.365644] pcieport 0000:00:1c.5: can't find device of ID00e5
zzf-ubuntu kernel: [339.365647] pcieport 0000:00:1c.5: AER: Corrected error received: id=00e5
zzf-ubuntu kernel: [339.365657] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e5(Receiver ID)
zzf-ubuntu kernel: [339.365664] pcieport 0000:00:1c.5: device [8086:9d15] error status/mask=00000001/00002000
 
以上报错信息是的内核日志文件和系统日志文件越来越大,那根源就是pcie的问题了,并且考虑到pcie接口,电脑声卡接口很可能采用pcie接口,声音问题也可能源于此。
 
一、环境:
电脑: 华硕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错误,并且声音问题也解决了。
 
如何解决Linux中“磁盘空间不足”的问题:http://www.linuxdiyf.com/linux/33063.html
Linux实验室:五个清理磁盘空间小妙招:http://www.linuxdiyf.com/linux/32340.html
Ubuntu系统释放磁盘空间的7种简单方法:http://www.linuxdiyf.com/linux/31649.html
VMware上的ubuntu增加磁盘空间:http://www.linuxdiyf.com/linux/22092.html
linux查看磁盘空间占用情况:http://www.linuxdiyf.com/linux/18200.html