19.07 -- Report devices here that can't save settings

Issue present in device Model: TP-Link TL-WDR3600 v1 Architecture: Atheros AR9344 rev 2:

# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
/dev/mtdblock4 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)

# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.5M      2.5M         0 100% /rom
tmpfs                    60.8M      1.1M     59.7M   2% /tmp
tmpfs                    60.8M     60.0K     60.7M   0% /tmp/root
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock4            3.9M      3.6M    244.0K  94% /overlay
overlayfs:/overlay        3.9M      3.6M    244.0K  94% /

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00010000 "u-boot"
mtd1: 007d0000 00010000 "firmware"
mtd2: 00185dad 00010000 "kernel"
mtd3: 0064a250 00010000 "rootfs"
mtd4: 003e0000 00010000 "rootfs_data"
mtd5: 00010000 00010000 "art"

No, it's not. The tl-wdr3600 has 8 MB flash, which -while not plenty- is sufficient for modern OpenWrt, now and within the immediate future. Your paste shows that you have a 3.9 MB large overlay at your disposal, but at the same time you already filled up 3.6 MB of that, leaving you with only 244 KB 'free' space. With jffs2 needing at least 5 free erase and you being down to 4 and under, that is a problem - you need to reset (firstboot) your device to recovery and keep a closer eye on your flash usage in the future. But your device is not one with systemic flash shortage, as 4 MB flash devices would be. 8 MB isn't much, it needs some attention to keep it at bay, but it is workable.

There must be something wrong with the sysupgrade image. I literally just did a firstboot reset and the device is full and not saving settings between reboots.

I have the same device, no issue here.

Try this builds.

Edimax 3G-6200n z OpenWrt 19.07.2 lost settings after reboot or turnoff. It doesn't create JFFS.

Steps:

  1. Download the latest version OpenWrt 19.07.2 to Edimax 3G-6200n.
  2. Set e.g. the password to the router and/or turn on the WiFi.
  3. Reboot the router with the reboot option in OpenWrt.
  4. The router has no settings previously saved - the status is as right after installing fresh OpenWRT - no password, no WiFi enabled, default settings.

Problem with JFFS.

root@OpenWrt:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.0M      3.0M         0 100% /rom
tmpfs                    13.8M    284.0K     13.5M   2% /tmp
tmpfs                    13.8M     60.0K     13.7M   0% /tmp/root
overlayfs:/tmp/root      13.8M     60.0K     13.7M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev

root@OpenWrt:~# free
              total        used        free      shared  buff/cache   available
Mem:          28276       14008        5224         344        9044       11872
Swap:             0           0           0
#here I added the password and turned on the WiFi network - the free RAM decreased
root@OpenWrt:~# free
              total        used        free      shared  buff/cache   available
Mem:          28276       15632        3496         368        9148       10236
Swap:             0           0           0
root@OpenWrt:~#

Thanks for your feedback.
Can you determine which is the last working OpenWrt release that is working?

1 Like

Yes, I can if it will be helpfull. I will find free time and check other versions of software for my Edimax.

1 Like

@tmomas, I've checked many versions: 19.07.1, 19.07.0, 18.06.8, 18.06.7, 18.06.6, 18.06.0. In all these versions problem is as I wrote above.
Version 17.01.7 (lede-17.01.7-ramips-rt305x-3g-6200n-squashfs-sysupgrade.bin) works perfect and save settings after reboot.

login as: root
root@192.168.1.1's password:


BusyBox v1.25.1 () built-in shell (ash)

. .. _________
. . /. . . . /\. . . _. . ___ ___. ___
.. /. LE. . /. \. . | |. | __|.. \| __|
. /. . DE. /. . \.. | |__| _|| |) | _|
 /________/. LE. \. |____|___|___/|___|. . . . . . . . . . . lede-project.org
 \. . . . \.. DE /
. \. . LE. \. . /. -----------------------------------------------------------
.. \. DE. . \. /. . Reboot (17.01.7, r4030-6028f00df0)
. . \________\/. . -----------------------------------------------------------

root@OpenWrt:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/mtdblock7 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root@OpenWrt:~# df -h
Filesystem. . . . . . . . Size. . . Used Available Use% Mounted on
/dev/root. . . . . . . .. 2.3M. . . 2.3M. . . .. 0 100% /rom
tmpfs. . . . . . . . . . 14.1M. . 420.0K. .. 13.6M.. 3% /tmp
/dev/mtdblock7. . . . . 384.0K. . 240.0K. . 144.0K. 63% /overlay
overlayfs:/overlay. . . 384.0K. . 240.0K. . 144.0K. 63% /
tmpfs. . . . . . . . .. 512.0K. . . .. 0. . 512.0K.. 0% /dev
root@OpenWrt:~# free
. . . . . .. total. . .. used. . .. free. .. shared. . buffers. .. cached
Mem:. . . .. 28780. . . 16624. . . 12156. . . . 420. . .. 1896. . .. 5708
-/+ buffers/cache:. . .. 9020. . . 19760
Swap:. . . . . . 0. . . . . 0. . . . . 0
root@OpenWrt:~#

Is it any chance to fix this?
I saved these logs from SSH console for all softs which I tested.
If you want more information tell me.

1 Like

Unless you upgrade your flash to 8MB or more: No.
The easiest way to solve this problem: buy a device with sufficient resources (i.e. preferably 16MB flash) for current OpenWrt.

OK, I understand. This is not my main router but I was trying find where is problem and be sure that it's depends on software not hardware. So the problem is in hardware.
This device is very old so for me was suprise that I can flash 19.07.2, for example on newer TP-Link TL-MR3220 (v2) I can flash max 17.01.5. So I don't know why 19.07.2 exist for Edimax if it's not able to work on this hardware. :slight_smile:

I don't think the size is an issue for this device. However, the configuration gets lost after reboot.

WZR-HP-G300NH2

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.7, r11306-c4a6851c72
 -----------------------------------------------------
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.5M      2.5M         0 100% /rom
tmpfs                    29.1M    264.0K     28.9M   1% /tmp
tmpfs                    29.1M     56.0K     29.1M   0% /tmp/root
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock8           27.6M    940.0K     26.7M   3% /overlay
overlayfs:/overlay       27.6M    940.0K     26.7M   3% /
root@OpenWrt:~# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 01000000 00010000 "spi0.0"
mtd1: 01000000 00010000 "spi0.1"
mtd2: 00040000 00010000 "u-boot"
mtd3: 00010000 00010000 "u-boot-env"
mtd4: 00010000 00010000 "art"
mtd5: 01f90000 00010000 "firmware"
mtd6: 00184164 00010000 "kernel"
mtd7: 01e0be9c 00010000 "rootfs"
mtd8: 01ba0000 00010000 "rootfs_data"
mtd9: 00010000 00010000 "user_property"
1 Like

I tried 19.07.6 and found the settings survived reboot. So this is a different issue I guess.

1 Like

3 posts were split to a new topic: BThome hub 5A doesn't save settings

Do you also want to have devices reported here that experience OOM issues after an upgrade?

the following device has issues with 32MB RAM, according to the user first experienced with 19.07:

for me, finding devices tagged as being regularly supporting by 19.07 and then finding the same devices with OOM issues in forum threads seems a bit weird.

No, this thread is (was, with 21.02 these devices aren't built anyways) about devices with insufficient amounts of flash for the default firmware. 32 MB RAM is already documented explicitly and expected behaviour (it might still boot with reduced features, but that's another topic).

I see that for Edimax 3g-6200n we can check new version of OpenWrt and confirm that the problem still exist or is resolved:

Unfortunately my Edimax 6200n stopped working (in normal use). I will try to fix it or maybe get a new device. Or maybe someone can verify if the problem still exists on this Edimax model?

I checked on other Edimax 6200n equipment that I managed to get. Overall the same problem.

On 19.07.4 version I set the password and turned on WiFi, on the next higher versions and 19.07.3 I only set the password for the router. Settings are always lost after restarting the router with LuCI network. I updated the software without keeping the settings from the previous version. Logs are added in order of update. In the logs you can see e.g. differences in the amount of memory depending on the version (they are small). Below are logs for commands

mount
df -h
free

on individual versions of OpenWrt. I executed the commands after setting the password and rebooting.

Powered by LuCI openwrt-19.07 branch (git-20.247.75781-0d0ab01) / OpenWrt 19.07.4 r11208-ce6496d796

login as: root


BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.4, r11208-ce6496d796
 -----------------------------------------------------
=== 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:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.0M      3.0M         0 100% /rom
tmpfs                    13.8M    244.0K     13.6M   2% /tmp
tmpfs                    13.8M     60.0K     13.7M   0% /tmp/root
overlayfs:/tmp/root      13.8M     60.0K     13.7M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:~# free
              total        used        free      shared  buff/cache   available
Mem:          28268       14128        5156         304        8984       11800
Swap:             0           0           0
root@OpenWrt:~#

Powered by LuCI openwrt-19.07 branch (git-20.341.57626-51f55b5) / OpenWrt 19.07.5 r11257-5090152ae3

login as: root


BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.5, r11257-5090152ae3
 -----------------------------------------------------
=== 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:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.0M      3.0M         0 100% /rom
tmpfs                    13.8M    244.0K     13.6M   2% /tmp
tmpfs                    13.8M     60.0K     13.7M   0% /tmp/root
overlayfs:/tmp/root      13.8M     60.0K     13.7M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:~# free
              total        used        free      shared  buff/cache   available
Mem:          28268       14088        5200         304        8980       11848
Swap:             0           0           0
root@OpenWrt:~#

Powered by LuCI openwrt-19.07 branch (git-21.018.57536-6ba9740) / OpenWrt 19.07.6 r11278-8055e38794

login as: root


BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.6, r11278-8055e38794
 -----------------------------------------------------
=== 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:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.0M      3.0M         0 100% /rom
tmpfs                    13.8M    248.0K     13.6M   2% /tmp
tmpfs                    13.8M     60.0K     13.7M   0% /tmp/root
overlayfs:/tmp/root      13.8M     60.0K     13.7M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:~# free
              total        used        free      shared  buff/cache   available
Mem:          28268       14168        5104         308        8996       11760
Swap:             0           0           0
root@OpenWrt:~#

Powered by LuCI openwrt-19.07 branch (git-21.044.30835-34e0d65) / OpenWrt 19.07.7 r11306-c4a6851c72

login as: root


BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.7, r11306-c4a6851c72
 -----------------------------------------------------
=== 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:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.0M      3.0M         0 100% /rom
tmpfs                    13.8M    248.0K     13.6M   2% /tmp
tmpfs                    13.8M     60.0K     13.7M   0% /tmp/root
overlayfs:/tmp/root      13.8M     60.0K     13.7M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:~# free
              total        used        free      shared  buff/cache   available
Mem:          28268       14176        5096         308        8996       11784
Swap:             0           0           0
root@OpenWrt:~#

Powered by LuCI openwrt-19.07 branch (git-21.189.23240-7b931da) / OpenWrt 19.07.8 r11364-ef56c85848

login as: root


BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.8, r11364-ef56c85848
 -----------------------------------------------------
=== 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:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.0M      3.0M         0 100% /rom
tmpfs                    13.8M    244.0K     13.6M   2% /tmp
tmpfs                    13.8M     60.0K     13.7M   0% /tmp/root
overlayfs:/tmp/root      13.8M     60.0K     13.7M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:~# free
              total        used        free      shared  buff/cache   available
Mem:          28260       14096        5172         304        8992       11820
Swap:             0           0           0
root@OpenWrt:~#

Powered by LuCI openwrt-19.07 branch (git-22.045.73925-36e5c1c) / OpenWrt 19.07.9 r11405-2a3558b0de

login as: root


BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.9, r11405-2a3558b0de
 -----------------------------------------------------
=== 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:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.0M      3.0M         0 100% /rom
tmpfs                    13.8M    244.0K     13.6M   2% /tmp
tmpfs                    13.8M     60.0K     13.7M   0% /tmp/root
overlayfs:/tmp/root      13.8M     60.0K     13.7M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:~# free
              total        used        free      shared  buff/cache   available
Mem:          28260       14108        5156         304        8996       11808
Swap:             0           0           0
root@OpenWrt:~#

Here, see that I go back to an older version from 19.07.9 to 19.07.3. Version 19.07.3 was not in firmware selector and I found the bin file with the firmware manually (https://downloads.openwrt.org/releases/17.01.3/targets/ramips/rt305x/).

Powered by LuCI openwrt-19.07 branch (git-20.136.49537-fb2f363) / OpenWrt 19.07.3 r11063-85e04e9f46

login as: root


BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.3, r11063-85e04e9f46
 -----------------------------------------------------
=== 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:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.0M      3.0M         0 100% /rom
tmpfs                    13.8M    244.0K     13.6M   2% /tmp
tmpfs                    13.8M     60.0K     13.7M   0% /tmp/root
overlayfs:/tmp/root      13.8M     60.0K     13.7M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:~# free
              total        used        free      shared  buff/cache   available
Mem:          28268       14096        5188         304        8984       11840
Swap:             0           0           0
root@OpenWrt:~#

And the newest firmware for this device currently:

Powered by LuCI openwrt-19.07 branch (git-22.099.58928-786ebc9) / OpenWrt 19.07.10 r11427-9ce6aa9d8d

login as: root


BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.10, r11427-9ce6aa9d8d
 -----------------------------------------------------
=== 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:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.0M      3.0M         0 100% /rom
tmpfs                    13.8M    244.0K     13.6M   2% /tmp
tmpfs                    13.8M     60.0K     13.7M   0% /tmp/root
overlayfs:/tmp/root      13.8M     60.0K     13.7M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:~# cls
-ash: cls: not found
root@OpenWrt:~# clear
root@OpenWrt:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.0M      3.0M         0 100% /rom
tmpfs                    13.8M    244.0K     13.6M   2% /tmp
tmpfs                    13.8M     60.0K     13.7M   0% /tmp/root
overlayfs:/tmp/root      13.8M     60.0K     13.7M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:~# free
              total        used        free      shared  buff/cache   available
Mem:          28252       14160        5088         304        9004       11752
Swap:             0           0           0
root@OpenWrt:~#

1 Like

As 19.07.x is EOL, there won't be any changes/ fixes anymore - not that there would be a fix to these size issues to begin with (other than disabling the affected devices from being built).

(Marking this thread as solved, as there is nothing to 'fix' anymore - 19.07.x is EOL, 21.02.x+ doesn't support 4 MB flash devices anyways, considering average firmware sizes just shy of 6 MB)

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.