* [dpdk-dev] It's failed to run dpdk(17.05) on xen guest (aka DomU), e.g. ubuntu16.04
@ 2017-09-30 7:37 Bill Bonaparte
0 siblings, 0 replies; only message in thread
From: Bill Bonaparte @ 2017-09-30 7:37 UTC (permalink / raw)
To: DPDK
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-09-30 7:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-30 7:37 [dpdk-dev] It's failed to run dpdk(17.05) on xen guest (aka DomU), e.g. ubuntu16.04 Bill Bonaparte
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).