Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp5419208pxb; Sun, 7 Nov 2021 11:53:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7EHZwfDkBfpHyeRBH67f9Spet0e2UHUX/zHBmbrUCisz0+xVF5Nl0AL/obeFSP6uX1psw X-Received: by 2002:a17:907:75c1:: with SMTP id jl1mr89778174ejc.288.1636314795974; Sun, 07 Nov 2021 11:53:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636314795; cv=none; d=google.com; s=arc-20160816; b=GQhx22cOAbnsA4xtoORiNigKcy9eGR2AiUjhwKJgOA5YEitENE0ern9RjKoChVE20+ FrTbJ3zobqR80DQRlDap1Q4kkCw+PGmrod/1fcdH4vyZH51JUI7dYz9iiYoL6tnClulH bryA8SAAJOP2OMj5apwb1MlyQZI+ZxOpIf0HfGoG3LTDFnrmDDaVE007iYZLZ6jTR/W1 MgndeKx5PQv3P+f3dKX2i9WEucjTecfeT2uTFparouhW1hsRrUHVJuwxk6DyOwYWEklT Cf6Lhc5oUjNV7Qx2x4fk7iaAQuiNm756SKpjneFQwI2y/SGkxSOIxLim1lp37F+vC2tx W9gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=RqyROr9ApPxu/JZ1Q/EKRmNX6vkXC18N6kT/PZWoRP8=; b=TALjyWHMLmWqfuIEZj48GgVdG6fK1fKfNoNGEcv3gJf24JT2f8HssM2BCasIlZUiAC dbywFMu97670DkeOPK+CZn5ed/6IVKEialWO0DTweCMX0ihQS2vtC7ZPjEDYIgK7H0VW /Es+itgyru7BceZ9EzBF7HbW3leOVmHTHZOqG/gM4QjF0hLjMoH0yp5lt5NL6aW/O+qU IWlV3a7alCaZJaKUmHuCzBW2HVWsFzP77YM6qnA2bUlOZOO6HCurrzycb4FqUCGhwIVy 7WTJ1ZtbLa9D2G294tyct7P6d6sHbrZrlnPrhh0pel0qKbXNxiWX7gGmOkJOdwnNzBuC xBLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lucidpixels.com header.s=google header.b=jxeV21n7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=lucidpixels.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p7si21531297edw.260.2021.11.07.11.52.52; Sun, 07 Nov 2021 11:53:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lucidpixels.com header.s=google header.b=jxeV21n7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=lucidpixels.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235424AbhKGNtx (ORCPT + 99 others); Sun, 7 Nov 2021 08:49:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231580AbhKGNtw (ORCPT ); Sun, 7 Nov 2021 08:49:52 -0500 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FBCFC061714 for ; Sun, 7 Nov 2021 05:47:09 -0800 (PST) Received: by mail-lf1-x135.google.com with SMTP id u11so30022554lfs.1 for ; Sun, 07 Nov 2021 05:47:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lucidpixels.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RqyROr9ApPxu/JZ1Q/EKRmNX6vkXC18N6kT/PZWoRP8=; b=jxeV21n7iYgsnnLYx9dw3wR8o9vrTEbgfxVrw766SWKApkbT2W+I7me0SFf22rIeA7 EXdLLcxN6he9/zILczfiHTb4z+8xucDH+0EJql0So2j95oOI+/iX9hL9TuQ2QZwvyLJS Nk3SjeB4Z4xe378Im3Ruj0CuYpm7aZp9K0Qg0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RqyROr9ApPxu/JZ1Q/EKRmNX6vkXC18N6kT/PZWoRP8=; b=s3EhhZ2pAgiF2SiW5CwPWfIsDtIDU0WBsUYX6ikz9VNIa6JGULJMro8WiBDK3huDOf zKkssXkDwfI/T6lnuEnr2YW18Hawn1gO5iLyEHAUNcRWewLtUN83szbY+CkxhHM1hRLY OdazCxl7FfxN8FfZ/EWMk6o+8OcHRx/MeifvbId1vHmgv9amsW7N/iDfyh8pzC8MbFli QzpoiuiuKqQWtDSspHgDMpW8iN4D8A3BXZnNwVrIuNP4sy6x/hLRRFT2z3I34VAFfWKY DfwPjDMMDzeZroi96e4t+7D/aFuUp8xLmsRj8nJmkMSyOJ5CLxmt7AbxBAu4cDRIQ121 svGQ== X-Gm-Message-State: AOAM532ebDZRlm0ORLoSFA3IvCDDJyl8NcjPGeOCugqLtTwCF+xJEln3 ed3+wQLMMj3eUTw7MsI73fx2AiVmmnwy/7EA557/VOIFxyO/Yg== X-Received: by 2002:a05:6512:1323:: with SMTP id x35mr71202909lfu.613.1636292827818; Sun, 07 Nov 2021 05:47:07 -0800 (PST) MIME-Version: 1.0 References: <006a01d7cead$b9262d70$2b728850$@lucidpixels.com> <50a16ee2-dfa4-d009-17c5-1984cf0a6161@linux.vnet.ibm.com> <002401d7d305$082971b0$187c5510$@lucidpixels.com> In-Reply-To: <002401d7d305$082971b0$187c5510$@lucidpixels.com> From: Justin Piszcz Date: Sun, 7 Nov 2021 08:46:56 -0500 Message-ID: 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 To: Bart Van Assche , Douglas Miller Cc: LKML , linux-scsi@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 6, 2021 at 7:54 AM Justin Piszcz wrote: > > > > -----Original Message----- > From: Bart Van Assche > Sent: Wednesday, November 3, 2021 12:23 PM > To: Justin Piszcz ; Douglas Miller > Cc: LKML ; 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. This only partially fixes the issues, trying to reboot also results in a hard lockup on cpu 1 (this is semi-reproducible) https://installkernel.tripod.com/5.15-reboot-lockup.jpg Back to 5.14.x for now... Justin.