Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2969442imb; Mon, 4 Mar 2019 20:08:19 -0800 (PST) X-Google-Smtp-Source: AHgI3IanuZIlRDO2oz9eB7aTVEsVkl1+DAg5T3LwRlFRyagKMgnrQ+TTlmJJWk569FQmAsNe1u1+ X-Received: by 2002:aa7:81d7:: with SMTP id c23mr24273745pfn.146.1551758899677; Mon, 04 Mar 2019 20:08:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551758899; cv=none; d=google.com; s=arc-20160816; b=ZTRZK7TwHYp3ZpUD1D0Ks72ILrw61MJ3tZpaOptzHHiCNSSPzpieSMSDUBWGOAOhh4 t3x01XSM4N62HO3AK1L/K74Tq8RSfTyVpsIMk29puiIfZ0mHWH3fCpy8/SlRLwBfXod6 UBqKehMRTCTqKqtCqQiFtwXZ/kGPwWPygqMlDDQw0GM/1kSLkUV3wYxNhJDMN19C31pa 65YZtLYn7uU6m5oRTzglweNrHtlD7A/XV+H+cYUkrrCVnqLQQrP9BT5gqtaFn44V5aWJ 5a8OrHmpyQOrUfpPXHDhbWnGL+Of3Zxnv9lnqVlXW38aYXD469BCXPspg/hJiIeSVuHx iXSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=iTIOdnNCxEv14k1p9anVaEZ3YRlFXFpoODkFmpJdAK4=; b=ZjkLzAW/zrZZw7mEqTH3yxlUEK3zzE2WbdSJoFgQ42s1hdwFwTF6ltxS6yCkMTh4Cs zRPErD+qNkfPRyFNhPhnATXcJ0WKGAreLZxlLGfseugfYsUHIKcSQCgKjHgWYl0GNno1 5/umwHkqeE9q7Qk27bAgjvAh/3XvPrHeg4yJaAX7bx1S3B0tOWPZFT+dDuZrNaCedl8L TPjntO6JHFzmsvDAiph2T+2F/Mq1xOe935dtS24nzC0vJR55WvR8ARh1jbnk+DtpECaJ 9cbtRU0GvQ4pUxKMMrpLJpF5bDwIG0dEENcjK+IsauEvCxSnVD6gGg9w1aH9ComH8LwP Uvaw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w12si7117770pfn.95.2019.03.04.20.08.04; Mon, 04 Mar 2019 20:08:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727060AbfCEEHR (ORCPT + 99 others); Mon, 4 Mar 2019 23:07:17 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45336 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726942AbfCEEHQ (ORCPT ); Mon, 4 Mar 2019 23:07:16 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 269F359449; Tue, 5 Mar 2019 04:07:16 +0000 (UTC) Received: from localhost (unknown [10.18.25.174]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E6A3060F8D; Tue, 5 Mar 2019 04:07:15 +0000 (UTC) Date: Mon, 4 Mar 2019 23:07:15 -0500 From: Mike Snitzer To: Alexander Duyck Cc: linux-next@vger.kernel.org, LKML , dm-devel@redhat.com Subject: Re: x86 VM Boot hang with latest linux-next Message-ID: <20190305040714.GB21739@redhat.com> References: <20190303034847.GA8699@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Tue, 05 Mar 2019 04:07:16 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 03 2019 at 12:06pm -0500, Alexander Duyck wrote: > On Sat, Mar 2, 2019 at 7:48 PM Mike Snitzer wrote: > > > > On Sat, Mar 02 2019 at 6:34pm -0500, > > Alexander Duyck wrote: > > > > > So I have been seeing an issue with an intermittent boot hang on my > > > x86 KVM VM with the latest linux-next and have bisected it down to the > > > following commit: > > > 1efa3bb79d3de8ca1b7f6770313a1fc0bebe25c7 is the first bad commit > > > commit 1efa3bb79d3de8ca1b7f6770313a1fc0bebe25c7 > > > Author: Mike Snitzer > > > Date: Fri Feb 22 11:23:01 2019 -0500 > > > > > > dm: must allocate dm_noclone for stacked noclone devices > > > > > > Otherwise various lvm2 testsuite tests fail because the lower layers of > > > the stacked noclone device aren't updated to allocate a new 'struct > > > dm_clone' that reflects the upper layer bio that was issued to it. > > > > > > Fixes: 97a89458020b38 ("dm: improve noclone bio support") > > > Reported-by: Mikulas Patocka > > > Signed-off-by: Mike Snitzer > > > > > > What I am seeing is in about 3 out of 4 boots the startup just hangs > > > at the filesystem check stage with the following message: > > > [ OK ] Reached target Local File Systems (Pre). > > > Starting File System Check on /dev/…127-ad57-426f-bb45-363950544c0c... > > > [ **] (1 of 2) A start job is running for…n on device 252:2 (19s / no limit) > > > > > > I did some googling and it looks like a similar issue has been > > > reported for s390. Based on the request for data there I have the > > > following info: > > > [root@localhost ~]# dmsetup ls --tree > > > fedora-swap (253:1) > > > └─ (252:2) > > > fedora-root (253:0) > > > └─ (252:2) > > > > > > [root@localhost ~]# dmsetup table > > > fedora-swap: 0 4194304 linear 252:2 2048 > > > fedora-root: 0 31457280 linear 252:2 4196352 > > > > Thanks, which version of Fedora are you running? > > The VM is running Fedora 27 with a kernel built off of latest > linux-next as of March 1st. > > > Your case is more straightforward in that you're clearly using bio-based > > DM linear (which was updated to leverage "noclone" support); whereas the > > s390 case is using request-based DM which isn't impacted by the commit > > in question at all. > > > > I'll attempt to reproduce first thing Monday. > > > > Mike > > Thanks. The behavior of it has me wondering if we are looking at > something like an uninitialized data issue or something like that > since as I mentioned I don't see this occur on every boot, just on > most of them. So every now and then I can boot up the VM without any > issues, but most of the time it will boot and then get stuck waiting > on jobs that take forever. I just copied you on another related thread, but for the benefit of anyone on LKML, please see the following for a fix that works for me: https://www.redhat.com/archives/dm-devel/2019-March/msg00027.html