From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id 14722B62 for ; Tue, 7 Apr 2015 16:35:27 +0200 (CEST) Received: from hmsreliant.think-freely.org ([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YfUb5-0001kl-If; Tue, 07 Apr 2015 10:35:25 -0400 Date: Tue, 7 Apr 2015 10:35:22 -0400 From: Neil Horman To: Venkat Thummala Message-ID: <20150407143522.GA10054@hmsreliant.think-freely.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-Spam-Status: No Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Running DPDK Binaries on a different Target 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: Tue, 07 Apr 2015 14:35:27 -0000 On Tue, Apr 07, 2015 at 05:30:15PM +0530, Venkat Thummala wrote: > Attaching the CPU Info. > > On 7 April 2015 at 17:28, Venkat Thummala > wrote: > > > Hi, > > > > I have built a DPDK application [based on version 2.0] and run on the > > native machine successfully. > > > > I have tried running the binary on a different machine, but it resulted in > > a CRASH with the following back trace. > > > > Please find the CPU info of the machines from the attachment. > > > > cpuinfo-1 - Native Machine > > cpuinfo-2 - Non Native Machine > > > > Could someone please help me in understanding the issue here and making it > > work? > > > > Regards > > Venkat > > > > Program terminated with signal SIGILL, Illegal instruction. > > #0 0x00000000004209f2 in rte_cpu_get_flag_enabled (feature=2147483656, > > feature@entry=RTE_CPUFLAG_EM64T) > > at > > /home/vthummala/src/vwlc/dpdk/dpdk-2.0.0/x86_64-native-linuxapp-gcc/include/rte_cpuflags.h:303 > > 303 return (regs[feat->reg] >> feat->bit) & 1; Looks like this somehow compiled into an instruction that the native system understands but the system you're running on doesn't. disassemble the code here to see what instruction that is to confirm, then you either need to: 1) Change the machine you're compiling for to be more specific to your target system or 2) Understand that the hardware you're targeting doesn't support dpdk Neil > > (gdb) bt > > #0 0x00000000004209f2 in rte_cpu_get_flag_enabled (feature=2147483656, > > feature@entry=RTE_CPUFLAG_EM64T) > > at > > /home/vthummala/src/vwlc/dpdk/dpdk-2.0.0/x86_64-native-linuxapp-gcc/include/rte_cpuflags.h:303 > > #1 0x0000000000420a1b in rte_hash_crc_set_alg (alg=6 '\006') > > at > > /home/vthummala/src/vwlc/dpdk/dpdk-2.0.0/x86_64-native-linuxapp-gcc/include/rte_hash_crc.h:429 > > #2 rte_hash_crc_init_alg () at > > /home/vthummala/src/vwlc/dpdk/dpdk-2.0.0/x86_64-native-linuxapp-gcc/include/rte_hash_crc.h:445 > > #3 0x000000000054968d in __libc_csu_init () > > #4 0x00007fc3ca474e55 in group_nodes_into_DFAstates > > (dests_ch=0x940f507ab10ff0c8, dests_node=0x4a8b44de74c084c0, > > state=0x4420528b48a8ebc9, > > dfa=) at regexec.c:3614 > > #5 build_trtable (dfa=0x840fc139c0014468, state=0x4420528b48a8ebc9) at > > regexec.c:3354 > > #6 0x41d589495541f689 in ?? () > > #7 0x00251630258d4c54 in ?? () > > #8 0x002517302d8d4855 in ?? () > > #9 0xc148db31e5294c53 in ?? () > > #10 0x65e808ec834803fd in ?? () > > #11 0x1e74ed8548ffed48 in ?? () > > #12 0x0000000000841f0f in ?? () > > >