From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.bootlin.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gP3Lr-0006ZM-8M for linux-mtd@lists.infradead.org; Tue, 20 Nov 2018 10:33:52 +0000 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: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Krzysztof, Krzysztof Koz=C5=82owski wrote on Tue, 20 Nov 2018 10:46:33 +0100: > Hi all, >=20 > Since few days linux-next has problem on Freescale VF500 - MTD seems > to be broken. >=20 > 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. >=20 > 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. >=20 > 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 >=20 > Attached - dmesg.log >=20 > 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=C3=A8l