Received: by 10.223.185.116 with SMTP id b49csp890114wrg; Fri, 16 Feb 2018 08:48:49 -0800 (PST) X-Google-Smtp-Source: AH8x226eEpm9w/6fG2gutQ+6aEWiWCP8EW33iTZIS0D2WFcw+PaQyjk7XnJlstMOzlVyDzkxHq1v X-Received: by 10.99.163.9 with SMTP id s9mr5724779pge.264.1518799729544; Fri, 16 Feb 2018 08:48:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518799729; cv=none; d=google.com; s=arc-20160816; b=i8awQEVG6afteY4rUvjR8Qo9mfG01Gx/osj0irANtD8AmeVhtw6na1PgIaqIz8o1jM tLw/MvQEJ4CkCXgy1A1FNYC4+S9aPiet6UfAjeBGQatH2KGLnrQrxUCbW5S/Q/9aruZe +8vqx0GGbrUfYB31ydd3UVyuCKdQlv/1RcP18ps4G+5Lj3oGyNmSnDNFGw4xu2SYXIuK +9NjVktfFEP820YmHLKSHX0inE+9hy+UbVGXhNa1xbnIZorfSes/y2CxcOTk0RRjg9BE rtPzIgeXoTtV2H4nCS0V8KvDCVJt0SanYq9gFHGElfWmGFRUE61UxV9cs2IwanZIC6Za DQzw== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=u99g6Tp5qKID7kfeOuw2HkaEtJpqXQSm4bYmU72jyKc=; b=s1Om6J+hoRsDsok5v896QEzAZcM5IlAdACaAnz049q/UeIaFlzhepmrpWI2x1mxTnh 8PVb4Cf+0NDy8AVWzFGP/L2o9e2OzXLtOy6LVWZU42/DV7IuwDYOtQiuK71E6nuY6mnq 8o1mchFrJWqN+jwkauk3ryCmL2SZTJVkpAxrG004Rz6hqjA87AzKNoSRX92Ctng3Qiez +SU2jyayuHHkVi64xQfAT9G07OITzlynVADcbMYMpPqsH/+lCWM1P00BcSc5H34OavzI t9at30rxfDX1y1qs97ePLEueXWI4tD++Sqk3V3ySYJM1m4BdpMmX47Y7sIPJPGWMc9+k ZNSg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m197si1481150pga.206.2018.02.16.08.48.35; Fri, 16 Feb 2018 08:48:49 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1165685AbeBOUT2 (ORCPT + 99 others); Thu, 15 Feb 2018 15:19:28 -0500 Received: from mga01.intel.com ([192.55.52.88]:15619 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1033426AbeBOUT1 (ORCPT ); Thu, 15 Feb 2018 15:19:27 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Feb 2018 12:19:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,517,1511856000"; d="scan'208";a="201501934" Received: from unknown (HELO localhost.localdomain) ([10.232.112.44]) by orsmga005.jf.intel.com with ESMTP; 15 Feb 2018 12:19:25 -0800 Date: Thu, 15 Feb 2018 13:19:20 -0700 From: Keith Busch To: Julien Durillon Cc: linux-kernel@vger.kernel.org Subject: Re: [BUG? NVME Linux-4.15] Dracut loops indefinitely with 4.15 Message-ID: <20180215201919.GA7076@localhost.localdomain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 15, 2018 at 02:49:56PM +0100, Julien Durillon wrote: > I opened an issue here: > https://github.com/dracutdevs/dracut/issues/373 for dracut. You can > read there how dracuts enters an infinite loop. > > TL;DR: in linux-4.14, trying to find the last "slave" of /dev/dm-0 > ends with a maj:min of "249:0" which does not exist in /sys/dev/block. > In linux-4.15, the same thing loops as "249:0" exists. The problem is dracut assumes the 'dev' file for an nvme namespace's parent device contains a maj:min for a block device. It's actually a character device, and its maj:min happens to also be be the same as the device mapper's block device.