Modify

Opened 8 years ago

Closed 8 years ago

#3525 closed defect (wontfix)

Changes of files are not saved

Reported by: petr.stetina@… Owned by: developers
Priority: normal Milestone:
Component: kernel Version:
Keywords: Cc:

Description

trunk, revision 11427, Edimax BR-6104KP
Any change to filesystem does not survive reboot.
Could this be related to message "jffs2 not ready yet using ramdisk" shown during boot?

Attachments (0)

Change History (6)

comment:1 Changed 8 years ago by florian

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

You are using the ramdisk version. Roll your squashfs image and flash it to your device.

comment:2 Changed 8 years ago by petr.stetina@…

  • Resolution worksforme deleted
  • Status changed from closed to reopened
# cat .config | grep SQ
CONFIG_USES_SQUASHFS=y
CONFIG_TARGET_ROOTFS_SQUASHFS=y

I'm almost sure that my openwrt-adm5120-br-6104k-squashfs-xmodem.bin is squashfs image. Any other suggestions?

comment:3 Changed 8 years ago by petr.stetina@…

My device is Edimax BR-6104KP but I want to use it without USB stick so I have disabled USB support. Is that correct or should I use target Edimax BR-6104K (without trailing P)?

comment:4 Changed 8 years ago by petr.stetina@…

One can expect that disabling USB mass storage support will solve this issue but disabling whole USB support is needed.

Enabled USB:

# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
tmpfs on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
mini_fo:/tmp/root on / type mini_fo (rw)
none on /proc/bus/usb type usbfs (rw)

Disabled USB:

# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
tmpfs on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
/dev/mtdblock5 on /jffs type jffs2 (rw)
mini_fo:/jffs on / type mini_fo (rw)

See difference in mini_fo.

comment:5 Changed 8 years ago by petr.stetina@…

...with disabled USB support firmware works as expected - changes are persistent.

comment:6 Changed 8 years ago by juhosg

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

The jffs2 requires 5 free erase blocks (at least). It won't work if the squashfs image is too big.

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.