[elrepo] centos8 megaraid_sas module not working for LSI MegaRAID SAS-3 3008 [Fury]
Phil Perry
phil at elrepo.org
Tue Mar 17 17:25:44 EDT 2020
On 17/03/2020 17:23, jeff stevens wrote:
> hi everyone,
Hi Jeff,
In respect of your replys to Trevor, you have the right kmod package
version for your kernel :-)
Replying inline...
> have spent 1.5 days on this now and am confused-- seems like there are
> several options on how to get this driver working, but i can't seem to
> make any of them happen. can someone point me in the right direction?
> here's the most relevant of what i've tried so far:
>
> - was following a conversation with Akemi Yagi
> (https://access.redhat.com/discussions/3722151), where they talk about
> mpt3sas and megaraid. i tried installing mpt3sas from elrepo:
> Installed:
> kmod-mpt3sas-28.100.00.00-2.el8_1.elrepo.x86_64
>
> rebooted and the module wasn't loaded. did an insmod mpt3sas and the
> module loaded, but lshw still says the card is UNCLAIMED and there's no
> driver for it.
>
Always try to use modprobe over insmod as modprobe will also load any
required module dependencies.
> installed kmod-megaraid_sas from elrepo:
> Installed:
> kmod-megaraid_sas-07.707.51.00-1.el8_1.elrepo.x86_64
>
I'm guessing megaraid_sas is the right driver for your hardware, but the
output from 'lspci -nn' showing the vendor:device ID pairing will tell
us for sure.
Red Hat disabled support for some older devices in megaraid_sas. Our
megaraid_sas driver is built from thr RHEL source code with the RH
patches reverted to reenable those devices, so the driver version will
be identical.
> rebooted, and again mpt3sas was not loaded; also, megaraid_sas seems to
> be the same version that was loaded before:
> modinfo megaraid_sas
> filename:
> /lib/modules/4.18.0-147.5.1.el8_1.x86_64/weak-updates/megaraid_sas/megaraid_sas.ko
The fact the driver is located in /weak-updates/ tells you it's the
elrepo driver. If it were in /kernel/drivers/scsi/ it would be the
kernel driver. So all looks good here.
> description: Broadcom MegaRAID SAS Driver
> author: megaraidlinux.pdl at broadcom.com
> <mailto:megaraidlinux.pdl at broadcom.com>
> version: 07.707.51.00-rc1
> license: GPL
> rhelversion: 8.1
> srcversion: 1CDFF574D9202A94AABD3E9
>
> now when i do a "modprobe megaraid_sas" i see these in /var/log/messages:
> Mar 17 17:17:41 bfg-9000 kernel: megasas: 07.707.51.00-rc1
> Mar 17 17:17:41 bfg-9000 kernel: megaraid_sas 0000:81:00.0: Waiting for
> FW to come to ready state
> Mar 17 17:17:41 bfg-9000 kernel: megaraid_sas 0000:81:00.0: Failed from
> megasas_init_fw 5914
>
OK, that doesn't look so great.
> questions:
> - do i need to get rid of the old megaraid_sas kernel module? i think
> it's the stock one in the centos8 kernel.
No, you should not need to. The elrepo driver will override the stock
driver. If you uninstalled the elrepo driver and modprobe'd the stock
driver to load it, you should see very different output in /var/log/messages
> - am i missing a kernel recompile step? or dracut?
Are you trying to book from this device or are you booting from a
separate device? If you are trying to boot from the device then we do
need to ensure the driver is loaded in the initramfs
> - do i need to install both mpt3sas and megaraid_sas?
>
No, which ever driver is the correct driver for your hardware is the
driver that you need. The device ID I asked for above will allow us to
confirm that for you.
More information about the elrepo
mailing list