Error Prints during SPI Mount

Tudor.Ambarus at microchip.com Tudor.Ambarus at microchip.com
Fri Dec 17 00:28:22 PST 2021


Hi,

On 12/17/21 9:15 AM, Pranav wrote:
> [You don't often get email from pranav.vaze at 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 at 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


More information about the linux-mtd mailing list