Re: [LEDE-DEV] [PATCH] uClibc-ng: allow to choose for all supported architectures

2016-06-04 Thread John Crispin
On 04/06/2016 22:21, Waldemar Brodkorb wrote: > Update to 1.0.15 and allow to choose uClibc-ng for all > supported architectures. Some users still need to port over > their code from uClibc-ng to musl, with this change they > can do it in a comfortable way. > > Extra pregen is not required. >

Re: [LEDE-DEV] [PATCH] [ramips] Added NixCore X1 target V2

2016-06-06 Thread John Crispin
Hi Drew, this patch seems to use the old devicetree layout and image building code. do you think you could rebase this and make it work ontop of latest source.git or do you need help to do that ? this patch wont apply as is. another question, did you build this yourself or is this a rebranded

Re: [LEDE-DEV] [PATCH] [ramips] Added NixCore X1 target V2

2016-06-08 Thread John Crispin
NmAf4 > > If this looks good I will update the 16M DTS and then submit again. > > Thanks, > > Drew > > On 06/06/2016 11:12 PM, John Crispin wrote: >> Hi Drew, >> >> this patch seems to use the old devicetree layout and image building >> code

Re: [LEDE-DEV] [PATCH ubox] getrandom: add helper for getrandom() syscall

2016-06-09 Thread John Crispin
Hi Etienne, pushed the patch to ubox.git and updated the ubox package inside my staging tree. should the tool be installed to /usr/bin ? if not let me know and i will fix the staged commit. John On 09/06/2016 15:03, Etienne CHAMPETIER wrote: > getrandom() was introduced in version 3.17

Re: [LEDE-DEV] [PATCH ubox] getrandom: add helper for getrandom() syscall

2016-06-09 Thread John Crispin
Thu, 9 Jun 2016 16:03:00 +0300 (13:03 +0000) > committerJohn Crispin <j...@phrozen.org> > Wed, 8 Jun 2016 01:19:24 +0300 (00:19 +0200) > > staging commit: > authorJohn Crispin <j...@phrozen.org> > Wed, 8 Jun 2016 01:22:16 +0300 (00:22 +0200) > comm

Re: [LEDE-DEV] ACL kernel config options and 3.18

2016-06-07 Thread John Crispin
On 07/06/2016 11:02, Daniel Curran-Dickinson wrote: >

Re: [LEDE-DEV] [PATCH 1/2] mail: imapfiler: use default imapfilter config options

2016-06-06 Thread John Crispin
Hi Tomasz, these need to be submitted via a PRS to the openwrt packages feed on github John On 05/06/2016 15:03, Tomasz Duszynski wrote: > IMAP filtering is setup per user so it makes sense > to use settings defined under user's home directory. > > Signed-off-by: Tomasz Duszynski

Re: [LEDE-DEV] [PATCH] tools/mkfwimage2: remove 256 length limit for partition images

2016-06-12 Thread John Crispin
could it be that the subject is wrong s/images/names/ ? John On 11/06/2016 04:15, Alexander Couzens wrote: > Signed-off-by: Alexander Couzens > --- > tools/firmware-utils/src/mkfwimage2.c | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git

Re: [LEDE-DEV] [PATCH] Pass method paraneter to Lua notifications.

2016-06-12 Thread John Crispin
Hi Ian, there is a typo in the subject and the description of the patch is missing in the body. could you please fix those 2 things and resend the patch ? Johb On 11/06/2016 15:54, Iain Fraser wrote: > --- > lua/ubus.c |5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) >

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH package mountd] uci config for mountd fileystem options

2016-06-10 Thread John Crispin
On 10/06/2016 12:00, Mathias Kresin wrote: > Hi Oliver, > > 2016-06-10 11:37 GMT+02:00 : >> Signed-off-by: Olivier Hardouin >> --- > > Your patch doesn't have a commit message, which explains why these > options are required by default.

Re: [LEDE-DEV] [PATCH] [ramips] Added NixCore X1 target V3

2016-06-10 Thread John Crispin
On 09/06/2016 23:36, Drew from NixCore wrote: > I have no problem with a common dtsi, can I get these changes in first > and then do the dtsi as I continue work? > > Drew > > On 06/09/2016 03:12 PM, Karl Palsson wrote: >> If the 8 and 16 meg files only differ in their memory, should >> they

Re: [LEDE-DEV] cavium: Ignore MEM boot param when too small

2016-06-09 Thread John Crispin
On 08/06/2016 15:49, Michał Osowiecki wrote: > Cisco RV0XX u-boot sets MEM=2048 as boot param. We assume that at least > 4MB (mem_alloc_size) of ram is needed to run linux on cavium boards, so > if mem < 4M - ignore it and set default value > > > Signed-off-by: Michał Osowiecki

Re: [LEDE-DEV] [RFC] sysupgrade image format

2016-06-10 Thread John Crispin
Hi, some comments inline On 09/06/2016 20:41, Alexander Couzens wrote: > Hi, > > I'm posting the results of a small group who talked about the > sysupgrade image format at the battlemesh in Porto. > > sysupgrade > ## > * don't limit our format by vendor image limitations i dont

Re: [LEDE-DEV] [PATCH] urandom-seed: add initial implementation

2016-06-03 Thread John Crispin
On 03/06/2016 13:15, Etienne Champetier wrote: > Hi John, > > 2016-06-03 11:00 GMT+02:00 John Crispin <j...@phrozen.org>: >> Hi Etienne, >> >> comment inline ... >> >> On 02/06/2016 23:21, Etienne CHAMPETIER wrote: >>> This packag

Re: [LEDE-DEV] [PATCH 2/3] [ubox] syslog: change log buffer size

2016-06-03 Thread John Crispin
On 03/06/2016 12:59, Dan Bugnar wrote: > Change the log buffer size and copy the messages. > Copy the messages from the oldest to newest using the log_list. > First time we calculate the size of the all entries. The log_entries_size > calculates the size indifferent of the positions of the

Re: [LEDE-DEV] [PATCH libubox] blobmsg_json: add new functions blobmsg_format_json_value*

2016-06-03 Thread John Crispin
On 01/06/2016 22:27, Matthias Schiffer wrote: > The current blobmsg_format_json* functions will return invalid JSON when > the "list" argument is given as false (blobmsg_format_element() will > output the name of the blob_attr as if the value is printed as part of a > JSON object). > > To avoid

Re: [LEDE-DEV] git.openwrt.org site half broken

2016-06-03 Thread John Crispin
On 02/06/2016 13:20, Etienne Champetier wrote: > Hi, > > someone messed with git.openwrt.org nginx config, i can't get the js and css. > > see https://git.openwrt.org/project/static/gitweb.css (doesn't look > like a css :) ) > > Cheers > Etienne > that url looks weird. ->

Re: [LEDE-DEV] [PATCH 2/2] Add script to build common platforms.

2016-06-03 Thread John Crispin
On 01/06/2016 20:21, Ben Greear wrote: > On 06/01/2016 11:07 AM, John Crispin wrote: >> Hi Ben, >> >> also inclined to reject this one. it will open up the pandoras box and >> we will end up maintaining piles of diffconfig files. it would make >> morse sense

Re: [LEDE-DEV] [PATCH] urandom-seed: add initial implementation

2016-06-03 Thread John Crispin
Hi Etienne, comment inline ... On 02/06/2016 23:21, Etienne CHAMPETIER wrote: > This package: > 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

Re: [LEDE-DEV] [PATCH] fix uClibc-ng scanf check

2016-06-03 Thread John Crispin
Hi Waldemar On 03/06/2016 04:23, Waldemar Brodkorb wrote: > uClibc-ng tries to be compatible with GNU libc and defines > __GLIBC__ and pretend to be version 2.2. > We once changed it to 2.10, but then some hard to fix problems > in different software packages (gcc) occured. > It would be better

Re: [LEDE-DEV] [PATCH] package/devel/gdb: Add support of ARC gdb

2016-06-03 Thread John Crispin
file:699: recipe for target 'stamp-5mloop' failed > make[7]: *** [stamp-5mloop] Error 1 > -------->8 > > Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> > Cc: John Crispin <j...@phrozen.org> > Cc: Felix Fietkau <n...@nbd.name> > --- >

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

2016-06-13 Thread John Crispin
section for it to work. if the fs is not explicitly defined use the sane default John > > Olivier > > > On Mon, Jun 13, 2016 at 7:03 AM, John Crispin <j...@phrozen.org > <mailto:j...@phrozen.org>> wrote: > > Hi, > >

[LEDE-DEV] mqmaker witi board - battery

2016-06-14 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

Re: [LEDE-DEV] mqmaker witi board - battery

2016-06-14 Thread John Crispin
LIR1220, but I haven't tested it. > > Roger > > El 14/06/16 a les 08:55, John Crispin ha escrit: >> 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 r

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

2016-06-14 Thread John Crispin
On 14/06/2016 22:14, Etienne Champetier wrote: > Felix, John, is your nack on writing on every boot final? if there is an alternate way to do so then yes. as i said before, adding a optin/out option should be possible. i always went by the rule that writing a sector more than 1000 times should

[LEDE-DEV] looking for au1000 testers

2016-06-15 Thread John Crispin
Hi, the au1000 fails to boot properly with v4.4 we need someone to pick up the maintainer ship and fix this issue. i have no longer got any hw that can be used for testing. we need this fixed for it to be part of the release. John ___

[LEDE-DEV] looking for ar7 testers

2016-06-15 Thread John Crispin
Hi, the ar7 boots with v4.4 but ethernet apparently passes no traffic and atm is untested. we need someone to pick up the maintainer ship and fix this issue. i have no longer got any hw that can be used for testing. we need this fixed for it to be part of the release. John

[LEDE-DEV] DGN3500 nas mac

2016-06-15 Thread John Crispin
Hi, 492964e741f1e0254b6ed7c0a095551a31d25dc9 slipped by me without me realizing that it is broken. i staged a fix in my tree for this https://git.lede-project.org/?p=lede/blogic/staging.git;a=commit;h=08eb51390bd898a2f2b8023515c0f6482887faa7 however the esi stuff needs to be changed to apply

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)

Re: [LEDE-DEV] international keyboard layout support

2016-06-03 Thread John Crispin
On 03/06/2016 14:19, edgar.sol...@web.de wrote: > hey All, > > i already posted this on openwrt-de...@lists.openwrt.org , but am currently > unsure what the status is for LEDE vs. OpenWrt. so here i go again on this > very ml. > > while tinkering with Gluon the Openwrt based Freifunk

Re: [LEDE-DEV] [PATCH] [ramips] Added NixCore X1 target V2

2016-06-08 Thread John Crispin
Hi Drew, just sent a new version please. John On 08/06/2016 20:52, John Crispin wrote: > Hi Drew, > > since CC a few things have changed. the new dts file looks good, i will > merge it tomorrow, rebase the userland script changes and change the > image generation code t

Re: [LEDE-DEV] TR-069, bufferbloat, and BQL

2016-05-28 Thread John Crispin
On 28/05/2016 16:02, Hauke Mehrtens wrote: > On 05/28/2016 03:36 PM, Dave Taht wrote: >> On Sat, May 28, 2016 at 5:34 AM, Hauke Mehrtens wrote: >>> On 05/27/2016 12:43 PM, David Lang wrote: On Thu, 26 May 2016, Delbar Jos wrote: > We are conscious of the fact

Re: [LEDE-DEV] [PATCH procd 7/7] jail: don't CLONE_NEWUTS if we don't change hostname

2016-05-30 Thread John Crispin
Hi Etienne, why dont we want to do that ? John On 30/05/2016 01:39, Etienne CHAMPETIER wrote: > Signed-off-by: Etienne CHAMPETIER > --- > jail/jail.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/jail/jail.c

Re: [LEDE-DEV] [PATCH] package/util-linux: Fix libmount build under uClibc

2016-05-30 Thread John Crispin
On 30/05/2016 13:13, Alexey Brodkin wrote: > Hello, > > On Thu, 2016-05-26 at 14:55 +0300, Alexey Brodkin wrote: >> Hello, >> >> On Mon, 2016-05-23 at 17:46 +0300, Alexey Brodkin wrote: >>> >>> This fixes util-linux building with uClibc. >>> Patch is taken as it is from Buildroot: >>>

Re: [LEDE-DEV] [PATCH procd 7/7] jail: don't CLONE_NEWUTS if we don't change hostname

2016-05-30 Thread John Crispin
On 30/05/2016 11:59, Etienne Champetier wrote: > Hi John, > > 2016-05-30 9:33 GMT+02:00 John Crispin <j...@phrozen.org>: >> >> >> Hi Etienne, >> >> why dont we want to do that ? > > If you modify the hostname of the router you might want to p

Re: [LEDE-DEV] urandom seed & /etc mount time

2016-06-02 Thread John Crispin
On 02/06/2016 09:04, Etienne Champetier wrote: > Hi John, > > Le 2 juin 2016 07:04, "John Crispin" <j...@phrozen.org > <mailto:j...@phrozen.org>> a écrit : >> >> >> On 01/06/2016 23:39, Etienne Champetier wrote: >> > Hi, >>

Re: [LEDE-DEV] [PATCH] package/util-linux: Fix libmount build under uClibc

2016-06-02 Thread John Crispin
On 02/06/2016 13:00, Alexey Brodkin wrote: > Hi Waldemar, > > On Wed, 2016-06-01 at 19:28 +0200, Waldemar Brodkorb wrote: >> Hi Alexey, >> >> Alexey Brodkin wrote, >> >>> >>> Hi Waldemar, >>> >>> On Mon, 2016-05-30 at 14:12 +0300, Alexey Brodkin wrote: Hello, On Thu,

Re: [LEDE-DEV] Add info about git URLs in Lede Git Web

2016-06-02 Thread John Crispin
On 02/06/2016 19:02, Ted Hess wrote: > Check it out now... > the funk soul brothers > /ted > > On Thu, 2016-06-02 at 13:41 +, Alexey Brodkin wrote: >> Hello, >> >> I think it would be quite convenient to add info about URLs >> that could be used for accessing Lede repos via git. >>

Re: [LEDE-DEV] [PATCH] package/util-linux: Fix libmount build under uClibc

2016-06-01 Thread John Crispin
On 01/06/2016 19:28, Waldemar Brodkorb wrote: >> The question to you is where do you think we should fix mentioned problem: >> > 1) In uClibc-ng with addition of "%ms" support in scanf or > I would prefer this solution. I have started reading the code, but I > can't give you any guarantee when

Re: [LEDE-DEV] [PATCH 1/2] Add some common packages for x86-64 target.

2016-06-01 Thread John Crispin
On 01/06/2016 20:24, Dave Taht wrote: > To fork this discussion mildly, I would like to see a fuller build, > including the luci gui, available, somehow, somewhere, so that newer > users can get a working config "out of the box" from the daily builds. > > Also, at least on the archer c7v2, the

Re: [LEDE-DEV] [PATCH 2/2] Add script to build common platforms.

2016-06-01 Thread John Crispin
Hi Ben, also inclined to reject this one. it will open up the pandoras box and we will end up maintaining piles of diffconfig files. it would make morse sense to document what the script does inside web.git as a "how to build" or "getting started" page John On 27/05/2016 01:57,

Re: [LEDE-DEV] [PATCH 1/2] Add some common packages for x86-64 target.

2016-06-01 Thread John Crispin
Hi Ben, i am inclined to reject this one. i understand the reasoning behind the patch but the general concept is to keep images minimal. the tools might make sense to you for your use case but others will want a different selection of tools/drivers. we will never be able to find a set suitable

Re: [LEDE-DEV] urandom seed & /etc mount time

2016-06-01 Thread John Crispin
On 01/06/2016 23:39, Etienne Champetier wrote: > Hi, > > i'm thinking about adding a urandom seed like any distro do, > just need to know when /etc is first monted (inside procd or via init > scripts?) > > Regards > Etienne from within mount_root John >

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

2016-06-22 Thread John Crispin
On 16/06/2016 11:38, Etienne CHAMPETIER wrote: > This commit: > 1) seed /dev/urandom with a saved seed as early as possible >(see /lib/preinit/81_urandom_seed) > 2) save a new seed if system.@system[0].write_urandom_seed_on_boot == 1 >or if none exists. We use getrandom() so we are sure

Re: [LEDE-DEV] [PATCH] [ramips] Added NixCore X1 target V5

2016-06-16 Thread John Crispin
Hi, patch does not apply. please go here --> http://patchwork.ozlabs.org/patch/636150/ click on "download mbox" and you will see that it is line wrapped at 80 characters. John On 16/06/2016 02:37, Drew from NixCore wrote: > Added NixCore X1 ramips target http://nixcores.com. This

Re: [LEDE-DEV] [PATCH] kernel: mtdsplit: calculate kernel partition precisely for Seama

2016-06-17 Thread John Crispin
On 11/06/2016 01:36, Rafał Miłecki wrote: > So far "kernel" partition didn't contain just a kernel. It also included > Seama header and meta data. This was making kernel update complex and it > wasn't trivial to read kernel size. > Fix it by making "kernel" parition contain just a kernel image.

Re: [LEDE-DEV] Bug REPORT: Lantiq - XRX200 -UBIFS does not build

2016-06-20 Thread John Crispin
fix coming up, doing test builds just now On 20/06/2016 12:02, Paul Rowland wrote: > John, > > > My attempt to send this bug report to the lede-dev list has failed a > number of times. It worked some weeks ago. > > > PTR. > > > cut here > > > I did a git-pull and make clean

[LEDE-DEV] ar71xx - please help test

2016-06-21 Thread John Crispin
Hi, i have moved all the profiles into the image building code. i have done some basic testing and already got a bit of feedback from others. it would be nice if people could help test the following patch from my staging tree

Re: [LEDE-DEV] looking for ar7 testers

2016-06-19 Thread John Crispin
On 20/06/2016 02:51, David Lang wrote: > On Sun, 19 Jun 2016, Daniel Curran-Dickinson wrote: > >> On Wed, 2016-06-15 at 19:52 -0700, David Lang wrote: >>> Is there a list of hardware that is needed? (or do you want donations >>> of money >>> for the project to buy hardware)? >> >> TBH I'm not

Re: [LEDE-DEV] [PATCH] lantiq: fix network in failsafe

2016-06-19 Thread John Crispin
On 20/06/2016 05:15, Zhao, Gang wrote: > Hi, Mathias Kresin > > On Sun, Jun 19, 2016 at 10:30 PM, Mathias Kresin wrote: >> So far the network in failsafe is setup only for one board. Use the >> eth0 interface as lan interface for all boards for now. >> >> If a board has its lan

Re: [LEDE-DEV] [PATCH] lantiq: fix network in failsafe

2016-06-19 Thread John Crispin
On 20/06/2016 07:39, Mathias Kresin wrote: > Am 20.06.2016 um 07:19 schrieb John Crispin: >> >> >> On 20/06/2016 05:15, Zhao, Gang wrote: >>> Hi, Mathias Kresin >>> >>> On Sun, Jun 19, 2016 at 10:30 PM, Mathias Kresin <d...@kresin.me> wr

Re: [LEDE-DEV] [RFC] rootfs_data on different MTD outside firmware image

2016-06-18 Thread John Crispin
On 18/06/2016 06:21, Adrian Panella wrote: > Hi, some Linksys devices (i.e WRT1900AC, EA4500, EA8500,...) have two > different partitions for dual boot, and an additional partition that > Linksys uses for system config (sysconf). > Each of these partitions is of a considerable size (23-37 mb,

Re: [LEDE-DEV] [PATCH mountd 2/2] support for disk without partition table

2016-06-23 Thread John Crispin
On 22/06/2016 09:51, olivier.hardo...@gmail.com wrote: > if no partition found, try to mount the block device itself > > Signed-off-by: Olivier Hardouin Hi, looks ok, just wondering what kind of storage you see this on. i have only seen superfloppy type formating

Re: [LEDE-DEV] TR-069 and OpenWrt discussion on these lists?

2016-06-16 Thread John Crispin
; >> Notably freecwmp and easycwmp >> >> NAK... use reasonable mailing list etiquette. >> >> >> >> >> On Thu, Jun 16, 2016 at 1:11 AM, John Crispin <j...@phrozen.org> wrote: >>> >>> what an utterly bizarre conversation to wake

Re: [LEDE-DEV] [PATCH] [ramips] Added NixCore X1 target V5

2016-06-23 Thread John Crispin
nty. try using "git send-email" or use github to send us a PR. John > > On 06/16/2016 05:45 AM, John Crispin wrote: >> Hi, >> >> patch does not apply. please go here >> >> --> http://patchwork.ozlabs.org/patch/636150/ >> >>

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

2016-06-28 Thread John Crispin
On 28/06/2016 10:28, Jo-Philipp Wich wrote: > Hi Etienne, > > I like this approach, fine with me now. > same here, we could not also consider adding a uci-defaults script that check if rootfs is on a mtd or real lbock device and change the default during firstboot, but i guess that would be a

Re: [LEDE-DEV] ar71xx kernel size starts getting oversized

2016-06-17 Thread John Crispin
On 17/06/2016 10:10, Yousong Zhou wrote: > On 4 June 2016 at 12:49, Yousong Zhou wrote: >> Several days ago I tried to build a firmware for HiWiFi-HC6361 with >> LEDE master branch. Yet the firmware was not present in >> bin/targets/ar71xx/generic after the build

Re: [LEDE-DEV] TR-069 and OpenWrt discussion on these lists?

2016-06-16 Thread John Crispin
what an utterly bizarre conversation to wake up to. the list is non-subscribe/public post for a reason. i dont see why there is a need for X mailing lists. If you dont like it, then dont read it. this is a development related discussion and the rules clearly state that we would prefer companies

Re: [LEDE-DEV] DGN3500 nas mac

2016-06-15 Thread John Crispin
On 15/06/2016 23:50, Daniel Gimpelevich wrote: > On Wed, 2016-06-15 at 16:02 +0200, John Crispin wrote: >> Hi, >> >> 492964e741f1e0254b6ed7c0a095551a31d25dc9 slipped by me without me >> realizing that it is broken. >> >> i staged a fix in my tree for this

Re: [LEDE-DEV] looking for ar7 testers

2016-06-16 Thread John Crispin
a list of hardware that is needed? (or do you want donations >>> of money >>> for the project to buy hardware)? >>> >>> David Lang >>> >>> On Wed, 15 Jun 2016, John Crispin wrote: >>> >>>> Date: Wed, 15 Jun 2016 09:29:31 +020

Re: [LEDE-DEV] /var/run world writable

2016-06-16 Thread John Crispin
no reason feel free to send a patch to fix it. John On 16/06/2016 09:07, Etienne Champetier wrote: > Hi, > > since this procd commit from 2013 >

[LEDE-DEV] running stuff as !root

2016-05-17 Thread John Crispin
Hi, we had previously started building the infra for running stuff as !root. so far we have added * the userid/gid stuff * acl on ubus things that i know are missing * handling network ports < 1024 what am i missing ? can anyone think of other issues we need to address before we change uid to

Re: [LEDE-DEV] running stuff as !root

2016-05-18 Thread John Crispin
On 18/05/2016 08:09, Daniel Curran-Dickinson wrote: > On 16-05-18 01:05 AM, John Crispin wrote: >> Hi, >> >> we had previously started building the infra for running stuff as !root. >> so far we have added >> >> * the userid/gid stuff >> * acl

Re: [LEDE-DEV] running stuff as !root

2016-05-18 Thread John Crispin
On 18/05/2016 08:08, David Lang wrote: > On Wed, 18 May 2016, John Crispin wrote: > >> Hi, >> >> we had previously started building the infra for running stuff as !root. >> so far we have added >> >> * the userid/gid stuff >> * acl on ubus >&

Re: [LEDE-DEV] running stuff as !root

2016-05-18 Thread John Crispin
On 18/05/2016 09:04, David Lang wrote: > > The first question I would have is if we are going to the system users > in an essentially random order (as needed so two systems with the same > packages installed in a different order have different user->uid > mapping) or if we are going to define

Re: [LEDE-DEV] running stuff as !root

2016-05-18 Thread John Crispin
On 18/05/2016 09:21, Radu Anghel wrote: > /* sending again because i hit 'reply' instead of 'reply all' :) */ > > On Wed, May 18, 2016 at 8:29 AM, John Crispin <j...@phrozen.org> wrote: >> >> ok, there had been some discussion about building a super daemon that >&

Re: [LEDE-DEV] A request not making IRC necessary to be part of the action

2016-05-17 Thread John Crispin
On 18/05/2016 03:10, Daniel Curran-Dickinson wrote: > On 16-05-17 05:22 AM, John Crispin wrote: >> well that is status quo, IRC is used to discuss real time stuff and give >> user support. >> >> all other stuff is on the list. meetings being the only thing still on &

Re: [LEDE-DEV] [PATCH] _GNU_SOURCE should be defined for building vs uClibc

2016-05-23 Thread John Crispin
e for target > 'CMakeFiles/procd.dir/inittab.c.o' failed > make[6]: *** [CMakeFiles/procd.dir/inittab.c.o] Error 1 > ->8-- > > Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> > Cc: Waldemar Brodkorb <w...@openadk

Re: [LEDE-DEV] [PATCH] _GNU_SOURCE should be defined for building vs uClibc

2016-05-23 Thread John Crispin
On 23/05/2016 20:12, Waldemar Brodkorb wrote: > Hi John, > John Crispin wrote, > >> Hi, >> is it really a gnu extension or is uclibc b0rked for these symbols ? > > I think it isn't b0rked. > It was added for ARM GNU libc here under #ifdef __USE_GNU: > https:

Re: [LEDE-DEV] 1043ND v2.1 LEDE trunk kernel panic

2016-05-23 Thread John Crispin
On 24/05/2016 02:00, A. Benz wrote: > Hi > > Trunk build of LEDE gets a kernel panic on TPLink 1043ND v2.1 > > See log: > http://paste.debian.net/698070/ > looks like there is no rootfs flashed. whih image did you use ? John ___ Lede-dev

Re: [LEDE-DEV] OpenWRT tree vs LEDE tree

2016-05-19 Thread John Crispin
On 19/05/2016 15:34, Bjørn Mork wrote: > John Crispin <j...@phrozen.org> writes: >> On 19/05/2016 14:48, Bjørn Mork wrote: >>> John Crispin <j...@phrozen.org> writes: >>>> On 09/05/2016 09:44, David Lang wrote: >>>> >>>>&

Re: [LEDE-DEV] [PATCH 1/2] [ubox] syslog: use realloc to change log buffer size

2016-05-19 Thread John Crispin
On 18/05/2016 16:08, Conor O'Gorman wrote: > On 18/05/16 15:03, Dan Bugnar wrote: >> For the larger size it takes the distance from the old log and newest >> and added to _log to have the new newest, same for the oldest. It >> doesn't matter if the newest > oldest OR oldest > newest. > If the

Re: [LEDE-DEV] [PATCH 2/4] v2: block.c: Add support for checking vfat filesystems

2016-05-19 Thread John Crispin
On 18/05/2016 13:28, l...@daniel.thecshore.com wrote: > From: Daniel Dickinson > > v2: Fix mixup of dosfsck checking ext* and e2fsck checking vfat. > > vfat is a common filesystem which users may want to mount on an > OpenWrt/LEDE device, so support peforming

Re: [LEDE-DEV] [PATCH 03/13] ar71xx: enable sysupgrade for the OpenMesh OM2P-HSv3

2016-05-21 Thread John Crispin
Hi Sven, this patch fails to apply. mind re-spinning the series on top of latest source.git ? John On 20/05/2016 17:53, Sven Eckelmann wrote: > Signed-off-by: Sven Eckelmann > --- > target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh | 1 + >

Re: [LEDE-DEV] [PATCH staging 0/7] ath25: minor fixes after kernel updating

2016-05-23 Thread John Crispin
On 23/05/2016 11:30, Sergey Ryazanov wrote: > This series is a set of minor fixes after kernel updating and switching > to new image generation. Nothing critical, just several tiny improvements. > > Sergey Ryazanov (7): > ath25: refresh kernel patches > ath25: refresh kernel configuration >

Re: [LEDE-DEV] [PATCH 2/2] [RFC] ar71xx/cpe510: use second wifi calibration table

2016-05-22 Thread John Crispin
On 23/05/2016 03:23, Alexander Couzens wrote: > The cpe510 has two calibration tables. The first calibration > table requires to modify ath9k driver to work (patched tx gain table). > Hi, why is this a RFC ? i am failing to see what we should comment on John > Signed-off-by:

Re: [LEDE-DEV] Multi-Profile selection support

2016-05-23 Thread John Crispin
On 23/05/2016 14:02, Rafał Miłecki wrote: > On 23 May 2016 at 13:59, Felix Fietkau wrote: >> On 2016-05-23 13:56, Rafał Miłecki wrote: >>> On 23 May 2016 at 13:38, Felix Fietkau wrote: after a long delay, I finally got around to looking into multi profile

Re: [LEDE-DEV] 1043ND v2.1 LEDE trunk kernel panic

2016-05-23 Thread John Crispin
On 24/05/2016 07:33, Yousong Zhou wrote: > On 24 May 2016 at 12:35, John Crispin <j...@phrozen.org> wrote: >> >> >> On 24/05/2016 02:00, A. Benz wrote: >>> Hi >>> >>> Trunk build of LEDE gets a kernel panic on TPLink 1043ND v2

Re: [LEDE-DEV] 1043ND v2.1 LEDE trunk kernel panic

2016-05-24 Thread John Crispin
On 24/05/2016 07:48, John Crispin wrote: > > > On 24/05/2016 07:33, Yousong Zhou wrote: >> On 24 May 2016 at 12:35, John Crispin <j...@phrozen.org> wrote: >>> >>> >>> On 24/05/2016 02:00, A. Benz wrote: >>>> Hi >>>

Re: [LEDE-DEV] [PATCH] mac80211: change default SSID from Lede to LEDE

2016-05-24 Thread John Crispin
On 24/05/2016 19:02, Jo-Philipp Wich wrote: > Hi Refal, > > ack from me. > > ~ Jo ack from me aswell John > > ___ > Lede-dev mailing list > Lede-dev@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/lede-dev >

Re: [LEDE-DEV] [PATCH] lantiq: do not build images which exceed the flash size

2016-05-21 Thread John Crispin
On 21/05/2016 12:29, David Lang wrote: > On Sat, 21 May 2016, Mathias Kresin wrote: > >> The user benpicco in #openwrt reported that images are build which are >> bigger that the available flash size. > > I'm not sure that I agree with this approach. > > I had an issue when building images

Re: [LEDE-DEV] Missing signed-off-by

2016-05-19 Thread John Crispin
On 19/05/2016 09:39, Kevin Darbyshire-Bryant wrote: > Hi Etienne (& list) > > Yes I've just noticed that too when I looked at them coming back at me > via master. I feel really bad! > > I will submit a new PR with properly signed commits once I've done this > email. I guess reverting the

Re: [LEDE-DEV] Missing signed-off-by

2016-05-19 Thread John Crispin
On 19/05/2016 09:55, Kevin Darbyshire-Bryant wrote: > > > On 19/05/16 08:48, John Crispin wrote: >> >> >> On 19/05/2016 09:39, Kevin Darbyshire-Bryant wrote: >>> Hi Etienne (& list) >>> >>> Yes I've just noticed that too when I looke

Re: [LEDE-DEV] [PATCH 01/13] ar71xx: add kernel support for the OpenMesh OM2P-HSv3

2016-05-20 Thread John Crispin
Hi Sven, looks good as usual, i'll pull this into my staging tree when i get home later today or early tomorrow. John On 20/05/2016 17:53, Sven Eckelmann wrote: > Signed-off-by: Sven Eckelmann > --- > target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c

Re: [LEDE-DEV] Bug REPORT: Lantiq - XRX200 - UBIFS image not built

2016-05-17 Thread John Crispin
On 17/05/2016 11:51, Paul Rowland wrote: > I updated sources and packages 15 minutes ago, did a make clean and a build. > The expected file, lede-lantiq-xrx200-BTHOMEHUBV5A-ubifs-sysupgrade.tar, was > not created. It is selected in menuconfig and built fine on Friday. > Hi Paul, thanks for

Re: [LEDE-DEV] [PATCH 2/2] [ubox] logd: add ubus reload method

2016-05-14 Thread John Crispin
On 13/05/2016 22:40, David Lang wrote: > On Fri, 13 May 2016, Alexandru Ardelean wrote: > >> On Fri, May 13, 2016 at 8:55 PM, David Lang wrote: >>> On Fri, 13 May 2016, Helmut Schaa wrote: I was thinking of a different use-case: Increasing the buffer size on the fly

Re: [LEDE-DEV] [PATCH 2/2] [ubox] logd: add ubus reload method

2016-05-14 Thread John Crispin
On 12/05/2016 14:09, Dan Bugnar wrote: > From: Dan Bugnar > > Add logd link to uci library, to read the system config file and get the > buffer size. > Remove the -S option support and use just the option from the config file. > > Signed-off-by: Dan Bugnar

Re: [LEDE-DEV] [PATCH 1/1] [brcm63xx] Add support for the NetGear EVG2000

2016-05-16 Thread John Crispin
On 16/05/2016 11:06, Graham Fairweather wrote: > Ok, thanks for the feedback. I tried so hard to make sure that it was > correct. :( > > On 16 May 2016 at 10:17, Conor O'Gorman wrote: >> You are still having line wrap issues with your patches, as Felix previously >>

[LEDE-DEV] mount_root issues

2016-05-16 Thread John Crispin
Hi, the recent changes i made to mount_root that caused lots of carnage for lost of people should now be fixed. if you had issues with the root not being mounted or being mounted twice then please update to latest HEAD and try again. John ___

Re: [LEDE-DEV] Funkiness with lede-staging / lede-source

2016-05-15 Thread John Crispin
On 15/05/2016 06:05, Daniel Dickinson wrote: > Hi all, > > Was there some history rewriting or something lede-staging and/or > lede-source transition. > > I have a number of branches I created against lede-staging that after > some pull diverged, and which also have a divergent set of commits

[LEDE-DEV] ar71xx v4.4 testing

2016-05-14 Thread John Crispin
Hi, i pushed a tiny patch to fix a regression which i believe was the root cause for v4.4 not working for most folks. if anyone has time to test please do so. i pushed the patches to my staging tree http://git.lede-project.org/lede/blogic/staging.git Please help with testing to see if this

Re: [LEDE-DEV] running stuff as !root

2016-05-18 Thread John Crispin
On 18/05/2016 09:46, Ferry Huberts wrote: > > > On 18/05/16 09:25, John Crispin wrote: >> >> >> On 18/05/2016 09:21, Radu Anghel wrote: >>> /* sending again because i hit 'reply' instead of 'reply all' :) */ >>> >>> On Wed, May 18,

Re: [LEDE-DEV] running stuff as !root

2016-05-18 Thread John Crispin
On 18/05/2016 09:49, Etienne Champetier wrote: > Hi, > > 2016-05-18 9:25 GMT+02:00 John Crispin <j...@phrozen.org>: >> >> >> On 18/05/2016 09:21, Radu Anghel wrote: >>> /* sending again because i hit 'reply' instead of 'reply all' :) */ >>> &

Re: [LEDE-DEV] Why does multiple instance dnsmasq work with jails but not without?

2016-05-18 Thread John Crispin
On 18/05/2016 08:24, Daniel Dickinson wrote: > Hi all, > > I had a patch that I submitted to the openwrt list sometime back that > launched multiple instances of dnsmasq, so long as the instances were > either tied to specific, non-overlapping, interfaces, or used different > dns port, but at

Re: [LEDE-DEV] MPTCP

2016-05-18 Thread John Crispin
On 18/05/2016 17:41, Christian Huldt wrote: > I just built LEDE with MPTCP, but in order to get better integration I'm > reading > https://wiki.openwrt.org/doc/devel/patches#adding_or_editing_kernel_patches > > MPTCP is however associated with a bunch of lines in the kernel config, > is there a

Re: [LEDE-DEV] ar71xx v4.4 testing

2016-05-15 Thread John Crispin
On 15/05/2016 14:39, Hannu Nyman wrote: > On 15.5.2016 10:42, Hannu Nyman wrote: >> I made a build from Felix's commits, but no help. No trace of the >> radios with kernel 4.4. >> >> There is some difference in the kernel bootlog regarding the PCI >> initialisation. The later part of "PCI:

Re: [LEDE-DEV] ar71xx v4.4 testing

2016-05-15 Thread John Crispin
On 15/05/2016 14:44, Hannu Nyman wrote: > On 15.5.2016 15:42, John Crispin wrote: >> On 15/05/2016 14:39, Hannu Nyman wrote: >>> The newest fix from Felix seems to have fixed kernel 4.4 for me. >>> ( 102-MIPS-ath79-fix-regression-in-PCI-window-initializati.patch from

Re: [LEDE-DEV] List Prefix

2016-05-05 Thread John Crispin
On 05/05/2016 10:14, David Woodhouse wrote: > On Thu, 2016-05-05 at 08:13 +0200, John Crispin wrote: >> >> Hi David, >> >> some folks would prefer to have the prefix on the 2 lists. I just had a >> look in the mailman settings and failed to quickly spot the locat

Re: getting users involved in on-device testing

2016-05-05 Thread John Crispin
On 05/05/2016 09:10, Michal Hrusecky wrote: > John Crispin - 8:56 5.05.16 wrote: >> Hi, >> >> It would be nice if there was a process in place that would allow >> community members to easily be able to test images on devices and report >> the results som

Re: [LEDE-DEV] List Prefix

2016-05-05 Thread John Crispin
On 27/04/2016 10:47, John Crispin wrote: > > > On 26/04/2016 18:51, David Woodhouse wrote: >> On Tue, 2016-04-26 at 17:16 +0200, Jo-Philipp Wich wrote: >>> This is just a test, please ignore. >> >> Hm, I thought I fixed the stupid mailman default

  1   2   3   4   5   6   7   >