diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2017-01-30 15:17:17 +0200 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2017-01-30 15:17:17 +0200 |
commit | 3e3f7d7a38bac177ece359f27cd63cd0a0ce60bc (patch) | |
tree | e8e8f06ba2e07997745d47a234784fe64f82c5e6 /doc | |
parent | ce9cf27303d53a579bfa1084f3694646dd62b089 (diff) |
doc faq: .ko build problems
Change-Id: I74d92348cbd4ebd3a5beb65be4ace49acac5c231
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/trex_faq.asciidoc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/trex_faq.asciidoc b/doc/trex_faq.asciidoc index eb6938a1..6558ba38 100644 --- a/doc/trex_faq.asciidoc +++ b/doc/trex_faq.asciidoc @@ -195,6 +195,38 @@ We are planning to add MACs to `./dpdk_setup_ports.py -s` ==== TRex traffic does not show up on Wireshark, so I can not capture the traffic from the TRex port TRex uses DPDK which takes ownership of the ports, so using Wireshark is not possible. You can use switch with port mirroring to capture the traffic. +==== Running first time, igb_uio.ko problems + +Q:: +Command: + +sudo ./t-rex-64 -f cap2/dns.yaml -c 4 -m 1 -d 10 -1 1000 + + + +Output: + +Loading kernel drivers for the first time + +ERROR: We don't have precompiled igb_uio.ko module for your kernel version + +Will try compiling automatically. + +Automatic compilation failed. + +You can try compiling yourself, using the following commands: + +$cd ko/src + +$make + +$make install + +$cd - + +Then try to run TRex again + +A:: +Usually we have pre-compiled igb_uio.ko for common Kernels of supported OS. + +If you have different Kernel (due to update of packages or slightly different OS version), you will need to compile that module. + +Simply follow the instructions printed above. + +Note: you might need additional Linux packages for that: +* Fedora/CentOS: +** sudo yum install kernel-devel-\`uname -r` +** sudo yum group install "Development tools" +* Ubuntu: +** sudo apt install linux-headers-\`uname -r` +** sudo apt install build-essential + + + === Stateful ==== How do I start using the stateful mode? |