LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Douglas Miller <dougmill@linux.vnet.ibm.com>
To: Justin Piszcz <jpiszcz@lucidpixels.com>,
	Bart Van Assche <bvanassche@acm.org>
Cc: LKML <linux-kernel@vger.kernel.org>, linux-scsi@vger.kernel.org
Subject: Re: kernel 5.15 does not boot with 3ware card (never had this issue <= 5.14) - scsi 0:0:0:0: WARNING: (0x06:0x002C) : Command (0x12) timed out, resetting card
Date: Mon, 1 Nov 2021 15:03:03 -0500	[thread overview]
Message-ID: <50a16ee2-dfa4-d009-17c5-1984cf0a6161@linux.vnet.ibm.com> (raw)
In-Reply-To: <CAO9zADycForyq9cmh=epw9r-Wzz=xt32vL3mePuBAPehCgUTjw@mail.gmail.com>

I have seen a problem, with a different adapter and arch but similar 
symptoms, where 5.14 worked and 5.15 did not. That was tracked down to a 
difference in IRQ domain handling between the two kernels, resulting in 
an IRQ essentially not working anymore. The fix was arch-specific and 
not x86_64, but might be of interest:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5a4b0320783a

On 11/1/21 14:48, Justin Piszcz wrote:
> On Mon, Nov 1, 2021 at 6:36 AM Justin Piszcz <jpiszcz@lucidpixels.com> wrote:
>> On Sun, Oct 31, 2021 at 7:52 PM Bart Van Assche <bvanassche@acm.org> wrote:
>>> On 10/31/21 16:19, Justin Piszcz wrote:
>>>> Diff between 5.14 and 5.15 .config files-- could it be something to do with
>>>> CONFIG_IOMMU_DEFAULT_DMA_LAZY=y?
>>> That's hard to say. Is CONFIG_MAGIC_SYSRQ enabled? If not, please enable
>>> it and hit Alt-Printscreen-t (dump task list; see also
>>> Documentation/admin-guide/sysrq.rst) and share the contents of the
>>> kernel log. If that would not be convenient, please try to bisect this
>>> issue.
>> [ .. ]
>>
>> It appears at this point in the boot process the keyboard (USB and
>> PS2) are not yet available and/or do not respond in this scenario (I
>> do have CONFIG_MAGIC_SYSRQ enabled+have used it in the past).  I'll
>> build the prior 5.15-rc(1-7) to check where it stopped working and
>> reply back to the list when I have that info.
> [..]
>
> I have tried all of the -rc's and they all hang at boot, keyboard
> input (USB/PS2) is not working at this stage in the boot process.
> Are there any thoughts on how to debug this further?
>
> [9.305954] 3u-sas: scsi0: Found an LSI 3ware 9750-2414e Controller at
> Oxfb760000, IRQ: 45.
> [9.6179701 3u-sas: scsi0: Firmware FH9X 5.12.00.016, BIOS BE9X
> 5.11.00.007, Phys: 28.
> [30.498007] scsi 0:0:0:0: WARNING: (0x06:0x002C) : Command (0x12)
> timed out, resetting card
> [71.4419581 scsi 0:0:0:0: WARNING: (0x06: 0x002C): Command (0x0) timed
> out, resetting card.
>
> # lilo
> Added 5.14.8-1
> Added 5.15.0-1 - hangs with the error above
> Added 5.15.0-rc1-1 - hangs with the error above
> Added 5.15.0-rc2-1 - hangs with the error above
> Added 5.15.0-rc3-1 - hangs with the error above
> Added 5.15.0-rc4-1 - hangs with the error above
> Added 5.15.0-rc5-1 - hangs with the error above
> Added 5.15.0-rc6-1 - hangs with the error above
> Added 5.15.0-rc7-1 *  - hangs with the error above
>
> Regards,
>
> Justin.

  reply	other threads:[~2021-11-01 20:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-31 23:19 Justin Piszcz
2021-10-31 23:52 ` Bart Van Assche
2021-11-01  8:53   ` John Garry
2021-11-01 10:36   ` Justin Piszcz
2021-11-01 19:48     ` Justin Piszcz
2021-11-01 20:03       ` Douglas Miller [this message]
2021-11-03 16:18         ` Justin Piszcz
2021-11-03 16:23           ` Bart Van Assche
2021-11-06 11:54             ` Justin Piszcz
2021-11-07 13:46               ` Justin Piszcz
2021-11-08 14:16                 ` Douglas Miller
2021-11-15 20:40                   ` Justin Piszcz

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=50a16ee2-dfa4-d009-17c5-1984cf0a6161@linux.vnet.ibm.com \
    --to=dougmill@linux.vnet.ibm.com \
    --cc=bvanassche@acm.org \
    --cc=jpiszcz@lucidpixels.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --subject='Re: kernel 5.15 does not boot with 3ware card (never had this issue <= 5.14) - scsi 0:0:0:0: WARNING: (0x06:0x002C) : Command (0x12) timed out, resetting card' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).