Hi,You installed 32bit kernel on 64bit processor. Try to reinstall it as 64bit kernel/os$uname -ashould show x86_64
Have a look here:
HanohSent from my iPhone<image001.png>
Joe Weber
Technical Solutions Architect
Enterprise Networking Solutions
Engineering and Innovation
Mobile – 618-420-5073
<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
HanohSent 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
<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
HanohSent 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
<image004.png>
<image004.png>
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>