[FS#385] rampis / JFFS2-problem / Xiaomi Miwifi mini / r2919 / wrong erase size?
LEDE Bugs
lede-bugs at lists.infradead.org
Fri Jan 13 02:14:25 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 - rampis / JFFS2-problem / Xiaomi Miwifi mini / r2919 / wrong erase size?
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 flashing r2919 i can see strange message with dmesg:
root at lede:~ dmesg | grep -i jffs
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.638380] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 9.908794] jffs2: Node at 0x00000044 with length 0x00001044 would run over the end of the erase block
[ 9.918337] jffs2: Perhaps the file system was created with the wrong erase size?
[ 9.926009] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000048: 0x1044 instead
[ 9.935697] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000004c: 0x586d instead
[ 9.945403] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000050: 0x0002 instead
[ 9.955094] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000054: 0x0002 instead
[ 9.964797] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000058: 0x81a4 instead
[ 9.974488] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000060: 0xd8a2 instead
[ 9.984190] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000064: 0x9ad1 instead
[ 9.993881] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000068: 0x9ad2 instead
[ 10.003587] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000006c: 0x9ad2 instead
[ 10.013278] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000074: 0x1000 instead
[ 10.022959] jffs2: Further such events for this erase block will not be printed
[ 11.479386] jffs2: notice: (377) 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.496420] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 11.525523] jffs2: Node at 0x00000044 with length 0x00001044 would run over the end of the erase block
[ 11.535100] jffs2: Perhaps the file system was created with the wrong erase size?
[ 11.542896] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000048: 0x1044 instead
[ 11.552600] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000004c: 0x586d instead
[ 11.562304] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000050: 0x0002 instead
[ 11.571994] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000054: 0x0002 instead
[ 11.581696] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000058: 0x81a4 instead
[ 11.591387] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000060: 0xd8a2 instead
[ 11.601089] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000064: 0x9ad1 instead
[ 11.610780] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000068: 0x9ad2 instead
[ 11.620481] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000006c: 0x9ad2 instead
[ 11.630173] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000074: 0x1000 instead
[ 11.639854] jffs2: Further such events for this erase block will not be printed
[ 13.095966] jffs2: notice: (374) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 14.064922] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 14.086950] mount_root: switching to jffs2 overlay
root at lede:~
beside that, it seems that the device is working:
root at lede:~ df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 3.5M 3.5M 0 100% /rom
tmpfs 61.5M 1.1M 60.4M 2% /tmp
/dev/mtdblock6 10.8M 796.0K 10.0M 7% /overlay
overlayfs:/overlay 10.8M 796.0K 10.0M 7% /
tmpfs 512.0K 0 512.0K 0% /dev
tmpfs 2.0M 0 2.0M 0% /coredumps
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=385
More information about the lede-bugs
mailing list