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=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED 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 84D07C04EBC for ; Tue, 20 Nov 2018 10:33:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 51F1220671 for ; Tue, 20 Nov 2018 10:33:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 51F1220671 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.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 S1728391AbeKTVCF convert rfc822-to-8bit (ORCPT ); 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) 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