[LEDE-DEV] [RFC PATCH] kernel: use upstream patches for musl

2018-01-03 Thread Hauke Mehrtens
This replaces the current patches used to make the kernel headers compatible with musl with the version which was accepted upstream and the other patches working on top of that. This was compile tested with iproute2 build on all supported kernel versions with musl and one one with glibc. Signed-of

Re: [LEDE-DEV] [PATCH] at91: sama5: activate fpu

2018-01-03 Thread Hauke Mehrtens
On 01/02/2018 07:26 PM, Sandeep Sheriker wrote: > Hi Hauke, > > I get below build error > > make  -C > /home/sandeep/microchip/arm/lede/build_dir/target-arm_cortex-a5+neon-vfpv4_musl_eabi/u-boot-sama5d2_xplained_mmc/u-boot-2016.05 > sama5d2_xplained_mmc_config > make[4]: Entering directory > '/ho

[LEDE-DEV] [PATCH] uboot-at91: fix build after fpu activation

2018-01-03 Thread Hauke Mehrtens
Use the default build definitions instead of some custom one. The custom one added -mfloat-abi=soft which is used in the kernel build and the normal -mfloat-abi=hard was added in addition which caused a build problem. Fixes: 01cc6bd495f31 ("at91: sama5: activate fpu") Signed-off-by: Hauke Mehrtens

Re: [LEDE-DEV] [PATCH netifd] proto: allow dumping protocol handlers without config_params

2018-01-03 Thread Jo-Philipp Wich
Hi, > I'm unable to reproduce the reported netifd crash by using a proto > shell handler having no proto_init_config function. > Looking into the code the proto_handler config_params parameter is > always assigned the proto shell handler config pointer in the function > proto_shell_add_handler; af

Re: [LEDE-DEV] [PATCH netifd] proto: allow dumping protocol handlers without config_params

2018-01-03 Thread Hans Dedecker
On Wed, Jan 3, 2018 at 10:35 AM, Olof Sivertsson wrote: > When ubus invokes proto_dump_handlers, and a struct proto_handler has > been added with a NULL config_params, a segmentation fault occurs. > > Avoid this segmentation fault by checking for a NULL config_params > before further access. Hi,

Re: [LEDE-DEV] [PATCH fstools] overlay: fix race condition when switching to jffs2

2018-01-03 Thread Hauke Mehrtens
On 12/15/2017 03:10 PM, Roman Yeryomin wrote: > There is a race between `cp -a /tmp/root/* /rom/overlay` from > libfstools/overlay.c and a process creating new file(s) before > pivot(/rom, /mnt) occured. > That is a process can create a file and it will not be copied. > > To workaround this, do ad

Re: [LEDE-DEV] [PATCH] layerscape: activate fpu feature

2018-01-03 Thread Hauke Mehrtens
On 01/03/2018 04:21 AM, Y.b. Lu wrote: > Hi Hauke, > > The layerscape maintainer info should be no problem. You just sent wrong > email address to me. (cyangbo...@nxp.com) > MAINTAINER:=Yangbo Lu Will you send a patch to update the Maintainer? > I will cherry-pick this patch to our internal LE

[LEDE-DEV] [PATCH v1] kernel: bump 4.4 to 4.4.109

2018-01-03 Thread Kevin Darbyshire-Bryant
Refresh patches Signed-off-by: Kevin Darbyshire-Bryant --- include/kernel-version.mk | 4 +- .../patches-4.4/910-unaligned_access_hacks.patch | 2 +- .../generic/pending-4.4/208-disable-modorder.patch | 4 +- .../pending-4.4/653-disable_netlink_trim.patch | 2 +

Re: [LEDE-DEV] [PATCH v1] kernel: bump 4.4 to 4.4.109 for 17.01

2018-01-03 Thread Stijn Segers
Refresh patches. Run-tested: ar71xx Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant Tested-by: Stijn Segers ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] [PATCH v1] kernel: bump 4.4 to 4.4.109 for 17.01

2018-01-03 Thread Stijn Segers
Hi Kevin, FYI - I am getting these messages when applying: $ git am ../patches/main/0001-kernel-update-17.01-kernel-4.4-to-4.4.109.patch Applying: kernel: bump 4.4 to 4.4.109 for 17.01 .git/rebase-apply/patch:86: space before tab in indent. xhci->quirks |= XHCI_TRUST_TX_LENGTH; .git/rebase-a

[LEDE-DEV] [PATCH v1] kernel: bump 4.4 to 4.4.109 for 17.01

2018-01-03 Thread Kevin Darbyshire-Bryant
Refresh patches. Run-tested: ar71xx Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant --- include/kernel-version.mk | 4 +- ...d-firmware-loader-for-uPD720201-and-uPD72.patch | 6 +- .../802-usb-xhci-force-msi-renesas-xhci.patch | 4 +- .../patches-4.4/910-una

[LEDE-DEV] [PATCH] imx6: fix pcie scanning on boot

2018-01-03 Thread Koen Vandeputte
Upstream commit "PCI: Do not allocate more buses than available in parent" limits the amount of busses being allocated upon scanning the PCIe bus. [1] This commit was introduced in kernel 4.9.71 This breaks PCIe scanning on the Gateworks Ventana, causing no devices to be found. Temp fix this by

[LEDE-DEV] error building sudo for x86

2018-01-03 Thread Denis Periša
Hi all, If someone can help me, I have error building sudo, something about PAM I tried including pam lib and enabling pam in busybox but with no avail it's latest openwrt/lede git Thank you! -- checking for pam_start in -lpam... yes checking security/pam_appl.h usability... no checking securi

[LEDE-DEV] [PATCH mountd 2/3] mount: remove directory if mounting fails

2018-01-03 Thread Rafał Miłecki
From: Rafał Miłecki Aside from just cleaning up mountd's tmp dir it's also important for autofs support. With such an empty directory autofs_process_request believed device is mounted and it kept replying AUTOFS_IOC_READY to the kernel. It was causing a log storm like: mountd[1015]: Got a autofs

[LEDE-DEV] [PATCH mountd 3/3] mount: check if block was mounted before cleaning it up

2018-01-03 Thread Rafał Miłecki
From: Rafał Miłecki Calling an extra rmdir and unlink isn't a big issue but triggering hotplug.d scripts for devices that weren't mounted could be misleading for listeners. Signed-off-by: Rafał Miłecki --- mount.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a

[LEDE-DEV] [PATCH mountd 1/3] mount: call hotplug mount scripts only on success

2018-01-03 Thread Rafał Miłecki
From: Rafał Miłecki If mounting fails for whatever reason (like unsupported file system or something) hotplug.d scripts shouldn't be called. Signed-off-by: Rafał Miłecki --- mount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mount.c b/mount.c index caf9d9d..803acc1

Re: [LEDE-DEV] [PATCH] odhcp6c: Replace strerror(errno) with %m

2018-01-03 Thread Hans Dedecker
On Tue, Jan 2, 2018 at 11:01 PM, Rosen Penev wrote: > On Mon, Dec 25, 2017 at 3:23 PM, Florian Fainelli > wrote: >> Le 12/25/17 à 15:05, Rosen Penev a écrit : >>> Reduction of 48 bytes in compiled size. No functional difference. >>> >>> -pedantic was removed as %m is a GNU extension. >> >> My 2

[LEDE-DEV] [PATCH netifd] proto: allow dumping protocol handlers without config_params

2018-01-03 Thread Olof Sivertsson
When ubus invokes proto_dump_handlers, and a struct proto_handler has been added with a NULL config_params, a segmentation fault occurs. Avoid this segmentation fault by checking for a NULL config_params before further access. Signed-off-by: Olof Sivertsson --- proto.c | 2 +- 1 file changed, 1