当我在服务器dmesg
上执行命令时RHEL 7.4
,我注意到以下失败消息:
[root@localhost ~]# dmesg | grep -i fail
[ 0.984930] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[ 0.990907] acpi PNP0A03:01: _OSC failed (AE_NOT_FOUND); disabling ASPM
[ 1.058883] pci 0000:7f:12.4: BAR 2: failed to assign [mem size 0x00000040]
[ 1.058889] pci 0000:7f:12.4: BAR 4: failed to assign [mem size 0x00000040]
[ 1.058894] pci 0000:7f:12.4: BAR 1: failed to assign [mem size 0x00000010]
[ 1.058899] pci 0000:7f:12.4: BAR 3: failed to assign [mem size 0x00000010]
[ 1.058904] pci 0000:7f:12.4: BAR 5: failed to assign [mem size 0x00000010]
[ 1.058910] pci 0000:7f:12.0: BAR 6: failed to assign [mem size 0x00000001 pref]
[ 1.058915] pci 0000:7f:1e.3: BAR 6: failed to assign [mem size 0x00000001 pref]
[ 1.058943] pci 0000:ff:12.4: BAR 2: failed to assign [mem size 0x00000040]
[ 1.058948] pci 0000:ff:12.4: BAR 4: failed to assign [mem size 0x00000040]
[ 1.058953] pci 0000:ff:12.4: BAR 1: failed to assign [mem size 0x00000010]
[ 1.058958] pci 0000:ff:12.4: BAR 3: failed to assign [mem size 0x00000010]
[ 1.058963] pci 0000:ff:12.4: BAR 5: failed to assign [mem size 0x00000010]
[ 1.058969] pci 0000:ff:12.0: BAR 6: failed to assign [mem size 0x00000001 pref]
[ 1.058974] pci 0000:ff:1e.3: BAR 6: failed to assign [mem size 0x00000001 pref]
[ 1.059093] pci 0000:02:00.1: BAR 6: failed to assign [mem size 0x00080000 pref]
[ 1.059099] pci 0000:02:00.2: BAR 6: failed to assign [mem size 0x00080000 pref]
[ 1.059105] pci 0000:02:00.3: BAR 6: failed to assign [mem size 0x00080000 pref]
[ 4.279113] be2net 0000:81:00.0: opcode 80-1 failed:status 1-23
[ 4.530130] be2net 0000:81:00.1: opcode 80-1 failed:status 1-23
[ 4.729139] be2net 0000:81:00.2: opcode 80-1 failed:status 1-23
[ 4.928150] be2net 0000:81:00.3: opcode 80-1 failed:status 1-23
这三个错误信息是什么意思?
- acpi PNP0A03:XX: _OSC 失败 (AE_NOT_FOUND);禁用 ASPM
- pci 0000:XX:XX.X: BAR X: 分配失败 [内存大小 0x00000040]
- be2net 0000:81:00.X:操作码 80-1 失败:状态 1-23
笔记: be2net
是以太网驱动程序HPE FlexFabric 20Gb 2-port 650FLB Adapter
。
答案1
尝试诊断 ondmesg
或syslog
using 的问题grep
是一个坏主意,因为您将丢弃所有上下文(前一行、后几行),而这些上下文将允许您识别实际发生的情况(或至少更多地了解正在发生的情况)。
从您所提供的信息来看:
ACPI信息在启动时用于初始化设备。PNP0A03
是 PCI 总线的即插即用信息,_OSC
是用于初始化它的一些 ACPI 方法。该方法由于某种原因未能执行,因此 Linux 决定禁用活动状态电源管理 (ASPM)。
可能的结果是,一些具有非常奇怪的总线编号(ff
和7f
)的 PCI 设备无法正确初始化,很可能是因为它们具有虚假的内存区域(“BAR”)信息。
诊断:您的 PCI 主控制器有问题,或者由于 BIOS ACPI 信息错误而未正确初始化。与lspci
您的输出以及有关 PCI 卡故障的任何信息进行比较。看着那(这完全的 dmesg
启动日志。
该be2net
错误实际上可以是任何内容:无害的错误,因为驱动程序尝试的某些操作码不受您的硬件支持,驱动程序中的错误,不良 PCI 主机控制器的结果,或者......