Difference between revisions of "Exablaze: Setup and Test"
Jump to navigation
Jump to search
(Created page with "== OS Detection == After the clean CentOS installation, the OS is able to detect the existence of the card: <syntaxhighlight> [root@localhost ~]# lspci|grep -i exan 87:00.0 Ethernet con...") |
|||
| (4 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
87:00.0 Ethernet controller: Exablaze ExaNIC X2 | 87:00.0 Ethernet controller: Exablaze ExaNIC X2 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| + | |||
| + | == Driver Installation == | ||
| + | # go to http://exablaze.com/support/?serial=643f5f0123f8 and download the ExaNIC X2 Driver | ||
| + | # untar the file | ||
| + | #: <syntaxhighlight> tar xvzf exanic-1.4.2.tar.gz </syntaxhighlight> | ||
| + | # build the driver from source | ||
| + | #: <syntaxhighlight> cd exanic-1.4.2 </syntaxhighlight> | ||
| + | #: <syntaxhighlight> make</syntaxhighlight> | ||
| + | #: <syntaxhighlight> make install </syntaxhighlight> | ||
| + | #: 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 | ||
| + | #: <syntaxhighlight> modprobe exanic </syntaxhighlight> | ||
| + | # verify the exanic card is working | ||
| + | #: <syntaxhighlight> exanic-config exanic0 </syntaxhighlight> | ||
| + | #: 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 | ||
Latest revision as of 09:27, 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