在加载dpdk驱动时,报错EAL: Error - exiting with code: 1解决方法
initialize hugepage for numa node 0, need:256 - actual:256
EAL: Probing VFIO support...
EAL: PCI device 0000:02:00.0 on NUMA socket 0
EAL: probe driver: 8086:1521 net_e1000_igb
EAL: PCI device 0000:02:00.1 on NUMA socket 0
EAL: probe driver: 8086:1521 net_e1000_igb
EAL: PCI device 0000:04:00.0 on NUMA socket 0
EAL: probe driver: 8086:1572 net_i40e
EAL: PCI device 0000:04:00.1 on NUMA socket 0
EAL: probe driver: 8086:1572 net_i40e
EAL: Error - exiting with code: 1
Cause: No Ethernet ports.
主要解决方案是由于lspci命令没有安装导致,对应的安装组件pciutils,使用yum install pciutils即可。
在redhat的最小化安装中,默认是不会安装lspci工具的,需要自己手动安装。
a) yum whatprovides lspci 查找lspci是通过哪个安装包来提供的
b) yum install pciutils