Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2541197imu; Tue, 6 Nov 2018 17:00:38 -0800 (PST) X-Google-Smtp-Source: AJdET5e1j1Ojglhsn2Pl9iS9ETMiD66Dz96okHikhPkA51QTepK9YabDCOOaDSAOLcIhbbOKpXt1 X-Received: by 2002:a17:902:166:: with SMTP id 93-v6mr28191928plb.68.1541552438592; Tue, 06 Nov 2018 17:00:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541552438; cv=none; d=google.com; s=arc-20160816; b=ahOWUqSwQMsnGvfOYzrF2LRnkXuPT04Nm3DEA7//iuwkJwQr8gxFkcPbicfqV1Ph3d 9ejBRb8PB0Jy9Aqxna9jN7e8APXvnUCqXMZ7qk7vYt0ZjPcRsPMkIsH5oC3V0/YhxJHy CcJsC6v12ZU4RQ9AWb4+erXwGyHSEHXEw4QebkYWYOVWU5jeHSy2dZGMFKsMEXR+Jtq9 wlzCxEkAsuwkKHZDCeRgTq/xWRaGI7J5PMTLEtOlKZurNPDkGQACUapFTGgb8/17IeSl 246gz1rGRj1ubAoC+I7f/TbiK6aaVFgRQkN9srq1tAw4mgvICbNbfLKrb+OT54b07c8A lQFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=xwTrp/lkitlMgzdbpuRi0dej9LVwVahghzetvGQPcpM=; b=v/LuiUKuFbvg6KOCn3/yh9rRTknGObcSDd7COgD2EDU9gGW40lrB9JeZjait9GM6bE QKdEjMdJUe75Q6O5BXzmg6Iysi/qbTTLeDb16kjAiWIhU94wZYUb20CQrjfzg042IhDm 8WZG/7X5pbcLJPlvnM10OOKRXuRUl4MoA6Ly5Aj0aVKve5vNRFgYRhZRk771T9MNAkJ0 PGMv+xDiz40maRqaX/QT0FLoWZBDC9/kPOAOOtATN3ERRwQdeAnyly5clmaFvCDc6EfJ suzH2Mmo2Xl/Y/LRaKHawPrLUcDQ0p/jMzeZ6tqSCIeF3YAjKQ2h31IRmE9Hes+FJ7wm r/Vg== 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 n34-v6si4972147pld.31.2018.11.06.17.00.20; Tue, 06 Nov 2018 17:00:38 -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 S2388644AbeKGK1Z (ORCPT + 99 others); Wed, 7 Nov 2018 05:27:25 -0500 Received: from ozlabs.org ([203.11.71.1]:52633 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388174AbeKGK1Y (ORCPT ); Wed, 7 Nov 2018 05:27:24 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 42qSjh65Vfz9sDL; Wed, 7 Nov 2018 11:59:20 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Mike Snitzer 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) In-Reply-To: <20181105135157.GA11485@redhat.com> References: <87tvkvddnk.fsf@concordia.ellerman.id.au> <20181105135157.GA11485@redhat.com> Date: Wed, 07 Nov 2018 11:59:20 +1100 Message-ID: <871s7xsnx3.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mike Snitzer writes: > 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) Thanks. Looks like CONFIG_SCSI_MQ_DEFAULT is default y, so new configs should pick that up by default. We must have had an old .config that didn't get that update. cheers