DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ravi Rao <Ravi.Rao@us.fujitsu.com>
To: "Wiles, Keith" <keith.wiles@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] New to DPDK
Date: Wed, 21 Jan 2015 15:00:55 -0600	[thread overview]
Message-ID: <54C01387.6040905@us.fujitsu.com> (raw)
In-Reply-To: <D0DC2CB2.FCE3%keith.wiles@intel.com>

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 
<http://gnu.org/licenses/gpl.html>
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:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
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" <Ravi.Rao@us.fujitsu.com> 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" <Ravi.Rao@us.fujitsu.com> 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

      parent reply	other threads:[~2015-01-21 21:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-08  8:10 [dpdk-dev] Packet Rx issue with DPDK1.8 Prashant Upadhyaya
2015-01-08 13:47 ` Bruce Richardson
2015-01-09  6:45   ` Prashant Upadhyaya
2015-01-09  9:26     ` Bruce Richardson
2015-01-14 16:30       ` Thomas Monjalon
2015-01-14 17:01         ` Bruce Richardson
2015-01-14 18:33         ` [dpdk-dev] New to DPDK Ravi Rao
2015-01-14 19:27           ` Wiles, Keith
2015-01-14 19:54             ` Ravi Rao
     [not found]               ` <D0DC2CB2.FCE3%keith.wiles@intel.com>
2015-01-21 21:00                 ` Ravi Rao [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54C01387.6040905@us.fujitsu.com \
    --to=ravi.rao@us.fujitsu.com \
    --cc=dev@dpdk.org \
    --cc=keith.wiles@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).