#19564: after reboot - reset to defaults / firstboot by accident
------------------------+------------------------
  Reporter:  bittorf@…  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  highest    |  Milestone:
 Component:  packages   |    Version:  Trunk
Resolution:             |   Keywords:
------------------------+------------------------

Comment (by bittorf@…):

 again on r45711 - dmesg directly after reboot on again "dumb" device:

 {{{
 [    3.810000] hub 1-0:1.0: USB hub found
 [    3.820000] hub 1-0:1.0: 1 port detected
 [    4.140000] usb 1-1: new high-speed USB device number 2 using ehci-
 platform
 [    4.240000] init: - preinit -
 [    4.450000] random: procd urandom read with 7 bits of entropy available
 [    4.710000] ar71xx: pll_reg 0xb8050014: 0x1a000000
 [    4.710000] eth0: link up (1000Mbps/Full duplex)
 [    7.970000] jffs2: notice: (335) jffs2_build_xattr_subsystem: complete
 building xattr subsystem, 1 of xdatum (0 unc
 hecked, 1 orphan) and 1 of xref (1 dead, 0 orphan) found.
 [    7.990000] mount_root: overlay filesystem has not been fully
 initialized yet
 [    9.050000] mount_root: switching to jffs2 overlay
 [    9.130000] eth0: link down
 [    9.140000] procd: - early -
 }}}

 see: "overlay filesystem has not been fully initialized yet"
 this message comes from "libfstools/overlay.c" and it
 seems there is a wrong detection in line 334++

 fs_state_get("/tmp/overlay") returns
 "FS_STATE_UNKNOWN" and sets "FS_STATE_PENDING" so it fires
 'overlay_delete'.

 maybe JFFS2 needs some time and we query too early?

--
Ticket URL: <https://dev.openwrt.org/ticket/19564#comment:21>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to