All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kashyap Desai <kashyap.desai@broadcom.com>
To: "Frédéric Pierret" <frederic.pierret@qubes-os.org>,
	"Sumit Saxena" <sumit.saxena@broadcom.com>,
	"Shivasharan Srikanteshwara"
	<shivasharan.srikanteshwara@broadcom.com>,
	jejb@linux.ibm.com, martin.petersen@oracle.com
Cc: "PDL,MEGARAIDLINUX" <megaraidlinux.pdl@broadcom.com>,
	linux-scsi@vger.kernel.org
Subject: RE: MegaRaid SAS 9341-8i issue
Date: Mon, 29 Mar 2021 11:54:18 +0530	[thread overview]
Message-ID: <c751b535d69b892fee0af8f43cfcce60@mail.gmail.com> (raw)
In-Reply-To: <ce228d78-8651-d958-d1e5-2f82cbb8113d@qubes-os.org>

[-- Attachment #1: Type: text/plain, Size: 3818 bytes --]

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@qubes-os.org]
> Sent: Sunday, March 28, 2021 10:26 PM
> To: kashyap.desai@broadcom.com; sumit.saxena@broadcom.com;
> shivasharan.srikanteshwara@broadcom.com; jejb@linux.ibm.com;
> martin.petersen@oracle.com
> Cc: megaraidlinux.pdl@broadcom.com; linux-scsi@vger.kernel.org
> 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 #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4212 bytes --]

  reply	other threads:[~2021-03-29  6:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-28 16:56 MegaRaid SAS 9341-8i issue Frédéric Pierret
2021-03-29  6:24 ` Kashyap Desai [this message]
     [not found]   ` <12383f2a-9f7b-ea95-ff52-785b91c1bac8@qubes-os.org>
2021-04-09  6:25     ` Frédéric Pierret
2021-04-12 12:04       ` Sumit Saxena
2021-04-14 10:38         ` Frédéric Pierret
2021-04-14 11:17           ` Sumit Saxena

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c751b535d69b892fee0af8f43cfcce60@mail.gmail.com \
    --to=kashyap.desai@broadcom.com \
    --cc=frederic.pierret@qubes-os.org \
    --cc=jejb@linux.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=megaraidlinux.pdl@broadcom.com \
    --cc=shivasharan.srikanteshwara@broadcom.com \
    --cc=sumit.saxena@broadcom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.