Adding Intel X520-1 SFP+ 10gig... Missing drivers? Not sure how to advance

GoingOffRoading

Dabbler
Joined
Feb 11, 2018
Messages
23
I'm not sure how to advance on this.

Built a new NAS to install TrueNAS SCALE on. Installed an "Intel(R) Ethernet Server Adapter X520-1" (as my Windows machine w/ fresh Intel drivers recognizes it) in my NAS box.

On my TrueNAS machine, the card appears in lshw:
Code:
root@truenas[~]# sudo lshw -class network -short
H/W path           Device         Class          Description
============================================================
/0/100/9/0                        network        82599ES 10-Gigabit SFI/SFP+ Network Connection
/0/100/16/0        eno1           network        Ethernet Connection X553 1GbE
/0/100/16/0.1      eno2           network        Ethernet Connection X553 1GbE
/0/100/17/0        eno3           network        Ethernet Connection X553 1GbE
/0/100/17/0.1      eno4           network        Ethernet Connection X553 1GbE
/3                 kube-bridge    network        Ethernet interface
/4                 kube-dummy-if  network        Ethernet interface
/5                 veth1e74dc5d   network        Ethernet interface
/6                 vethb90f1557   network        Ethernet interface


As well as in lspsi:

Code:
root@truenas[~]# lspci | grep -e SFP
02:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)


But the adapter does not appear in the FreeNAS Scale UI (TrueNAS-22.02.0).

The card showed up/worked perfectly on my Open Media Vault (OMV) machine. On my Windows PC, I needed to download the related driver.

On my TrueNAS machine.... I'm not sure how to advance. Several threads suggested not messing with configs/drives from the command line as it might break the TrueNAS config.

How do I work around the driver issue?
 

GoingOffRoading

Dabbler
Joined
Feb 11, 2018
Messages
23
TrueNAS SCALE doesn't show the NIC as much as it shows the network interfaces. If the interfaces are not configured, they may not be displayed.

How did you install the software and did you have a choice of configuring the network interfaces?

Thanks @morganL for the documentation link. The Intel X520-1 appears in the BIOS, and when I run Linux commands like in my original post, but the NIC does not show in the Post-Install Configuration that you linked, nor in the TrueNAS web UI adapters list.

One oddity, is that this may be a driver issue as the 'Adapter PBA' in the BIOS is '???' where-as the 1Gig Ethernet adapters have values populated like '030000-000'.

I have not tried installing any software yet... I'm not sure what the proper way is to install drivers on TrueNAS Scale and didn't see anything in the documentation related to this. I can and have installed drivers in Debian, but I have concerns about breaking the TrueNAS configs, so I haven't gone this route yet.
 

GoingOffRoading

Dabbler
Joined
Feb 11, 2018
Messages
23
Well I can report on what NOT to do.

Intel X520-1 driver: Intel.com

README.txt:

Code:
Building and Installation
=========================


To manually build the driver
----------------------------
1. Move the base driver tar file to the directory of your choice.
   For example, use '/home/username/ixgbe' or '/usr/local/src/ixgbe'.


2. Untar/unzip the archive, where <x.x.x> is the version number for the
   driver tar file:


   # tar zxf ixgbe-<x.x.x>.tar.gz


3. Change to the driver src directory, where <x.x.x> is the version number
   for the driver tar:


   # cd ixgbe-<x.x.x>/src/


4. Compile the driver module:


   # make install


   The binary will be installed as:
   /lib/modules/<KERNEL VER>/updates/drivers/net/ethernet/intel/ixgbe/ixgbe.ko


   The install location listed above is the default location. This may differ
   for various Linux distributions.


5. Load the module using the modprobe command.


   To check the version of the driver and then load it:


   # modinfo ixgbe
   # modprobe ixgbe [parameter=port1_value,port2_value]


   Alternately, make sure that any older ixgbe drivers are removed from the
   kernel before loading the new module:


   # rmmod ixgbe; modprobe ixgbe


6. Assign an IP address to the interface by entering the following,
   where <ethX> is the interface name that was shown in dmesg after modprobe:


   # ip address add <IP_address>/<netmask bits> dev <ethX>


7. Verify that the interface works. Enter the following, where IP_address
   is the IP address for another machine on the same subnet as the interface
   that is being tested:


   # ping <IP_address>



I ran "rmmod ixgbe; modprobe ixgbe" and TrueNAS did not like that. The ethernet ports died, never came back. The command prompt cycles through errors blocking the menu options. I did not have anything of any important on this NAS yet, so I am reinstalling the OS and starting over.
 

GoingOffRoading

Dabbler
Joined
Feb 11, 2018
Messages
23
Well I can report on what NOT to do.

Intel X520-1 driver: Intel.com

README.txt:

Code:
Building and Installation
=========================


To manually build the driver
----------------------------
1. Move the base driver tar file to the directory of your choice.
   For example, use '/home/username/ixgbe' or '/usr/local/src/ixgbe'.


2. Untar/unzip the archive, where <x.x.x> is the version number for the
   driver tar file:


   # tar zxf ixgbe-<x.x.x>.tar.gz


3. Change to the driver src directory, where <x.x.x> is the version number
   for the driver tar:


   # cd ixgbe-<x.x.x>/src/


4. Compile the driver module:


   # make install


   The binary will be installed as:
   /lib/modules/<KERNEL VER>/updates/drivers/net/ethernet/intel/ixgbe/ixgbe.ko


   The install location listed above is the default location. This may differ
   for various Linux distributions.


5. Load the module using the modprobe command.


   To check the version of the driver and then load it:


   # modinfo ixgbe
   # modprobe ixgbe [parameter=port1_value,port2_value]


   Alternately, make sure that any older ixgbe drivers are removed from the
   kernel before loading the new module:


   # rmmod ixgbe; modprobe ixgbe


6. Assign an IP address to the interface by entering the following,
   where <ethX> is the interface name that was shown in dmesg after modprobe:


   # ip address add <IP_address>/<netmask bits> dev <ethX>


7. Verify that the interface works. Enter the following, where IP_address
   is the IP address for another machine on the same subnet as the interface
   that is being tested:


   # ping <IP_address>



I ran "rmmod ixgbe; modprobe ixgbe" and TrueNAS did not like that. The ethernet ports died, never came back. The command prompt cycles through errors blocking the menu options. I did not have anything of any important on this NAS yet, so I am reinstalling the OS and starting over.

I recreated some of this issue getting to the 'make build' and having sporadic issues with the ethernet connections.

Full wipe/reinstall of TrueNas #2 fixed it
 
Top