Hi - Can you send us full dmesg logs of each working and non-working case. ? On 3rd motherboard was it any working combination of kernel, driver and FW ? OR it never worked on 3rd mother board ? Kashyap > -----Original Message----- > From: Frédéric Pierret [mailto:frederic.pierret@xxxxxxxxxxxx] > Sent: Sunday, March 28, 2021 10:26 PM > To: kashyap.desai@xxxxxxxxxxxx; sumit.saxena@xxxxxxxxxxxx; > shivasharan.srikanteshwara@xxxxxxxxxxxx; jejb@xxxxxxxxxxxxx; > martin.petersen@xxxxxxxxxx > Cc: megaraidlinux.pdl@xxxxxxxxxxxx; linux-scsi@xxxxxxxxxxxxxxx > Subject: MegaRaid SAS 9341-8i issue > > Hi, > > I'm having issue with a MegaRaid 9341-8i card which is properly working on > two motherboards (kernel-5.10.25 and kernel-5.11.10) but not on a third > for > which I want it to work. I originally received this card with a firmware > from > 2018 and I've updated it to the latest from Broadcom website > (24.21.0-0148) > but in both cases, I've the same issue on the third motherboard: > > [ 14.013135] megaraid_sas 0000:01:00.0: BAR:0x1 BAR's > base_addr(phys):0x00000000fe800000 mapped virt_addr:0x(ptrval) > [ 14.013142] megaraid_sas 0000:01:00.0: FW now in Ready state > [ 14.013148] megaraid_sas 0000:01:00.0: 63 bit DMA mask and 32 bit > consistent mask > [ 14.013933] megaraid_sas 0000:01:00.0: firmware supports msix : > (96) > [ 14.014439] megaraid_sas 0000:01:00.0: requested/available msix 5/5 > [ 14.014445] megaraid_sas 0000:01:00.0: current msix/online cpus : > (5/4) > [ 14.014447] megaraid_sas 0000:01:00.0: RDPQ mode : (disabled) > [ 14.014453] megaraid_sas 0000:01:00.0: Current firmware supports > maximum commands: 272 LDIO threshold: 237 > [ 14.014631] megaraid_sas 0000:01:00.0: Configured max firmware > commands: 271 > [ 14.015377] megaraid_sas 0000:01:00.0: Performance mode :Latency > [ 14.015380] megaraid_sas 0000:01:00.0: FW supports sync cache : > Yes > [ 14.015388] megaraid_sas 0000:01:00.0: megasas_disable_intr_fusion is > called outbound_intr_mask:0x40000009 > [ 14.037098] megaraid_sas 0000:01:00.0: Init cmd return status FAILED > for > SCSI host 2 > [ 14.037762] megaraid_sas 0000:01:00.0: Failed from megasas_init_fw 6399 > > Trying to rmmod then modprobe leads to something that looks like stuck > state or such: > > [ 570.269770] megaraid_sas 0000:01:00.0: BAR:0x1 BAR's > base_addr(phys):0x00000000fe800000 mapped > virt_addr:0x00000000f42ba0e1 [ 570.269775] megaraid_sas 0000:01:00.0: > Waiting for FW to come to ready state [ 570.269780] megaraid_sas > 0000:01:00.0: FW in FAULT state, Fault code:0x10000 subcode:0x0 > func:megasas_transition_to_ready [ 570.269782] megaraid_sas > 0000:01:00.0: System Register set: > (***) > [ 570.269908] megaraid_sas 0000:01:00.0: Failed to transition controller > to > ready from megasas_init_fw! > [ 570.269919] megaraid_sas 0000:01:00.0: Failed from megasas_init_fw 639 > > The motherboard which is not working is a recent one: Asrock X570D4U-2L2T > with a Ryzen 3900XT. > > I've read a lot of things on internet saying that might be CSM issues or > such > but no luck with that. On the two working motherboards, it works in > legacy/UEFI only. I've also tested the card on a x16 or x8 slots, the same > result. I've attempted to build megaraid driver provided from Broadcom > (07.716.01.00-2). Up to a slight adjustment in a log call using older > attribute > "host_busy", I'm hitting an unrelated issue due to KBUILD_CFLAGS recursion > in arch/x86/Makefile. > > After hours and hours of testing, I'm currently out of ideas. Does anyone > has > an idea or could help me into adding useful debug info in the driver or > such? > > Thank very much in advance, > Frédéric
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature