[FS#478] ar71xx / squashfs: unable to read id index table / jffs2: Flash size not aligned to erasesize

LEDE Bugs lede-bugs at lists.infradead.org
Tue Feb 7 05:29:07 PST 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - Bastian Bittorf (bittorf) 

Attached to Project - LEDE Project
Summary - ar71xx / squashfs: unable to read id index table / jffs2: Flash size not aligned to erasesize
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - after sysupgrade from OpenWrt r49276 to LEDE r3315 on commandline
without any issues, i had to solder serial console to a 1043nd-v1:

i have seen this before and will try to reproduce it now...is this
maybe something which was introduced by the rework if ar71xx-image building process?


Starting kernel at 80060000...

[    0.000000] Linux version 4.4.47 (firmware at bittorf-wireless.com) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3315+31-985c90d) ) #0 Tue Feb 7 12:23:39 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9132 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: board=TL-WR1043ND   oops=panic panic=10  console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 27612K/32768K available (2987K kernel code, 157K rwdata, 756K rodata, 316K init, 200K bss, 5156K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000013] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.007876] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.090589] pid_max: default: 32768 minimum: 301
[    0.095352] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.101962] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.112309] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.123108] NET: Registered protocol family 16
[    0.129353] MIPS: machine is TP-LINK TL-WR1043ND
[    0.419196] clocksource: Switched to clocksource MIPS
[    0.425959] NET: Registered protocol family 2
[    0.431445] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.438419] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.444831] TCP: Hash tables configured (established 1024 bind 1024)
[    0.451324] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.457162] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.463776] NET: Registered protocol family 1
[    0.473227] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.479514] Crashlog allocated RAM at address 0x1f00000
[    0.502181] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.508018] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.521144] io scheduler noop registered
[    0.525073] io scheduler deadline registered (default)
[    0.530601] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.537491] console [ttyS0] disabled
[    0.561109] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 12500000) is a 16550A
[    0.569809] console [ttyS0] enabled
[    0.569809] console [ttyS0] enabled
[    0.576813] bootconsole [early0] disabled
[    0.576813] bootconsole [early0] disabled
[    0.588795] m25p80 spi0.0: found s25sl064p, expected m25p80
[    0.594496] m25p80 spi0.0: s25sl064p (8192 Kbytes)
[    0.600786] 5 tp-link partitions found on MTD device spi0.0
[    0.606402] Creating 5 MTD partitions on "spi0.0":
[    0.611283] 0x000000000000-0x000000020000 : "u-boot"
[    0.618120] 0x000000020000-0x000000164040 : "kernel"
[    0.625260] 0x000000164040-0x0000007f0000 : "rootfs"
[    0.632362] mtd: device 2 (rootfs) set to be root filesystem
[    0.638096] 1 squashfs-split partitions found on MTD device rootfs
[    0.644382] 0x0000004c0000-0x0000007f0000 : "rootfs_data"
[    0.651849] 0x0000007f0000-0x000000800000 : "art"
[    0.658593] 0x000000020000-0x0000007f0000 : "firmware"
[    0.667551] Realtek RTL8366RB ethernet switch driver version 0.2.4
[    0.779217] rtl8366rb rtl8366rb: using GPIO pins 18 (SDA) and 19 (SCK)
[    0.785934] rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
[    0.996895] libphy: rtl8366rb: probed
[    1.321219] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    1.330292] NET: Registered protocol family 10
[    1.339676] NET: Registered protocol family 17
[    1.344255] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.357131] 8021q: 802.1Q VLAN Support v1.8
[    1.366037] squashfs: SQUASHFS error: unable to read id index table
[    1.372714] jffs2: Flash size not aligned to erasesize, reducing to 6656KiB
[    1.379958] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x6873 instead
[    1.389506] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x6404 instead
[    1.399037] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0x4bbc instead
[    1.408581] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0x4a00 instead
[    1.418128] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0x0400 instead
[    1.427677] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0xc006 instead
[    1.437225] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0x0400 instead
[    1.446765] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0x5613 instead
[    1.456314] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000028: 0xc293 instead
[    1.465862] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000030: 0xba93 instead
[    1.475402] jffs2: Further such events for this erase block will not be printed
[    1.484373] jffs2: Empty flash at 0x00000038 ends at 0x00000040
[    1.522062] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000: 0x1d90 instead
[    1.531603] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010004: 0x15b6 instead
[    1.541150] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010008: 0x3484 instead
[    1.550699] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001000c: 0xd3bf instead
[    1.560247] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010010: 0xf7ca instead
[    1.569796] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010014: 0x696a instead
...
[   10.991425] jffs2: Further such events for this erase block will not be printed
[   11.018585] jffs2: CLEANMARKER node found at 0x0066bfc0, not first node in block (0x00660000)
[   11.031163] jffs2: Node at 0x0066ffac with length 0x00000643 would run over the end of the erase block
[   11.040529] jffs2: Perhaps the file system was created with the wrong erase size?
[   11.048239] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00670000: 0x8b1e instead
[   11.057786] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00670004: 0xa374 instead
[   11.067332] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00670008: 0xcadf instead
[   11.076881] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0067000c: 0xf185 instead
[   11.086429] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00670010: 0xd8d6 instead
[   11.095976] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00670014: 0x0fb2 instead
[   11.105525] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00670018: 0x150e instead
[   11.115073] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0067001c: 0xc049 instead
[   11.124622] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00670020: 0xbfa0 instead
[   11.134170] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00670024: 0xf271 instead
[   11.143711] jffs2: Further such events for this erase block will not be printed
[   11.169198] jffs2: CLEANMARKER node found at 0x0067bfc0, not first node in block (0x00670000)
[   11.184761] jffs2: notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   11.200317] VFS: Mounted root (jffs2 filesystem) readonly on device 31:2.
[   11.209060] Freeing unused kernel memory: 316K (80431000 - 80480000)
[   11.215584] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[   11.238344] Rebooting in 10 seconds..�


More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=478



More information about the lede-bugs mailing list