Orphan xdatum jffs2 in vanilla 22.03.6 ramips Archer C50v4

Hello,

Reading the boot log I noticed a message about building metadata of jffs2 and reported being orphan files which keeps increasing every reboot.

I flashed again and didn't keep settings to see if that makes a difference but unfornatunatley no.

Just the first boot:

BusyBox v1.35.0 (2023-11-25 18:18:57 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 22.03.6, r20265-f85a79bcb4
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# logread | grep jff
Sat Nov 25 18:19:13 2023 kern.notice kernel: [    0.000000] Kernel command line:                                                                                         console=ttyS0,115200 rootfstype=squashfs,jffs2
Sat Nov 25 18:19:13 2023 kern.info kernel: [    0.741135] jffs2: version 2.2 (NA                                                                                        ND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Sat Nov 25 18:19:13 2023 user.notice kernel: [   11.985421] mount_root: jffs2 no                                                                                        t ready yet, using temporary tmpfs overlay
Sat Nov 25 18:19:47 2023 kern.warn kernel: [   64.769832] jffs2_scan_eraseblock(                                                                                        ): End of filesystem marker found at 0x0
Sat Nov 25 18:19:47 2023 kern.warn kernel: [   64.776832] jffs2_build_filesystem                                                                                        (): unlocking the mtd device...
Sat Nov 25 18:19:50 2023 kern.warn kernel: [   64.785118] jffs2_build_filesystem                                                                                        (): erasing all blocks after the end marker...
Sat Nov 25 18:19:59 2023 kern.notice kernel: [   76.229462] jffs2: notice: (1978                                                                                        ) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0                                                                                         unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Sat Nov 25 18:20:00 2023 daemon.err mount_root: failed to sync jffs2 overlay
root@OpenWrt:~# reboot
root@OpenWrt:~#

In the next bootlog I can see again that the counter grows...

BusyBox v1.35.0 (2023-11-25 18:18:57 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 22.03.6, r20265-f85a79bcb4
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# logread | grep jff
Fri Dec 15 15:22:17 2023 kern.notice kernel: [    0.000000] Kernel command line:                                                                                         console=ttyS0,115200 rootfstype=squashfs,jffs2
Fri Dec 15 15:22:17 2023 kern.info kernel: [    0.741131] jffs2: version 2.2 (NA                                                                                        ND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Fri Dec 15 15:22:17 2023 kern.notice kernel: [   12.055421] jffs2: notice: (423)                                                                                         jffs2_build_xattr_subsystem: complete building xattr subsystem, 6 of xdatum (0                                                                                         unchecked, 1 orphan) and 7 of xref (1 dead, 0 orphan) found.
Fri Dec 15 15:22:17 2023 user.info kernel: [   12.073653] mount_root: switching                                                                                         to jffs2 overlay
root@OpenWrt:~#

As this router is an 8/64 I'm rebooting it daily. Despite everything is working great must I take some care about it?

Also I noticed that I have gained 2KB of space after restoring the backup...

The exact sequence has been:

  • Backup (already on 22.03.6)
  • Flash 22.03.6 without keeping settings (no orphan data)
  • Reboot (1 orphan data)

Thank you

Hi,

Sorry for the extra spaces. Here is the message without spaces:

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

I have found some posts in the forum but it is unclear to me if it is an issue or not.

Someone can point me in the right direction?

Thank you