a modular framework for creating OpenWrt-based firmwares for wireless mesh nodes
Go to file
Sven Eckelmann 2b208647f7 ar71xx-generic: Reduce SquashFS blocksize to 64K (#1455)
Some 32 MB devices like the Nanostation M2 suffer from sudden high loads
combined with a squashfs related OOM reboot:

  logd invoked oom-killer: gfp_mask=0x2420848, order=0, oom_score_adj=0
  CPU: 0 PID: 774 Comm: logd Not tainted 4.4.135 #0
  Stack : 804214dc 00000000 00000001 80480000 8182fa3c 80474803 804028d0 00000306
          804e378c 00001ade 00000040 00000000 00000000 800a7f10 00000006 00000000
          00000000 00000000 804063e0 80c69994 804e6542 800a5e8c 02420848 00000000
          00000001 801fd600 00000000 00000000 00000000 00000000 00000000 00000000
          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          ...
  Call Trace:
  [<800721cc>] show_stack+0x54/0x88
  [<800d5468>] dump_header.isra.4+0x48/0x130
  [<800d5c38>] check_panic_on_oom+0x48/0x84
  [<800d5d64>] out_of_memory+0xf0/0x324
  [<800d9888>] __alloc_pages_nodemask+0x6b8/0x724
  [<800d2960>] pagecache_get_page+0x154/0x270
  [<80134cb0>] __getblk_slow+0x15c/0x374
  [<80160418>] squashfs_read_data+0x1c8/0x6e8
  [<80164628>] squashfs_readpage_block+0x32c/0x4d8
  [<801622a4>] squashfs_readpage+0x5bc/0x6d0
  [<800dd030>] __do_page_cache_readahead+0x1f8/0x264
  [<800d479c>] filemap_fault+0x1a8/0x458
  [<800efc1c>] __do_fault+0x64/0xd0
  [<800f2824>] handle_mm_fault+0x4a4/0xb40
  [<80076e98>] __do_page_fault+0x134/0x470
  [<80060820>] ret_from_exception+0x0/0x10

Reduction of the SquashFS blocksize should reduce the problem slightly on
these nodes. The image size will increase slightly but this should be no
problem for ar71xx-generic (in contrast to ar71xx-tiny).
2018-09-23 14:34:14 +02:00
contrib contrib: update i18n-scan.pl script 2018-02-23 13:39:56 +01:00
docs gluon-config-mode-hostname: add option to use default hostname (#1529) 2018-09-15 22:36:07 +02:00
package gluon-config-mode-hostname: add option to use default hostname (#1529) 2018-09-15 22:36:07 +02:00
patches modules: update OpenWrt 2018-07-14 13:11:47 +02:00
scripts scripts: include binaries in patch 2018-07-16 01:39:36 +02:00
targets ar71xx-generic: Reduce SquashFS blocksize to 64K (#1455) 2018-09-23 14:34:14 +02:00
.gitignore Switch to OpenWrt 18.06 branch 2018-07-10 22:57:40 +02:00
CONTRIBUTING.md Remove squashing from contribution guidelines (#865) 2016-09-02 19:16:28 +02:00
LICENSE Switch to OpenWrt 18.06 branch 2018-07-10 22:57:40 +02:00
Makefile Switch to OpenWrt 18.06 branch 2018-07-10 22:57:40 +02:00
modules modules: update OpenWrt 2018-09-04 21:31:21 +02:00
README.md docs: add v2018.1.1 release notes 2018-08-28 20:58:38 +02:00

Documentation (incomplete at this time, contribute if you can!) may be found at https://gluon.readthedocs.org/.

If you're new to Gluon and ready to get your feet wet, have a look at the Getting Started Guide.

Gluon IRC channel: #gluon in hackint

Issues & Feature requests

Before opening an issue, make sure to check whether any existing issues (open or closed) match. If you're suggesting a new feature, drop by on IRC or our mailinglist to discuss it first.

We maintain a Roadmap for the future development of Gluon.

Use a release!

Please refrain from using the master branch for anything else but development purposes! Use the most recent release instead. You can list all releases by running git tag and switch to one by running git checkout v2018.1.1 && make update.

If you're using the autoupdater, do not autoupdate nodes with anything but releases. If you upgrade using random master commits the nodes will break eventually.

Mailinglist

To subscribe to the list, send a message to:

gluon+subscribe@luebeck.freifunk.net

To remove your address from the list, just send a message to the address in the List-Unsubscribe header of any list message. If you haven't changed addresses since subscribing, you can also send a message to:

gluon+unsubscribe@luebeck.freifunk.net