[LEDE-DEV] [PATCH] procd: Fix memory leaks found by cppcheck

2016-12-03 Thread Rosen Penev
Signed-off by: Rosen Penev --- initd/mkdev.c | 1 + service/instance.c | 1 + trace/trace.c | 5 - 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/initd/mkdev.c b/initd/mkdev.c index e6d3d0c..e826707 100644 --- a/initd/mkdev.c +++ b/initd/mkdev.c @@ -121,5 +121,6 @@ in

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH] [kernel] fix XW ethernet

2016-12-03 Thread Joe Ayers
> Hi Joe, > > Thanks for that. What images are you using for the other XW images with > the 004dd023 PHY? It looks like we don't have device specific ones for > those in the tree yet. > > - Felix loco-m-xw image in use and 004dd023 PHY align: - AirGrid M5 XW - NBE-M5-16 XW -

[LEDE-DEV] [PATCH ubox] kmodloader: Fix typo in error message

2016-12-03 Thread Florian Fainelli
Signed-off-by: Florian Fainelli --- kmodloader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmodloader.c b/kmodloader.c index 5ba75c1aa36d..40edbf0260b0 100644 --- a/kmodloader.c +++ b/kmodloader.c @@ -610,7 +610,7 @@ static int main_insmod(int argc, char **argv)

[LEDE-DEV] [PATCH] uqmi: Add support for specifying profile index

2016-12-03 Thread Matti Laakso
Update uqmi to latest version, which brings about support for specifying a call profile index instead of APN. A specific index different from 1 must be used for some service provider and modem combinations. Also make autoconnect optional and default it to off due to it not working with statically

Re: [LEDE-DEV] [OpenWrt-Devel] Any interest in adding runit to OpenWRT?

2016-12-03 Thread Thomas Endt
> An idea would be, to provide some small hint for the googlebot, to > switch to the new content via some "#REDIRECT" wiki command ... googlebot will notice. He's a frequent visitor, afaics. Thomas ___ Lede-dev mailing list Lede-dev@lists.infradead.or

Re: [LEDE-DEV] [OpenWrt-Devel] Any interest in adding runit to OpenWRT?

2016-12-03 Thread Hartmut Knaack
Rob Landley schrieb am 03.12.2016 um 20:38: > On 12/03/2016 09:30 AM, Felix Fietkau wrote: >> Hi Denys, >> Here's the thing: OpenWrt/LEDE is starting services via procd. >> This is a rather essential piece of how we're dealing with system-wide >> reloading of configuration and automatically restart

Re: [LEDE-DEV] [OpenWrt-Devel] Any interest in adding runit to OpenWRT?

2016-12-03 Thread Tino Reichardt
* Rob Landley wrote: > On 12/03/2016 09:30 AM, Felix Fietkau wrote: > > Hi Denys, > > Here's the thing: OpenWrt/LEDE is starting services via procd. > > This is a rather essential piece of how we're dealing with system-wide > > reloading of configuration and automatically restarting/reloading only

Re: [LEDE-DEV] [OpenWrt-Devel] Any interest in adding runit to OpenWRT?

2016-12-03 Thread Rob Landley
On 12/03/2016 09:30 AM, Felix Fietkau wrote: > Hi Denys, > Here's the thing: OpenWrt/LEDE is starting services via procd. > This is a rather essential piece of how we're dealing with system-wide > reloading of configuration and automatically restarting/reloading only > services which are affected b

[LEDE-DEV] [PATCH uclient] Fix unused results warnings

2016-12-03 Thread Florian Fainelli
Fixes: uclient-http.c:385:8: error: ignoring return value of 'fread', declared with attribute warn_unused_result [-Werror=unused-result] fread(&val, sizeof(val), 1, f); ^ uclient-fetch.c: In function 'main': uclient-fetch.c:664:12: error: ignoring return value of 'asprintf', declared

[LEDE-DEV] [PATCH] odhcpd: Update to 2016-12-01 snapshot

2016-12-03 Thread Florian Fainelli
Signed-off-by: Florian Fainelli --- package/network/services/odhcpd/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/network/services/odhcpd/Makefile b/package/network/services/odhcpd/Makefile index f6ce26c150ef..f8a74b93c911 100644 --- a/package/network

[LEDE-DEV] [PATCH rpcd 2/2] sys: Check return values of chdir and write

2016-12-03 Thread Florian Fainelli
Fixes the following warnings: rpcd/sys.c: In function 'rpc_cgi_password_set': rpcd/sys.c:116:8: error: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Werror=unused-result] chdir("/"); ^ rpcd/sys.c:125:8: error: ignoring return value of 'write', declared

[LEDE-DEV] [PATCH rpcd 1/2] cmake: Find libubox/blobmsg_json.h

2016-12-03 Thread Florian Fainelli
Add a CMake FIND_PATH and INCLUDE_DIRECTORIES searching for blobmsg_json.h. Some external toolchains which do not include standard locations would fail to find the header otherwise. Signed-off-by: Florian Fainelli --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLis

[LEDE-DEV] [PATCH fstools] libfstools: Check return values for fread and system

2016-12-03 Thread Florian Fainelli
libfstools/rootdisk.c: In function 'rootdisk_volume_identify': libfstools/rootdisk.c:172:7: error: ignoring return value of 'fread', declared with attribute warn_unused_result [-Werror=unused-result] fread(&magic, sizeof(magic), 1, f); ^ libfstools/rootdisk.c:179:7: error: ignoring return

[LEDE-DEV] [PATCH procd] hotplug: Check chown return value

2016-12-03 Thread Florian Fainelli
Fixes: plug/hotplug.c:152:10: error: ignoring return value of 'chown', declared with attribute warn_unused_result [-Werror=unused-result] chown(blobmsg_get_string(tb[0]), 0, g->gr_gid); Signed-off-by: Florian Fainelli --- plug/hotplug.c | 6 -- 1 file changed, 4 insertions(+), 2 delet

[LEDE-DEV] It seems I didn't see most list activity due to list issues

2016-12-03 Thread Daniel Dickinson
Hi, It seems my impression that there wasn't much getting discussed was because there was some sort of list issue that prevented me from getting incoming mails; I had whitelisted the LEDE lists with my email provider, so there was definitely something funky

Re: [LEDE-DEV] [source] procd: update to the latest version, fixes killing jailed processes

2016-12-03 Thread Felix Fietkau
On 2016-12-02 20:18, Etienne Champetier wrote: > Hi Felix, > > 2016-12-02 6:32 GMT-08:00 Felix Fietkau : >> >> Hi Etienne, >> >> what value would you suggest as a default? I should probably make it >> configurable on the command line as well. > > For service handling data we might loose data, so

Re: [LEDE-DEV] [OpenWrt-Devel] Any interest in adding runit to OpenWRT?

2016-12-03 Thread Felix Fietkau
Hi Denys, On 2016-12-03 14:05, Denys Vlasenko wrote: > Hi Felix, guys, > > I noticed that ntpd is running on my 15.05.1, > but its output goes to /dev/null! > > I noticed this because ntpd lost sync, > but it was not possible to see it because its output > (which contains this information) is di

[LEDE-DEV] [PATCH v2] brcm63xx: Add Observa VH4032N support

2016-12-03 Thread Daniel Gonzalez Cabanelas
Add support for the Observa Telecom VH4032N router. This is another BCM6368 router, 128 MB RAM, 32MB flash and 3 USB host ports. It has an onboard USB hub that needs to be pulled out of reset via GPIO27. The 4 LAN switch LEDs should be controlled via hardware but they don't work as with all BCM

Re: [LEDE-DEV] [OpenWrt-Devel] [OpenWrt] Project proposal: The GNUnet of autonomous Things

2016-12-03 Thread Daniel Golle
Hi Arturo, On Sat, Dec 03, 2016 at 03:58:17AM +0100, Arturo Rinaldi wrote: > Hello folks, > > as Kathy mentioned as first answer to Daniel, a proper setup running GNUnet > on our boards could give us a boost in the IoT world. During the last years I'm pretty sure we are practically at this point

Re: [LEDE-DEV] ath10k firmware crashes in mesh mode on QCA9880

2016-12-03 Thread Mohammed Shafi Shajakhan
https://patchwork.kernel.org/patch/9437519/ (sorry missed this in the previous thread) On Sat, Dec 03, 2016 at 06:13:58PM +0530, Mohammed Shafi Shajakhan wrote: > Hi Benjamin, > > On Fri, Dec 02, 2016 at 05:28:02PM -0800, Benjamin Morgan wrote: > > Just tried 10.2.4.70.58 firmware that you linked

Re: [LEDE-DEV] ath10k firmware crashes in mesh mode on QCA9880

2016-12-03 Thread Mohammed Shafi Shajakhan
Hi Benjamin, On Fri, Dec 02, 2016 at 05:28:02PM -0800, Benjamin Morgan wrote: > Just tried 10.2.4.70.58 firmware that you linked to and it still crashes: > > [ 131.568989] ath10k_pci :01:00.0: firmware crashed! (uuid > 1838347e-9380-4a26-ac9d-2963ee95968b) > [ 131.578124] ath10k_pci :01

[LEDE-DEV] [PATCH v3] mt7621: Fix LAN port order of WeVO W2914NS v2

2016-12-03 Thread perillamint
From: "Yong-hyu, Ban" Signed-off-by: Yong-hyu, Ban --- Changelog: v2: Real-name signed-off message v3: Add missing WAN port number. target/linux/ramips/base-files/etc/board.d/02_network | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/base-files/etc/

Re: [LEDE-DEV] [PATCH v2] mt7621: Fix LAN port order of WeVO W2914NS v2

2016-12-03 Thread perillamint
Thanks for review. I'll submit v3 of this. On 03/12/16 16:12, Mathias Kresin wrote: > 03.12.2016 06:28, perillamint: >> From: "Yong-hyu, Ban" >> >> Signed-off-by: Yong-hyu, Ban >> --- >> >> Changelog: >> v2: Fix signed-off name to real name. >> >> target/linux/ramips/base-files/etc/board.d/02_n

Re: [LEDE-DEV] [BUG] Kernel crashes with ath10k radio and Nexus 5X clients

2016-12-03 Thread Timo Sigurdsson
Hi Mohammed, so, I provoked the crash again on a newer build with debugging enabled (LEDE r2321, Linux 4.4.32, ath10k firmware 10.2.4.70.54). The relevant dmesg output is pasted below (with mac addresses pseudo-anonymized). I hope this includes the information you were looking for. If not, please