From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f44.google.com (mail-it0-f44.google.com [209.85.214.44]) by dpdk.org (Postfix) with ESMTP id 16D602B9A for ; Sat, 30 Sep 2017 09:38:05 +0200 (CEST) Received: by mail-it0-f44.google.com with SMTP id d192so1822076itd.1 for ; Sat, 30 Sep 2017 00:38:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=RfJ8L0BW47R8sXsclcHKSYQWFrUamKy/iMPuwjGTkZU=; b=seDNC1Jcf9JQzNpyq8GDPQEBVpCTl5Qdoo7bpmH9VWeFIVEsJ//HMhVDAiacEfmpbw D29kEDIsDTN7prf42Iy6WJ41Vk9dQdYt3PpioD5ma2awr+nNvdk06XuLpBwNe2vjRupY IpgMUvpzsXpRDc4MB6Fo3q2H2uGoGbb3itaUPJKn1VhxZnjP0CrdMJ0LIkW/h5tEAtUQ pJAX5BFeHH0V0WyKZAFG/k+YSyO1p5ayIP38gIGrsDvnAg9UD0ZIR52/wMeP/i9xCKde F1mHp+jpLM3B8KLZuGSj7h2B2GFVYT87wGe2ToP2602kf/yfQXS+b2+rqg2JQtb7dlky aAQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=RfJ8L0BW47R8sXsclcHKSYQWFrUamKy/iMPuwjGTkZU=; b=DtHxKs6aX5Bstc+5GnLIQhkuEhzUB7iEbvo7bW+Vo3RjkZnV4QFUVtqKyfY+Jbc7PC GiD2hF+NFXZem72C8iKG2X4UWzONw1Lnpk/fBLrml2I6xRMqDWglyf4waKyPUf9CMfuE jKxA8XiMihHHgO2TlRSxe2DZw1SNpbcc0Ij/KFocK5KPNoCPi/vYMbma5osWkzdxKh0h vdVtOKFBod/GU0mEuGXLf8J32raLW0TsnzsgmWdp4MAp6/vqtKES6W/yAHd738JeRD9s HoatikKJrEtpSGxN5lsxcGK252NsVpildjs/xtEEvUhfBNurq5JKZwTVjueTYo8c9Us7 se5g== X-Gm-Message-State: AMCzsaVbYQ4xfGqfi1lYpPTfa9tqre4UuASJYAYlqqkDkMSblj/xdB3K nk85glFWcTYI/6uQG5sX3yXGhn/lZNowO6GWWZVKWQ== X-Google-Smtp-Source: AOwi7QC84cisJM/lj/TOseln+UF/+VbVN67w3HaFvWojGaC2P0UoC+Pq0mxnvPcwAU9M+xHDJlEqD47qYlmtP1CiIGE= X-Received: by 10.36.116.9 with SMTP id o9mr10743622itc.132.1506757085027; Sat, 30 Sep 2017 00:38:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.168.220 with HTTP; Sat, 30 Sep 2017 00:37:24 -0700 (PDT) From: Bill Bonaparte Date: Sat, 30 Sep 2017 15:37:24 +0800 Message-ID: To: DPDK Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] It's failed to run dpdk(17.05) on xen guest (aka DomU), e.g. ubuntu16.04 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Sep 2017 07:38:06 -0000 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 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.