Exablaze: Setup and Test

From Define Wiki
Revision as of 09:27, 12 January 2015 by Chenhui (talk | contribs) (→‎Driver Installation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

OS Detection

After the clean CentOS installation, the OS is able to detect the existence of the card:

[root@localhost ~]# lspci|grep -i exan
87:00.0 Ethernet controller: Exablaze ExaNIC X2

Driver Installation

  1. go to http://exablaze.com/support/?serial=643f5f0123f8 and download the ExaNIC X2 Driver
  2. untar the file
     tar xvzf exanic-1.4.2.tar.gz
  3. build the driver from source
     cd exanic-1.4.2
     make
     make install
    Note: By default, the library will be installed to /usr/local/lib/libexanic.a, include files to /usr/local/include/exanic and utilities to /usr/local/bin/exanic-*. (You can add a EFIX= argument to the make install command to use a prefix other than /usr/local.) Additionally the driver (exanic.ko) will be installed into /lib/modules/`uname `/extra. If the driver fails to build, ensure that you have the kernel headers package for your kernel installed (this is typically named kernel-devel [RedHat/CentOS] or inux-headers [Debian/Ubuntu]).
  4. load the exanic module
     modprobe exanic
  5. verify the exanic card is working
     exanic-config exanic0
    The output should be something like:


Device exanic0:
 Hardware type: ExaNIC X2
 Board ID: 0x02
 Temperature: 61.4 C   VCCint: 1.01 V   VCCaux: 1.83 V
 Fan speed: 6807 RblockquotePM
 Function: network interface
 Firmware date: 20140709 (Wed Jul  9 04:30:36 2014)
 Bridging: off
 Port 0:
   Interface: eth2
   Port speed: 10000 Mbps
   Port status: disabled, no SFP, no signal, no link
   MAC filters: 64  IP filters: 128
   Promiscuous mode: off
   Bypass-only mode: off
   MAC address: 64:3f:5f:01:23:f8
   RX packets: 0  ignored: 0  error: 0
   TX packets: 0
 Port 1:
   Interface: eth3
   Port speed: 10000 Mbps
   Port status: disabled, no SFP, no signal, no link
   MAC filters: 64  IP filters: 128
   Promiscuous mode: off
   Bypass-only mode: off
   MAC address: 64:3f:5f:01:23:f9
   RX packets: 0  ignored: 0  error: 0
   TX packets: 0