DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Failed to initialize HW 0x10bc
@ 2015-07-03 14:59 Emerson Posadas
  2015-07-03 15:09 ` Bruce Richardson
  0 siblings, 1 reply; 4+ messages in thread
From: Emerson Posadas @ 2015-07-03 14:59 UTC (permalink / raw)
  To: dev

Hello

I´m trying to use the pktgen tool to generate some traffic, but my
device (Intel
Corporation 82571EB Gigabit Ethernet) is failing to initialize. Is this
related with the resolved issue 7.19, even when is not the same device?

http://dpdk.org/doc/guides/rel_notes/resolved_issues.html

Here is my output while running pktgen:
PMD: eth_em_dev_init(): port_id 0 vendorID=0x8086 deviceID=0x10bc: failed
to init HW
EAL: Error - exiting with code: 1
  Cause: Requested device 0000:03:00.0 cannot be used

And
>From lib/librte_eal/common/include/rte_pci_dev_ids.h
#define E1000_DEV_ID_82571EB_QUAD_COPPER_LP   0x10BC

[root@localhost dpdk-2.0.0]# dpdk_nic_bind.py --status

Network devices using DPDK-compatible driver
============================================
0000:03:00.0 '82571EB Gigabit Ethernet Controller (Copper)' drv=igb_uio
unused=
0000:03:00.1 '82571EB Gigabit Ethernet Controller (Copper)' drv=igb_uio
unused=
0000:04:00.0 '82571EB Gigabit Ethernet Controller (Copper)' drv=igb_uio
unused=
0000:04:00.1 '82571EB Gigabit Ethernet Controller (Copper)' drv=igb_uio
unused=

Network devices using kernel driver
===================================
0000:00:19.0 '82579LM Gigabit Network Connection' if=eno1 drv=e1000e
unused=igb_uio *Active*

Any advice would be useful.

EP

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] Failed to initialize HW 0x10bc
  2015-07-03 14:59 [dpdk-dev] Failed to initialize HW 0x10bc Emerson Posadas
@ 2015-07-03 15:09 ` Bruce Richardson
  0 siblings, 0 replies; 4+ messages in thread
From: Bruce Richardson @ 2015-07-03 15:09 UTC (permalink / raw)
  To: Emerson Posadas; +Cc: dev

On Fri, Jul 03, 2015 at 02:59:15PM +0000, Emerson Posadas wrote:
> Hello
> 
> I´m trying to use the pktgen tool to generate some traffic, but my
> device (Intel
> Corporation 82571EB Gigabit Ethernet) is failing to initialize. Is this
> related with the resolved issue 7.19, even when is not the same device?
> 
> http://dpdk.org/doc/guides/rel_notes/resolved_issues.html
> 
> Here is my output while running pktgen:
> PMD: eth_em_dev_init(): port_id 0 vendorID=0x8086 deviceID=0x10bc: failed
> to init HW
> EAL: Error - exiting with code: 1
>   Cause: Requested device 0000:03:00.0 cannot be used
>
Can you try running testpmd with your NIC to see if that initializes the ports
successfully?

/Bruce

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] Failed to initialize HW 0x10bc
@ 2015-07-03 21:19 Posadas, Emerson
  0 siblings, 0 replies; 4+ messages in thread
From: Posadas, Emerson @ 2015-07-03 21:19 UTC (permalink / raw)
  To: dev

Nevermind on this issue.

Apparently this was related with a physical issue on the PCIe port. The testpmd and pktgen tool are now working fine.

EP


From: Posadas, Emerson
Sent: Friday, July 3, 2015 11:45 AM
To: 'dev@dpdk.org'
Cc: Richardson, Bruce
Subject: Re: [dpdk-dev] Failed to initialize HW 0x10bc

This is what I'm getting from the DEBUG_INIT and DEBUG_DRIVER flags turned on while running testpmd:

PMD: e1000_setup_link_82571(): e1000_setup_link_82571
PMD: e1000_setup_link_generic(): e1000_setup_link_generic
PMD: e1000_check_reset_block_generic(): e1000_check_reset_block
PMD: e1000_setup_link_generic(): After fix-ups FlowControl is now = 3
PMD: e1000_setup_copper_link_82571(): e1000_setup_copper_link_82571
PMD: e1000_copper_link_setup_igp(): e1000_copper_link_setup_igp
PMD: e1000_phy_hw_reset_generic(): e1000_phy_hw_reset_generic
PMD: e1000_check_reset_block_generic(): e1000_check_reset_block
PMD: e1000_get_hw_semaphore_82571(): e1000_get_hw_semaphore_82571
PMD: e1000_put_hw_semaphore_82571(): e1000_put_hw_semaphore_generic
PMD: e1000_get_cfg_done_82571(): e1000_get_cfg_done_82571
PMD: e1000_get_cfg_done_82571(): MNG configuration cycle has not completed.
PMD: e1000_copper_link_setup_igp(): Error resetting the PHY.
PMD: e1000_clear_hw_cntrs_82571(): e1000_clear_hw_cntrs_82571
PMD: e1000_clear_hw_cntrs_base_generic(): e1000_clear_hw_cntrs_base_generic
PMD: em_hw_init(): Hardware initialization failed
PMD: eth_em_dev_init(): port_id 0 vendorID=0x8086 deviceID=0x10bc: failed to init HW
EAL: Error - exiting with code: 1
  Cause: Requested device 0000:03:00.0 cannot be used

EP

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] Failed to initialize HW 0x10bc
@ 2015-07-03 16:45 Posadas, Emerson
  0 siblings, 0 replies; 4+ messages in thread
From: Posadas, Emerson @ 2015-07-03 16:45 UTC (permalink / raw)
  To: dev

This is what I'm getting from the DEBUG_INIT and DEBUG_DRIVER flags turned on while running testpmd:

PMD: e1000_setup_link_82571(): e1000_setup_link_82571
PMD: e1000_setup_link_generic(): e1000_setup_link_generic
PMD: e1000_check_reset_block_generic(): e1000_check_reset_block
PMD: e1000_setup_link_generic(): After fix-ups FlowControl is now = 3
PMD: e1000_setup_copper_link_82571(): e1000_setup_copper_link_82571
PMD: e1000_copper_link_setup_igp(): e1000_copper_link_setup_igp
PMD: e1000_phy_hw_reset_generic(): e1000_phy_hw_reset_generic
PMD: e1000_check_reset_block_generic(): e1000_check_reset_block
PMD: e1000_get_hw_semaphore_82571(): e1000_get_hw_semaphore_82571
PMD: e1000_put_hw_semaphore_82571(): e1000_put_hw_semaphore_generic
PMD: e1000_get_cfg_done_82571(): e1000_get_cfg_done_82571
PMD: e1000_get_cfg_done_82571(): MNG configuration cycle has not completed.
PMD: e1000_copper_link_setup_igp(): Error resetting the PHY.
PMD: e1000_clear_hw_cntrs_82571(): e1000_clear_hw_cntrs_82571
PMD: e1000_clear_hw_cntrs_base_generic(): e1000_clear_hw_cntrs_base_generic
PMD: em_hw_init(): Hardware initialization failed
PMD: eth_em_dev_init(): port_id 0 vendorID=0x8086 deviceID=0x10bc: failed to init HW
EAL: Error - exiting with code: 1
  Cause: Requested device 0000:03:00.0 cannot be used

EP

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-03 21:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-03 14:59 [dpdk-dev] Failed to initialize HW 0x10bc Emerson Posadas
2015-07-03 15:09 ` Bruce Richardson
2015-07-03 16:45 Posadas, Emerson
2015-07-03 21:19 Posadas, Emerson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).