Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#11777 closed defect (wontfix)

Can not mount overlay on mini_fo

Reported by: mems Owned by: developers
Priority: high Milestone: Chaos Calmer 15.05
Component: base system Version: Backfire 10.03.1 RC5
Keywords: rootfs_data, mini_fo, overlay Cc:


I compiled and loaded image of stable branch version for Atheros board with Uboot loader. The image can load and start as normal. But when I try firstboot && reboot command, it occurs the errors as follows:

root@Openwrt:/proc# cat mtd

dev: size erasesize name

mtd0: 00040000 00040000 "uboot"

mtd1: 00040000 00040000 "u-boot-env"

mtd2: 00a00000 00040000 "rootfs"

mtd3: 00700000 00040000 "rootfs_data"

mtd4: 00200000 00040000 "uImage"

mtd5: 00040000 00040000 "rootfs_data"

mtd6: 00040000 00040000 "sysinfo"

mtd7: 002c0000 00040000 "reserved"

mtd8: 00040000 00040000 "caldata"

mtd9: 00c00000 00040000 "firmware"

root@Openwrt:/proc# mount

rootfs on / type rootfs (rw)

/dev/root on /rom type squashfs (ro,relatime)

proc on /proc type proc (rw,relatime)

sysfs on /sys type sysfs (rw,relatime)

tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)

tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)

devpts on /dev/pts type devpts (rw,relatime,mode=600)

root on /tmp/root type tmpfs (rw,relatime,mode=755)

mini_fo:/tmp/root on / type mini_fo (rw,relatime)

debugfs on /sys/kernel/debug type debugfs (rw,relatime)

root@Openwrt:/proc# df -h
Filesystem Size Used Available Use% Mounted on

/dev/root 3.0M 3.0M 0 100% /rom

tmpfs 30.3M 88.0K 30.2M 0% /tmp

tmpfs 512.0K 4.0K 508.0K 1% /dev

root 30.3M 140.0K 30.1M 0% /tmp/root

mini_fo:/tmp/root 3.0M 3.0M 0 100% /

root@Openwrt:/proc# firstboot && reboot

Unlocking rootfs_data ...

Erasing rootfs_data ...

mount: mounting /dev/mtdblock3

mtd5 on /overlay failed: No such file or directomini_fo: using base directory: /
mini_fo: using storage directory: /overlay

ASSERTION FAILED: hidden_file != NULL at fs/mini_fo/file.c:388 (mini_fo_mmap)

ASSERTION FAILED: hidden_file != NULL at fs/mini_fo/file.c:388 (mini_fo_mmap)

I think this error occurs because the overlay could not mount on mini_fo or rootfs_data

It would be very grateful if you could tell me how to fix this error.
Thanks a lot in advance

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by nbd

  • Resolution set to wontfix
  • Status changed from new to closed

instead of using firstboot, you can do this to reset your configuration:

. /etc/; jffs2_mark_erase rootfs_data; reboot

comment:2 Changed 4 years ago by jow

  • Milestone changed from Backfire 10.03.2 to Chaos Calmer (trunk)

Milestone Backfire 10.03.2 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.