Re: Cisco Trex

219 views
Skip to first unread message

Hanoch Haim (hhaim)

unread,
Oct 11, 2015, 10:34:47 AM10/11/15
to Weber, Joe, trex...@googlegroups.com
+ trex group

Hanoh
Sent from my iPhone

On 11 באוק׳ 2015, at 15:28, Hanoch Haim (hhaim) <hh...@cisco.com> wrote:

Hi,
You installed 32bit kernel on 64bit processor. Try to reinstall it as 64bit kernel/os 
$uname -a 
should show x86_64

Have a look here:

Hanoh
Sent from my iPhone

On 11 באוק׳ 2015, at 15:18, Weber, Joe <Joe....@wwt.com> wrote:

<image001.png>

 

Joe Weber

Technical Solutions Architect

Enterprise Networking Solutions

Engineering and Innovation

Mobile – 618-420-5073

joe....@wwt.com

www.wwt.com

<image002.png>

 

From: Hanoch Haim (hhaim) [mailto:hh...@cisco.com]
Sent: Sunday, October 11, 2015 9:18 AM
To: Weber, Joe <Joe....@wwt.com>
Subject: Re: Cisco Trex

 

And 

$cat /proc/cpuinfo

Hanoh

Sent from my iPhone


On 11 באוק׳ 2015, at 15:15, Weber, Joe <Joe....@wwt.com> wrote:

<image003.png>

 

Joe Weber

Technical Solutions Architect

Enterprise Networking Solutions

Engineering and Innovation

Mobile – 618-420-5073

joe....@wwt.com

www.wwt.com

<image004.png>

 

From: Hanoch Haim (hhaim) [mailto:hh...@cisco.com]
Sent: Sunday, October 11, 2015 1:36 AM
To: Weber, Joe <Joe....@wwt.com>
Subject: Re: Cisco Trex

 

Hi Weber,

Is your machine is Intel x64?

Send me uname -a


Hanoh

Sent from my iPhone


On 9 באוק׳ 2015, at 19:09, Weber, Joe <Joe....@wwt.com> wrote:

Hey Hanoh,

 

I am trying to load TRex on Ubuntu in our lab and I am coming across an issue that I was hoping you could help with.  I am going through the initial setup and when I test for the first time with the “$ sudo ./t-rex-64 -f cap2/dns.yaml -c 4 -m 1 -d 100  -l 1000” command, it is giving me an error.

 

trex@Trex-1:~/trex/v1.77$ sudo ./t-rex-64 -f cap2/dns.yaml -c 4 -m 1 -d 100  -l 1000

Load the drivers for the first time

insmod: ERROR: could not insert module ko/3.13.0-32-generic/igb_uio.ko: Invalid module format

./dpdk_nic_bind.py --force --bind=igb_uio 0000:0b:00.0

Error - no supported modules are loaded

 

I have been unsuccessful at figuring out what I am doing wrong and am hoping you could help. 

 

Here is my YAML file in /etc/trex_cfg.yaml:

 

- port_limit      : 2         # this option can limit the number of port of the platform

  version       : 2

  interfaces    : ["0b:00.0","13:00.0"]   # list of the interfaces to bind run ./dpdk_nic_bind.py --status

  enable_zmq_pub  : true

  zmq_pub_port    : 4500

  prefix          : setup1

  limit_memory    : 1024

  c               : 4

  port_bandwidth_gb : 10

  port_info       :  # set eh mac addr

          - dest_mac        :   [0x0,0x50,0x56,0xa9,0x85,0x24]  # port 0

            src_mac         :   [0x2,0x0,0x0,0x2,0x0,0x00]

          - dest_mac        :   [0x0,0x50,0x56,0xa9,0x25,0x56]  # port 1

            src_mac         :   [0x1,0x0,0x0,0x1,0x0,0x00]

 

Here are my ports (the TRex documentation shows that VMXNET adapters are supported):

 

trex@Trex-1:~/trex/v1.77$ sudo ./dpdk_setup_ports.py --show

 

Network devices using DPDK-compatible driver

============================================

<none>

 

Network devices using kernel driver

===================================

0000:03:00.0 'VMXNET3 Ethernet Controller' if=eth0 drv=vmxnet3 unused= *Active*

0000:0b:00.0 'VMXNET3 Ethernet Controller' if=eth1 drv=vmxnet3 unused=

0000:13:00.0 'VMXNET3 Ethernet Controller' if=eth2 drv=vmxnet3 unused=

 

Other network devices

=====================

<none>

 

Screen shot of my two MAC addresses for the interfaces attached to the VM:

 

<image003.png>

 

Any help in what I am doing wrong here is much appreciated.  Thanks!

 

Joe Weber

Technical Solutions Architect

Enterprise Networking Solutions

Engineering and Innovation

Mobile – 618-420-5073

joe....@wwt.com

www.wwt.com

<image004.png>

 

<image004.png>

Hanoch Haim (hhaim)

unread,
Oct 11, 2015, 3:27:48 PM10/11/15
to Weber, Joe, trex...@googlegroups.com
Hi Weber,
To work with our package you should have 64bit Linux OS (Ubuntu 14.02 LTS for example) with 64bit Intel processor.
It seems you have installed 32bit Ubuntu instead the 64bit one.
Either try to reinstall the 64bit OS or we can provide an ESXi OVA?
Let's us know

Hanoh
Sent from my iPhone

On 11 באוק׳ 2015, at 18:08, Weber, Joe <Joe....@wwt.com> wrote:

 

I tried to use the 64-bit version but I am still getting an error.  I am admittedly not a Unix/Linux admin so any help is much appreciated.

<image003.png>

image001.png
Reply all
Reply to author
Forward
0 new messages