Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in DPDK: ice_dev_init(): Failed to initialize HW #1137

Open
zhaoxizxzx opened this issue Jul 9, 2024 · 0 comments
Open

Error in DPDK: ice_dev_init(): Failed to initialize HW #1137

zhaoxizxzx opened this issue Jul 9, 2024 · 0 comments

Comments

@zhaoxizxzx
Copy link

zhaoxizxzx commented Jul 9, 2024

Hi, I'm encounter an issue when using dpdk-pktgen

I setup Pktgen by sudo ./app/x86_64-native-linuxapp-gcc/pktgen -l 1,3,19 -n 4 --proc-type auto -- -T -P -m "3.0" -m "19.1" and the error message is

Copyright (c) <2010-2019>, Intel Corporation. All rights reserved. Powered by DPDK
EAL: Detected 32 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Auto-detected process type: PRIMARY
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0000:01:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1528 net_ixgbe
EAL: PCI device 0000:01:00.1 on NUMA socket 0
EAL:   probe driver: 8086:1528 net_ixgbe
EAL: PCI device 0000:98:00.0 on NUMA socket 1
EAL:   probe driver: 8086:1592 net_ice
ice_dev_init(): Failed to initialize HW
EAL: Requested device 0000:98:00.0 cannot be used
EAL: PCI device 0000:98:00.1 on NUMA socket 1
EAL:   probe driver: 8086:1592 net_ice
ice_dev_init(): Failed to initialize HW
EAL: Requested device 0000:98:00.1 cannot be used
Lua 5.3.5  Copyright (C) 1994-2018 Lua.org, PUC-Rio

*** Copyright (c) <2010-2019>, Intel Corporation. All rights reserved.
*** Pktgen created by: Keith Wiles -- >>> Powered by DPDK <<<

 Port: Name         IfIndex Alias        NUMA  PCI

!PANIC!: *** Did not find any ports to use ***
PANIC in pktgen_config_ports():
*** Did not find any ports to use ***
6: [./app/x86_64-native-linuxapp-gcc/pktgen(_start+0x2e) [0x55d3ac54cace]]
5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fd2d0047083]]
4: [./app/x86_64-native-linuxapp-gcc/pktgen(main+0x75d) [0x55d3ac54c5dd]]
3: [./app/x86_64-native-linuxapp-gcc/pktgen(+0xf8b01) [0x55d3ac579b01]]
2: [./app/x86_64-native-linuxapp-gcc/pktgen(__rte_panic+0xf1) [0x55d3ac8711c0]]
1: [./app/x86_64-native-linuxapp-gcc/pktgen(rte_dump_stack+0x3d) [0x55d3ac87101a]]

The binding status is

Network devices using DPDK-compatible driver
============================================
0000:98:00.0 'Ethernet Controller E810-C for QSFP 1592' drv=uio_pci_generic unused=ice,igb_uio,vfio-pci
0000:98:00.1 'Ethernet Controller E810-C for QSFP 1592' drv=uio_pci_generic unused=ice,igb_uio,vfio-pci

Network devices using kernel driver
===================================
0000:04:00.0 'NetXtreme BCM5720 2-port Gigabit Ethernet PCIe 165f' if=eno8303 drv=tg3 unused=igb_uio,vfio-pci,uio_pci_generic *Active*
0000:04:00.1 'NetXtreme BCM5720 2-port Gigabit Ethernet PCIe 165f' if=eno8403 drv=tg3 unused=igb_uio,vfio-pci,uio_pci_generic *Active*

Other Network devices
=====================
0000:01:00.0 'Ethernet Controller 10-Gigabit X540-AT2 1528' unused=ixgbe,igb_uio,vfio-pci,uio_pci_generic
0000:01:00.1 'Ethernet Controller 10-Gigabit X540-AT2 1528' unused=ixgbe,igb_uio,vfio-pci,uio_pci_generic

No 'Baseband' devices detected
==============================

No 'Crypto' devices detected
============================

No 'Eventdev' devices detected
==============================

No 'Mempool' devices detected
=============================

No 'Compress' devices detected
==============================

No 'Misc (rawdev)' devices detected
===================================

It used to work, and suddenly it doesn't. I would appreciate it if you could give me some advice

@zhaoxizxzx zhaoxizxzx changed the title Error in Pktgen: ice_dev_init(): Failed to initialize HW Error in DPDK: ice_dev_init(): Failed to initialize HW Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant