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=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,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 A2AE2C0044C for ; Mon, 5 Nov 2018 13:52:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 73DBF20827 for ; Mon, 5 Nov 2018 13:52:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 73DBF20827 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387410AbeKEXLu (ORCPT ); Mon, 5 Nov 2018 18:11:50 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39390 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387396AbeKEXLu (ORCPT ); Mon, 5 Nov 2018 18:11:50 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3C2563154867; Mon, 5 Nov 2018 13:51:59 +0000 (UTC) Received: from localhost (unknown [10.18.25.149]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BE058173FB; Mon, 5 Nov 2018 13:51:58 +0000 (UTC) Date: Mon, 5 Nov 2018 08:51:57 -0500 From: Mike Snitzer To: Michael Ellerman Cc: axboe@kernel.dk, linuxppc-dev@lists.ozlabs.org, satheera@in.ibm.com, Linus Torvalds , Linux Kernel Mailing List Subject: Re: System not booting since dm changes? (was Linux 4.20-rc1) Message-ID: <20181105135157.GA11485@redhat.com> References: <87tvkvddnk.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87tvkvddnk.fsf@concordia.ellerman.id.au> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Mon, 05 Nov 2018 13:51:59 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 05 2018 at 5:25am -0500, Michael Ellerman wrote: > Linus Torvalds writes: > ... > > Mike Snitzer (1): > > device mapper updates > > Hi Mike, > > Replying here because I can't find the device-mapper pull or the patch > in question on LKML. I guess I should be subscribed to dm-devel. > > We have a box that doesn't boot any more, bisect points at one of: > > cef6f55a9fb4 Mike Snitzer dm table: require that request-based DM be layered on blk-mq devices > 953923c09fe8 Mike Snitzer dm: rename DM_TYPE_MQ_REQUEST_BASED to DM_TYPE_REQUEST_BASED > 6a23e05c2fe3 Jens Axboe dm: remove legacy request-based IO path > > > It's a Power8 system running Rawhide, it does have multipath, but I'm > told it was setup by the Fedora installer, ie. nothing fancy. > > The symptom is the system can't find its root filesystem and drops into > the initramfs shell. The dmesg includes a bunch of errors like below: > > [ 43.263460] localhost multipathd[1344]: sdb: fail to get serial > [ 43.268762] localhost multipathd[1344]: mpatha: failed in domap for addition of new path sdb > [ 43.268762] localhost multipathd[1344]: uevent trigger error > [ 43.282065] localhost kernel: device-mapper: table: table load rejected: not all devices are blk-mq request-stackable ... > > Any ideas what's going wrong here? "table load rejected: not all devices are blk-mq request-stackable" speaks to the fact that you aren't using blk-mq for scsi (aka scsi-mq). You need to use scsi_mod.use_blk_mq=Y on the kernel commandline (or set CONFIG_SCSI_MQ_DEFAULT in your kernel config) Mike