DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Illegal instruction at rte_malloc_socket
@ 2013-12-24  1:05 Surya Nimmagadda
  2013-12-24  7:19 ` Daniel Kaminsky
  2014-01-02 14:27 ` Thomas Monjalon
  0 siblings, 2 replies; 4+ messages in thread
From: Surya Nimmagadda @ 2013-12-24  1:05 UTC (permalink / raw)
  To: dev

Hi,

When I try to run the sample applications like l2fwd or exception_path, they get aborted at rte_malloc_socket. 

Can someone please take a look and let me know what I am missing?

Here is a back trace when I run in gdb:

EAL: Master core 0 is ready (tid=f7df6800)
[New Thread 0xb67fab40 (LWP 4480)]
EAL: Core 1 is ready (tid=b67fab40)
[New Thread 0xb5ff9b40 (LWP 4481)]
EAL: Core 2 is ready (tid=b5ff9b40)
[New Thread 0xb57f8b40 (LWP 4482)]
EAL: Core 3 is ready (tid=b57f8b40)
EAL: PCI device 0000:00:03.0 on NUMA socket -1
EAL:   probe driver: 8086:100e rte_em_pmd

Program received signal SIGILL, Illegal instruction.
0x080c3084 in rte_malloc_socket ()
(gdb)

Here are my setup details:

Environment : Ubuntu VM

$echo $RTE_TARGET
i686-default-linuxapp-gcc

Network devices using IGB_UIO driver
====================================
0000:00:03.0 '82540EM Gigabit Ethernet Controller' drv=igb_uio unused=e1000
0000:00:04.0 '82540EM Gigabit Ethernet Controller' drv=igb_uio unused=e1000

Network devices using kernel driver
===================================
0000:00:05.0 '82540EM Gigabit Ethernet Controller' if=eth2 drv=e1000 unused=igb_uio
0000:00:06.0 '82540EM Gigabit Ethernet Controller' if=eth3 drv=e1000 unused=igb_uio *Active*

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] Illegal instruction at rte_malloc_socket
  2013-12-24  1:05 [dpdk-dev] Illegal instruction at rte_malloc_socket Surya Nimmagadda
@ 2013-12-24  7:19 ` Daniel Kaminsky
  2013-12-24  9:03   ` Surya Nimmagadda
  2014-01-02 14:27 ` Thomas Monjalon
  1 sibling, 1 reply; 4+ messages in thread
From: Daniel Kaminsky @ 2013-12-24  7:19 UTC (permalink / raw)
  To: Surya Nimmagadda; +Cc: dev

Did you run the program using "sudo"?

Daniel Kaminsky

Sent from my iPhone

On Dec 24, 2013, at 3:05 AM, Surya Nimmagadda <nscsekhar@juniper.net> wrote:

> Hi,
> 
> When I try to run the sample applications like l2fwd or exception_path, they get aborted at rte_malloc_socket. 
> 
> Can someone please take a look and let me know what I am missing?
> 
> Here is a back trace when I run in gdb:
> 
> EAL: Master core 0 is ready (tid=f7df6800)
> [New Thread 0xb67fab40 (LWP 4480)]
> EAL: Core 1 is ready (tid=b67fab40)
> [New Thread 0xb5ff9b40 (LWP 4481)]
> EAL: Core 2 is ready (tid=b5ff9b40)
> [New Thread 0xb57f8b40 (LWP 4482)]
> EAL: Core 3 is ready (tid=b57f8b40)
> EAL: PCI device 0000:00:03.0 on NUMA socket -1
> EAL:   probe driver: 8086:100e rte_em_pmd
> 
> Program received signal SIGILL, Illegal instruction.
> 0x080c3084 in rte_malloc_socket ()
> (gdb)
> 
> Here are my setup details:
> 
> Environment : Ubuntu VM
> 
> $echo $RTE_TARGET
> i686-default-linuxapp-gcc
> 
> Network devices using IGB_UIO driver
> ====================================
> 0000:00:03.0 '82540EM Gigabit Ethernet Controller' drv=igb_uio unused=e1000
> 0000:00:04.0 '82540EM Gigabit Ethernet Controller' drv=igb_uio unused=e1000
> 
> Network devices using kernel driver
> ===================================
> 0000:00:05.0 '82540EM Gigabit Ethernet Controller' if=eth2 drv=e1000 unused=igb_uio
> 0000:00:06.0 '82540EM Gigabit Ethernet Controller' if=eth3 drv=e1000 unused=igb_uio *Active*
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] Illegal instruction at rte_malloc_socket
  2013-12-24  7:19 ` Daniel Kaminsky
@ 2013-12-24  9:03   ` Surya Nimmagadda
  0 siblings, 0 replies; 4+ messages in thread
From: Surya Nimmagadda @ 2013-12-24  9:03 UTC (permalink / raw)
  To: Daniel Kaminsky; +Cc: dev

Yeah. I did.

Thanks
Surya



-------- Original message --------
From: Daniel Kaminsky <daniel.kaminsky@infinitelocality.com>
Date: 12/23/2013 11:23 PM (GMT-08:00)
To: Surya Nimmagadda <nscsekhar@juniper.net>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] Illegal instruction at rte_malloc_socket


Did you run the program using "sudo"?

Daniel Kaminsky

Sent from my iPhone

On Dec 24, 2013, at 3:05 AM, Surya Nimmagadda <nscsekhar@juniper.net<mailto:nscsekhar@juniper.net>> wrote:

Hi,

When I try to run the sample applications like l2fwd or exception_path, they get aborted at rte_malloc_socket.

Can someone please take a look and let me know what I am missing?

Here is a back trace when I run in gdb:

EAL: Master core 0 is ready (tid=f7df6800)
[New Thread 0xb67fab40 (LWP 4480)]
EAL: Core 1 is ready (tid=b67fab40)
[New Thread 0xb5ff9b40 (LWP 4481)]
EAL: Core 2 is ready (tid=b5ff9b40)
[New Thread 0xb57f8b40 (LWP 4482)]
EAL: Core 3 is ready (tid=b57f8b40)
EAL: PCI device 0000:00:03.0 on NUMA socket -1
EAL:   probe driver: 8086:100e rte_em_pmd

Program received signal SIGILL, Illegal instruction.
0x080c3084 in rte_malloc_socket ()
(gdb)

Here are my setup details:

Environment : Ubuntu VM

$echo $RTE_TARGET
i686-default-linuxapp-gcc

Network devices using IGB_UIO driver
====================================
0000:00:03.0 '82540EM Gigabit Ethernet Controller' drv=igb_uio unused=e1000
0000:00:04.0 '82540EM Gigabit Ethernet Controller' drv=igb_uio unused=e1000

Network devices using kernel driver
===================================
0000:00:05.0 '82540EM Gigabit Ethernet Controller' if=eth2 drv=e1000 unused=igb_uio
0000:00:06.0 '82540EM Gigabit Ethernet Controller' if=eth3 drv=e1000 unused=igb_uio *Active*

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] Illegal instruction at rte_malloc_socket
  2013-12-24  1:05 [dpdk-dev] Illegal instruction at rte_malloc_socket Surya Nimmagadda
  2013-12-24  7:19 ` Daniel Kaminsky
@ 2014-01-02 14:27 ` Thomas Monjalon
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2014-01-02 14:27 UTC (permalink / raw)
  To: Surya Nimmagadda; +Cc: dev

24/12/2013 02:05, Surya Nimmagadda :
> Program received signal SIGILL, Illegal instruction.
> 0x080c3084 in rte_malloc_socket ()

What is your CPU ?
How did you compiled DPDK (for which CPU) ?

-- 
Thomas

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-02 14:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-24  1:05 [dpdk-dev] Illegal instruction at rte_malloc_socket Surya Nimmagadda
2013-12-24  7:19 ` Daniel Kaminsky
2013-12-24  9:03   ` Surya Nimmagadda
2014-01-02 14:27 ` Thomas Monjalon

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).