Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp499344imu; Tue, 20 Nov 2018 02:34:54 -0800 (PST) X-Google-Smtp-Source: AFSGD/WGoTulvUn1lvVUsVavl95B9HO7tu8G/ZQyutLFYlfuRvlQiMaRbjMlZ3Zqi3GCxaRCQjTe X-Received: by 2002:a17:902:9047:: with SMTP id w7mr1655683plz.270.1542710094121; Tue, 20 Nov 2018 02:34:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542710094; cv=none; d=google.com; s=arc-20160816; b=PjVs9fgySnK0i9Ypo0k3PPjmY1Mch2y7n9OuyFFDKnqlqZH7BTT/ydvafRXjrY93Hs KStIQcXK9ZV1zU4pFzh+2eEl/d5DzayGg77WTHvN2cUGXidvRGxwYX8AQMM7wSM/JbPm dEQp2G3e5Ihcbi/F4eoxSvSzyL7ITlt+i8WkJ/0WJKfbQbFawB+LmSEMJgS9lZa0sxQh jKSFWSnJaHDjBKY5QzN181jLgP8IbrdEUx9Ifh2E7/5rk/QMODr5D9CZDRvQgZzP70b/ MQiO+NXbe+i9YUyYafv45JBHwUKRXh1dhTDKjI0OOP2AalCtOof6HybJn9cScAAn29Ot Pbag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=D3KEtMBAdZczMTGRPFXUv6q7BTVTBgDB+R4ZRxsl/FQ=; b=xmCgQFz/vXogwWSMS931txsWtw8VcKUP7LRbF1wvhk9TIOpfvMoDEnjBJrLf0bValt 5AH7HQuRAX3LO4UAdyLoknlb7Rtfo0fl2qXQ2+tjZ7PPaCYdxEDpVa4VbZOtuTmKyXjf ejbdYNec+DzpFyb5eW4d6xsn+oL1jEzP6XwBZ69dNbAE3JdEOpUhNRYtOyyvNX5J/Y3a /iv7clcZmwudeVHNLmPrompBJSqeMR536SicWXYiNVJJkdth+ELVQhc0FPoKDFqscrFj Dr8uAfevHImU2x8A+i67QB1Rae7eg25X5cp044W5t493NlKPPyQdLvK+HPj0gk5ThtoQ OXjg== 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 u3-v6si8723830pls.137.2018.11.20.02.34.39; Tue, 20 Nov 2018 02:34:54 -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 S1728377AbeKTVCF convert rfc822-to-8bit (ORCPT + 99 others); Tue, 20 Nov 2018 16:02:05 -0500 Received: from mail.bootlin.com ([62.4.15.54]:52542 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726569AbeKTVCE (ORCPT ); Tue, 20 Nov 2018 16:02:04 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id E542020D31; Tue, 20 Nov 2018 11:33:36 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.2 Received: from xps13 (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id 9A8A42037D; Tue, 20 Nov 2018 11:33:26 +0100 (CET) Date: Tue, 20 Nov 2018 11:33:26 +0100 From: Miquel Raynal To: Krzysztof =?UTF-8?B?S296xYJvd3NraQ==?= Cc: Boris Brezillon , Janusz Krzysztofik , Stefan Agner , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [BUG BISECT] Missing MTD NAND partitions - mtd: rawnand: Move the ->exec_op() method to nand_controller_ops Message-ID: <20181120113326.0d4f061e@xps13> In-Reply-To: References: Organization: Bootlin X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krzysztof, Krzysztof Kozłowski wrote on Tue, 20 Nov 2018 10:46:33 +0100: > Hi all, > > Since few days linux-next has problem on Freescale VF500 - MTD seems > to be broken. > > Bisect pointed me to commit 7c27338c728e39ef47c83d101959aa332506969d > ("mtd: rawnand: Move the ->exec_op() method to nand_controller_ops") > as reason of failure to find MTD partitions. > > Toradex Colibri VF50 on Iris board (ARMv7, UP, Cortext-A5, NXP VF500, > 128 MB RAM, 128 MB NAND, Systemd: v232) booted from NFS root (NFSv4) > trying to mount UBIFS from NAND/MTD. Board uses VF610 NAND driver. > > The MTD partitions are missing entirely (nothing under /dev/mtd). > In the logs you can also see: > [ 1.232161] UBI error: cannot open mtd ubi2, error -2 > > Attached - dmesg.log > > Let me know if you need defconfig or any other information. Thank you very much for testing and reporting the bug! Could you please test with this diff applied [1] please? We discussed with Boris and we think it should fix your setup (and all others also impacted). [1] http://code.bulix.org/r1m99i-509201 Thanks, Miquèl