From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id D854CB0AD for ; Tue, 24 Jun 2014 17:07:40 +0200 (CEST) Received: by mail-wi0-f171.google.com with SMTP id n15so6208648wiw.4 for ; Tue, 24 Jun 2014 08:07:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=rSrrCoYiQv3xyyF6WR6j+C+VZd1guxkxF3rlalbj6xM=; b=CgKDG1s3l5Zd4KL8zp4mMquftwk9NHnThcXiUQ3YAAEHsk0SsgG59ajBHcgfC6e2VL WB71fO119l6GoQbBO4DoGXYQQCh/US9G1+EO9qi9n1RsrwoXg391aCXi98Uyhi7L2jL1 sZ1JaBVu5xdRz/g0axUarbxG7RfLQhBun0evURZUhdxABxIXMZW8sv/DfmWX5BLEQE4O 3wCxosnLfJqYlzBQd33ani7LqtGIfKM11NqlYMq7GH0hpErwhMNbZ/M2bIHcAF+M/Nz8 m6sqP3Yn5LDn3iV9iJYgZmHnZR+THd4JXq1PElhtPIuUH0xw5fBQc9+jHqjwCovksMsB +CGw== MIME-Version: 1.0 X-Received: by 10.180.83.105 with SMTP id p9mr34814588wiy.8.1403622478347; Tue, 24 Jun 2014 08:07:58 -0700 (PDT) Received: by 10.194.85.76 with HTTP; Tue, 24 Jun 2014 08:07:58 -0700 (PDT) In-Reply-To: References: Date: Tue, 24 Jun 2014 18:07:58 +0300 Message-ID: From: Helmut Sim To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] eal_parse_coremask fails on SIGILL 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, 24 Jun 2014 15:07:41 -0000 one more detail, i am using dpdk-1.6.0r1 On Tue, Jun 24, 2014 at 6:05 PM, Helmut Sim wrote: > Hi, > > I need some help to understand the following issue. > > I am building the DPDK with make install T=x86_64-default-linuxapp-gcc and > it works well on my machine. > However when testing it on my virtual machine (ubuntu 14.04 server guest n > xen hv) it fails for SIGILL: > here is the relevant gdb output for the helloworld example: > [New LWP 4462] > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > Core was generated by `./build/helloworld -c 3 -n 4'. > Program terminated with signal SIGILL, Illegal instruction. > (gdb) bt > #0 0x00000000004061d9 in eal_parse_coremask (coremask=0x7fff2bf9a9b1 "3") > at > /home/sim/work/prj/common/dpdk/package/lib/librte_eal/linuxapp/eal/eal.c:450 > #1 eal_parse_args (argv=0x7fff2bf99d68, argc=5) at > /home/sim/work/prj/common/dpdk/package/lib/librte_eal/linuxapp/eal/eal.c:688 > #2 rte_eal_init (argc=5, argv=0x7fff2bf99d68) at > /home/sim/work/prj/common/dpdk/package/lib/librte_eal/linuxapp/eal/eal.c:956 > #3 0x0000000000405436 in main () > > i am building the dpdk and the examples on one machine and copy the > x86_64-default-linuxapp-gcc and the helloworld/build directories to a > second machine. > > the machine i am building the dpdk and the app on is: > uname -a > Linux sim 3.11.0-23-generic #40-Ubuntu SMP Wed Jun 4 21:05:23 UTC 2014 > x86_64 x86_64 x86_64 GNU/Linux > > model name : Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx > pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl > xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor > ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic > movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida > arat xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase > tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm > > > the virtual machine i am executing the program on is: > uname -a > Linux vflow-target 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 > UTC 2014 x86_64 x86_64 x86_64 GNU/Linux > > from the cpuinfo: > model name : Intel(R) Xeon(R) CPU E5620 @ 2.40GHz > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov pat clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc > rep_good nopl pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt > tsc_deadline_timer aes hypervisor lahf_lm > > > Any idea why such an exception of SIGILL may occur? > > > Thanks for your help. > >