No detect LSI MegaRAID SAS 9265-8i
Free and portable utility for managing LSI MegaRAID SAS controllers
Brought to you by:
low-power
Hello. I am using the LSI MegaRAID SAS 9265-8i controller. lspci -v
03:00.0 RAID bus controller: Broadcom / LSI MegaRAID SAS 2208 [Thunderbolt] (rev 01)
Subsystem: Broadcom / LSI MegaRAID SAS 9265-8i
Flags: bus master, fast devsel, latency 0, IRQ 25
I/O ports at 2000 [disabled] [size=256]
Memory at 80400000 (64-bit, non-prefetchable) [size=16K]
Memory at 80440000 (64-bit, non-prefetchable) [size=256K]
Expansion ROM at 8fc00000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Capabilities: [68] Express Endpoint, MSI 00
Capabilities: [d0] Vital Product Data
Capabilities: [a8] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [c0] MSI-X: Enable+ Count=16 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [1e0] Secondary PCI Express
Capabilities: [1c0] Power Budgeting <?>
Capabilities: [190] Dynamic Power Allocation <?>
Capabilities: [148] Alternative Routing-ID Interpretation (ARI)
Kernel driver in use: megaraid_sas
and device:
# ls /dev/ | grep mega
megaraid_sas_ioctl_node
Kernel 6.1 or 6.18. I'm building an mfiutil last tag(1.0.15-rivoreo-r1) or master branch.
But the utility does not see my controller:
# mfiutil show adapter
mfiutil: Failed to get controller information: There is no such device
Why can't the utility see my raid controller?
Hi,
Can you try
ls -l /sys/kernel/debug/megaraid_sas/on your system? If that directory doesn't exist, tryls -l /sys/class/scsi_host/instead.It is likely that the SCSI host unit number isn't 0 on your system; please pass the
-u <unit>option accordingly. See the 'GET UNIT NUMBER OF CONTROLLERS' section of manual page mfiutil(8) for a detailed explanation.Last edit: WHR 13 hours ago
in /sys/kernel/debug/ there is nothing.
Yes, it's number 8, and now I can see the information on the controller. Maybe make an automatic detection of the unit?
Thanks for the help.
Can I ask you one more question? Is it possible to save the current firmware by reloading the new one?
It may be possible to scan
/sys/class/scsi_host/host*/proc_namefiles, and default to the lowest unit number whom the file containsmegaraid_sas. But I'm not sure whether that will be implemented.I don't think mfiutil can do that currently. Consider using a low-level tool such as megarec for that instead. Note that megarec runs in MS-DOS.
To do this, you will have to insert the controller into the x86 machine, I use the exotic vliw architecture e2k.
I see. That's a real problem with proprietary tooling. To be honest, I can't find any free management tool for this RAID controller other than mfiutil and bioctl-based tools in NetBSD and OpenBSD; so the options are quiet limited.
For LSI's SAS HBA cards, There's a source-available lsiutil which can be built for other architectures. I once used that tool to download and upload the firmware for my 3801X cards on an IBM Power System. However that tool doesn't work for MegaRAID SAS controllers.
(Reply via email was processed so slowly; I thought that message was lost...)
Last edit: WHR 11 hours ago
I'm closing this ticket as the original issue has been addressed.