- A+
所属分类:服务器
服务器环境:
- ##硬件环境
- # dmidecode|grep "System Information" -A9|egrep "Manufacturer|Product|Serial"
- Manufacturer: HP
- Product Name: ProLiant DL380 Gen9
- Serial Number: 6CU747DMXP
- # lspci | grep Ethe
- 02:00.0 Ethernet controller: Broadcom Limited NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01)
- 02:00.1 Ethernet controller: Broadcom Limited NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01)
- 02:00.2 Ethernet controller: Broadcom Limited NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01)
- 02:00.3 Ethernet controller: Broadcom Limited NetXtreme BCM5719 Gigabit Ethernet PCIe (rev 01)
- 04:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
- 04:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
- 88:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
- 88:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
- ##系统环境
- os: centos 7.5
- kernel: 3.10.0-862.11.6.el7.x86_64
- kernel启动参数开启iommu、设置大页类型:
- iommu=pt intel_iommu=on default_hugepagesz=1G hugepagesz=1G
- 预留大页个数(32G):
- echo "32" > /etc/sysctl.d/hugepages.conf
问题概述:在安装DPDK时后加载vfio-pci驱动时报错,报错内容如下,经过查找官方相关文档找到解决方案,因为涉及到大批量服务器固件升级,后续又跟HP技术专员经过沟通,收集sosreport,再次确认问题,最后提出关闭网卡的“share memory” 试试,经过关闭一台测试,后续安装成功,方案可行即实施。关闭方法见 实际解决方案/步骤
- #dmesg
- [ 3827.187376] vfio-pci 0000:88:00.0: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor.
- [ 3827.208127] vfio-pci 0000:88:00.1: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor.
- [ 4124.634267] vfio-pci 0000:88:00.1: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor.
- [ 4124.654766] vfio-pci 0000:88:00.0: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor.
- [ 4246.969124] vfio-pci 0000:88:00.1: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor.
- [ 4246.989097] vfio-pci 0000:88:00.0: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor.
- [root@bj02-compute-10e129e170e77 ~]# lspci -nn | grep Ether
- 02:00.0 Ethernet controller [0200]: Broadcom Limited NetXtreme BCM5719 Gigabit Ethernet PCIe [14e4:1657] (rev 01)
- 02:00.1 Ethernet controller [0200]: Broadcom Limited NetXtreme BCM5719 Gigabit Ethernet PCIe [14e4:1657] (rev 01)
- 02:00.2 Ethernet controller [0200]: Broadcom Limited NetXtreme BCM5719 Gigabit Ethernet PCIe [14e4:1657] (rev 01)
- 02:00.3 Ethernet controller [0200]: Broadcom Limited NetXtreme BCM5719 Gigabit Ethernet PCIe [14e4:1657] (rev 01)
- 04:00.0 Ethernet controller [0200]: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01)
- 04:00.1 Ethernet controller [0200]: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01)
- 88:00.0 Ethernet controller [0200]: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01)
- 88:00.1 Ethernet controller [0200]: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01)
参考文档:
文档解决方案:
HPE ProLiant Gen9-series servers with firmware version 1.30_12-24-2014 (or later) support PCI device pass-through with third-party NICs
实际解决方案/步骤:关闭使用网卡 “share memory” ,即该网卡共享内存功能。
操作如下:
1. 重启服务器根据提示按 F9 进入 system utilities(系统应用程序)。
2. 进入系统配置
3. 将使用的该网卡的共享内存功能关闭(如果不知道是那块儿都关闭也可)
如下是部分网卡关闭的截图:
将网卡的共享内存关闭之后保存退出正常重启即可。