我的主机最近总是卡住。有时还黑屏。
当我启动主机(CentOS 7.2)时,它会将这些信息记录在/var/log/messages
:
日志如下:
Aug 8 16:29:18 localhost kernel: pci 0000:ff:12.0: BAR 5: failed to assign [mem size 0x00000010]
Aug 8 16:29:18 localhost kernel: pci 0000:ff:12.4: BAR 1: no space for [mem size 0x00000010]
Aug 8 16:29:18 localhost kernel: pci 0000:ff:12.4: BAR 1: failed to assign [mem size 0x00000010]
Aug 8 16:29:18 localhost kernel: pci 0000:ff:12.4: BAR 3: no space for [mem size 0x00000010]
Aug 8 16:29:18 localhost kernel: pci 0000:ff:12.4: BAR 3: failed to assign [mem size 0x00000010]
Aug 8 16:29:18 localhost kernel: pci 0000:ff:12.4: BAR 5: no space for [mem size 0x00000010]
Aug 8 16:29:18 localhost kernel: pci 0000:ff:12.4: BAR 5: failed to assign [mem size 0x00000010]
Aug 8 16:29:18 localhost kernel: pci_bus 0000:ff: Some PCI device resources are unassigned, try booting with pci=realloc
Aug 8 16:29:18 localhost kernel: pci 0000:7f:12.0: BAR 2: no space for [mem size 0x00000040]
Aug 8 16:29:18 localhost kernel: pci 0000:7f:12.0: BAR 2: failed to assign [mem size 0x00000040]
Aug 8 16:29:18 localhost kernel: pci 0000:7f:12.0: BAR 4: no space for [mem size 0x00000040]
Aug 8 16:29:18 localhost kernel: pci 0000:7f:12.0: BAR 4: failed to assign [mem size 0x00000040]
Aug 8 16:29:18 localhost kernel: pci 0000:7f:12.4: BAR 2: no space for [mem size 0x00000040]
Aug 8 16:29:18 localhost kernel: pci 0000:7f:12.4: BAR 2: failed to assign [mem size 0x00000040]
Aug 8 16:29:18 localhost kernel: pci 0000:7f:12.4: BAR 4: no space for [mem size 0x00000040]
Aug 8 16:29:18 localhost kernel: pci 0000:7f:12.4: BAR 4: failed to assign [mem size 0x00000040]
Aug 8 16:29:18 localhost kernel: pci 0000:7f:12.0: BAR 1: no space for [mem size 0x00000010]
Aug 8 16:29:18 localhost kernel: pci 0000:7f:12.0: BAR 1: failed to assign [mem size 0x00000010]
Aug 8 16:29:18 localhost kernel: pci 0000:7f:12.0: BAR 3: no space for [mem size 0x00000010]
Aug 8 16:29:18 localhost kernel: pci 0000:7f:12.0: BAR 3: failed to assign [mem size 0x00000010]
Aug 8 16:29:18 localhost kernel: pci 0000:7f:12.0: BAR 5: no space for [mem size 0x00000010]
Aug 8 16:29:18 localhost kernel: pci 0000:7f:12.0: BAR 5: failed to assign [mem size 0x00000010]
Aug 8 16:29:18 localhost kernel: pci 0000:7f:12.4: BAR 1: no space for [mem size 0x00000010]
Aug 8 16:29:18 localhost kernel: pci 0000:7f:12.4: BAR 1: failed to assign [mem size 0x00000010]
Aug 8 16:29:18 localhost kernel: pci 0000:7f:12.4: BAR 3: no space for [mem size 0x00000010]
Aug 8 16:29:18 localhost kernel: pci 0000:7f:12.4: BAR 3: failed to assign [mem size 0x00000010]
我的主机出了什么问题?
我用它df -h
来检查磁盘:
[root@ha-node3 log]# df -h
/dev/mapper/centos-root 50G 6.0G 45G 12% /
devtmpfs 111G 0 111G 0% /dev
tmpfs 111G 0 111G 0% /dev/shm
tmpfs 111G 9.3M 111G 1% /run
tmpfs 111G 0 111G 0% /sys/fs/cgroup
/dev/sdi1 494M 123M 371M 25% /boot
/dev/mapper/centos-home 169G 33M 169G 1% /home
tmpfs 23G 0 23G 0% /run/user/0