DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] OS hang when running helloworld example with two I210 NICs
@ 2017-03-15 16:55 Michal Michalowski
  2017-03-21 12:19 ` Hunt, David
  0 siblings, 1 reply; 10+ messages in thread
From: Michal Michalowski @ 2017-03-15 16:55 UTC (permalink / raw)
  To: users

HI,

I have problem running helloworld example. The OS hangs and the only way
forward is to poweroff the box.

DPDK version 16.11.1
OS: Ubuntu 16.04 and 14.04
NICs:
18:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network
Connection (rev 03)
24:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network
Connection (rev 03)

The problem only appears when I have two NICs present. If I bind at
least one of them to uio_pci_generic and run helloworld the OS hangs.
If I try to use igb_uio the system hangs when binding the device.

I have narrowed it down a bit. The OS hangs when
e1000_get_media_type_82575 is executed. Line:   ctrl_ext =
E1000_READ_REG(hw, E1000_CTRL_EXT);
That line is reading memory mapped from resource0 of the device.

I have reproduced behaviour just by binding the device to
uio_pci_generic and putting it in "bus master" mode and the reading from
it's resour0.

The behaviour is not reproducible with just one NIC in place. Also if
the devices use igb driver and are in "bus master" I can read from
resource0.

Has anyone encountered similar problem?

Cheers,
Michal

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please note that any review, dissemination, disclosure, alteration, printing, circulation, retention or transmission of this e-mail and/or any file or attachment transmitted with it, is prohibited and may be unlawful. If you have received this e-mail or any file or attachment transmitted with it in error please notify postmaster@openet.com. Although Openet has taken reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

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

end of thread, other threads:[~2017-03-22 14:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-15 16:55 [dpdk-users] OS hang when running helloworld example with two I210 NICs Michal Michalowski
2017-03-21 12:19 ` Hunt, David
2017-03-21 12:46   ` Michal Michalowski
2017-03-21 13:17     ` Hunt, David
2017-03-21 13:52       ` Michal Michalowski
2017-03-21 14:46         ` Hunt, David
2017-03-21 15:05           ` Michal Michalowski
2017-03-22 14:38             ` Michal Michalowski
2017-03-21 13:59       ` Hunt, David
2017-03-21 14:01         ` Hunt, David

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).