Re: [LEDE-DEV] Memory Usage of LEDE trunk on devices with only 32mb memory.

2016-09-16 Thread Bastian Bittorf
* Jo-Philipp Wich [15.09.2016 16:58]: > http://git.lede-project.org/5c9cc7b7f8920944a413644e1c2ea23bfe655bcb ? indeed! this makes a huge difference on 32mb devices. so my proposal is: 1) dont touch vm.min_free_kbytes for 32mb-devices 2) when changing defaults with 'sysctl' dont

Re: [LEDE-DEV] A Wiki for LEDE Documentation

2016-09-16 Thread Raylynn Knight
I will be a contributor/user of whatever wiki is provided and have used both Dokuwiki and the Semantic MediaWiki (used by WikiDevi) as I’ve contributed to both the OpenWrt Wiki and MediaWiki. I think my preference would be for DokuWiki. I have experience installing OpenWrt on over 50

[LEDE-DEV] [PATCH] [base-files] dont change defaults for vm.min_free_kbytes on devices with <64mb RAM

2016-09-16 Thread Bastian Bittorf
with 5c9cc7b7f8920944a413644e1c2ea23bfe655bcb we changed the default value from ~650 to 4096 kilobyte on 32mb-RAM-devices. This makes them hardly useable with a lot of oom-crashes. Fix that and keep the default. For devices with more than 32mb we keep the behaviour and tweak the value. We dont

Re: [LEDE-DEV] [PATCH] kernel: add additional gadget drivers

2016-09-16 Thread Tim Harvey
On Fri, Sep 16, 2016 at 6:02 AM, Rafał Miłecki wrote: > On 16 September 2016 at 14:53, John Crispin wrote: >> On 15/09/2016 16:51, Tim Harvey wrote: >>> Add the following gadget driver modules: >>> - kmod-usb-gadget-ncm (g_ncm) >>> - kmod-usb-gadget-hid

Re: [LEDE-DEV] [PATCH] [base-files] dont change defaults for vm.min_free_kbytes on devices with <64mb RAM

2016-09-16 Thread Martin Tippmann
On Fri, Sep 16, 2016 at 3:04 PM, Felix Fietkau wrote: > On 2016-09-16 11:31, Bastian Bittorf wrote: >> with 5c9cc7b7f8920944a413644e1c2ea23bfe655bcb we changed the default >> value from ~650 to 4096 kilobyte on 32mb-RAM-devices. This makes them >> hardly useable with a lot of

Re: [LEDE-DEV] How do I run a script once after factory installation?

2016-09-16 Thread John Crispin
On 16/09/2016 14:14, J Mo wrote: > > The router device that I'm currently working on has some goofy failover > system where it has two roofs filesystems (UBI) on it's NAND flash. > > A special partition has a "upgrade-in-progress" bit that gets set and I > need to flip it back to 0x0 after a

Re: [LEDE-DEV] [PATCH] kernel: add additional gadget drivers

2016-09-16 Thread John Crispin
Hi, On 15/09/2016 16:51, Tim Harvey wrote: > Add the following gadget driver modules: > - kmod-usb-gadget-ncm (g_ncm) > - kmod-usb-gadget-hid (g_hid) > > Signed-off-by: Tim Harvey > --- > package/kernel/linux/modules/usb.mk | 39 >

Re: [LEDE-DEV] Memory Usage of LEDE trunk on devices with only 32mb memory.

2016-09-16 Thread Martin Tippmann
On Fri, Sep 16, 2016 at 3:13 PM, Martin Tippmann wrote: > opkg, luci works fine on LEDE with 32mb devices again. This seems to > be culprit, the kernel size increase is only ~100kb and I guess > negligible. Misread that, it's more like 800kb but still not a huge problem for now.

Re: [LEDE-DEV] A Wiki for LEDE Documentation

2016-09-16 Thread Alberto Bursi
On 09/16/2016 06:25 AM, John Crispin wrote: > > On 15/09/2016 22:50, Alberto Bursi wrote: >> I said that for that it's better a "talk/discussion" page on a wiki, >> because a forum needs more time investment than a wiki to be done right >> and should be treated as its own project with its own

Re: [LEDE-DEV] A Wiki for LEDE Documentation

2016-09-16 Thread Alberto Bursi
On 09/16/2016 06:23 AM, John Crispin wrote: > > On 15/09/2016 22:41, Alberto Bursi wrote: >> Note that I'm not talking about the wiki. That was not a major issue as >> being a separate thing it can be set up unofficially, or whatever. >> I am just arguing about principles here, as I'm spotting a

Re: [LEDE-DEV] A Wiki for LEDE Documentation

2016-09-16 Thread John Crispin
On 16/09/2016 18:47, Alberto Bursi wrote: > > > On 09/16/2016 06:23 AM, John Crispin wrote: >> >> On 15/09/2016 22:41, Alberto Bursi wrote: >>> Note that I'm not talking about the wiki. That was not a major issue as >>> being a separate thing it can be set up unofficially, or whatever. >>> I

Re: [LEDE-DEV] Procd and askconsole

2016-09-16 Thread John Crispin
On 16/09/2016 17:59, Alberto Bursi wrote: > > > On 09/16/2016 10:48 AM, Lebleu Pierre wrote: >> Hi all, >> >> I am new to this mailing list and I would like to present me as Pierre. >> >> I recently play a bit with procd and I found an "issue". Indeed, if I do >> a factory reset, I am able to

[LEDE-DEV] [PATCH v2] [base-files] dont change defaults for vm.min_free_kbytes on devices with <64MiB RAM

2016-09-16 Thread Bastian Bittorf
with 5c9cc7b7f8920944a413644e1c2ea23bfe655bcb we changed the default value of 'vm.min_free_kbytes' from ~650 to 4096 kilobytes on 32MiB-RAM-devices. This makes them hardly useable with a lot of OOM-crashes. Change that and use 1024 kilobytes for 32MiB-RAM-devices. For devices with more than 32MiB

Re: [LEDE-DEV] [PATCH v2] [base-files] dont change defaults for vm.min_free_kbytes on devices with <64MiB RAM

2016-09-16 Thread Bastian Bittorf
* Bastian Bittorf [16.09.2016 19:43]: > changes v1 -> v2: (suggestions from Felix Fietkau, Rafał Miłecki) sorry, please drop that - i can see the change now: https://git.lede-project.org/?p=source.git;a=commitdiff;h=25dab5d217715300dc609df07b56e5b73cefdfc1 bye, bastian

Re: [LEDE-DEV] [PATCH v2] [base-files] dont change defaults for vm.min_free_kbytes on devices with <64MiB RAM

2016-09-16 Thread Felix Fietkau
On 2016-09-16 19:39, Bastian Bittorf wrote: > with 5c9cc7b7f8920944a413644e1c2ea23bfe655bcb we changed the default > value of 'vm.min_free_kbytes' from ~650 to 4096 kilobytes on > 32MiB-RAM-devices. > This makes them hardly useable with a lot of OOM-crashes. > > Change that and use 1024