DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 193] symmetric_mp example application crashes for Amazon ENA in multiple process mode
Date: Fri, 18 Jan 2019 22:18:00 +0000	[thread overview]
Message-ID: <bug-193-3@http.bugs.dpdk.org/> (raw)

https://bugs.dpdk.org/show_bug.cgi?id=193

            Bug ID: 193
           Summary: symmetric_mp example application crashes for Amazon
                    ENA in multiple process mode
           Product: DPDK
           Version: 18.11
          Hardware: x86
                OS: Linux
            Status: CONFIRMED
          Severity: critical
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: sju@paloaltonetworks.com
  Target Milestone: ---

I have a Amazon AWS vm c5.xLarge instance with 3 ENA interface attached.

The first is management interface and the other two interfaces are data
interfaces.

I binded the data interfaces with igb_uio driver and enabled huge page as well.

I want to run symmetric_mp example with one as primary and the other as
secondary following this document
https://doc.dpdk.org/guides/sample_app_ug/multi_process.html.

When I launch the primary process, it is ok. However, as soon as I launch the
secondary process, both primary and secondary processes crashes.

Primary process:

(gdb) r -l 1 -n 4 --proc-type=auto -- -p 3 --num-procs=4 --proc-id=0
Starting program: /root/symmetric_mp -l 1 -n 4 --proc-type=auto -- -p 3
--num-procs=4 --proc-id=0
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
EAL: Detected 4 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Auto-detected process type: PRIMARY
[New Thread 0x7ffff6ed8700 (LWP 5663)]
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
[New Thread 0x7ffff66d7700 (LWP 5664)]
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: PCI device 0000:00:05.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 1d0f:ec20 net_ena
EAL: PCI device 0000:00:06.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 1d0f:ec20 net_ena
EAL: PCI device 0000:00:07.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 1d0f:ec20 net_ena
# Initialising port 0... # Initialising port 1... 
Checking link statusdone
Port0 Link Up. Speed 0 Mbps - full-duplex
Port1 Link Up. Speed 0 Mbps - full-duplex
APP: Finished Process Init.
Lcore 1 using ports 0 1 
lcore 1 using queue 0 of each port

Thread 1 "symmetric_mp" received signal SIGSEGV, Segmentation fault.
0x0000000000705155 in ena_com_rx_pkt ()


Secondary process:

(gdb) r -l 2 -n 4 --proc-type=auto -- -p 3 --num-procs=4 --proc-id=1 
Starting program: /root/symmetric_mp -l 2 -n 4 --proc-type=auto -- -p 3
--num-procs=4 --proc-id=1
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
EAL: Detected 4 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Auto-detected process type: SECONDARY
[New Thread 0x7ffff6ed8700 (LWP 5777)]
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_5773_105ae7c1b74
[New Thread 0x7ffff66d7700 (LWP 5778)]
EAL: Probing VFIO support...
EAL: PCI device 0000:00:05.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 1d0f:ec20 net_ena
EAL: PCI device 0000:00:06.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 1d0f:ec20 net_ena
EAL: PCI device 0000:00:07.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 1d0f:ec20 net_ena
APP: Finished Process Init.
Lcore 2 using ports 0 1 
lcore 2 using queue 1 of each port

Thread 1 "symmetric_mp" received signal SIGSEGV, Segmentation fault.
0x00000000007013e8 in eth_ena_recv_pkts ()


The same procedure works for ixgbevf instance with m4.2xLarge instances.

Could you help?

Thanks.
Suyang

-- 
You are receiving this mail because:
You are the assignee for the bug.

                 reply	other threads:[~2019-01-18 22:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-193-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).