Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1290813pxb; Fri, 20 Aug 2021 02:17:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8p0O44iY8CMnJW6r8UKigRdula0HRqP7wQJaJ0xOsIwzGa651RA4t6/GeBApj0pP3CS4D X-Received: by 2002:a5d:87d2:: with SMTP id q18mr8200610ios.78.1629451079288; Fri, 20 Aug 2021 02:17:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629451079; cv=none; d=google.com; s=arc-20160816; b=iQnsxSSvTf8+zCz9qutI2z1woZZi3VQr92Yux60lcp/1ER7T2uAOdkbqLlBhpGcs4F PSDUcm5U9PAz5sFPJ5Gnl9pNfPovMzGAd61m2EDCDr7przN2+lgNp7flYf+M4TDtmK1A r+8zqgmwaimlT5FPFdUWHnGepamo1YSmEs6r+fO1e9NJqWXoESIJoT6qKJUdQJW9yZLr 4oi9EENBJZPsJfXY6TUkYvoxmgS1YB6XcSeY34117H7+DDULeyVRWkYQqIxJDwXYoazT 3nCjmZEuKJkk86Qhs3bvGvprE4UzPW10Rr9x72MDi8gCMAtLy/z+Zw9jQm/DQeeMKmtG JjTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=3xIDzC0IE5++qqAGvFfo6zeBE13Mdu2DObIQuxOc0VM=; b=RswJY8WPP5bFi3zeFe99pphzrWxA3H8VYoPVhxqa/4jXROLwzMTklM9xbbQ4VjxXIA 2gkLwQ9uBYOF/cKiq2t1TkZ4kTE0vumSSSx+QueTIjAqBDcHsZwl8heuxhjoNStRZSDV henLDIreTI+3fEc67th82Y9GZO4KjPli8ytAeWFJ7AkDA242LNhP7ct2BaClWGNjS4av 4iYTtmALC8iRt3Fj0og/ZmCkHsjloRgNq6wv6upNwJuC7HlssO/ov0zbO8iiaiYgCMEs 6EbpbQ9flteS0bjz1qe7eY7How2mIU9Z3ft49XCg3bNC1f0XtxTSgwXpWU1l042T3bv/ H5iQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t195si2595664iof.13.2021.08.20.02.17.47; Fri, 20 Aug 2021 02:17:59 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235559AbhHTJRI (ORCPT + 99 others); Fri, 20 Aug 2021 05:17:08 -0400 Received: from verein.lst.de ([213.95.11.211]:40267 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233437AbhHTJRH (ORCPT ); Fri, 20 Aug 2021 05:17:07 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id DA66A67373; Fri, 20 Aug 2021 11:16:27 +0200 (CEST) Date: Fri, 20 Aug 2021 11:16:27 +0200 From: Christoph Hellwig To: Oliver Sang Cc: Christoph Hellwig , "Martin K. Petersen" , LKML , Linux Memory Management List , lkp@lists.01.org, lkp@intel.com Subject: Re: [scsi] 61b3baad24: last_state.load_disk_fail Message-ID: <20210820091627.GA6035@lst.de> References: <20210729082528.GA26618@xsang-OptiPlex-9020> <20210820074013.GC29369@xsang-OptiPlex-9020> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210820074013.GC29369@xsang-OptiPlex-9020> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 20, 2021 at 03:40:13PM +0800, Oliver Sang wrote: > Hi, Christoph Hellwig, > > recently we checked this commit again, and find it has a new commit id > as well as the parent: > f2542a3be3277 scsi: scsi_ioctl: Move the "block layer" SCSI ioctl handling to drivers/scsi > 7353dc06c9a8e scsi: scsi_ioctl: Simplify SCSI passthrough permission checking > > so we tested it again, and found the issue is still reproduced in > our environment persistently. > > we also tried another platform, and could reproduce, too. > Intel(R) Xeon(R) CPU E7-8890 v3 @ 2.50GHz > > in parent dmesg (attached as dmesg-7353dc06c9.xz), > it's clear that the disk mounted without problem: > [ 31.549031][ T1791] XFS (sda1): Mounting V5 Filesystem > [ 31.591680][ T1791] XFS (sda1): Starting recovery (logdev: internal) > [ 31.608990][ T1791] XFS (sda1): Ending recovery (logdev: internal) > [ 31.625155][ T1791] xfs filesystem being mounted at /opt/rootfs supports timestamps until 2038 (0x7fffffff) > > but in the dmesg for commit f2542a3be3277 (attached as dmesg-f2542a3be3.xz), > which is from the identical test environment except kernel, > just failed like below: > [ 62.411699][ T1661] can't load the disk /dev/disk/by-id/ata-INTEL_SSDSC2BA400G4_BTHV634503K3400NGN-part1, skip testing... Really strange. This message is printed when wait_load_disk fails. The kernel has probed all disks before, then apparently something is installed using dpkg and then it waits for this rootfs (which obviously isn't the root at that point). Also at least on my debian testing and oldstable systems a plain blkid call never even calls SG_IO or related ioctls (which makes sense given that it looks at the file system labels). Does tis issue just show up on one particular system or on multiple different ones?