Version 1.14.0: Based on OpenWrt 22.03

The latest news about Gargoyle

Moderator: Moderators

marcusp
Posts: 8
Joined: Wed Nov 20, 2013 2:12 pm

Re: Version 1.14.0: Based on OpenWrt 22.03

Post by marcusp »

Thanks for this new version but before flashing my Netgear WNDR4300 I'd like to know what are the differences between ?

gargoyle_1.14.0-ath79-nand-netgear_wndr4300-squashfs-sysupgrade.bin

gargoyle_1.14.0-ath79-nand-netgear_wndr4300sw-squashfs-sysupgrade.bin

gargoyle_1.14.0-ath79-nand-netgear_wndr4300tn-squashfs-sysupgrade.bin

These differences were not present in previous firmwares.

Thanks in advance

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Version 1.14.0: Based on OpenWrt 22.03

Post by Lantis »

They are for specific variants of the device which require different headers to accept the upgrade.
SW = SureWest Zips
TN = Telenet ISP
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

marcusp
Posts: 8
Joined: Wed Nov 20, 2013 2:12 pm

Re: Version 1.14.0: Based on OpenWrt 22.03

Post by marcusp »

OK thanks for this explanation, I'll try this new version asap !

adrusa
Posts: 5
Joined: Sun Sep 25, 2016 4:07 pm

Re: Version 1.14.0: Based on OpenWrt 22.03

Post by adrusa »

I have test version 1.15 installed on an x86. Should I "upgrade" or "downgrade" to official 1.14? Is there any advantage or drawbacks? Can I preserve settings from 1.15 to 1.14? Thanks.

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Version 1.14.0: Based on OpenWrt 22.03

Post by Lantis »

No real advantage or disadvantages.
Configs will be compatible between the two.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

ektus
Posts: 243
Joined: Sun Aug 11, 2013 2:26 am
Location: Germany

Re: Version 1.14.0: Based on OpenWrt 22.03

Post by ektus »

Trying to install on my old TL-WR1043ND V1 without preserving settings failed badly. The router ran into a boot loop, had to connect the serial cable to recover. Flashed back to 1.13.0, got back into the GUI and tried again (immediately after setting the password). Upload of the 1.14.0 sysupgrade file went okay,

Code: Select all

Valid firmware: Yes
Firmware matches device: Yes
Supported devices: tplink,tl-wr1043nd-v1
                   tl-wr1043nd
 Firmware/Device Compatible: No
 Firmware fits in flash memory: Yes
 MD5, SHA-1, SHA 256: (long strings)
 Attempt to preserve Settings: []
 
Serial Console Shows "Out of memory: Kill process xxx" And kills a bunch of processes. Finally, after a couple minutes it reboots and is back in 1.13.0 with my previously set password.
Attach USB drive, format as extroot with swap. Enable swap from the serial console (swapon -a). Retry firmware upgrade.
After three minutes, runs out if memory, starts killing processes and reboots. SysLED never stops blinking.

At this point, 1.14.0 is active, but fails to boot fully.

Trying something else: During boot, after the USB drive is mounted, issue a "swapon -a" from the serial console.
Runs into critical medium error on block device, Read error on swap device, and reboots.

df reports /dev/root with 6144 1k-blocks, 0% free

Entering failsafe mode, mount_root fails with missing /etc/config/fstab and bails out with "using temporary tmpfs overlay"

I'll be giving up for now, flashing back to 1.13.0

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Version 1.14.0: Based on OpenWrt 22.03

Post by Lantis »

Thanks for reporting.
Realistically, 32MB RAM devices are unsupportable moving forward, and this release was always going to be borderline.
You may need to stay with 1.13
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

ektus
Posts: 243
Joined: Sun Aug 11, 2013 2:26 am
Location: Germany

Re: Version 1.14.0: Based on OpenWrt 22.03

Post by ektus »

Too bad :-(
The router is doing AP duty and I was hoping to activate the guest network to improve coverage. And that functionality has just become available in 1.14.

Some more info. To me, ot looks like there should still be a couple MB free once it crashes. What does cause the memory overrun anyway?

Code: Select all

root@Gargoyle:/# [  145.231242] eth0: link up (1000Mbps/Full duplex)
[  145.235924] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  145.756301] br-lan: port 1(eth0.1) entered blocking state
[  145.761819] br-lan: port 1(eth0.1) entered disabled state
[  145.767664] device eth0.1 entered promiscuous mode
[  145.772554] device eth0 entered promiscuous mode
[  147.075348] br-lan: port 1(eth0.1) entered blocking state
[  147.080872] br-lan: port 1(eth0.1) entered forwarding state
[  147.667151] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[  311.093578] netifd invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
[  311.103191] CPU: 0 PID: 3078 Comm: netifd Not tainted 5.10.176 #0
[  311.109343] Stack : 00000040 800b8e4c 80690000 805942ac 00000000 00000000 00000000 00000000
[  311.117785]         00000000 00000000 00000000 00000000 00000000 00000001 8142db68 682b9b72
[  311.126256]         8142dc00 00000000 00000000 8142da10 00000038 802c3324 00000000 ffffffea
[  311.134712]         000000d6 8142da1c 000000d6 80618bb8 8142db48 8056fc3c 80000000 805745fc
[  311.143172]         00000001 00200000 ffffffff 7fffffff 00000018 8032a0b0 00000000 807d0000
[  311.151628]         ...
[  311.154097] Call Trace:
[  311.154112] [<800b8e4c>] 0x800b8e4c
[  311.160098] [<802c3324>] 0x802c3324
[  311.163610] [<8032a0b0>] 0x8032a0b0
[  311.167121] [<80066868>] 0x80066868
[  311.170653] [<80066870>] 0x80066870
[  311.174166] [<8012eccc>] 0x8012eccc
[  311.177684] [<8012f310>] 0x8012f310
[  311.181213] [<8013dab4>] 0x8013dab4
[  311.184725] [<8012b874>] 0x8012b874
[  311.188235] [<8012f9dc>] 0x8012f9dc
[  311.191767] [<8016c6cc>] 0x8016c6cc
[  311.195286] [<8012b94c>] 0x8012b94c
[  311.198929] [<8012d708>] 0x8012d708
[  311.202437] [<802c03c4>] 0x802c03c4
[  311.206050] [<80152254>] 0x80152254
[  311.209643] [<8015760c>] 0x8015760c
[  311.213209] [<8006fcb0>] 0x8006fcb0
[  311.216721] [<801d5908>] 0x801d5908
[  311.220258] [<8007510c>] 0x8007510c
[  311.223772]
[  311.225269] Mem-Info:
[  311.227581] active_anon:51 inactive_anon:847 isolated_anon:0
[  311.227581]  active_file:191 inactive_file:175 isolated_file:0
[  311.227581]  unevictable:0 dirty:0 writeback:0
[  311.227581]  slab_reclaimable:166 slab_unreclaimable:2372
[  311.227581]  mapped:263 shmem:38 pagetables:136 bounce:0
[  311.227581]  free:837 free_pcp:0 free_cma:0
[  311.258537] Node 0 active_anon:204kB inactive_anon:3388kB active_file:764kB inactive_file:700kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:1052kB dirty:0kB writeback:0kB shmem:152kB writeback_tmp:0kB kernel_stack:408kB all_unreclaimable? no
[  311.281550] Normal free:3348kB min:5120kB low:5376kB high:5632kB reserved_highatomic:0KB active_anon:204kB inactive_anon:3388kB active_file:764kB inactive_file:700kB unevictable:0kB writepending:0kB present:32768kB managed:25844kB mlocked:0kB pagetables:544kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[  311.309059] lowmem_reserve[]: 0 0
[  311.312409] Normal: 159*4kB (UM) 27*8kB (UM) 32*16kB (UM) 4*32kB (UM) 5*64kB (M) 6*128kB (UM) 1*256kB (M) 1*512kB (M) 0*1024kB 0*2048kB 0*4096kB = 3348kB
[  311.326353] 404 total pagecache pages
[  311.330050] 0 pages in swap cache
[  311.333384] Swap cache stats: add 0, delete 0, find 0/0
[  311.338655] Free swap  = 0kB
[  311.341551] Total swap = 0kB
[  311.344446] 8192 pages RAM
[  311.347167] 0 pages HighMem/MovableOnly
[  311.351037] 1731 pages reserved
[  311.354195] Tasks state (memory values in pages):
[  311.358938] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
[  311.367610] [    568]    81   568      330       22    16384        0             0 ubusd
[  311.375861] [    602]     0   602      326       12    16384        0             0 ash
[  311.383933] [    644]     0   644      277       14    20480        0             0 urngd
[  311.392183] [   2645]   514  2645      335       29    20480        0             0 logd
[  311.400344] [   2852]     0  2852      302       13    16384        0             0 dropbear
[  311.408856] [   2990]     0  2990     1222       75    24576        0             0 hostapd
[  311.417269] [   2991]     0  2991     1222       59    24576        0             0 wpa_supplicant
[  311.426303] [   3078]     0  3078      448       81    20480        0             0 netifd
[  311.434642] [   3226]     0  3226      376       22    20480        0             0 odhcpd
[  311.442981] [   3300]     0  3300      344       30    16384        0             0 hotplug-call
[  311.451836] [   3332]     0  3332      344       30    16384        0             0 hotplug-call
[  311.460695] [   3493]     0  3493      325       11    20480        0             0 udhcpc
[  311.469031] [   3495]     0  3495      281       14    20480        0             0 odhcp6c
[  311.477437] [   3509]     0  3509      325      206    20480        0             0 ntpd
[  311.485602] [   3527]     0  3527      553       96    16384        0             0 fw3
[  311.493680] [   3598]   453  3598      370       29    20480        0             0 dnsmasq
[  311.502099] [   3603]     0  3603      389       78    16384        0             0 sh
[  311.510086] [   3616]     0  3616      326      162    20480        0             0 crond
[  311.518317] [   3706]     0  3706      977       50    24576        0             0 uhttpd
[  311.526653] [   3708]     0  3708      384       74    20480        0             0 S50usteer
[  311.535249] [   3761]     0  3761      425       24    16384        0             0 usteerd
[  311.543673] [   3762]     0  3762      379       65    20480        0             0 usteer
[  311.552012] [   3771]     0  3771      274       14    16384        0             0 delete_chain_fr
[  311.561133] [   3780]     0  3780      325       11    20480        0             0 flock
[  311.569382] [   3781]     0  3781      384       74    20480        0             0 S50usteer
[  311.577961] [   3783]     0  3783      325       11    16384        0             0 ifstatus
[  311.586474] [   3785]     0  3785      302       11    20480        0             0 iptables
[  311.594986] [   3786]     0  3786      213       60    16384        0             0 ubus
[  311.603140] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=ntpd,pid=3509,uid=0
[  311.611321] Out of memory: Killed process 3509 (ntpd) total-vm:1300kB, anon-rss:40kB, file-rss:784kB, shmem-rss:0kB, UID:0 pgtables:20kB oom_score_adj:0
[  311.636498] crond invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
[  311.646040] CPU: 0 PID: 3616 Comm: crond Not tainted 5.10.176 #0
[  311.652102] Stack : 0000001d 800b8e4c 80690000 805942ac 00000000 00000000 00000000 00000000
[  311.660564]         00000000 00000000 00000000 00000000 00000000 00000001 81bdfb68 fb2989e0
[  311.669021]         81bdfc00 00000000 00000000 81bdfa10 00000038 802c3324 00000000 ffffffea
[  311.677461]         00000121 81bdfa1c 00000121 80618bb8 81bdfb48 8056fc3c 80000000 805745fc
[  311.685920]         00000001 00200000 ffffffff 7fffffff 00000018 8032a0b0 00000000 807d0000
[  311.694379]         ...
[  311.696847] Call Trace:
[  311.696863] [<800b8e4c>] 0x800b8e4c
[  311.703062] [<802c3324>] 0x802c3324
[  311.706674] [<8032a0b0>] 0x8032a0b0
[  311.710310] [<80066868>] 0x80066868
[  311.713821] [<80066870>] 0x80066870
[  311.717430] [<8012eccc>] 0x8012eccc
[  311.721253] [<8012f310>] 0x8012f310
[  311.724765] [<8013dab4>] 0x8013dab4
[  311.728330] [<8019cf04>] 0x8019cf04
[  311.731922] [<8012f9dc>] 0x8012f9dc
[  311.735440] [<8016c6cc>] 0x8016c6cc
[  311.739043] [<8012b94c>] 0x8012b94c
[  311.742607] [<8012d708>] 0x8012d708
[  311.746264] [<80152254>] 0x80152254
[  311.749855] [<8015760c>] 0x8015760c
[  311.753512] [<8006fcb0>] 0x8006fcb0
[  311.757020] [<800a0784>] 0x800a0784
[  311.760558] [<8007510c>] 0x8007510c
[  311.764072]
[  311.765568] Mem-Info:
[  311.767882] active_anon:50 inactive_anon:838 isolated_anon:0
[  311.767882]  active_file:77 inactive_file:62 isolated_file:0
[  311.767882]  unevictable:0 dirty:0 writeback:0
[  311.767882]  slab_reclaimable:166 slab_unreclaimable:2372
[  311.767882]  mapped:138 shmem:38 pagetables:131 bounce:0
[  311.767882]  free:1079 free_pcp:0 free_cma:0
[  311.798748] Node 0 active_anon:200kB inactive_anon:3352kB active_file:308kB inactive_file:248kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:552kB dirty:0kB writeback:0kB shmem:152kB writeback_tmp:0kB kernel_stack:408kB all_unreclaimable? no
[  311.821672] Normal free:4316kB min:5120kB low:5376kB high:5632kB reserved_highatomic:0KB active_anon:200kB inactive_anon:3352kB active_file:308kB inactive_file:248kB unevictable:0kB writepending:0kB present:32768kB managed:25844kB mlocked:0kB pagetables:524kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[  311.849188] lowmem_reserve[]: 0 0
[  311.852535] Normal: 213*4kB (UM) 61*8kB (UM) 34*16kB (UM) 16*32kB (UM) 6*64kB (M) 6*128kB (UM) 1*256kB (M) 1*512kB (M) 0*1024kB 0*2048kB 0*4096kB = 4316kB
[  311.866565] 177 total pagecache pages
[  311.870264] 0 pages in swap cache
[  311.873596] Swap cache stats: add 0, delete 0, find 0/0
[  311.878868] Free swap  = 0kB
[  311.881764] Total swap = 0kB
[  311.884659] 8192 pages RAM
[  311.887379] 0 pages HighMem/MovableOnly
[  311.891250] 1731 pages reserved
[  311.894408] Tasks state (memory values in pages):
[  311.899150] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
[  311.907822] [    568]    81   568      330       22    16384        0             0 ubusd
[  311.916075] [    602]     0   602      326       12    16384        0             0 ash
[  311.924145] [    644]     0   644      277       14    20480        0             0 urngd
[  311.932398] [   2645]   514  2645      335       61    20480        0             0 logd
[  311.940558] [   2852]     0  2852      302       13    16384        0             0 dropbear
[  311.949068] [   2990]     0  2990     1222       59    24576        0             0 hostapd
[  311.957474] [   2991]     0  2991     1222       59    24576        0             0 wpa_supplicant
[  311.966507] [   3078]     0  3078      448       65    20480        0             0 netifd
[  311.974844] [   3226]     0  3226      376       22    20480        0             0 odhcpd
[  311.983181] [   3300]     0  3300      344       30    16384        0             0 hotplug-call
[  311.992039] [   3332]     0  3332      344       30    16384        0             0 hotplug-call
[  312.000899] [   3493]     0  3493      325       11    20480        0             0 udhcpc
[  312.009235] [   3495]     0  3495      281       14    20480        0             0 odhcp6c
[  312.017642] [   3527]     0  3527      553       96    16384        0             0 fw3
[  312.025717] [   3598]   453  3598      370       29    20480        0             0 dnsmasq
[  312.034141] [   3603]     0  3603      389       78    16384        0             0 sh
[  312.042129] [   3616]     0  3616      326      102    20480        0             0 crond
[  312.050377] [   3706]     0  3706      977       50    24576        0             0 uhttpd
[  312.058712] [   3708]     0  3708      384       74    20480        0             0 S50usteer
[  312.067293] [   3761]     0  3761      425       24    16384        0             0 usteerd
[  312.075718] [   3762]     0  3762      379       65    20480        0             0 usteer
[  312.084054] [   3771]     0  3771      274       14    16384        0             0 delete_chain_fr
[  312.093175] [   3780]     0  3780      325       11    20480        0             0 flock
[  312.101438] [   3781]     0  3781      384       74    20480        0             0 S50usteer
[  312.110031] [   3783]     0  3783      325       11    16384        0             0 ifstatus
[  312.118541] [   3785]     0  3785      302       11    20480        0             0 iptables
[  312.127033] [   3786]     0  3786      213       25    16384        0             0 ubus
[  312.135190] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=crond,pid=3616,uid=0
[  312.143457] Out of memory: Killed process 3616 (crond) total-vm:1304kB, anon-rss:40kB, file-rss:364kB, shmem-rss:4kB, UID:0 pgtables:20kB oom_score_adj:0
[  314.271030] oom_reaper: reaped process 3616 (crond), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB


Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Version 1.14.0: Based on OpenWrt 22.03

Post by Lantis »

The kernel uses more memory than it used to, as do most of the userspace utilities. The oom-killer does what it can to keep the system running, but it kills indiscriminately and eventually takes down something that it shouldn't.

The full warning from upstream is here:
https://openwrt.org/supported_devices/432_warning

4MB Flash/32MB RAM are long gone.
8/32 are touch and go (but looks like largely gone).
8/64 is about the minimum now, but a 16/128 would be ideal.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

marcusp
Posts: 8
Joined: Wed Nov 20, 2013 2:12 pm

Re: Version 1.14.0: Based on OpenWrt 22.03

Post by marcusp »

So I've flashed v1.14 on my Netgear WNDR4300 without preserving settings and it didn't work, router was stuck.
So I've pushed the firmware in tftp and this time it was OK. The only strange thing is 5Ghz bandwidth for wifi was not offered until the router rebooted...
No problem until now :) !

ps: Another surprising phenomenom is that now the bandwidth of my ADSL connection is ~2MB whereas before it was only ~1MB without changing anything physically (I've just disabled QoS for upload and download which was still enabled with v1.13). The modem used is a Netgear DMM200. Maybe there was some kind of bottleneck ? Strange for such a low speed ^_^...

Post Reply