Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp194199pxb; Mon, 8 Nov 2021 12:02:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJy7llrAywp4Jo8dbGHBgp4LlmByubySOqmkg7txG00ng5e2BFWVPgYb756A0DvhjOyITUYk X-Received: by 2002:a05:6e02:20e7:: with SMTP id q7mr1233225ilv.250.1636401779705; Mon, 08 Nov 2021 12:02:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636401779; cv=none; d=google.com; s=arc-20160816; b=bFSCki7ukv2c9UsGCowVwkzdeBSuR9BjaIKXa/XLYdhyURZ5589PBDkXMjmD7bd+u9 /x6btl6LXBDR20715Qk/3nJm0J//qTW7oJKrwdHtbvD0l/jCr8ya5jGOZFZSYYz9mnHS 3kHTG5ggcQ0K5vEyKHmekFLlQ3prpTzGyr/Iigq87dGe4kTfLEBkEejCOzjrhNJAHDDO Q7UsxcFJjK29UBdHEwQoR6Zjlcqh4ioM20HDy6Q5SVDQjPRs+w9khmQWxeflwZj7lbxo 0uQrqwEv2OjDwQJYEN9kgOAeInFSFlfhMzyQaYaHVwX6Zd5dbZCdup9AAK4ePTb+fu4O B4Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=lbRT2x8gmpe/Umgyul24pIBJy6sapRjt+6I0ar72wMw=; b=O6Wr6DBRUr966+WU7b/wrrrZI9Lmq9yEB7uxnF4Z+VLvXjAiLEpneES6I/eHJvR9lp jatCZQI6GzhEw/PRaP6Q7pfmxjxCqqo2t8Kf1bM0usvLUFAdGPf47iUU1lpijnTX0mIc JLuNUizskrTy16xDFmx3TCdUrMOvMBozQo7pc1T34HMSSNvxLozyKaYMbVsyDF9bLg9l DaGhyAeanSqaw/L++yC9XVV6KcOjD+JRf9avUWdHkPEpB0cq1xDabdZPeTf2dZdXATr+ WoVwo0Q1bZW4iaqhp+xmmtnjlU0MDiDo8qVgjCPYx1HH2GAgohRtoduZ2QqxlI0j/lhc i1Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=p+bpuEH9; 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=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x11si27230270jas.123.2021.11.08.12.02.42; Mon, 08 Nov 2021 12:02:59 -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=@ibm.com header.s=pp1 header.b=p+bpuEH9; 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=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240278AbhKHOTW (ORCPT + 99 others); Mon, 8 Nov 2021 09:19:22 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:31696 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S236213AbhKHOTV (ORCPT ); Mon, 8 Nov 2021 09:19:21 -0500 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1A8CdjCt004463; Mon, 8 Nov 2021 14:16:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pp1; bh=lbRT2x8gmpe/Umgyul24pIBJy6sapRjt+6I0ar72wMw=; b=p+bpuEH94xOnyhZ0K4YrGPeLsQj+Tuvew0nbQqyTOh6JX8jcEjiToGoITQx6GO+HuOJK mGqYkUcBDu85ALA16FBqjhfOwJNtcrcKpjQTIFBfvPIYGskgoHhBXyUqtXOPDi8/Q3Jy oY8TxW7BtbwkY5wd/3yYl8cR7io+Q+rx4Sj1xRwnNErRMv+WnCtLCBsN6+z8zOAHCrOP SsQsuH+39SPAo8M7Jh0Ejba0L/oyosUnK+HuX2Kt4TG7XWfw1/yUK4zCIGjuT2c9hgbm pQKYxccxx5P10KLZyjIkTcDucuWHLM50IpkXlUkrVn/+on2673MPIrmOj5/x6jqDp9+e WQ== Received: from ppma04dal.us.ibm.com (7a.29.35a9.ip4.static.sl-reverse.com [169.53.41.122]) by mx0b-001b2d01.pphosted.com with ESMTP id 3c66b00ejq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Nov 2021 14:16:32 +0000 Received: from pps.filterd (ppma04dal.us.ibm.com [127.0.0.1]) by ppma04dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 1A8E3hAb030048; Mon, 8 Nov 2021 14:16:31 GMT Received: from b01cxnp23034.gho.pok.ibm.com (b01cxnp23034.gho.pok.ibm.com [9.57.198.29]) by ppma04dal.us.ibm.com with ESMTP id 3c5hbac4k7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Nov 2021 14:16:31 +0000 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp23034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 1A8EGUQf34734346 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 8 Nov 2021 14:16:30 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BC836B2066; Mon, 8 Nov 2021 14:16:30 +0000 (GMT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 65B32B2071; Mon, 8 Nov 2021 14:16:30 +0000 (GMT) Received: from [9.65.231.116] (unknown [9.65.231.116]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Mon, 8 Nov 2021 14:16:30 +0000 (GMT) Message-ID: <3bca3296-d998-98a5-bf8f-53b0720869d3@linux.vnet.ibm.com> Date: Mon, 8 Nov 2021 08:16:29 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 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 Content-Language: en-US To: Justin Piszcz , Bart Van Assche Cc: LKML , linux-scsi@vger.kernel.org References: <006a01d7cead$b9262d70$2b728850$@lucidpixels.com> <50a16ee2-dfa4-d009-17c5-1984cf0a6161@linux.vnet.ibm.com> <002401d7d305$082971b0$187c5510$@lucidpixels.com> From: Douglas Miller In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: wmt0OWq8KvYGzw82ozJAc39g0SZ2ORlW X-Proofpoint-GUID: wmt0OWq8KvYGzw82ozJAc39g0SZ2ORlW Content-Transfer-Encoding: 7bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-08_05,2021-11-08_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxscore=0 spamscore=0 mlxlogscore=999 lowpriorityscore=0 impostorscore=0 phishscore=0 clxscore=1015 adultscore=0 priorityscore=1501 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111080087 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The commit I referenced earlier does point back to the commit that caused the problem (that I saw). There was a series of commits related to IRQ domains, this one seems to have actually caused the problem I saw: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a5f3d2c17b07 On 11/7/21 07:46, Justin Piszcz wrote: > 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.