View Issue Details

IDProjectCategoryView StatusLast Update
0001088channel: elrepo/el8kmod-mpt3saspublic2021-04-12 12:17
Reportereexodus Assigned Totoracat  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Summary0001088: RHEL 8.3 and mpt3sas not working with SAS2116
DescriptionAlthough my SAS2116 card works and shows all disks in lsblk in RHEL 7.9 and previous versions of RHEL 8 + ELRepo mp3sas it does not show all disks in my current RHEL 8.3 release:
- Red Hat Enterprise Linux release 8.3 (Ootpa)
- Linux 4.18.0-240.22.1.el8_3.x86_64 #1 SMP Thu Mar 25 14:36:04 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux

kmod-mpt3sas-34.100.00.00-2.el8_3.elrepo.x86_64.rpm installed via "yum install -y kmod-mpt3sas-34.100.00.00-2.el8_3.elrepo.x86_64.rpm" and rebooted
lspci -nn = 06:10.0 Serial Attached SCSI controller [0107]: Broadcom / LSI SAS2116 PCI-Express Fusion-MPT SAS-2 [Meteor] [1000:0064] (rev 02)
lsblk = no disk shelf drives visible
The card is officially a LSI SAS 9201-16e PCI Express to 6Gb/s Serial Attached SCSI (SAS) Host Bus Adapter
If I boot to a RHEL 7.9 installer all disks are visible so I know there is nothing wrong with the HBA or disk shelf
TagsNo tags attached.

Activities

toracat

2021-04-08 19:29

administrator   ~0007526

Could you provide some more details?

What was the last version that worked? Did the .el8_2 kmod work with the RHEL 8.2 kernel?
Or did the problem start when you updated the kernel from 4.18.0-240.15.1 to 4.18.0-240.22.1?
If you type 'modprobe mpt3sas', does it load the module without error?
Does the initramfs image look intact?

eexodus

2021-04-08 20:51

reporter   ~0007527

I will try installing RHEL 8.2 and 8.1 to verify if it works on either. This is a fresh install of 8.3 so I can't comment on upgrades breaking it or not.

modprobe mpt3sas works and gives no output. Doing cat /proc/modules | grep mpt3sas shows:
mpt3sas 303104 0 - Live 0xffffffffc02e9000 (OE)
raid_class 16384 1 mpt3sas, Live 0xffffffffc0265000
scsi_transport_sas 45056 1 mpt3sas, Live 0xffffffffc0248000

I am not familiar with checking initramfs but it is a fresh install--so I can't imagine it would be broken.

Do you know why there's two 8.3 mpt3sas available? kmod-mpt3sas-34.100.00.00-1.el8_3.elrepo.x86_64.rpm and kmod-mpt3sas-34.100.00.00-2.el8_3.elrepo.x86_64.rpm? I used kmod-mpt3sas-34.100.00.00-2.el8_3.elrepo.x86_64.rpm since it was slightly newer.

pperry

2021-04-09 07:26

administrator   ~0007528

In answer to your question, kmod-mpt3sas-34.100.00.00-2.el8_3.elrepo.x86_64.rpm fixed a bug in the previous release when updating the initramfs image

pperry

2021-04-09 07:49

administrator   ~0007530

Last edited: 2021-04-09 07:50

Hi eexodus,

Are you able to try installing and rebooting to earlier releases of the RHEL 8.3 kernel series:

kernel-4.18.0-240.el8.x86_64
kernel-4.18.0-240.10.1.el8_3.x86_64
kernel-4.18.0-240.15.1.el8_3.x86_64

and see if booting to any of these kernels works with the above kmod-mpt3sas-34.100.00.00-2.el8_3.elrepo.x86_64.rpm driver. I'm struggling to see any obvious reasons why the driver is not working for you as everything looks normal. Any clues for which kernel it stopped working would be very useful.

For information, kmod-mpt3sas driver packages labeled with el8_2.elrepo are for use with RHEL8.2 series kernels, and driver packages labeled with el8_3.elrepo are for use with RHEL8.3 series kernels. They are not backward/forwards compatible, hence my suggestion to start with checking compatibility with other RHEL8.3 series kernels (as that will probably be a lot easier for you) before looking at RHEL8.2 or 8.1.

eexodus

2021-04-11 00:03

reporter   ~0007531

It works with 8.2 and kernel 4.18.0-193.el8.x86_64 and 8.1 and kernel 4.18.0-147.el8.x86_64.

eexodus

2021-04-11 00:28

reporter   ~0007532

None of the kernels mentioned in your last comment work with 8.3: 240.22, 240.15, or 240.10. I did catch an error briefly flash during boot though:
[4.151073] mpt2sas_cm0: failure at /home/phil/rpmbuild/BUILD/mpt3sas-34.100.c:10792/_scsih_probe()!

toracat

2021-04-11 03:16

administrator   ~0007533

Last edited: 2021-04-11 03:37

@eexodus

It looks like the problem you are seeing is related to what is reported in:

https://bugzilla.redhat.com/show_bug.cgi?id=1878332

If that is the case, then the workaround in comment 8 might work. That is to set the kernel param: "mpt3sas.max_queue_depth=10000". Can you give it a try?

toracat

2021-04-11 03:37

administrator   ~0007534

Bug report at kernel.org:

https://bugzilla.kernel.org/show_bug.cgi?id=209177

eexodus

2021-04-12 03:11

reporter   ~0007536

Hey nice searching! Yes that bug report must be my issue as the workaround fixed my problem. I ran: grubby --update-kernel=ALL --args="mpt3sas.max_queue_depth=10000"

toracat

2021-04-12 12:17

administrator   ~0007538

Good to hear the workaround is indeed working for you. I'm closing the ticket as "resolved" but, should a patch become available upstream, I will update the status here.

Issue History

Date Modified Username Field Change
2021-04-08 18:38 eexodus New Issue
2021-04-08 18:38 eexodus Status new => assigned
2021-04-08 18:38 eexodus Assigned To => toracat
2021-04-08 19:29 toracat Note Added: 0007526
2021-04-08 20:51 eexodus Note Added: 0007527
2021-04-09 07:24 pperry Category --elrepo--request-for-enhancement-- => kmod-mpt3sas
2021-04-09 07:26 pperry Note Added: 0007528
2021-04-09 07:49 pperry Note Added: 0007530
2021-04-09 07:50 pperry Note Edited: 0007530
2021-04-11 00:03 eexodus Note Added: 0007531
2021-04-11 00:28 eexodus Note Added: 0007532
2021-04-11 03:16 toracat Note Added: 0007533
2021-04-11 03:37 toracat Note Added: 0007534
2021-04-11 03:37 toracat Note Edited: 0007533
2021-04-12 03:11 eexodus Note Added: 0007536
2021-04-12 12:17 toracat Status assigned => resolved
2021-04-12 12:17 toracat Resolution open => no change required
2021-04-12 12:17 toracat Note Added: 0007538