Re: [OpenWrt-Devel] [PATCH] gemini: image: fix race condition when building copy-kernel.bin

2019-09-10 Thread Linus Walleij
On Tue, Sep 10, 2019 at 11:22 AM Yousong Zhou wrote: > Make treat copy-kernel.o as intermediate and delete it when it's no > longer needed. This can fail when the same submake was triggered > multiple times for different devices. > > arm-openwrt-linux-muslgnueabi-as -k -o copy-kernel.o

Re: [OpenWrt-Devel] nftables: named counters broken on 18.06.4

2019-09-10 Thread Vincent Wiemann
On 10.09.19 19:06, Salvatore Mesoraca wrote: > On Tue, 10 Sep 2019 at 17:58, Vincent Wiemann > wrote: >> >> >> On 10.09.19 17:20, Salvatore Mesoraca wrote: >>> Hi, >>> >>> I'm experiencing a problem with nftables' named counters with OpenWrt >>> 18.06.4 on a NetGear R7800. >>> This is an

Re: [OpenWrt-Devel] Memory leak related to OpenWrt patch of hostapd

2019-09-10 Thread Hauke Mehrtens
On 8/2/19 6:23 PM, Nick Schaf wrote: > > >> Nick Schaf [2019-07-31 16:34:36]: >> >> Hi, >> >>> I've noticed the wpa_supplicant process on my mesh interfaces leaking >>> memory to the point that the kernel kills the process. It was >>> discovered in 18.06.2, but I've reproduced it with 18.06.4

Re: [OpenWrt-Devel] nftables: named counters broken on 18.06.4

2019-09-10 Thread Vincent Wiemann
On 10.09.19 17:20, Salvatore Mesoraca wrote: > Hi, > > I'm experiencing a problem with nftables' named counters with OpenWrt 18.06.4 > on a NetGear R7800. > This is an example of what I get: > > # uname -a > Linux OpenWrt 4.14.131 #0 SMP Thu Jun 27 12:18:52 2019 armv7l GNU/Linux > # nft flush

[OpenWrt-Devel] nftables: named counters broken on 18.06.4

2019-09-10 Thread Salvatore Mesoraca
Hi, I'm experiencing a problem with nftables' named counters with OpenWrt 18.06.4 on a NetGear R7800. This is an example of what I get: # uname -a Linux OpenWrt 4.14.131 #0 SMP Thu Jun 27 12:18:52 2019 armv7l GNU/Linux # nft flush ruleset # nft add table inet filter # nft add counter inet filter

Re: [OpenWrt-Devel] Mouting rootfs overlay help

2019-09-10 Thread sven falempin
On Mon, Sep 9, 2019 at 12:14 PM sven falempin wrote: > > Dear reader , > > My Updated image cannot auto mount the overlay for some reason. > [ 10.587382] mount_root: no usable overlay filesystem found, using > tmpfs overlay > > Nevertheless the overall detection seems fine : > > [1.728207]

[OpenWrt-Devel] [PATCH] firewall3: fix typo that affects ICMPv6 rules with numeric icmp_type

2019-09-10 Thread Alin Nastac
From: Alin Nastac Problem can be reproduced with a rule like this: option src 'wan' option family 'ipv6' option proto 'icmp' option icmp_type '128' option target 'DROP' The resulted rule will set --icmpv6-type to 128/255. Signed-off-by: Alin Nastac --- options.c | 2 +- 1 file

[OpenWrt-Devel] [PATCH 2/2] config: kernel: remove KERNEL_LXC_MISC

2019-09-10 Thread Yousong Zhou
Kernel features are neutral. The two cascaded features can also be useful for other container related tools It's also less error-prone if only kconfig symbols from the kernel are prefixed KERNEL_ Signed-off-by: Yousong Zhou --- Changes will also need to be applied to packages feed, see [1]

[OpenWrt-Devel] [PATCH 1/2] config: kernel: add KERNEL_X86_VSYSCALL_EMULATION

2019-09-10 Thread Yousong Zhou
Binaries in container images may need this. E.g. nginx:1.7.9 used in k8s default deployment manifest file for demostration [1] [1] https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#creating-a-deployment Signed-off-by: Yousong Zhou --- config/Config-kernel.in | 18

[OpenWrt-Devel] [PATCH] gemini: image: fix race condition when building copy-kernel.bin

2019-09-10 Thread Yousong Zhou
Make treat copy-kernel.o as intermediate and delete it when it's no longer needed. This can fail when the same submake was triggered multiple times for different devices. arm-openwrt-linux-muslgnueabi-as -k -o copy-kernel.o copy-kernel.S export MAKEFLAGS= ;make -w -C copy-kernel