From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fncnmp03.fnc.fujitsu.com (fncnmp03.fnc.fujitsu.com [168.127.0.56]) by dpdk.org (Postfix) with ESMTP id 455C55A97 for ; Wed, 21 Jan 2015 22:00:58 +0100 (CET) X-IronPort-AV: E=Sophos;i="5.09,444,1418104800"; d="scan'208,217";a="59658982" Received: from unknown (HELO [168.127.130.2]) ([168.127.130.2]) by fncnmp01.fnc.fujitsu.com with ESMTP; 21 Jan 2015 15:00:56 -0600 Message-ID: <54C01387.6040905@us.fujitsu.com> Date: Wed, 21 Jan 2015 15:00:55 -0600 From: Ravi Rao User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: "Wiles, Keith" , "dev@dpdk.org" References: <20150109092659.GA11296@bricha3-MOBL3> <2334334.VuS9a0PCxR@xps13> <54B6B674.5040106@us.fujitsu.com> <54B6C95A.4090608@us.fujitsu.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] New to DPDK 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: Wed, 21 Jan 2015 21:00:58 -0000 Hi, Thanks for the inputs. I did download dpdk-1.8 and used your latest packet-gen-2.8.0 but I am getting this crash. Looks like I am missing or not specifying the correct arguments. Can you please help ? ./app/pktgen -c 03 -n 1 --proc-type auto --socket-mem 128 --file-prefix pg -- -T -P -m "1.0, 2.1" -f themes/black-yellow.theme !PANIC!: Cannot configure device: port=0, Num queues 2,2 (2)Invalid argument PANIC in pktgen_config_ports(): Cannot configure device: port=0, Num queues 2,2 (2)Invalid argument6: [./app/pktgen() [0x4268c3]] 5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f6959e0dec5]] 4: [./app/pktgen(main+0x47c) [0x4262ac]] 3: [./app/pktgen(pktgen_config_ports+0x16ab) [0x43e09b]] 2: [./app/pktgen(__rte_panic+0xc1) [0x425d20]] 1: [./app/pktgen(rte_dump_stack+0x18) [0x4bce48]] ./doit.sh: line 53: 21912 Aborted (core dumped) ./app/pktgen -c 0f -n 3 --proc-type auto --socket-mem 128 --file-prefix pg -- -T -P -m "1.0, 2.1" -f themes/black-yellow.theme labadmin@Openstack:~/dpdk-1.8.0/pktgen-2.8.0$ sudo gdb ./app/pktgen -core core GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./app/pktgen...done. [New LWP 21912] [New LWP 21924] [New LWP 21925] [New LWP 21923] [New LWP 21922] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `./app/pktgen -c 0f -n 3 --proc-type auto --socket-mem 128 --file-prefix pg -- -'. Program terminated with signal SIGABRT, Aborted. #0 0x00007f6959e22cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007f6959e22cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00007f6959e260d8 in __GI_abort () at abort.c:89 #2 0x0000000000425d25 in __rte_panic () #3 0x000000000043e09b in pktgen_config_ports () at pktgen-port-cfg.c:275 #4 0x00000000004262ac in main (argc=7, argv=0x7fff12510090) at pktgen-main.c:420 (gdb) info shared >>From To Syms Read Shared Object Library 0x00007f695aae6c20 0x00007f695ab050fa Yes (*) /usr/lib/x86_64-linux-gnu/libpcap.so.0.8 0x00007f695a7e1610 0x00007f695a8501b6 Yes /lib/x86_64-linux-gnu/libm.so.6 0x00007f695a5d6350 0x00007f695a5d933c Yes /lib/x86_64-linux-gnu/librt.so.1 0x00007f695a3d0ed0 0x00007f695a3d19ce Yes /lib/x86_64-linux-gnu/libdl.so.2 0x00007f695a1b79f0 0x00007f695a1c44a1 Yes /lib/x86_64-linux-gnu/libpthread.so.0 0x00007f6959e0b4a0 0x00007f6959f51113 Yes /lib/x86_64-linux-gnu/libc.so.6 0x00007f695ad20ae0 0x00007f695ad3b4e0 Yes /lib64/ld-linux-x86-64.so.2 0x00007f6959bd8ab0 0x00007f6959be8995 Yes (*) /lib/x86_64-linux-gnu/libgcc_s.so.1 (*): Shared library is missing debugging information. (gdb) Regards, Ravi On 01/14/2015 02:26 PM, Wiles, Keith wrote: > BTW, you may want to check out the Pktgen-DPDK (I wrote) to give you a > simple starting point or at least a traffic generator like system. > > http://dpdk.org/browse/apps/pktgen-dpdk/refs/ > > > On 1/14/15, 1:54 PM, "Ravi Rao" wrote: > >> Thanks a lot for the quick response. >> On 01/14/2015 01:27 PM, Wiles, Keith wrote: >>> Most people I guess use a Xeon CPU class MB with one or two sockets >>> running Linux with a supported NICs. I use a motherboard like the one >>> below running Ubuntu 12.04 with 12G RAM and the 82599 NICs. You can find >>> more supported NICs in the documentation and you need find the rest of >>> the >>> parts :-) You do not need much disk space I have a 500G disk and you can >>> use less memory, but that is something you need to decide on. >>> >>> >>> http://www.intel.com/content/www/us/en/motherboards/server-motherboards/s >>> er >>> ver-board-w2600cr.html >>> >>> >>> On 1/14/15, 12:33 PM, "Ravi Rao" wrote: >>> >>>> Hi All, >>>> I am a newbee to DPDK. Can one of you please let me know if there >>>> is >>>> any reference board that is available which I can use to build and >>>> tryout the dpdk stuff on. >>>> Regards, >>>> Ravi