[JFFS2] OpenWRT 19.07.2 és TP-Link WR1043ND

Vajon mi történhet a fájlrendszerrel a fenti eszközön, ha szünetmentes áramforrása van és csak szabályos (reboot parancs) újraindítások voltak (ellenőriztem az uptime értékét)?

Más is tapasztalt hasonlót?

jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

jffs2_build_xattr_subsystem: complete building xattr subsystem, 3 of xdatum (2 unchecked, 1 orphan) and 3 of xref (1 dead, 0 orphan) found.

jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (2 unchecked, 2 orphan) and 6 of xref (2 dead, 0 orphan) found.

Hozzászólások

Szerkesztve: 2020. 05. 11., h – 21:32

Valamiért korábban leáll, mint hogy teljesen sync-elne talán. JFFS2 nem szereti a kevés szabad helyet sem, van elég (szabad) erase blockkod?

Friss flashelés. Csomagot nem telepítettem, csak néhány konfigurációs fájlt módosítottam.

root@OpenWrt:/# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 2560      2560         0 100% /rom
tmpfs                    13536        24     13512   0% /tmp
/dev/mtdblock4            3968       356      3612   9% /overlay
overlayfs:/overlay        3968       356      3612   9% /
tmpfs                      512         0       512   0% /dev
root@OpenWrt:/# cat /proc/partitions 
major minor  #blocks  name

  31        0        128 mtdblock0
  31        1       8000 mtdblock1
  31        2       1566 mtdblock2
  31        3       6433 mtdblock3
  31        4       3968 mtdblock4
  31        5         64 mtdblock5
root@OpenWrt:/# logread | grep overlay
Mon May 11 13:54:08 2020 user.info kernel: [   10.243692] mount_root: switching to jffs2 overlay
Mon May 11 13:54:08 2020 kern.warn kernel: [   10.283163] overlayfs: upper fs does not support tmpfile.

Van egy ilyen routerem nekem is itthon:
Model
TP-Link TL-WR1043ND v1
Architecture
Atheros AR9132 rev 2
Firmware Version
OpenWrt 19.07.2 r10947-65030d81f3 / LuCI openwrt-19.07 branch git-20.057.55219-13dd17f
Kernel Version
4.14.171

(Pseudo bridgenek használom relaydvel)

Most 15 nap uptimeja van és:
[   10.223378] jffs2: notice: (467) jffs2_build_xattr_subsystem: complete building xattr subsystem, 7 of xdatum (2 unchecked, 5 orphan) and 27 of xref (5 dead, 0 orphan) found.

Nyomtam rá próbára egy szabályos rebootot Luciból:
[   10.215062] jffs2: notice: (467) jffs2_build_xattr_subsystem: complete building xattr subsystem, 8 of xdatum (2 unchecked, 6 orphan) and 28 of xref (6 dead, 0 orphan) found.

Aztán még egy szabályos reboot SSH-ból:
[   10.224754] jffs2: notice: (467) jffs2_build_xattr_subsystem: complete building xattr subsystem, 9 of xdatum (2 unchecked, 7 orphan) and 29 of xref (7 dead, 0 orphan) found

sync, reboot SSH-ból:
[   10.214520] jffs2: notice: (467) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (2 unchecked, 8 orphan) and 31 of xref (8 dead, 0 orphan) found

sync && umount /overlay && reboot SSH-ból:
[   10.224204] jffs2: notice: (467) jffs2_build_xattr_subsystem: complete building xattr subsystem, 11 of xdatum (2 unchecked, 9 orphan) and 32 of xref (9 dead, 0 orphan) found.

Nekem is nő, feladom :D 

v1 nekem elhalt amikor ath79-es 19.07.2-t tettem rá. Serialt rákötve hasonló hibákat láttam, de nekem flash után fel sem állt, tftp metódussal vissza kellett rakni 18.06 aktuálisra hogy újra működjön.

Gyári volt előtte v1-en. v2 és v4 remekül ment/megy LEDE/OpenWRT vonalon, ez utánuk került elő amikor végigmentem a maradék eszközökön.

szerk: most visszakerestem, a wiki-t követve előbb feltettem ezt a német fw-t, mert utána elvileg nem ment volna teljes értékűen ha nem erről lépek openwrt-re:

NOTE: In case you have a revision > v1.10 (but not v2.x), you need to flash an elder OEM firmware release first, and only then flash OpenWrt; tested and works credits go to sayboon for his tutorial.