Very old hardware MegaRaid RAID support

Hello

I’m trying to install RockyLinux 9.6 and I’m stuck.

In Anaconda, it can’t find my hard disk. It is a logical Raid 10 volume behind LSI MegaRAID SAS Raid controller.

When I’m giving a look at the kernel messages I get this:

[    8.427163] Warning: Disabled Hardware is detected: megaraid_sas:1000:0060 @ 0000:02:00.0 is no longer enabled in this release.
[    8.427253] megaraid_sas: probe of 0000:02:00.0 failed with error -13

I thought I might need a Driver Update Disk, but what’s the point if the megaraid_sas is already there ?


Is there a way to enable old hardware on the megaraid_sas module ? I looked at modinfo and could not find a relevant parameter.

filename:       /lib/modules/5.14.0-570.17.1.el9_6.x86_64/kernel/drivers/scsi/megaraid/megaraid_sas.ko.xz
description:    Broadcom MegaRAID SAS Driver
author:         megaraidlinux.pdl@broadcom.com
version:        07.727.03.00-rc1
license:        GPL
rhelversion:    9.6
srcversion:     FA53FF3D41F1F2EAD6234DF
alias:          pci:v00001000d000010E7sv*sd*bc*sc*i*
alias:          pci:v00001000d000010E4sv*sd*bc*sc*i*
alias:          pci:v00001000d000010E3sv*sd*bc*sc*i*
alias:          pci:v00001000d000010E0sv*sd*bc*sc*i*
alias:          pci:v00001000d000010E6sv*sd*bc*sc*i*
alias:          pci:v00001000d000010E5sv*sd*bc*sc*i*
alias:          pci:v00001000d000010E2sv*sd*bc*sc*i*
alias:          pci:v00001000d000010E1sv*sd*bc*sc*i*
alias:          pci:v00001000d0000001Csv*sd*bc*sc*i*
alias:          pci:v00001000d0000001Bsv*sd*bc*sc*i*
alias:          pci:v00001000d00000017sv*sd*bc*sc*i*
alias:          pci:v00001000d00000016sv*sd*bc*sc*i*
alias:          pci:v00001000d00000015sv*sd*bc*sc*i*
alias:          pci:v00001000d00000014sv*sd*bc*sc*i*
alias:          pci:v00001000d00000053sv*sd*bc*sc*i*
alias:          pci:v00001000d00000052sv*sd*bc*sc*i*
alias:          pci:v00001000d000000CFsv*sd*bc*sc*i*
alias:          pci:v00001000d000000CEsv*sd*bc*sc*i*
alias:          pci:v00001000d0000005Fsv*sd*bc*sc*i*
alias:          pci:v00001000d0000005Dsv*sd*bc*sc*i*
alias:          pci:v00001000d0000002Fsv*sd*bc*sc*i*
alias:          pci:v00001000d0000005Bsv*sd*bc*sc*i*
alias:          pci:v00001028d00000015sv*sd*bc*sc*i*
alias:          pci:v00001000d00000413sv*sd*bc*sc*i*
alias:          pci:v00001000d00000071sv*sd*bc*sc*i*
alias:          pci:v00001000d00000073sv*sd*bc*sc*i*
alias:          pci:v00001000d00000079sv*sd*bc*sc*i*
alias:          pci:v00001000d00000078sv*sd*bc*sc*i*
alias:          pci:v00001000d0000007Csv*sd*bc*sc*i*
alias:          pci:v00001000d00000060sv*sd*bc*sc*i*
alias:          pci:v00001000d00000411sv*sd*bc*sc*i*
depends:
retpoline:      Y
intree:         Y
name:           megaraid_sas
vermagic:       5.14.0-570.17.1.el9_6.x86_64 SMP preempt mod_unload modversions
sig_id:         PKCS#7
signer:         Rocky kernel signing key
sig_key:        F5:03:24:D1:25:4A:DE:82:57:F2:1C:EE:7C:D6:C7:14:28:E3:FF
sig_hashalgo:   sha256
signature:      65:44:DB:4A:C6:A5:42:14:C6:07:24:42:6C:9E:BC:49:F3:7F:EB:DB:
                50:3B:FD:2F:2E:2E:79:EB:0C:1E:BB:F4:C2:4F:A4:72:DC:38:ED:4A:
                A1:63:BB:9D:33:EC:E3:87:CF:3E:C3:7C:7C:20:5E:E3:AD:55:EC:C9:
                9E:17:DD:53:E6:40:2C:77:7D:2D:EB:AE:1D:E6:47:0A:6F:71:BE:8F:
                67:12:9C:73:80:45:E0:A2:A4:C9:71:52:52:88:6F:BD:5B:DB:61:FF:
                4E:25:6E:C4:02:66:AE:11:83:4F:02:CC:19:C7:6C:D8:CF:C8:53:37:
                89:9D:4D:03:F5:11:37:7F:9E:BA:1A:9A:D4:54:17:56:CF:54:8D:CC:
                54:80:FC:C2:53:C6:52:9B:B7:30:31:43:13:C2:C7:2B:64:09:52:F7:
                B2:FA:A8:06:DB:9A:0A:9C:7B:D0:96:2B:11:FE:B7:9B:6E:06:21:A1:
                5C:F3:3C:19:AA:EF:38:43:FF:13:D3:97:F0:C4:98:54:99:61:FC:95:
                DA:67:69:A4:B2:41:65:5B:C5:2B:C0:12:21:20:44:2F:84:25:FE:9F:
                56:62:7F:4C:62:9C:7D:01:3B:92:FD:6B:F9:81:EE:21:31:4E:54:28:
                5C:89:BF:73:DC:37:C8:9C:D7:C9:C0:E2:D9:90:CC:2E:78:7A:B9:1E:
                65:C5:29:F7:F2:A9:03:84:C8:DF:5E:05:AB:40:71:73:8B:FF:80:04:
                42:41:AD:97:63:B8:FA:CF:4A:BA:F2:B9:93:0A:2E:4A:17:22:BB:E9:
                4C:D1:43:3A:FA:AB:AA:98:F7:92:ED:EB:32:87:52:A7:16:00:36:CA:
                7A:61:4A:53:D9:B0:64:79:9C:90:E9:A1:21:11:C9:B6:4B:35:9E:D4:
                97:A0:9E:6C:AA:40:40:7A:20:62:4E:4C:F5:02:12:97:1F:70:21:52:
                77:2D:79:87:2C:B2:27:99:40:90:A8:69:8F:0F:98:91:9F:C8:91:B9:
                DF:2B:A6:82
parm:           lb_pending_cmds:Change raid-1 load balancing outstanding threshold. Valid Values are 1-128. Default: 4 (int)
parm:           max_sectors:Maximum number of sectors per IO command (int)
parm:           msix_disable:Disable MSI-X interrupt handling. Default: 0 (int)
parm:           msix_vectors:MSI-X max vector count. Default: Set by FW (int)
parm:           allow_vf_ioctls:Allow ioctls in SR-IOV VF mode. Default: 0 (int)
parm:           throttlequeuedepth:Adapter queue depth when throttled due to I/O timeout. Default: 16 (int)
parm:           resetwaittime:Wait time in (1-180s) after I/O timeout before resetting adapter. Default: 180s (int)
parm:           smp_affinity_enable:SMP affinity feature enable/disable Default: enable(1) (int)
parm:           rdpq_enable:Allocate reply queue in chunks for large queue depth enable/disable Default: enable(1) (int)
parm:           dual_qdepth_disable:Disable dual queue depth feature. Default: 0 (int)
parm:           scmd_timeout:scsi command timeout (10-90s), default 90s. See megasas_reset_timer. (int)
parm:           perf_mode:Performance mode (only for Aero adapters), options:
                0 - balanced: High iops and low latency queues are allocated &
                interrupt coalescing is enabled only on high iops queues
                1 - iops: High iops queues are not allocated &
                interrupt coalescing is enabled on all queues
                2 - latency: High iops queues are not allocated &
                interrupt coalescing is disabled on all queues
                default mode is 'balanced' (int)
parm:           event_log_level:Asynchronous event logging level- range is: -2(CLASS_DEBUG) to 4(CLASS_DEAD), Default: 2(CLASS_CRITICAL) (int)
parm:           enable_sdev_max_qd:Enable sdev max qd as can_queue. Default: 0 (int)
parm:           poll_queues:Number of queues to be use for io_uring poll mode.
                This parameter is effective only if host_tagset_enable=1 &
                It is not applicable for MFI_SERIES. &
                Driver will work in latency mode. &
                High iops queues are not allocated &
                 (int)
parm:           host_tagset_enable:Shared host tagset enable/disable Default: enable(1) (int)

Thank you !!

This is because certain device ID’s have been disabled.

It appears your particular device lands on this page, according to the device ID. The solution to this would be to use a DUD to have the driver available to you during the installation.

9.6: https://elrepo.org/linux/dud/el9/x86_64/dd-megaraid_sas-07.727.03.00-3.el9_6.elrepo.iso
9.7: https://elrepo.org/linux/dud/el9/x86_64/dd-megaraid_sas-07.734.00.00-1.el9_7.elrepo.iso

Just ensure the ISO is mounted alongside the installation ISO. After installation, you will need to update your system and install the kmod.

9.6: https://elrepo.org/linux/elrepo/el9/x86_64/RPMS/kmod-megaraid_sas-07.727.03.00-3.el9_6.elrepo.x86_64.rpm
9.7: https://elrepo.org/linux/elrepo/el9/x86_64/RPMS/kmod-megaraid_sas-07.734.00.00-1.el9_7.elrepo.x86_64.rpm

Or…

% dnf update
% dnf install elrepo-release
% dnf install kmod-megaraid_sas

Rocky Linux 9.6 is end of life. Please install the latest version available to ensure proper support and an updated system.

4 Likes

Alright I’m gonna try this and will keep you updated

Thank you for your time @label

1 Like

It’s working using the DUD link you provided thank you :slightly_smiling_face:

1 Like