All of lore.kernel.org
 help / color / mirror / Atom feed
From: <Tudor.Ambarus@microchip.com>
To: <pranav.vaze@iwavesystems.com>, <linux-mtd@lists.infradead.org>,
	<linux-mtd-request@lists.infradead.org>,
	<linux-mtd-owner@lists.infradead.org>
Subject: Re: Error Prints during SPI Mount
Date: Fri, 17 Dec 2021 08:28:22 +0000	[thread overview]
Message-ID: <18e8c967-f6b6-0c34-bc75-f2800bdd4ba7@microchip.com> (raw)
In-Reply-To: <e127aebd-06c2-98fe-3b64-b9312163e1e3@iwavesystems.com>

Hi,

On 12/17/21 9:15 AM, Pranav wrote:
> [You don't often get email from pranav.vaze@iwavesystems.com. Learn why this is important at http://aka.ms/LearnAboutSenderIdentification.]
> 
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Hi,
> While mounting the SPI below error print is observed:
> root@imx8qmmek:~#mount -t jffs2 /dev/mtdblock0 /run/media/spi
> [   34.431077] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00000000: 0xff85 instead
> [   34.478267] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00010000: 0xff85 instead
> [   34.526057] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00020000: 0xff85 instead
> [   34.573882] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00030000: 0xff85 instead
> [   34.621682] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00040000: 0xff85 instead
> [   34.669536] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00050000: 0xff85 instead
> [   34.717342] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00060000: 0xff85 instead
> [   34.765162] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00070000: 0xff85 instead
> [   34.812943] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00080000: 0xff85 instead
> [   34.860724] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00090000: 0xff85 instead
> [   34.908540] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x000a0000: 0xff85 instead
> [   34.956446] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x000b0000: 0xff85 instead
> [   35.004294] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x000c0000: 0xff85 instead
> [   35.052181] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x000d0000: 0xff85 instead
> [   35.100009] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x000e0000: 0xff85 instead
> [   35.147780] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x000f0000: 0xff85 instead
> [   35.195594] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00100000: 0xff85 instead
> [   35.243429] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00110000: 0xff85 instead
> [   35.291250] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00120000: 0xff85 instead
> [   35.338984] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00130000: 0xff85 instead
> [   35.386796] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00140000: 0xff85 instead
> [   35.434612] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00150000: 0xff85 instead
> [   35.482411] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00160000: 0xff85 instead
> 
> [   35.530215] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00170000: 0xff85 instead
> [   35.578084] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00180000: 0xff85 instead
> [   35.625760] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x00190000: 0xff85 instead
> 
> [   35.673422] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x001a0000: 0xff85 instead
> [   35.721083] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x001b0000: 0xff85 instead
> [   35.768797] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x001c0000: 0xff85 instead
> [   35.808208] usb_otg1_vbus: disabling
> [   35.819458] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x001d0000: 0xff85 instead
> 
> [   35.867134] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x001e0000: 0xff85 instead
> [   35.914781] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not
> found at 0x001f0000: 0xff85 instead
> 
> [   35.962000] jffs2: Cowardly refusing to erase blocks on filesystem
> with no valid JFFS2 nodes
> [   35.970476] jffs2: empty_blocks 0, bad_blocks 0, c->nr_blocks 32
> mount: /run/media/spi: can't read superblock on /dev/mtdblock0.
> 
> This issue is observed with 5.10 kernel.
> Please help us to fix this issue.
> 

What flash are you using? Would you please bisect and identify the offending commit?

Cheers,
ta
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

      reply	other threads:[~2021-12-17  8:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-17  7:15 Error Prints during SPI Mount Pranav
2021-12-17  8:28 ` Tudor.Ambarus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18e8c967-f6b6-0c34-bc75-f2800bdd4ba7@microchip.com \
    --to=tudor.ambarus@microchip.com \
    --cc=linux-mtd-owner@lists.infradead.org \
    --cc=linux-mtd-request@lists.infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=pranav.vaze@iwavesystems.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.