[LEDE-DEV] mqmaker witi board - battery

2016-06-13 Thread John Crispin
Hi, i have a mqmaker witi board on my desk and wanted to use it to very the RTC support and add functionality to procd that it will apply hw rtc time to the system after the early boot state. unfortunately there is no battery inserted into the slot. anyone know what kind of battery cell is needed

[LEDE-DEV] BUG - SQM will not install

2016-06-13 Thread John Allen
Name: Lede-ar7xx-wndr3700v2 device: Netgear wndr3700v2 Error when trying to install sqm using Luci-app-sqm: Installing luci-app-sqm (1.0.7-1) to root... Downloadinghttp://downloads.lede-project.org/snapshots/packages/mips_34kc/packages/luci-app-sqm_1.0.7-1_all.ipk. Collected errors: * satisfy

Re: [LEDE-DEV] [PATCH 2/2] strace: add option for enabling stack trace support

2016-06-13 Thread Yousong Zhou
On 10 June 2016 at 21:43, Yousong Zhou wrote: > On 10 June 2016 at 20:52, Sergey Zakharchenko > wrote: >> Hello Yousong, >> >> The libunwind-enabled strace builds fine but I'm getting a "Can't >> initiate libunwind: Invalid argument" error when trying to use it >> (this is on an Atheros, i.e. MI

Re: [LEDE-DEV] [PATCH] base-files: seed /dev/urandom

2016-06-13 Thread Etienne Champetier
Hi John, Felix, 2016-06-13 13:55 GMT+02:00 John Crispin : > > > On 13/06/2016 00:56, Etienne Champetier wrote: >> Hi Felix, >> >> 2016-06-12 12:45 GMT+02:00 Felix Fietkau : >>> On 2016-06-11 08:37, Etienne CHAMPETIER wrote: This commit: 1) seed /dev/urandom with a saved seed as early as

Re: [LEDE-DEV] [PATCH] base-files: seed /dev/urandom

2016-06-13 Thread David Lang
Just a FYI in case you didn't see it, Ted Ts'o posted a 7-patch cluster for changing urandom that he plans to get into the next kernel Subject: PATCH-v4 0/7] random: replace urandom pool with a CRNG https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1166186.html David Lang ___

Re: [LEDE-DEV] [PATCH] base-files: seed /dev/urandom

2016-06-13 Thread Kevin Darbyshire-Bryant
On 13/06/16 12:55, John Crispin wrote: On 13/06/2016 00:56, Etienne Champetier wrote: Hi Felix, 2016-06-12 12:45 GMT+02:00 Felix Fietkau : On 2016-06-11 08:37, Etienne CHAMPETIER wrote: This commit: 1) seed /dev/urandom with a saved seed as early as possible (using /lib/preinit/81_uran

Re: [LEDE-DEV] Bug - spinlock loop in cns3xxx_eth.c

2016-06-13 Thread Tim Harvey
On Mon, Jun 13, 2016 at 9:12 AM, Koen Vandeputte wrote: > Hi All, > > There seems to be a bug in the function eth_poll() in this driver > > When the RX ring gets full once, the re-schedule is called forever, even > when the ring is empty afterwards. > > > if (!received) { > napi_comple

[LEDE-DEV] Bug - spinlock loop in cns3xxx_eth.c

2016-06-13 Thread Koen Vandeputte
Hi All, There seems to be a bug in the function eth_poll() in this driver When the RX ring gets full once, the re-schedule is called forever, even when the ring is empty afterwards. if (!received) { napi_complete(napi); enable_irq(sw->rx_irq); budget = 0;

Re: [LEDE-DEV] [PATCH] dnsmasq: write atomic config file

2016-06-13 Thread Kevin Darbyshire-Bryant
On 13/06/16 14:50, Felix Fietkau wrote: On 2016-06-13 15:40, Jo-Philipp Wich wrote: Hi Ulrich, wouldn't some protection with "flock" or similar be better in this case in order to serialize config generation and restart tasks? I don't think we should be using flock. We should find a way to ha

Re: [LEDE-DEV] [PATCH] dnsmasq: write atomic config file

2016-06-13 Thread Jo-Philipp Wich
Hi, yes, it is certainly better than starting dnsmasq with an incomplete config. ~ Jo ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] [PATCH] dnsmasq: write atomic config file

2016-06-13 Thread Felix Fietkau
On 2016-06-13 15:40, Jo-Philipp Wich wrote: > Hi Ulrich, > > wouldn't some protection with "flock" or similar be better in this case > in order to serialize config generation and restart tasks? I don't think we should be using flock. We should find a way to have procd serialize init script calls p

[LEDE-DEV] Fwd: Bug found

2016-06-13 Thread Ansuel Smith
I have an error with ddsn app for luci 200850 WARN : Busybox compiled with musl - nslookup - no support to set/use DNS Server – TERMINATE And there a re lots of problems with the sqm scripts… everything except simplets give me kernel panic and spam me the log message… the router continue to functio

Re: [LEDE-DEV] [PATCH] dnsmasq: write atomic config file

2016-06-13 Thread Jo-Philipp Wich
Hi Ulrich, wouldn't some protection with "flock" or similar be better in this case in order to serialize config generation and restart tasks? ~ Jo ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede

[LEDE-DEV] [PATCH] dnsmasq: write atomic config file

2016-06-13 Thread Ulrich Weber
multiple invocation of dnsmasq script (e.g. by procd and hotplugd) might cause procd to restart dnsmasq with an incomplete config file. Config file generation might take quite a long time on larger configs due ubus calls for each listening interface... Signed-off-by: Ulrich Weber --- package/net

Re: [LEDE-DEV] [PATCH] base-files: seed /dev/urandom

2016-06-13 Thread John Crispin
On 13/06/2016 00:56, Etienne Champetier wrote: > Hi Felix, > > 2016-06-12 12:45 GMT+02:00 Felix Fietkau : >> On 2016-06-11 08:37, Etienne CHAMPETIER wrote: >>> This commit: >>> 1) seed /dev/urandom with a saved seed as early as possible >>>(using /lib/preinit/81_urandom_seed) >>> 2) save a n

Re: [LEDE-DEV] lede integration issues remaining from the detrius of cerowrt

2016-06-13 Thread Jo-Philipp Wich
Hi, no need to overreact :) I think parts of the topics are about the general availability of choices and not necessarily making them the default. Imho most parts of CeroWrt can be replicated by using the ImageBuilder to repack images with various components swapped (e.g. lighttpd vs. uhttpd) an

Re: [LEDE-DEV] [PATCH mountd] filesystem mount options in uci config

2016-06-13 Thread John Crispin
On 13/06/2016 09:47, Olivier Hardouin wrote: > Hi John, > > Thanks for your comment. > You're right, I need to add some check before getting uci options. > > Regarding the fs name, I propose to use per default the same driver name > as defined in fs_names (and not have the fstype parameter in u

[LEDE-DEV] [PATCH v3] base-files: seed /dev/urandom

2016-06-13 Thread Etienne CHAMPETIER
This commit: 1) seed /dev/urandom with a saved seed as early as possible (using /lib/preinit/81_urandom_seed) 2) save a new seed using getrandom() so we are sure /dev/urandom pool is initialized (using /etc/init.d/urandom_seed) seed size is 512 bytes (ie /proc/sys/kernel/random/poolsize / 8)