Broadcom MegaRAID SAS 9341-8i , disk not visible on Ubuntu 18

gproietti

New Member
Apr 19, 2021
1
0
1
Hi,

I'm setting up a aserver equipped with a Broadcom MegaRAID SAS 9341-8i , based on Ubuntu 18 4.15.0-142-generic, on an HP Z420 machine.
I configured the controller in his Bios setup for raid configuration and volume has been created but once I start the OS I don't see the disks.

I also installed the drivers for Ubuntu from Broadcom

dpkg -i megaraid_sas-07.716.01.00-2dkms.noarch.deb


At boot time I see those messages:

dmesg | grep -i raid
[ 3.743660] megaraid_sas: loading out-of-tree module taints kernel.
[ 3.758929] megaraid_sas: module verification failed: signature and/or required key missing - tainting kernel
[ 3.912032] megaraid_sas 0000:03:00.0: BAR:0x1 BAR's base_addr(phys):0x0x00000000e7300000 mapped virt_addr:0x (ptrval)
[ 3.917282] megaraid_sas 0000:03:00.0: FW now in Ready state
[ 3.931760] megaraid_sas 0000:03:00.0: 63 bit DMA mask and 32 bit consistent mask
[ 3.931982] megaraid_sas 0000:03:00.0: firmware supports msix : (96)
[ 3.990933] megaraid_sas 0000:03:00.0: requested/available msix 5/5
[ 4.005933] megaraid_sas 0000:03:00.0: current msix/online cpus : (5/4)
[ 4.020603] megaraid_sas 0000:03:00.0: RDPQ mode : (disabled)
[ 4.034967] megaraid_sas 0000:03:00.0: Current firmware supports maximum commands: 272 LDIO threshold: 237
[ 4.063665] megaraid_sas 0000:03:00.0: Configured max firmware commands: 271
[ 4.078829] megaraid_sas 0000:03:00.0: Performance mode :Latency
[ 4.093548] megaraid_sas 0000:03:00.0: FW supports sync cache : Yes
[ 4.108501] megaraid_sas 0000:03:00.0: megasas_disable_intr_fusion is called outbound_intr_mask:0x40000009
[ 4.175330] megaraid_sas 0000:03:00.0: Init cmd return status FAILED for SCSI host 3
[ 4.221968] megaraid_sas 0000:03:00.0: Failed from megasas_init_fw 6694


Under lspci I see the controller

03:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS-3 3008 [Fury] (rev 02)
Subsystem: LSI Logic / Symbios Logic MegaRAID SAS-3 3008 [Fury]
Physical Slot: 4
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 24
NUMA node: 0
Region 0: I/O ports at d000 [ size = 256 ]
Region 1: Memory at e7300000 (64-bit, non-prefetchable) [size=64K]
Region 3: Memory at e7200000 (64-bit, non-prefetchable) [size=1M]
Expansion ROM at e7100000 [disabled] [size=1M]
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [68] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 4096 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0.000W
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 256 bytes, MaxReadReq 1024 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #0, Speed 8GT/s, Width x8, ASPM L0s, Exit Latency L0s <2us, L1 <4us
ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 8GT/s, Width x8, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Range BC, TimeoutDis+, LTR-, OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete+, EqualizationPhase1+
EqualizationPhase2+, EqualizationPhase3+, LinkEqualizationRequest-
Capabilities: [d0] Vital Product Data
Not readable
Capabilities: [a8] MSI: Enable- Count=1/1 Maskable+ 64bit+
Address: 0000000000000000 Data: 0000
Masking: 00000000 Pending: 00000000
Capabilities: [c0] MSI-X: Enable- Count=97 Masked-
Vector table: BAR=1 offset=0000e000
PBA: BAR=1 offset=0000f000
Capabilities: [100 v2] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
Capabilities: [1e0 v1] #19
Capabilities: [1c0 v1] Power Budgeting <?>
Capabilities: [148 v1] Alternative Routing-ID Interpretation (ARI)
ARICap: MFVC- ACS-, Next Function: 0
ARICtl: MFVC- ACS-, Function Group: 0
Kernel modules: megaraid_sas
I tried to install megaCLI tool, but getting error in using it:
root@hpz420-nas:~/megaCLI# /opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aALL


Exit Code: 0x00
Thanks in advance for your attention.

Note that on the same server previously I was installing a CentOS8.3 distribution facing the same issue. I then switched later to Ubuntu in the hope of solve it, but unsuccessfully.
 
Last edited: