How to check and update NIC drivers in SCALE?

JoHapp

Dabbler
Joined
Jul 29, 2021
Messages
44
We got a 2nd NIC for our Truenas Scale.
It's a "Marvell QL41132HLCU-CK 10G Dual Port PCIe Server NIC 2x SFP+ w/ iWARP RDMA"

It's not showing up in scale under network interfaces.
I think it might be connected with missing drivers. Is there a away to check, if the specific drivers are installed?

Or, can anybody give me an advise, how to install those drivers?
I found those: https://driverdownloads.qlogic.com/....aspx?ProductCategory=325&Product=1270&Os=175
 

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
I'd suggest checking output of dmesg first, make sure you don't see any weird errors in there related to the driver not loading.

Otherwise please open a ticket in https://jira.ixsystems.com with these details, and a debug file (System -> Advanced -> Download Debug) so we can investigate it, see if there's something we need to include out of box.
 

JoHapp

Dabbler
Joined
Jul 29, 2021
Messages
44
Small update on it.
Here are perfectly described the Linux commands (via shell) to get all information on installed NICs:

In my case I get the information:
*-network:0 UNCLAIMED
description: Ethernet controller
product: FastLinQ QL41000 Series 10/25/40/50GbE Controller
vendor: QLogic Corp.
physical id: 0
bus info: pci@0000:b3:00.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd cap_list
configuration: latency=0
resources: iomemory:38ff0-38fef iomemory:38ff0-38fef iomemory:38ff0-38fef memory:38ffff820000-38ffff83ffff memory:38ffff000000-38ffff7fffff memory:38ffff850000-38ffff85ffff memory:fbe80000-fbefffff

I find these Information in the Ubunto Forum (https://ubuntuforums.org/showthread.php?t=1314693):
Unclaimed' typically means no driver has attached to it. If you have an internet connection by ethernet, I suggest you open a terminal and do:

Code: sudo apt-get install linux-backports-modules-jaunty

Reboot and you should be good to go.

Well, I am not sure about running those commands, but at least I gives me the confrimation, that it is a driver issue.
 

JoHapp

Dabbler
Joined
Jul 29, 2021
Messages
44
Can I find somewhere a list of supported NICs for Truenas ? Our card is unsupported and we will have to wait for an update.
 

GoingOffRoading

Dabbler
Joined
Feb 11, 2018
Messages
23
I am also looking for a list like this
Same... I did not have good luck with an Intel X520-1 SFP+

 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
@JoHapp @hjkl950217 and other:

The available ethernet network adapter drivers for the current SCALE kernel can be listed at the CLI using, for example:

root@scalevm1[~]# ls -l /lib/modules/$(uname -r)/kernel/drivers/net/ethernet/ total 119 drwxr-xr-x 2 root root 6 Feb 18 16:05 3com drwxr-xr-x 2 root root 6 Feb 18 16:05 8390 drwxr-xr-x 2 root root 3 Feb 18 16:05 adaptec drwxr-xr-x 2 root root 3 Feb 18 16:05 agere drwxr-xr-x 2 root root 3 Feb 18 16:05 alteon drwxr-xr-x 3 root root 3 Feb 18 16:05 amazon drwxr-xr-x 3 root root 6 Feb 18 16:05 amd drwxr-xr-x 3 root root 3 Feb 18 16:05 aquantia drwxr-xr-x 6 root root 6 Feb 18 16:05 atheros drwxr-xr-x 4 root root 8 Feb 18 16:05 broadcom drwxr-xr-x 3 root root 3 Feb 18 16:05 brocade drwxr-xr-x 4 root root 4 Feb 18 16:05 cavium drwxr-xr-x 7 root root 7 Feb 18 16:05 chelsio drwxr-xr-x 3 root root 3 Feb 18 16:05 cisco drwxr-xr-x 3 root root 3 Feb 18 16:05 dec drwxr-xr-x 2 root root 4 Feb 18 16:05 dlink drwxr-xr-x 3 root root 3 Feb 18 16:05 emulex -rw-r--r-- 1 root root 51008 Jan 28 17:00 fealnx.ko drwxr-xr-x 2 root root 3 Feb 18 16:05 fujitsu drwxr-xr-x 3 root root 3 Feb 18 16:05 google drwxr-xr-x 3 root root 3 Feb 18 16:05 huawei drwxr-xr-x 13 root root 14 Feb 18 16:05 intel -rw-r--r-- 1 root root 88256 Jan 28 17:00 jme.ko drwxr-xr-x 2 root root 4 Feb 18 16:05 marvell drwxr-xr-x 5 root root 5 Feb 18 16:05 mellanox drwxr-xr-x 2 root root 3 Feb 18 16:05 micrel drwxr-xr-x 2 root root 3 Feb 18 16:05 microchip drwxr-xr-x 3 root root 3 Feb 18 16:05 myricom drwxr-xr-x 2 root root 4 Feb 18 16:05 natsemi drwxr-xr-x 3 root root 4 Feb 18 16:05 neterion drwxr-xr-x 3 root root 3 Feb 18 16:05 netronome drwxr-xr-x 2 root root 3 Feb 18 16:05 nvidia drwxr-xr-x 2 root root 4 Feb 18 16:05 packetengines drwxr-xr-x 6 root root 7 Feb 18 16:05 qlogic drwxr-xr-x 2 root root 3 Feb 18 16:05 rdc drwxr-xr-x 2 root root 5 Feb 18 16:05 realtek drwxr-xr-x 3 root root 4 Feb 18 16:05 sfc drwxr-xr-x 2 root root 3 Feb 18 16:05 silan drwxr-xr-x 2 root root 4 Feb 18 16:05 sis drwxr-xr-x 2 root root 5 Feb 18 16:05 smsc drwxr-xr-x 3 root root 3 Feb 18 16:05 stmicro drwxr-xr-x 2 root root 6 Feb 18 16:05 sun drwxr-xr-x 2 root root 3 Feb 18 16:05 tehuti drwxr-xr-x 2 root root 3 Feb 18 16:05 ti drwxr-xr-x 2 root root 4 Feb 18 16:05 via drwxr-xr-x 2 root root 3 Feb 18 16:05 xircom root@scalevm1[~]#

@GoingOffRoading

The current SCALE RELEASE does have the ixgbe driver and I can modprobe it on a system with no X520 NIC attached.

root@scalevm1[~]# modprobe ixgbe root@scalevm1[~]# lsmod | grep ix ixgbe 397312 0 xfrm_algo 16384 1 ixgbe mdio_devres 16384 1 ixgbe libphy 151552 2 mdio_devres,ixgbe ptp 32768 1 ixgbe mdio 16384 1 ixgbe dca 16384 2 ioatdma,ixgbe root@scalevm1

OMV uses a backported debian 5.14 kernel and the ixgbe driver is superfically the same when compared to SCALE. I don't know enough about your NIC so say why it does not work in SCALE. It's possible it maybe a problem with the SCALE kernel, close study ofthe boot message via journalctl may offers some clues.
 
Last edited:

GoingOffRoading

Dabbler
Joined
Feb 11, 2018
Messages
23
@JoHapp @hjkl950217 and other:

The available ethernet network adapter drivers for the current SCALE kernel can be listed at the CLI using, for example:

root@scalevm1[~]# ls -l /lib/modules/$(uname -r)/kernel/drivers/net/ethernet/ total 119 drwxr-xr-x 2 root root 6 Feb 18 16:05 3com drwxr-xr-x 2 root root 6 Feb 18 16:05 8390 drwxr-xr-x 2 root root 3 Feb 18 16:05 adaptec drwxr-xr-x 2 root root 3 Feb 18 16:05 agere drwxr-xr-x 2 root root 3 Feb 18 16:05 alteon drwxr-xr-x 3 root root 3 Feb 18 16:05 amazon drwxr-xr-x 3 root root 6 Feb 18 16:05 amd drwxr-xr-x 3 root root 3 Feb 18 16:05 aquantia drwxr-xr-x 6 root root 6 Feb 18 16:05 atheros drwxr-xr-x 4 root root 8 Feb 18 16:05 broadcom drwxr-xr-x 3 root root 3 Feb 18 16:05 brocade drwxr-xr-x 4 root root 4 Feb 18 16:05 cavium drwxr-xr-x 7 root root 7 Feb 18 16:05 chelsio drwxr-xr-x 3 root root 3 Feb 18 16:05 cisco drwxr-xr-x 3 root root 3 Feb 18 16:05 dec drwxr-xr-x 2 root root 4 Feb 18 16:05 dlink drwxr-xr-x 3 root root 3 Feb 18 16:05 emulex -rw-r--r-- 1 root root 51008 Jan 28 17:00 fealnx.ko drwxr-xr-x 2 root root 3 Feb 18 16:05 fujitsu drwxr-xr-x 3 root root 3 Feb 18 16:05 google drwxr-xr-x 3 root root 3 Feb 18 16:05 huawei drwxr-xr-x 13 root root 14 Feb 18 16:05 intel -rw-r--r-- 1 root root 88256 Jan 28 17:00 jme.ko drwxr-xr-x 2 root root 4 Feb 18 16:05 marvell drwxr-xr-x 5 root root 5 Feb 18 16:05 mellanox drwxr-xr-x 2 root root 3 Feb 18 16:05 micrel drwxr-xr-x 2 root root 3 Feb 18 16:05 microchip drwxr-xr-x 3 root root 3 Feb 18 16:05 myricom drwxr-xr-x 2 root root 4 Feb 18 16:05 natsemi drwxr-xr-x 3 root root 4 Feb 18 16:05 neterion drwxr-xr-x 3 root root 3 Feb 18 16:05 netronome drwxr-xr-x 2 root root 3 Feb 18 16:05 nvidia drwxr-xr-x 2 root root 4 Feb 18 16:05 packetengines drwxr-xr-x 6 root root 7 Feb 18 16:05 qlogic drwxr-xr-x 2 root root 3 Feb 18 16:05 rdc drwxr-xr-x 2 root root 5 Feb 18 16:05 realtek drwxr-xr-x 3 root root 4 Feb 18 16:05 sfc drwxr-xr-x 2 root root 3 Feb 18 16:05 silan drwxr-xr-x 2 root root 4 Feb 18 16:05 sis drwxr-xr-x 2 root root 5 Feb 18 16:05 smsc drwxr-xr-x 3 root root 3 Feb 18 16:05 stmicro drwxr-xr-x 2 root root 6 Feb 18 16:05 sun drwxr-xr-x 2 root root 3 Feb 18 16:05 tehuti drwxr-xr-x 2 root root 3 Feb 18 16:05 ti drwxr-xr-x 2 root root 4 Feb 18 16:05 via drwxr-xr-x 2 root root 3 Feb 18 16:05 xircom root@scalevm1[~]#

@GoingOffRoading

The current SCALE RELEASE does have the ixgbe driver and I can modprobe it on a system with no X520 NIC attached.

root@scalevm1[~]# modprobe ixgbe root@scalevm1[~]# lsmod | grep ix ixgbe 397312 0 xfrm_algo 16384 1 ixgbe mdio_devres 16384 1 ixgbe libphy 151552 2 mdio_devres,ixgbe ptp 32768 1 ixgbe mdio 16384 1 ixgbe dca 16384 2 ioatdma,ixgbe root@scalevm1

OMV uses a backported debian 5.14 kernel and the ixgbe driver is superfically the same when compared to SCALE. I don't know enough about your NIC so say why it does not work in SCALE. It's possible it maybe a problem

AWESOME response, thank you!
 
Top