Page 1 of 2

Strange message from Gargoyle

Posted: Mon Sep 09, 2024 7:59 am
by sp_archer
Today my router
TP-Link TL-WDR3600 v1, Gargoyle Version 1.14.0: Based on OpenWrt 22.03
says:

---8<---
Router storage full (read only) or is mounted in volatile storage (RAM).
It will not function correctly, or will revert to a previous state after rebooting.
Restore default configuration or flash new firmware (without preserving settings).
--->8---

It seems continues to work.

I haven't touched the settings for more than half a year.

What does it mean?

Re: Strange message from Gargoyle

Posted: Mon Sep 09, 2024 9:30 am
by Lantis
It means your router storage has become full, most likely.
You can run “df -h” on the command line and confirm.

There depending on why it is full there are some options for fixing it.

Re: Strange message from Gargoyle

Posted: Mon Sep 09, 2024 11:34 am
by sp_archer

Code: Select all

# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 6.0M      6.0M         0 100% /rom
tmpfs                    60.2M    160.0K     60.0M   0% /tmp
/dev/mtdblock4          512.0K    444.0K     68.0K  87% /overlay
overlayfs:/overlay      512.0K    444.0K     68.0K  87% /
tmpfs                   512.0K         0    512.0K   0% /dev
~~~~~

Code: Select all

# du  -d 1 /rom | sort -n
0       /rom/dev
0       /rom/mnt
0       /rom/overlay
0       /rom/proc
0       /rom/root
0       /rom/sys
0       /rom/tmp
1       /rom/rom
352     /rom/bin
648     /rom/etc
660     /rom/sbin
1024    /rom/www
6383    /rom/lib
8462    /rom/usr
17529   /rom
~~~~~

Code: Select all

# du  -d 1 /rom/usr | sort -n
59      /rom/usr/share
397     /rom/usr/bin
503     /rom/usr/libexec
2633    /rom/usr/sbin
4870    /rom/usr/lib
8462    /rom/usr
~~~~~

Code: Select all

# du  -d 1 /rom/lib | sort -n
4       /rom/lib/wifi
5       /rom/lib/config
5       /rom/lib/firmware
14      /rom/lib/preinit
35      /rom/lib/upgrade
56      /rom/lib/functions
163     /rom/lib/netifd
178     /rom/lib/network
4977    /rom/lib/modules
6383    /rom/lib
~~~~~

Code: Select all

# touch /rom/usr/zz.txt
touch: /rom/usr/zz.txt: Read-only file system
# touch /rom/lib/zz.txt
touch: /rom/lib/zz.txt: Read-only file system
~~~~~

Re: Strange message from Gargoyle

Posted: Mon Sep 09, 2024 6:28 pm
by Lantis
/rom is always read only, that test is invalid.
Check “cat /proc/mounts” if your overlayfs is read only.
It certainly looks like it is down to the last block.

The solution is probably to purge your bandwidth history data.
Check the size of /usr/data/bwmon

As the system is RO you must boot into failsafe, mount the filesystem, delete the contents of the directory to regain space, then reboot.

It will continue to work in a volatile state but nothing will save or persist on the system unless you fix it.
Upgrading to a 1.15 beta should net you more space overall if you wanted to do that.

Re: Strange message from Gargoyle

Posted: Tue Sep 10, 2024 7:45 am
by sp_archer

Code: Select all

# cat /proc/mounts
/dev/root /rom squashfs ro,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,noatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,noatime 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev,noatime 0 0
/dev/mtdblock4 /overlay jffs2 rw,noatime 0 0
overlayfs:/overlay / overlay ro,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work 0 0
tmpfs /dev tmpfs rw,nosuid,noexec,noatime,size=512k,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,noatime,mode=600,ptmxmode=000 0 0
debugfs /sys/kernel/debug debugfs rw,noatime 0 0
none /sys/fs/bpf bpf rw,nosuid,nodev,noexec,noatime,mode=700 0 0

Code: Select all

# ls -l /usr/data/bwmon
-rw-r--r--    1 root     root          2578 Aug 28 08:00 bdist4-download-day-31.bw
-rw-r--r--    1 root     root          1840 Aug 28 08:00 bdist4-upload-day-31.bw
-rw-r--r--    1 root     root          3205 Aug 28 08:00 bdist5-download-month-12.bw
-rw-r--r--    1 root     root          2722 Aug 28 08:00 bdist5-upload-month-12.bw
-rw-r--r--    1 root     root          2950 Aug 28 08:00 total4-download-7200-359.bw
-rw-r--r--    1 root     root          1510 Aug 28 08:00 total4-upload-7200-359.bw
-rw-r--r--    1 root     root          2998 Aug 28 08:00 total5-download-day-365.bw
-rw-r--r--    1 root     root          2998 Aug 28 08:00 total5-upload-day-365.bw

Code: Select all

# rm  /usr/data/bwmon/bdist4-download-day-31.bw
rm: remove '/usr/data/bwmon/bdist4-download-day-31.bw'? y
rm: can't remove '/usr/data/bwmon/bdist4-download-day-31.bw': Read-only file system
WEBinterface
Bandwidth_Usage --- Delete_Data don't help ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Q1: How to boot into failsafe?

Q2: is 1.15 beta stable enough?
Q2.1: when to expect a stable release 1.15

Q3: (for refrence) is there a way to migrate from Gargoyle to Openwrt?

Thanx

Re: Strange message from Gargoyle

Posted: Tue Sep 10, 2024 9:19 am
by pythonic
sp_archer wrote:
Tue Sep 10, 2024 7:45 am
Q1: How to boot into failsafe?
OpenWrt docs on failsafe mode
sp_archer wrote:
Tue Sep 10, 2024 7:45 am
Q2: is 1.15 beta stable enough?
Depends on what "stable enough" means to you. I'm running 1.15. beta builds on several devices as daily drivers and it's been stable for me.
sp_archer wrote:
Tue Sep 10, 2024 7:45 am
Q3: (for refrence) is there a way to migrate from Gargoyle to Openwrt?
Just use the flash upgrade function with the intended OpenWrt sysupgrade image; you can migrate back from OpenWrt by flashing a Gargoyle sysupgrade image. Don't try and preserve configuration across these transitions though.

Re: Strange message from Gargoyle

Posted: Tue Sep 10, 2024 11:31 am
by sp_archer
Upgrading to a 1.15 beta should net you more space overall if you wanted to do that.
Q: Upgrading with setting save or without?

Re: Strange message from Gargoyle

Posted: Tue Sep 10, 2024 6:00 pm
by Lantis
Without saving

Re: Strange message from Gargoyle

Posted: Wed Sep 11, 2024 9:31 am
by sp_archer
http://lantisproject.com/downloads/garg ... yisail.php for the latest releases

404 Not Found

:-(
???

Re: Strange message from Gargoyle

Posted: Wed Sep 11, 2024 6:09 pm
by Lantis