Install a Myricom 10Ge card in Venice/SpycerBox RHEL5

Ivan Lawrence -

Install the physical card
vim /etc/modprobe.conf 
Should look something like:

alias scsi_hostadapter1 aacraid
alias scsi_hostadapter2 ata_piix
alias snd-card-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0
remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-hda-intel
install qla2xxx /sbin/modprobe qla2xxx_conf; /sbin/modprobe --ignore-install qla2xxx
remove qla2xxx /sbin/modprobe -r --first-time --ignore-remove qla2xxx && { /sbin/modprobe -r --ignore-remove qla2xxx_conf; }
alias qla2100 qla2xxx
alias qla2200 qla2xxx
alias qla2300 qla2xxx
alias qla2322 qla2xxx
alias qla2400 qla2xxx
options qla2xxx ql2xfailover=0
options aacraid cache=3

alias eth0 igb
alias eth1 igb

 

Add the following to the end of the file:
alias eth2 myri10ge
alias eth3 myri10ge
The finished file will look something like:
alias scsi_hostadapter1 aacraid
alias scsi_hostadapter2 ata_piix
alias snd-card-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0
remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-hda-intel
install qla2xxx /sbin/modprobe qla2xxx_conf; /sbin/modprobe --ignore-install qla2xxx
remove qla2xxx /sbin/modprobe -r --first-time --ignore-remove qla2xxx && { /sbin/modprobe -r --ignore-remove qla2xxx_conf; }
alias qla2100 qla2xxx
alias qla2200 qla2xxx
alias qla2300 qla2xxx
alias qla2322 qla2xxx
alias qla2400 qla2xxx
options qla2xxx ql2xfailover=0
options aacraid cache=3
alias eth0 igb
alias eth1 igb
alias eth2 myri10ge
alias eth3 myri10ge
Do a: modprobe myri10ge
Now reboot the system

Additional info:

(If above does not work)

Excerpt instructions from Myricom.com

https://www.myricom.com/software/myri10ge/683-abbreviated-myri10ge-installation-for-linux.html

Instructions

 Download and Install the Linux 10GbE driver.

RHEL/Fedora:  sudo rpm -Uvh kmod-myri10ge-1.5.3.p3-1.x86_64.rpm

or

   $ gunzip -c myri10ge-linux.1.5.3.p3.tgz | tar xvf -
$ cd myri10ge-linux.1.5.3.p3/linux
$ make clean
$ make
$ su root
# make install-only

To load the Myricom 10GbE driver, type the command

   # modprobe myri10ge

A new ethernet interface, having a MAC address beginning with 00:60:DD, should now appear in the output of ifconfig -a. For example:

   # ifconfig -a | grep 00:60:DD
   eth2      Link encap:Ethernet  HWaddr 00:60:DD:47:E5:31

You should also see a message on the console, similar to the following, which indicates that the driver has loaded successfully.

   myri10ge: eth1: MSI IRQ 233, tx boundary 4096, firmware eth_z8e.dat, WC Enabled

By default, the Linux Myri10GE driver configures the Myri-10G adapter with a 1500-byte MTU. See Notes below.


If not working, check MTU setting.

/etc/sysconfig/network-scripts/ifcfg-eth2 file, and add the line:
MTU=9000

Spycer copy gets over 600MB/s, MTU setting of 1500 or 9000 does not make a difference:

statistics: size=246.70 GiB, time=0:07:08, datarates (MB/s): max=693.17, min=224.14, avg=621.09

 

 

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.