DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bill Bonaparte <programme110@gmail.com>
To: DPDK <dev@dpdk.org>
Subject: [dpdk-dev]  It's failed to run dpdk(17.05) on xen guest (aka DomU), e.g. ubuntu16.04
Date: Sat, 30 Sep 2017 15:37:24 +0800	[thread overview]
Message-ID: <CAO8FX+QTmxPFaV8szstnRm09AH0Gm3uH0qoK1p4HEei7ci2OcA@mail.gmail.com> (raw)

Hi, everybody:
      I can't wait to write this mail for help, I am trying to run dpdk on
xen guest (aka DomU), but whatevery I do, it's always failed.
       The followings is my environment:
       xen guest OS which dpdk is running on is ubuntu 16.04 sever.  dpdk
version is 17.05.
I enable the xen support in config/common_base.
       CONFIG_RTE_LIBRTE_PMD_XENVIRT=y
after compiling dpdk with the command " make install
T=x86_64-native-linuxapp-gcc",  I run testpmd with the following command:
 ./testpmd -l 1,2 -n 4 --vdev="eth_xenvirt0,mac=a6:38:57:e8:d5:be"
--vdev="eth_xenvirt1,mac=32:f1:42:55:94:74" -- --total-num-mbufs=2048

but I got the error "PMD: rte_pmd_xenvirt_probe: grant init failed".
then I realised that something is missed,  after I fixed this error with
the following command:
modprobe xen_gntalloc limit=6000, modprobe xen_evtchn, and modprobe
xen_gntdev.
I got another error:
       PMD: mempool with more than 1 chunk [num=287] is not supported
       EAL: memzone_reserve_aligned_thread_unsafe(): memzone
<MP_mbuf_pool_socket_0> already exists
       EAL: Error - exiting with code: 1
  Cause: Creation of mbuf pool for socket 0 failed: File exists

 Is there anybody has experience about how run dpdk on xen guest ?
or who can give me some clue to fix it ?

I really need your help!
I appreciate any reply from you.

                 reply	other threads:[~2017-09-30  7:38 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=CAO8FX+QTmxPFaV8szstnRm09AH0Gm3uH0qoK1p4HEei7ci2OcA@mail.gmail.com \
    --to=programme110@gmail.com \
    --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).