From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id D920E58D2 for ; Mon, 3 Nov 2014 13:45:11 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 03 Nov 2014 04:52:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,307,1413270000"; d="scan'208";a="630290813" Received: from pgsmsx103.gar.corp.intel.com ([10.221.44.82]) by orsmga002.jf.intel.com with ESMTP; 03 Nov 2014 04:53:55 -0800 Received: from kmsmsx151.gar.corp.intel.com (172.21.73.86) by PGSMSX103.gar.corp.intel.com (10.221.44.82) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 3 Nov 2014 20:53:54 +0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by KMSMSX151.gar.corp.intel.com (172.21.73.86) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 3 Nov 2014 20:53:54 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.202]) by shsmsx102.ccr.corp.intel.com ([169.254.2.156]) with mapi id 14.03.0195.001; Mon, 3 Nov 2014 20:53:53 +0800 From: "Liu, Jijiang" To: Murillo , "dev@dpdk.org" Thread-Topic: [dpdk-dev] DPDK on Xen Dom-U hangs during hugepage setup Thread-Index: Ac/0bR4hkX0nAAPKRLyf8hSLZkRy0QAMgvwAABTafgAAhAjmAAAYlurg Date: Mon, 3 Nov 2014 12:53:52 +0000 Message-ID: <1ED644BD7E0A5F4091CF203DAFB8E4CC01D84AB0@SHSMSX101.ccr.corp.intel.com> References: <5453441A.8090508@ehu.es> <4cef15aac7a84107b28b7d85ef22ffb7@CY1PR0501MB1418.namprd05.prod.outlook.com> <5457461E.6090901@ehu.es> In-Reply-To: <5457461E.6090901@ehu.es> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] DPDK on Xen Dom-U hangs during hugepage setup X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2014 12:45:13 -0000 The "-no-huge" option is not needed in this case. > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Murillo > Sent: Monday, November 3, 2014 5:09 PM > To: dev@dpdk.org > Subject: Re: [dpdk-dev] DPDK on Xen Dom-U hangs during hugepage setup >=20 > Hello Kiran, >=20 > I was able to execute the helloworld example by running the next steps: >=20 > Change in Dpdk/config/common_linuxapp > CONFIG_RTE_LIBRTE_XEN_DOM0=3Dn > to: > CONFIG_RTE_LIBRTE_XEN_DOM0=3Dy > Change indpdk/config/defconfig_x86_64-native-linuxapp-gcc > CONFIG_RTE_MACHINE=3D"native" > To > CONFIG_RTE_MACHINE=3D"default" > make config T=3Dx86_64-native-linuxapp-gcc make install T=3Dx86_64-native= - > linuxapp-gcc sudo modprobe uio sudo insmod x86_64-native-linuxapp- > gcc/kmod/igb_uio.ko > sudo insmod x86_64-native-linuxapp-gcc/kmod/rte_dom0_mm.ko > rsv_memsize=3D2048 echo 2048 /sys/kernel/mm/dom0-mm/memsize- > mB/memsize > cd example/helloworld > make > ./build/helloworld -c 0x3 -n 2 --xen-dom0 -no-huge >=20 >=20 >=20 > El 31/10/14 a las 19:08, Kiran KN escribi=F3: > > Hello Murillo, > > > > Yes, am using rte_dom0_mm as explained in DPDK programmers guide sectio= n > 14.3.3 step (4). > > > > The examples work when using --no-huge option. > > > > Are you able to go past the hugepage setup? If so can you tell what are= the > steps you followed in addition to the ones explained in section 14.3. > > > > Thanks, > > Kiran > > > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Murillo > > Sent: Friday, October 31, 2014 1:11 AM > > To: dev@dpdk.org > > Subject: Re: [dpdk-dev] DPDK on Xen Dom-U hangs during hugepage setup > > > > Hello, > > > > Xen does not support hugepages, so you have to use a kernel module call= ed > rte_dom0_mm. > > The instructions are in the getting started guide in the seccion 2.3.3. > > If you manage to execute any example please tell me, because I am stuck > during the execution of the examples after configuring the environment. > > > > > > > > El 30/10/14 a las 19:15, Kiran KN escribi=F3: > >> Hello, > >> > >> I am trying to bring up DPDK on Xen Dom-U. > >> > >> Have followed all the steps in DPDK programmers guide in section 14.3. > >> > >> However, when I try to run testpmd or any other example application, i= t is > getting stuck during hugepage setup. > >> > >> It hangs after the print "EAL: Setting up memory..." > >> > >> Has anyone faced similar issue before? > >> > >> Thanks, > >> Kiran > >> > >>