LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Justin Piszcz" <jpiszcz@lucidpixels.com>
To: "'Bart Van Assche'" <bvanassche@acm.org>,
	"'Douglas Miller'" <dougmill@linux.vnet.ibm.com>
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: Sat, 6 Nov 2021 07:54:19 -0400	[thread overview]
Message-ID: <002401d7d305$082971b0$187c5510$@lucidpixels.com> (raw)
In-Reply-To: <e0c2935d-d961-11a0-1b4c-580b55dc6b59@acm.org>



-----Original Message-----
From: Bart Van Assche <bvanassche@acm.org> 
Sent: Wednesday, November 3, 2021 12:23 PM
To: Justin Piszcz <jpiszcz@lucidpixels.com>; Douglas Miller <dougmill@linux.vnet.ibm.com>
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

On 11/3/21 9:18 AM, Justin Piszcz wrote:
> Thanks!-- Has anyone else reading run into this issue and/or are there
> any suggestions how I can troubleshoot this further (as all -rc's have
> the same issue)?

How about bisecting this issue
(https://www.kernel.org/doc/html/latest/admin-guide/bug-bisect.html)?

[ .. ]

I was having some issues finding a list of changes with git bisect, so I started checking the kernel .config and boot parameters:

I found the option that was causing the system not to boot (tested with 5.15.0 and latest linux-git as of 6 NOV 2021)
append="3w-sas.use_msi=1"

3w-sas.use_msi defaults to 0 (so now it is using IR-IO-APIC instead of MSI but now the machine boots using 5.15)
https://lwn.net/Articles/358679/

Something between 5.14 and 5.15 changed regarding x86_64's handling of Message Signaled Interrupts.
... which causes the kernel to no longer boot when 3w-sas.use_msi=1 is specified starting with 5.15.

Regards,

Justin.





  reply	other threads:[~2021-11-06 11:54 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
2021-11-03 16:18         ` Justin Piszcz
2021-11-03 16:23           ` Bart Van Assche
2021-11-06 11:54             ` Justin Piszcz [this message]
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='002401d7d305$082971b0$187c5510$@lucidpixels.com' \
    --to=jpiszcz@lucidpixels.com \
    --cc=bvanassche@acm.org \
    --cc=dougmill@linux.vnet.ibm.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).