View Issue Details

IDProjectCategoryView StatusLast Update
0001349channel: elrepo/el9kmod-mpt3saspublic2023-05-02 06:56
ReporterNigelm Assigned Topperry  
PriorityhighSeveritymajorReproducibilityhave not tried
Status resolvedResolutionno change required 
Summary0001349: Rocky Linux Kernel 5.14.0-162.23.1.el9_1.x86_64 mpt3sas drivers no longer work
DescriptionHI there,

I have recently upgrade my kernel to release 5.14.0-162.23.1.el9_1.x86_64 and I have noticed after the reboot the mpt3sas drivers no longer work.

''lspci -nn |grep -i SAS
01:00.0 Serial Attached SCSI controller [0107]: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 02)''

After loading and upload the kernel I see the following in dmesg:
''
[ 680.889432] mpt3sas version 40.100.00.00 unloading
[ 717.715124] mpt3sas version 40.100.00.00 loaded
[ 717.715548] Warning: Disabled Hardware is detected: mpt3sas:0072:1000 @ 0000:01:00.0 is no longer enabled in this release.
''
Mod Infor show the following: (shortened output)
''modinfo mpt3sas
filename: /lib/modules/5.14.0-162.23.1.el9_1.x86_64/kernel/drivers/scsi/mpt3sas/mpt3sas.ko.xz
alias: mpt2sas
version: 40.100.00.00
license: GPL
description: LSI MPT Fusion SAS 3.0 Device Driver
author: Avago Technologies <MPT-FusionLinux.pdl@avagotech.com>
rhelversion: 9.1
srcversion: B8E40591EEDA2B1CC47E7CD

retpoline: Y
intree: Y
name: mpt3sas
vermagic: 5.14.0-162.23.1.el9_1.x86_64 SMP preempt mod_unload modversions
sig_id: PKCS#7
signer: CentOS Stream kernel signing key
sig_key: 34:87:47:96:72:D6:51:DF:13:B8:12:D1:07:E6:5F:A6:D0:16:16:4C
sig_hashalgo: sha256
''
The package looks to have come from the elrepo repo:
''rpm -q kmod-mpt3sas
kmod-mpt3sas-40.100.00.00-1.el9_1.elrepo.x86_64
''

The initramfs image
''
root $ lsinitrd -k $(uname -r) | grep -i mpt3sas
-rw-r--r-- 1 root root 40 Nov 2 2022 etc/depmod.d/kmod-mpt3sas.conf
drwxr-xr-x 2 root root 0 Nov 2 2022 usr/lib/modules/5.14.0-162.23.1.el9_1.x86_64/kernel/drivers/scsi/mpt3sas
-rw-r--r-- 1 root root 159280 Nov 2 2022 usr/lib/modules/5.14.0-162.23.1.el9_1.x86_64/kernel/drivers/scsi/mpt3sas/mpt3sas.ko.xz
''

lsmod
''root $ lsmod |grep -i mpt
mpt3sas 364544 0
raid_class 16384 1 mpt3sas
scsi_transport_sas 49152 1 mpt3sas
''
Steps To ReproduceUpdate to the latest kernel.
Previously working kernel version has disappered
TagsNo tags attached.

Activities

pperry

2023-05-01 08:14

administrator   ~0009162

Last edited: 2023-05-01 15:54

I am unable to replicate your issue on genuine RHEL9:

$ rpm -q kmod-mpt3sas
kmod-mpt3sas-40.100.00.00-2.el9_1.elrepo.x86_64

$ uname -a
Linux Chroot64R9 5.14.0-162.23.1.el9_1.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Mar 23 20:08:28 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux

$ modinfo mpt3sas | grep filename
filename: /lib/modules/5.14.0-162.23.1.el9_1.x86_64/weak-updates/mpt3sas/mpt3sas.ko

Please note the difference above - modinfo shows the elrepo module in /weak-updates/mpt3sas/ whereas for you it is showing the distro driver in /kernel/drivers/scsi/mpt3sas/ for which your older hardware has been disabled.

And now I see the issue here:

[quote]
retpoline: Y
intree: Y
name: mpt3sas
vermagic: 5.14.0-162.23.1.el9_1.x86_64 SMP preempt mod_unload modversions
sig_id: PKCS#7
signer: CentOS Stream kernel signing key
sig_key: 34:87:47:96:72:D6:51:DF:13:B8:12:D1:07:E6:5F:A6:D0:16:16:4C
sig_hashalgo: sha256
''
[/QUOTE]

You have installed the kmod-mpt3sas driver from CentOS kmods SIG for CentOS Stream, not the elrepo driver from our repository. The CentOS SIG driver will not work with RHEL and clones (ALMA, Rocky) as their kernels are NOT the same.

Please uninstall the kmod-mpt3sas package you have, disable the CentOS Stream repo, and enable our elrepo repository to install our driver:

https://elrepo.org/linux/elrepo/el9/x86_64/RPMS/kmod-mpt3sas-40.100.00.00-2.el9_1.elrepo.x86_64.rpm

reboot (or modprobe the new driver) and try again.

Closing this request as there is nothing to be done here

pperry

2023-05-01 15:52

administrator   ~0009166

Please ignore my above reply which is incorrect. Lets try again...

[QUOTE]
The package looks to have come from the elrepo repo:
''rpm -q kmod-mpt3sas
kmod-mpt3sas-40.100.00.00-1.el9_1.elrepo.x86_64
[/QUOTE]

Please can you update to the latest release:

$ rpm -q kmod-mpt3sas
kmod-mpt3sas-40.100.00.00-2.el9_1.elrepo.x86_64

and see if that fixes the issue for you.

Nigelm

2023-05-01 17:12

reporter   ~0009167

Thanks for fast response.
I don't see the latest package in the repository. Is there somewhere that I can download it from?

[07:09:21] grace:~
root $ yum info kmod-mpt3sas
Last metadata expiration check: 0:29:30 ago on Tue 02 May 2023 06:40:05.
Installed Packages
Name : kmod-mpt3sas
Version : 40.100.00.00
Release : 1.el9_1.elrepo
Architecture : x86_64
Size : 768 k
Source : kmod-mpt3sas-40.100.00.00-1.el9_1.elrepo.src.rpm
Repository : @System
From repo : elrepo
Summary : mpt3sas kernel module(s)
URL : http://www.kernel.org/
License : GPLv2
Description : This package provides the mpt3sas kernel module(s).
             : It is built to depend upon the specific ABI provided by a range of releases
             : of the same variant of the Linux kernel and not on any one specific build.


[07:09:35] grace:~
root $ yum upgrade kmod-mpt3sas
Last metadata expiration check: 0:29:38 ago on Tue 02 May 2023 06:40:05.
Dependencies resolved.
Nothing to do.
Complete

[07:09:44] grace:~
root $ rpm -qa |grep -i kmod-mpt3sas
kmod-mpt3sas-40.100.00.00-1.el9_1.elrepo.x86_64

toracat

2023-05-01 17:46

administrator   ~0009168

@Nigelm

Try running 'sudo dnf clean all' and if dnf/yum still does not find the package, you can download this one:

https://elrepo.org/linux/elrepo/el9/x86_64/RPMS/kmod-mpt3sas-40.100.00.00-2.el9_1.elrepo.x86_64.rpm

Nigelm

2023-05-01 17:50

reporter   ~0009169

Thanks
I found the file on a mirror of the server.
I have installed it and the drives have started to appear now. Thank you for the help.

toracat

2023-05-01 17:54

administrator   ~0009170

Excellent. Thanks for reporting back.

Issue History

Date Modified Username Field Change
2023-05-01 05:54 Nigelm New Issue
2023-05-01 05:54 Nigelm Status new => assigned
2023-05-01 05:54 Nigelm Assigned To => pperry
2023-05-01 08:14 pperry Note Added: 0009162
2023-05-01 08:14 pperry Status assigned => resolved
2023-05-01 08:14 pperry Resolution open => no change required
2023-05-01 15:52 pperry Note Added: 0009166
2023-05-01 15:53 pperry Status resolved => feedback
2023-05-01 15:53 pperry Resolution no change required => reopened
2023-05-01 15:54 pperry Note Edited: 0009162
2023-05-01 17:12 Nigelm Note Added: 0009167
2023-05-01 17:12 Nigelm Status feedback => assigned
2023-05-01 17:46 toracat Note Added: 0009168
2023-05-01 17:50 Nigelm Note Added: 0009169
2023-05-01 17:54 toracat Note Added: 0009170
2023-05-02 06:56 pperry Status assigned => resolved
2023-05-02 06:56 pperry Resolution reopened => no change required