[dpdk-dev] It's failed to run dpdk(17.05) on xen guest (aka DomU), e.g. ubuntu16.04
Bill Bonaparte
programme110 at gmail.com
Sat Sep 30 09:37:24 CEST 2017
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.
More information about the dev
mailing list