Changes between Version 1 and Version 2 of Documentation/fSDN/aSwitchImage


Ignore:
Timestamp:
Jul 26, 2011, 8:01:48 PM (13 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/fSDN/aSwitchImage

    v1 v2  
    55The node used here is a NetFPGA cube, the standard node for !SandBox9. The node was imaged with ubuntu.ndz, based on Ubuntu 10.10 (Maverick). A few steps are needed before we begin fetching the install file or any of its dependencies. On the node:
    66
    7 1. In /etc/apt/sources.list, replace all instances of 'apt:9999' with 'us.archive.ubuntu.com'
     71. Run 'apt-get update'. If this fails, repeat after replacing all instances of 'apt:9999' with 'us.archive.ubuntu.com' in /etc/apt/sources.list .
    88
    992. Install packages for Open Vswitch:
    1010{{{
    11 apt-get update
    1211apt-get install pkg-config autoconf automake linux-libc-dev libtool
    1312}}}
     
    3837}}}
    3938
     39Then, instantiate the kernel module:
     40{{{
     41insmod datapath/linux-2.6/openvswitch_mod.ko
     42}}}
     43
    4044== 2.1. Sanity checks ==
    4145If things are not well, here are some things worth checking:
     
    5862This directory should contain (mostly) unbroken links. If not, repeat step 3 of the prerequisites with another kernel version.
    5963
     644. Modules may not get loaded properly; look for Open vSwitch modules with `lsmod`:
     65{{{
     66root@node1-1:~/openvswitch-1.1.1# lsmod | grep open
     67openvswitch_mod        68183  1
     68}}}
     69
     705. In general, `dmesg` can be used to check for various anomalies when things e.g. insmod fail silently. 
     71
    6072== References ==
    6173The following links were referenced but aren't relevant overall; this is just for citation.