From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2C6FC43381 for ; Sun, 3 Mar 2019 03:48:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C3F7B20863 for ; Sun, 3 Mar 2019 03:48:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726381AbfCCDsv (ORCPT ); Sat, 2 Mar 2019 22:48:51 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36908 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726017AbfCCDsv (ORCPT ); Sat, 2 Mar 2019 22:48:51 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3518E307D91F; Sun, 3 Mar 2019 03:48:51 +0000 (UTC) Received: from localhost (unknown [10.18.25.174]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 185C1600CD; Sun, 3 Mar 2019 03:48:49 +0000 (UTC) Date: Sat, 2 Mar 2019 22:48:48 -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: <20190303034847.GA8699@redhat.com> References: 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.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Sun, 03 Mar 2019 03:48:51 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? 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