From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from col0-omc1-s2.col0.hotmail.com (col0-omc1-s2.col0.hotmail.com [65.55.34.12]) by dpdk.org (Postfix) with ESMTP id 0275E5937 for ; Thu, 27 Mar 2014 14:49:33 +0100 (CET) Received: from COL131-DS1 ([65.55.34.7]) by col0-omc1-s2.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 27 Mar 2014 06:51:06 -0700 X-TMN: [kHwlaU7Z+/F+E5VrJkxSODvhbr9OMUaa] X-Originating-Email: [fredhps10@hotmail.com] Message-ID: From: Fred Pedrisa To: "'Randall Stewart'" , References: <53DA1FDB-AAFF-4D99-A942-6E1B0033F477@lakerest.net> <02e401cf49af$9bfb35f0$d3f1a1d0$@lakerest.net> In-Reply-To: <02e401cf49af$9bfb35f0$d3f1a1d0$@lakerest.net> Date: Thu, 27 Mar 2014 10:51:11 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQKYSD+Uf6/qpC684iBJHcxo6wiszQIZ2M85AcxKO5qZQ8WOgA== Content-Language: pt-br X-OriginalArrivalTime: 27 Mar 2014 13:51:06.0611 (UTC) FILETIME=[99E07C30:01CF49C3] Subject: [dpdk-dev] RES: Attempting to get the DPDK to build for FreeBSD 9.2Release DPDK 1.6.0 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: Thu, 27 Mar 2014 13:49:34 -0000 Hello, Im my first attempt, I had to restart the server :D -----Mensagem original----- De: dev [mailto:dev-bounces@dpdk.org] Em nome de Randall Stewart Enviada em: quinta-feira, 27 de mar=E7o de 2014 08:26 Para: dev@dpdk.org Assunto: Re: [dpdk-dev] Attempting to get the DPDK to build for FreeBSD 9.2Release DPDK 1.6.0 Ok I have figured this one out ;-) When you do kldload ./contigmem.ko It trys to malloc up a chunk of memory (1Gig it looks by default).. and = if a contiguious piece of memory is not available.. it fails.. which causes = the failure back to kldload that says =93Exec format error=94. Not very descriptive, turns out you have to dig into /var/log/messages = to figure out what is really happening ;-) R On Mar 27, 2014, at 7:05 AM, Randall Stewart wrote: >=20 >>=20 >> Hi all: >>=20 >> I have a stock 9.2Release FreeBSD system and am attempting to build=20 >> the DPDK for it. I have followed the steps i.e: >>=20 >> 1) Gotten the ports in: >> - dialog4ports >> - gcc 4.8 >> - gmake >> - coreutils >> - libexecinfo >>=20 >> 2) Ran the make >> - gmake install T=3Dx86_64-default-bsdapp-gcc CC=3Dgcc48 >>=20 >> It completes nicely and I have a x86_64-default-bsdapp-gcc directory = with all the goodies. >> But here is the issue: >>=20 >> bash-fastone: cd x86_64-default-bsdapp-gcc/kmod/ >> bash-fastone: su >> Password: >> root@fastone:/usr/randall/DPDK-1.6.0/x86_64-default-bsdapp-gcc/kmod # = ls >> contigmem.ko nic_uio.ko >> root@fastone:/usr/randall/DPDK-1.6.0/x86_64-default-bsdapp-gcc/kmod # = >> kldload ./contigmem.ko >> kldload: can't load ./contigmem.ko: Exec format error=20 >> root@fastone:/usr/randall/DPDK-1.6.0/x86_64-default-bsdapp-gcc/kmod # >>=20 >>=20 >>=20 >> Anyone ever seen this? Per chance am I missing something? >>=20 >> I guess my next step is to see if I can build the klm=92s = individually=20 >> with a more BSDish setup to see if there is some sort of interaction=20 >> going on here between gcc and gcc48.. hmmm >>=20 >> Any pointers would be appreciated. >>=20 >> Thanks >>=20 >> R >=20 > ------------------------------ > Randall Stewart > 803-317-4952 (cell) >=20 >=20 ------------------------------ Randall Stewart 803-317-4952 (cell)