Difference between revisions of "Exablaze: Setup and Test"
| Line 20: | Line 20: | ||
#: <syntaxhighlight> exanic-config exanic0 </syntaxhighlight> | #: <syntaxhighlight> exanic-config exanic0 </syntaxhighlight> | ||
#: The output should be something like: | #: The output should be something like: | ||
| + | <blockquote> | ||
Device exanic0: | Device exanic0: | ||
Hardware type: ExaNIC X2 | Hardware type: ExaNIC X2 | ||
Board ID: 0x02 | Board ID: 0x02 | ||
Temperature: 61.4 C VCCint: 1.01 V VCCaux: 1.83 V | Temperature: 61.4 C VCCint: 1.01 V VCCaux: 1.83 V | ||
| − | Fan speed: 6807 | + | Fan speed: 6807 RblockquotePM |
Function: network interface | Function: network interface | ||
Firmware date: 20140709 (Wed Jul 9 04:30:36 2014) | Firmware date: 20140709 (Wed Jul 9 04:30:36 2014) | ||
| Line 48: | Line 49: | ||
RX packets: 0 ignored: 0 error: 0 | RX packets: 0 ignored: 0 error: 0 | ||
TX packets: 0 | TX packets: 0 | ||
| + | </blockquote> | ||
Revision as of 09:10, 12 January 2015
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 X2Driver Installation
- go to http://exablaze.com/support/?serial=643f5f0123f8 and download the ExaNIC X2 Driver
- untar the file
tar xvzf exanic-1.4.2.tar.gz
- 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]).
- load the exanic module
modprobe exanic
- 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