DELL 6GBPS SAS HBA Device Driver for Rocky

Hello
Does anyone know if there is a DELL 6GBPS SAS HBA Device Driver or equivalent that I can install on rocky 8.6?
I found a very old driver R294638-mpt2sasbtm-07.15.03.00-1.tar.gz but unsurprisingly won’t install

sudo dnf install mpt2sasbtm-07.15.03.00-1dkms.noarch.rpm
Last metadata expiration check: 0:43:43 ago on Thu 22 Jun 2023 11:23:14 PM CEST.
Error: 
 Problem: conflicting requests
  - nothing provides dkms >= 1.00 needed by mpt2sasbtm-07.15.03.00-1dkms.noarch

Anyideas would be most welcome. Thank you

What is the deviceID? lspci -nn will show it in the form of [xxxx:yyyy].

08:00.0 Serial Attached SCSI controller [0107]: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 03)

the link below says that a driver is part of Centos 8 so maybe Rocky 8 too

The SAS card is connected to a Quantum iScalar 40 driver with 2 LTO7 drives. My goal is to have terminal mount points for each drive.

I want to use mt to read the drive using a command such as the one below.

mt -f /dev/st0 status

The device with [1000:0072] uses the mpt3sas driver in the kernel. To confirm it is actually loaded, can you check the output of “lsmod | grep mpt3sas” ?

lsmod | grep mpt3sas
mpt3sas               344064  0
raid_class             16384  1 mpt3sas
scsi_transport_sas     45056  1 mpt3sas

OK. I’m out of my depth. I don’t know what this means.

I have found on the web about issues with RHEL and mpt3sas but they seem to be solved.

I have been investigating and found this useful …

and the below are the returns …

sudo lsinitrd -k $(uname -r) | grep mpt3sas
drwxr-xr-x   2 root     root            0 Jan 25 09:22 usr/lib/modules/4.18.0-477.13.1.el8_8.x86_64/kernel/drivers/scsi/mpt3sas
-rw-r--r--   1 root     root       132080 Jan 25 09:22 usr/lib/modules/4.18.0-477.13.1.el8_8.x86_64/kernel/drivers/scsi/mpt3sas/mpt3sas.ko.xz

[admin@ltfs-linux-localdomain dev]$ lspci -nn |egrep -i "sas"
01:00.0 RAID bus controller [0104]: Broadcom / LSI MegaRAID SAS 2008 [Falcon] [1000:0073] (rev 03)
08:00.0 Serial Attached SCSI controller [0107]: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 03)
[admin@ltfs-linux-localdomain dev]$ lspci -v -s 08:00.0
08:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
	Subsystem: Dell 6Gbps SAS HBA Adapter
	Flags: bus master, fast devsel, latency 0, IRQ 15, NUMA node 0
	I/O ports at ec00 [size=256]
	Memory at d9ff0000 (64-bit, non-prefetchable) [size=64K]
	Memory at d9f80000 (64-bit, non-prefetchable) [size=256K]
	Expansion ROM at d9000000 [disabled] [size=1M]
	Capabilities: <access denied>
	Kernel modules: mpt3sas
dmesg |grep -i sas
[    1.692267] megasas: 07.719.03.00-rh1
[    1.692311] Warning: Unmaintained hardware is detected:  megaraid_sas:0073:1000 @ 0000:01:00.0
[    1.703245] megaraid_sas 0000:01:00.0: BAR:0x1  BAR's base_addr(phys):0x00000000d8ffc000  mapped virt_addr:0x(____ptrval____)
[    1.703254] megaraid_sas 0000:01:00.0: FW now in Ready state
[    1.703258] megaraid_sas 0000:01:00.0: 63 bit DMA mask and 32 bit consistent mask
[    1.703478] megaraid_sas 0000:01:00.0: requested/available msix 1/1
[    1.703483] megaraid_sas 0000:01:00.0: current msix/online cpus	: (1/12)
[    1.703486] megaraid_sas 0000:01:00.0: RDPQ mode	: (disabled)
[    1.725486] mpt3sas version 43.100.00.00 loaded
[    1.725718] Warning: Disabled Hardware is detected: mpt3sas:0072:1000 @ 0000:08:00.0 is no longer enabled in this release.
[    1.774015] megaraid_sas 0000:01:00.0: controller type	: iMR(0MB)
[    1.774020] megaraid_sas 0000:01:00.0: Online Controller Reset(OCR)	: Enabled
[    1.774023] megaraid_sas 0000:01:00.0: Secure JBOD support	: No
[    1.774025] megaraid_sas 0000:01:00.0: NVMe passthru support	: No
[    1.774027] megaraid_sas 0000:01:00.0: FW provided TM TaskAbort/Reset timeout	: 0 secs/0 secs
[    1.774030] megaraid_sas 0000:01:00.0: JBOD sequence map support	: No
[    1.774032] megaraid_sas 0000:01:00.0: PCI Lane Margining support	: No
[    1.774036] megaraid_sas 0000:01:00.0: megasas_init_mfi: fw_support_ieee=67108864
[    1.774098] megaraid_sas 0000:01:00.0: INIT adapter done
[    1.774100] megaraid_sas 0000:01:00.0: JBOD sequence map is disabled megasas_setup_jbod_map 5775
[    1.855354] megaraid_sas 0000:01:00.0: pci id		: (0x1000)/(0x0073)/(0x1028)/(0x1f51)
[    1.855358] megaraid_sas 0000:01:00.0: unevenspan support	: no
[    1.855359] megaraid_sas 0000:01:00.0: firmware crash dump	: no
[    1.855361] megaraid_sas 0000:01:00.0: JBOD sequence map	: disabled
[    1.855363] megaraid_sas 0000:01:00.0: Max firmware commands: 30 shared with nr_hw_queues = 1
[    1.855365] scsi host0: Avago SAS based MegaRAID driver

That is the problem. Although the mpt3sas kernel module is loaded, the device you have is not enabled.

You can install ELRepo’s kmod for that. Because you are running el 8.6, you’d need this package:

https://elrepo.org/linux/elrepo/el8/x86_64/RPMS/kmod-mpt3sas-39.100.00.00-1.el8_6.elrepo.x86_64.rpm

Hello
I did an install & reboot and the result is below
Am I doing something wrong please ?

sudo rpm -ivh kmod-mpt3sas-39.100.00.00-1.el8_6.elrepo.x86_64.rpm 
warning: kmod-mpt3sas-39.100.00.00-1.el8_6.elrepo.x86_64.rpm: Header V4 DSA/SHA256 Signature, key ID baadae52: NOKEY
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
	package kmod-mpt3sas-39.100.00.00-1.el8_6.elrepo.x86_64 is already installed
[admin@ltfs-linux-localdomain Downloads]$ dmesg |grep -i sas
[    1.715966] megasas: 07.719.03.00-rh1
[    1.717075] Warning: Unmaintained hardware is detected:  megaraid_sas:0073:1000 @ 0000:01:00.0
[    1.718146] mpt3sas version 43.100.00.00 loaded
[    1.718821] Warning: Disabled Hardware is detected: mpt3sas:0072:1000 @ 0000:08:00.0 is no longer enabled in this release.

Show us the output from:

$ modinfo mpt3sas | grep filename

and

$ modinfo megaraid_sas | grep filename

modinfo mpt3sas | grep filename
filename:       /lib/modules/4.18.0-477.13.1.el8_8.x86_64/weak-updates/mpt3sas/mpt3sas.ko
[admin@ltfs-linux-localdomain ~]$ modinfo megaraid_sas | grep filename
filename:       /lib/modules/4.18.0-477.13.1.el8_8.x86_64/kernel/drivers/scsi/megaraid/megaraid_sas.ko.xz

The same server / card and LTO drive with a windows 10 boot works fine, so I presume this is not a hardware issue.

The information you have provided is not consistent. Your first post indicates you are running el8.6. Now this:

filename: /lib/modules/4.18.0-477.13.1.el8_8.x86_64/weak-updates/mpt3sas/mpt3sas.ko

says you have el8.8.

Then this dmesg output:

mpt3sas version 43.100.00.00 loaded

is from the in-kernel driver. ELRepo’s kmod provides version 42.100.00.00.

Please show us the output from the following.

rpm -q kernel
uname -a
rpm -q kmod-mpt3sas

I’m sorry,. You are right. Whilst investigating the, I updated the system to the latest version. Sorry

rpm -q kernel
kernel-4.18.0-348.el8.0.2.x86_64
kernel-4.18.0-477.13.1.el8_8.x86_64

uname -a
Linux ltfs-linux-localdomain 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 22:15:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

rpm -q kmod-mpt3sas
kmod-mpt3sas-39.100.00.00-1.el8_6.elrepo.x86_64

OK, now you are running the latest kernel. You’d need to update the kmod-mpt3sas package as well.

If you run a ‘dnf update’, it should update it to:

kmod-mpt3sas-42.100.00.00-2.el8_7.elrepo

This assumes you have installed the elrepo-release package. If not, just run ‘yum install elrepo-kernel’.

Hello Toracat
I have upgrade to kmod-mpt3sas-42.100.00.00-2.el8_7.elrepo.x86_64
as you kindly suggested but I still get the same hardware message.

dmesg |grep -i sas
[    1.728203] megasas: 07.719.03.00-rh1
[    1.728254] Warning: Unmaintained hardware is detected:  megaraid_sas:0073:1000 @ 0000:01:00.0
[    1.734236] mpt3sas version 43.100.00.00 loaded
[    1.739236] megaraid_sas 0000:01:00.0: BAR:0x1  BAR's base_addr(phys):0x00000000d8ffc000  mapped virt_addr:0x(____ptrval____)
[    1.739244] megaraid_sas 0000:01:00.0: FW now in Ready state
[    1.739248] megaraid_sas 0000:01:00.0: 63 bit DMA mask and 32 bit consistent mask
[    1.739424] megaraid_sas 0000:01:00.0: requested/available msix 1/1
[    1.739427] megaraid_sas 0000:01:00.0: current msix/online cpus	: (1/12)
[    1.739431] megaraid_sas 0000:01:00.0: RDPQ mode	: (disabled)
[    1.740528] Warning: Disabled Hardware is detected: mpt3sas:0072:1000 @ 0000:08:00.0 is no longer enabled in this release.
[    1.806013] megaraid_sas 0000:01:00.0: controller type	: iMR(0MB)
[    1.806019] megaraid_sas 0000:01:00.0: Online Controller Reset(OCR)	: Enabled
[    1.806022] megaraid_sas 0000:01:00.0: Secure JBOD support	: No
[    1.806025] megaraid_sas 0000:01:00.0: NVMe passthru support	: No
[    1.806027] megaraid_sas 0000:01:00.0: FW provided TM TaskAbort/Reset timeout: 0 secs/0 secs
[    1.806030] megaraid_sas 0000:01:00.0: JBOD sequence map support	: No
[    1.806032] megaraid_sas 0000:01:00.0: PCI Lane Margining support	: No
[    1.806036] megaraid_sas 0000:01:00.0: megasas_init_mfi: fw_support_ieee=67108864
[    1.806065] megaraid_sas 0000:01:00.0: INIT adapter done
[    1.806068] megaraid_sas 0000:01:00.0: JBOD sequence map is disabled megasas_setup_jbod_map 5775
[    1.887579] megaraid_sas 0000:01:00.0: pci id		: (0x1000)/(0x0073)/(0x1028)/(0x1f51)
[    1.887583] megaraid_sas 0000:01:00.0: unevenspan support	: no
[    1.887585] megaraid_sas 0000:01:00.0: firmware crash dump	: no
[    1.887586] megaraid_sas 0000:01:00.0: JBOD sequence map	: disabled
[    1.887588] megaraid_sas 0000:01:00.0: Max firmware commands: 30 shared with nr_hw_queues = 1
[    1.887591] scsi host0: Avago SAS based MegaRAID driver
[admin@ltfs-linux-localdomain ~]$ sudo yum install kmod-mpt3sas-42.100.00.00-2.el8_7.elrepo
Last metadata expiration check: 2:05:49 ago on Sun 25 Jun 2023 10:14:49 AM CEST.
Package kmod-mpt3sas-42.100.00.00-2.el8_7.elrepo.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[admin@ltfs-linux-localdomain ~]$ rpm -q kmod-mpt3sas
kmod-mpt3sas-42.100.00.00-2.el8_7.elrepo.x86_64

Could this have anything to do with this?

I also found this installer on the Dell
https://www.dell.com/support/home/fr-fr/drivers/driversdetails?driverid=hxdyw

sudo ./SASHBA_FRMW_LX_R294624.BIN 
Collecting inventory...
/tmp/SASHBA_FRMW_LX_R294624.BIN-10087-12734/spsetup.sh: line 888: ./sasdupie: No such file or directory

Inventory collection failed.

But not much more success …

Yes, which is why you need the kmod package (mpt3sas) from ELRepo. I think the megaraid_sas driver in the kernel supports your device. But if in doubt, you can always install kmod-megaraid_sas as well.

sudo dnf install kmod-megaraid_sas
Last metadata expiration check: 2:17:22 ago on Sun 25 Jun 2023 05:13:02 PM CEST.
Package kmod-megaraid_sas-07.719.03.00-2.el8_7.elrepo.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!