[elrepo] elrepo Digest, Vol 129, Issue 6

Phil Perry phil at elrepo.org
Wed Mar 18 19:53:47 EDT 2020


On 18/03/2020 18:00, jeff stevens wrote:
> daniele: thanks for the reply. i will try that if we can't get the 
> elrepo drivers to work with the stock kernel.
> 
> phil:
> i boot from a usb HDD attached to the server, and this raid controller 
> has my 4TB data LUN.
> 
> lspci -nn
> 81:00.0 RAID bus controller [0104]: Broadcom / LSI MegaRAID SAS-3 3008 
> [Fury] [1000:005f] (rev 02)
> 

Definitely uses the megaraid_sas driver.

> this morning i re-installed CentOS8 and so have a fresh, trim install. 
> still has the same issue; same kernel and release versions as before. 
> have not installed any drivers from broadcom or elrepo yet.
> 
> should have posted this earlier, but here's everything from megaraid_sas 
> during boot:
> [62] root at bfg-9000 ~> dmesg | grep mega
> [    3.083755] megasas: 07.707.51.00-rc1
> [    3.099222] megaraid_sas 0000:81:00.0: FW now in Ready state
> [    3.099226] megaraid_sas 0000:81:00.0: 63 bit DMA mask and 32 bit 
> consistent mask
> [    3.100301] megaraid_sas 0000:81:00.0: firmware supports msix : (96)
> [    3.100303] megaraid_sas 0000:81:00.0: current msix/online cpus : (32/32)
> [    3.100305] megaraid_sas 0000:81:00.0: RDPQ mode : (disabled)
> [    3.100307] megaraid_sas 0000:81:00.0: Current firmware supports 
> maximum commands: 240 LDIO threshold: 0
> [    3.100394] megaraid_sas 0000:81:00.0: Configured max firmware 
> commands: 239
> [    3.100769] megaraid_sas 0000:81:00.0: FW supports sync cache : No
> [    3.134012] megaraid_sas 0000:81:00.0: Init cmd return status FAILED 
> for SCSI host 1
> [    3.134357] megaraid_sas 0000:81:00.0: Failed from megasas_init_fw 5896
> 
> here's from the stock megaraid_sas kernel module:
> [63] root at bfg-9000 ~> modinfo megaraid_sas
> filename:       
> /lib/modules/4.18.0-147.5.1.el8_1.x86_64/kernel/drivers/scsi/megaraid/megaraid_sas.ko.xz
> 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:     6651FDB2EDFC262104A97CA
> <snip>
> 
> thanks!
> -jeff
> 
> On Wed, Mar 18, 2020 at 11:00 AM <elrepo-request at lists.elrepo.org 
> <mailto:elrepo-request at lists.elrepo.org>> wrote:
> 
>     Send elrepo mailing list submissions to
>     elrepo at lists.elrepo.org <mailto:elrepo at lists.elrepo.org>
> 
>     To subscribe or unsubscribe via the World Wide Web, visit
>     http://lists.elrepo.org/mailman/listinfo/elrepo
>     or, via email, send a message with subject or body 'help' to
>     elrepo-request at lists.elrepo.org <mailto:elrepo-request at lists.elrepo.org>
> 
>     You can reach the person managing the list at
>     elrepo-owner at lists.elrepo.org <mailto:elrepo-owner at lists.elrepo.org>
> 
>     When replying, please edit your Subject line so it is more specific
>     than "Re: Contents of elrepo digest..."
> 
> 
>     Today's Topics:
> 
>         1. R: Re: centos8 megaraid_sas module not working for LSI
>            MegaRAID SAS-3 3008 [Fury] (danielepasquini at alice.it
>     <mailto:danielepasquini at alice.it>)
>         2. Re: centos8 megaraid_sas module not working for LSI MegaRAID
>            SAS-3 3008 [Fury] (Phil Perry)
> 
> 
>     ----------------------------------------------------------------------
> 
>     Message: 1
>     Date: Tue, 17 Mar 2020 18:54:26 +0100 (CET)
>     From: "danielepasquini at alice.it <mailto:danielepasquini at alice.it>"
>     <danielepasquini at alice.it <mailto:danielepasquini at alice.it>>
>     To: <elrepo at lists.elrepo.org <mailto:elrepo at lists.elrepo.org>>
>     Subject: [elrepo] R: Re: centos8 megaraid_sas module not working for
>              LSI MegaRAID SAS-3 3008 [Fury]
>     Message-ID: <170e9a1e79e.danielepasquini at alice.it
>     <mailto:170e9a1e79e.danielepasquini at alice.it>>
>     Content-Type: text/plain; charset="utf-8"
> 
>     Hi,
>     try kernel elrepo
>     https://elrepo.org/tiki/kernel-ml
>     Daniele
> 
> 
> 
> 
>        ----Messaggio originale----
> 
>       Da: themsley at voiceflex.com <mailto:themsley at voiceflex.com>
> 
>       Data: 17-mar-2020 18.40
> 
>       A: "EL Repo General Mailing List"<elrepo at lists.elrepo.org
>     <mailto:elrepo at lists.elrepo.org>>, "jeff
>     stevens"<raelphoto at gmail.com <mailto:raelphoto at gmail.com>>
> 
>       Ogg: Re: [elrepo] centos8 megaraid_sas module not working for LSI
>     MegaRAID SAS-3 3008 [Fury]
> 
> 
> 
>     On 17/03/2020 17:23, jeff stevens wrote:
> 
>       >   kmod-mpt3sas-28.100.00.00-2.el8_1.elrepo.x86_64
> 
> 
> 
>       That is for 8.1.1911. Is that what you're using? You will need a
>     kernel
> 
>       4.18.0-147* to use that one. If you're on 8.0 then you need to use the
> 
>       older kmod with 8_0 in its name. If you're using Stream then, tough,
> 
>       there are no kmods for that as there is no stable KABI in beta
>     kernels.
> 
> 
> 
>       Trevor
> 
> 
> 
> 
> 
> 
>       Disclaimer
>       The information contained in this communication from the sender is
>     confidential. It is intended solely for use by the recipient and
>     others authorized to receive it. If you are not the recipient, you
>     are hereby notified that any disclosure, copying, distribution or
>     taking action in relation of the contents of this information is
>     strictly prohibited and may be unlawful.
> 
>     This email has been scanned for viruses and malware, and may have
>     been automatically archived by Mimecast Ltd, an innovator in
>     Software as a Service (SaaS) for business. Providing a safer and
>     more useful place for your human generated data. Specializing in;
>     Security, archiving and compliance. To find out more Click Here.
> 
> 
> 
> 
>     -------------- next part --------------
>     An HTML attachment was scrubbed...
>     URL:
>     <http://lists.elrepo.org/pipermail/elrepo/attachments/20200317/609d7b97/attachment-0001.html>
> 
>     ------------------------------
> 
>     Message: 2
>     Date: Tue, 17 Mar 2020 21:25:44 +0000
>     From: Phil Perry <phil at elrepo.org <mailto:phil at elrepo.org>>
>     To: elrepo at lists.elrepo.org <mailto:elrepo at lists.elrepo.org>
>     Subject: Re: [elrepo] centos8 megaraid_sas module not working for LSI
>              MegaRAID SAS-3 3008 [Fury]
>     Message-ID: <04000b81-0a03-565d-cd37-87208ace8713 at elrepo.org
>     <mailto:04000b81-0a03-565d-cd37-87208ace8713 at elrepo.org>>
>     Content-Type: text/plain; charset=utf-8; format=flowed
> 
>     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>
>      > <mailto: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.
> 
> 
> 
>     ------------------------------
> 
>     _______________________________________________
>     elrepo mailing list
>     elrepo at lists.elrepo.org <mailto:elrepo at lists.elrepo.org>
>     http://lists.elrepo.org/mailman/listinfo/elrepo
> 
> 
>     End of elrepo Digest, Vol 129, Issue 6
>     **************************************
> 
> 
> _______________________________________________
> elrepo mailing list
> elrepo at lists.elrepo.org
> http://lists.elrepo.org/mailman/listinfo/elrepo
> 



More information about the elrepo mailing list