Ethernet 10G 2P X520 Adapter

Microbuse

Cadet
Joined
Mar 9, 2019
Messages
8
I have tryed this but no luck.

root@freenas[~/mnt/Raid1-4TB/Medialibrary]# cd ixv-1.5.15/src
root@freenas[...Raid1-4TB/Medialibrary/ixv-1.5.15/src]# make boot
sh: cc: not found
make: "/usr/share/mk/bsd.compiler.mk" line 147: Unable to determine compiler type for CC=cc. Consider setting COMPILER_TYPE.
root@freenas[...Raid1-4TB/Medialibrary/ixv-1.5.15/src]# export COMPILER_TYPE=clang
root@freenas[...Raid1-4TB/Medialibrary/ixv-1.5.15/src]# make boot
sh: cc: not found
sh: ld: not found
make: "/usr/share/mk/bsd.linker.mk" line 49: warning: Unable to determine linker type from LD=ld
make: "/usr/share/mk/bsd.linker.mk" line 58: warning: Unknown linker from LD=ld: none, defaulting to bfd
make: "/usr/share/mk/bsd.kmod.mk" line 12: Unable to locate the kernel source tree. Set SYSDIR to override.
root@freenas[...Raid1-4TB/Medialibrary/ixv-1.5.15/src]#
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
Hi.
I got an Ethernet 10G 2P X520 Adapter and drivers for FreeBSD from https://downloadcenter.intel.com/product/42489/Intel-Ethernet-Server-Adapter-X520-Series
But how do i get it installed?
I run FreeNAS-11.2-U2.1
FreeNAS, although based on FreeBSD, is modified to be an appliance and there is not supposed to be a way to add drivers to it.

You are in luck though, drivers for that should already be baked in. Just put the card in and it should work. I use a similar model at work.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
I have tryed this but no luck.

root@freenas[~/mnt/Raid1-4TB/Medialibrary]# cd ixv-1.5.15/src
root@freenas[...Raid1-4TB/Medialibrary/ixv-1.5.15/src]# make boot
sh: cc: not found
make: "/usr/share/mk/bsd.compiler.mk" line 147: Unable to determine compiler type for CC=cc. Consider setting COMPILER_TYPE.
root@freenas[...Raid1-4TB/Medialibrary/ixv-1.5.15/src]# export COMPILER_TYPE=clang
root@freenas[...Raid1-4TB/Medialibrary/ixv-1.5.15/src]# make boot
sh: cc: not found
sh: ld: not found
make: "/usr/share/mk/bsd.linker.mk" line 49: warning: Unable to determine linker type from LD=ld
make: "/usr/share/mk/bsd.linker.mk" line 58: warning: Unknown linker from LD=ld: none, defaulting to bfd
make: "/usr/share/mk/bsd.kmod.mk" line 12: Unable to locate the kernel source tree. Set SYSDIR to override.
root@freenas[...Raid1-4TB/Medialibrary/ixv-1.5.15/src]#
Sounds like you are trying to treat this like a regular FreeBSD server. It is not.
 

Microbuse

Cadet
Joined
Mar 9, 2019
Messages
8
Hi
I first put in the card and it shows in bios and it shows in FreeNas boot log but i can add it in FreeNas Mgmt. It does not show.

This is from boot log.
Mar 9 20:32:39 freenas ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 3.2.12-k> port 0xe020-0xe03f mem 0xf7900000-0xf79fffff,0xf7b04000-0xf7b07fff irq 16 at device 0.0 on pci1
Mar 9 20:32:39 freenas ix0: Using MSI-X interrupts with 5 vectors
Mar 9 20:32:39 freenas ix0: Unsupported SFP+ module detected!
Mar 9 20:32:39 freenas device_attach: ix0 attach returned 5
Mar 9 20:32:39 freenas ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 3.2.12-k> port 0xe000-0xe01f mem 0xf7800000-0xf78fffff,0xf7b00000-0xf7b03fff irq 17 at device 0.1 on pci1
Mar 9 20:32:39 freenas ix0: Using MSI-X interrupts with 5 vectors
Mar 9 20:32:39 freenas ix0: Unsupported SFP+ module detected!
Mar 9 20:32:39 freenas device_attach: ix0 attach returned 5
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
This part of the boot log:
Mar 9 20:32:39 freenas ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 3.2.12-k> port 0xe020-0xe03f mem 0xf7900000-0xf79fffff,0xf7b04000-0xf7b07fff irq 16 at device 0.0 on pci1
Mar 9 20:32:39 freenas ix0: Using MSI-X interrupts with 5 vectors
Shows that the driver is being loaded. The next bit is important.
Mar 9 20:32:39 freenas ix0: Unsupported SFP+ module detected!
Mar 9 20:32:39 freenas device_attach: ix0 attach returned 5
Mar 9 20:32:39 freenas ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 3.2.12-k> port 0xe000-0xe01f mem 0xf7800000-0xf78fffff,0xf7b00000-0xf7b03fff irq 17 at device 0.1 on pci1
Mar 9 20:32:39 freenas ix0: Using MSI-X interrupts with 5 vectors
Mar 9 20:32:39 freenas ix0: Unsupported SFP+ module detected!
Some vendors have hardware lockout as to what is compatible. If the SFP+ module you have in the network card is not compatible, what the error indicates, it isn't going to work.
From what you shared, both the SFP+ modules you have are, "Unsupported" and that is clearly stated in the error. What is your question.
If the SFP+ adapter is not supported, you will not get a connection that can be configured.
 

Microbuse

Cadet
Joined
Mar 9, 2019
Messages
8
Hi, Thanks that makes sense.
I use Original SFP Avaya 10GBASE-SR/SW FTLX8571D3BCL-N2 850nm.
Do you know what type of SFP FreeNas supportet?

Is it FreeNas or Intel who don´t Support Avaya SFP?
 

Microbuse

Cadet
Joined
Mar 9, 2019
Messages
8
Hi

I did get different sfp and it worked.
But I am getting terrible speeds. Now i only get read 60MB/s over one 10GB link. Before i go 190MB/s Read/Write over dual 1GB nic:s
Dedicated 1gb per iSCSI interface.
I will try tomorrow with quad 1gb nic and 4 dedicated 1gb per iSCSI interface.
In the Esxi I have the same dedicated iSCSI settings and put the disk in Round Robin mode.
Multipathing Policies
Path Selection Policy : Round Robin (VMware)

I guess I have to old motherboard for the 10GB Network card. It is an Dell Optiplex 3020 with i5 and 16gb ram.

Thanks for the help anyway.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
I did get different sfp and it worked.
But I am getting terrible speeds. Now i only get read 60MB/s
Is it SFP or SFP+ ? If I recall correctly, SFP adapters can be used in SFP+ slots but they are not the same.
 
Top