Skip to content

Troubleshooting

noaz edited this page Oct 6, 2017 · 1 revision

ping

  • Not all pings are reported but the summary indicates that they are all sent and received.
    The printing stream of ping cannot handle the load. Try sleeping some time between commands.

DAG

  • dagsnap: panic: dag_config_init /dev/dag0: No such file or directory
    DAG driver not loaded. dagload

  • dagsnap: panic: dag_attach_stream64 /dev/dag0:0: Device or resource busy
    There is a dagsnap process running somewhere. pkill dagsnap

  • .erf file did not capture all packets
    Capture started too late or ended too early. Sleep some time immediately after starting/ before ending capture.

NIC

  • tcpreplay: Invalid interface name/alias
  1. Is the interface up?
  2. Is it bound to DPDK by MoonGen? To unbind, python moongen/libmoon/deps/dpdk/usertools/dpdk-devbind.py. You may have to reboot.
  • Intel NIC not working with transceivers
    modprobe ixgbe allow_unsupported_sfp=1

SSH

  • No route to host
    You may be disconnected from the network. Check the Ethernet cable.
  • WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
    Contact sys-admin as you probably do not have permissions to remove the offending RSA key. For a temporary solution, all course machines can SSH into each other, so SSH into your target machine via another.

OSNT

  • Rx and Tx timestamp are wrong! Negative value.
    OSNT cannot capture above a certain bandwidth. Adjust the sending rate.

Physical connectivity issues

  • The fibres/transceivers may be faulty. Check that a light comes on on the boards when you make a connection.
  • Check that you are plugging into the correct interfaces.
  • If there is no light, have you pushed in the transceivers properly? There should be a click.

Jupyter

  • name/module 'x' is not defined
    When the kernel is restarted, the 'useful' scripts containing import statements and functions need to be run again.
  • no module named 'x'
    This module is not installed. pip install 'x'
  • The data saved in files causes an error (eg. StopIteration, IndexError)
    The data processing code assumes that output is produced correctly. Check that the actual tools are working in Terminal. If there is still an error, it is probably a code in the data processing code. Save the results and process them yourself later.
  • No such file or directory: 'x'
    The Notebook uses absolute paths. Check that the directories for saving data are in the correct place.
  • mkdir: cannot create directory ‘x’: File exists
    Someone has previously created such a directory. Rename it so that you can create yours. You need the directory because the Notebook will save your results to it.

NetFPGA

NetFPGA board

  • Cable is not powered-on
  1. Switch on the board so that the red light is on.
  2. Connect the micro-USB port on the board to a USB port on the computer.
  • iotcl error
    Reload bitfile.