Re: [LEDE-DEV] Difference between AutoLoad vs. AutoProbe for kernel modules?

2017-01-09 Thread John Crispin
On 09/01/2017 22:51, Lucian Cristian wrote: > On 09.01.2017 15:25, Baptiste Jonglez wrote: >> Hi, >> >> While investigating an issue with module loading order¹, I discovered >> that >> some kernel packages use AutoProbe, like this: >> >> AUTOLOAD:=$(call AutoProbe,xt_hashlimit) >> >> while s

Re: [LEDE-DEV] Difference between AutoLoad vs. AutoProbe for kernel modules?

2017-01-09 Thread Lucian Cristian
On 09.01.2017 15:25, Baptiste Jonglez wrote: Hi, While investigating an issue with module loading order¹, I discovered that some kernel packages use AutoProbe, like this: AUTOLOAD:=$(call AutoProbe,xt_hashlimit) while some kernel packages use the AutoLoad helper I was used to, with a prio

Re: [LEDE-DEV] [PATCH] ar71xx: add support for RB-941-2nD

2017-01-09 Thread Thibaut
> Le 9 janv. 2017 à 20:18, Felix Fietkau a écrit : > > On 2017-01-04 23:04, "Thibaut VARENE > "@vps.slashdirt.org wrote: >> From e55aa1ddff1563d582b456807f20c0457fcaed77 Mon Sep 17 00:00:00 2001 >> From: Thibaut VARENE >> Date: Wed, 4 Jan 2017 22:44:54 +0100 >> Subject: [PATCH] ar71xx: add supp

[LEDE-DEV] 3g led netdev setup

2017-01-09 Thread Giuseppe Lippolis
Hi All, I would like to switch on the 3g LED on the front panel of the dwr-512 when the 3g modem connection is established. One way (successfully tested) is to add the following section in the /etc/conf/system: config 'led' option 'name' '3G' option 'sysfs' 'dwr-51

Re: [LEDE-DEV] [PATCH] ar71xx: add support for RB-941-2nD

2017-01-09 Thread Felix Fietkau
On 2017-01-04 23:04, "Thibaut VARENE "@vps.slashdirt.org wrote: > From e55aa1ddff1563d582b456807f20c0457fcaed77 Mon Sep 17 00:00:00 2001 > From: Thibaut VARENE > Date: Wed, 4 Jan 2017 22:44:54 +0100 > Subject: [PATCH] ar71xx: add support for RB-941-2nD > > Add full support for Mikrotik RB-941-2nD

Re: [LEDE-DEV] [procd] Using "procd_set_param file" on a directory

2017-01-09 Thread Jo-Philipp Wich
Hi Baptiste, > I don't understand how this is possible, is start_service() called each > time a reload is requested? Yes. The init script always computes the service description and sends it to procd which then decides whether there are any changes in tracked resources and if so, it restarts the

Re: [LEDE-DEV] [procd] Using "procd_set_param file" on a directory

2017-01-09 Thread Baptiste Jonglez
On Mon, Jan 09, 2017 at 04:58:23PM +0100, Baptiste Jonglez wrote: > On Mon, Jan 09, 2017 at 04:36:25PM +0100, Felix Fietkau wrote: > > It does not support passing a directory. You should do: > > procd_set_param file /tmp/babeld.d/*.conf (without quotes) > > I wanted to avoid this solution if possi

Re: [LEDE-DEV] [procd] Using "procd_set_param file" on a directory

2017-01-09 Thread Baptiste Jonglez
On Mon, Jan 09, 2017 at 04:36:25PM +0100, Felix Fietkau wrote: > It does not support passing a directory. You should do: > procd_set_param file /tmp/babeld.d/*.conf (without quotes) I wanted to avoid this solution if possible, because it does not handle file creation. However, that is not a major

Re: [LEDE-DEV] [procd] Using "procd_set_param file" on a directory

2017-01-09 Thread Felix Fietkau
On 2017-01-09 16:29, Baptiste Jonglez wrote: > Hi, > > I am using the "procd_set_param file" feature of procd, so that calling > "/etc/init.d/myscript reload" only restarts the process if one of the > config file has changed. > > I was wondering if I can do the same thing on a directory? Basical

Re: [LEDE-DEV] procd question, something causing high cpu usage

2017-01-09 Thread Baptiste Jonglez
Hi Sebastian, On Mon, Dec 19, 2016 at 11:58:26PM +0100, Sebastian Kemper wrote: > Hi all, > > I'm running LEDE git from yesterday (but also observed this on an older > git revision from a few weeks back) on a small mips router. When I start > freeswitch compiled without libedit via procd, CPU usa

Re: [LEDE-DEV] [procd] Using "procd_set_param file" on a directory

2017-01-09 Thread Jo-Philipp Wich
Hi Baptiste, unfortunately it can't atm. Internally it calculates hashes over the contents of the given files and it has no handling for directory listing at all. You could consider creating a dummy configuration only containing a commented-out directory listing and register that with procd - wou

[LEDE-DEV] [procd] Using "procd_set_param file" on a directory

2017-01-09 Thread Baptiste Jonglez
Hi, I am using the "procd_set_param file" feature of procd, so that calling "/etc/init.d/myscript reload" only restarts the process if one of the config file has changed. I was wondering if I can do the same thing on a directory? Basically, my daemon can now take configuration from all files in

[LEDE-DEV] Breaking compatibility with pre-1.5.1 babeld on OpenWRT/LEDE

2017-01-09 Thread Baptiste Jonglez
Dear babeld users on OpenWRT/LEDE, Starting from babeld 1.5.1, the UCI format for configuring babeld on OpenWRT had changed to be more consistent with upstream babeld (use the same option names, and a few other changes). At the time, I had ensured backward compatibility, see: https://wiki.open

[LEDE-DEV] [PATCH v2] ar71xx: add initial support for RB953GS-5HnT-RP

2017-01-09 Thread Gui Iribarren
Add board support, no userspace files yet. Tested over TFTP, ethernet is not yet working (the 3 switch ports report link status, but eth0 is not the switch) Both miniPCIe slots are confirmed working, including their status LEDs Not tested: reset button, USB port, SFP cages, AR9558 radio. Signed-o

[LEDE-DEV] Difference between AutoLoad vs. AutoProbe for kernel modules?

2017-01-09 Thread Baptiste Jonglez
Hi, While investigating an issue with module loading order¹, I discovered that some kernel packages use AutoProbe, like this: AUTOLOAD:=$(call AutoProbe,xt_hashlimit) while some kernel packages use the AutoLoad helper I was used to, with a priority: AUTOLOAD:=$(call AutoLoad,28,raid0)

Re: [LEDE-DEV] Open and secure firmware for Quectel 4G modems [Was: Re: Quectel EC20 QMI autoconnect issues [Was: Re: [LEDE-DEV, 3/3, v3] uqmi: Prevent 'POLICY MISMATCH' error.]]

2017-01-09 Thread Bjørn Mork
Harald Welte writes: > On Sun, Jan 08, 2017 at 11:10:20PM +0100, Bjørn Mork wrote: >> Note that there is nothing Quectel here. This is a standard Qualcomm >> platform. The output above comes from the Sierra Wireless EM7455 >> originally delivered as part of my Lenovo X1 Carbon, running bog >> st

Re: [LEDE-DEV] iw scan can not work

2017-01-09 Thread Yousong Zhou
On 9 January 2017 at 19:53, Xue Liu wrote: > Hello everyone, > > I have a Clearfog Pro board and running LEDE trunk r2818. > > In this revision I found iw wlan0 scan can not work any more. It gives no > results out. wlan0 works as a AP. > > Anyone has idea ? Thanks > > Regards, > > Xue Liu Try ma

[LEDE-DEV] iw scan can not work

2017-01-09 Thread Xue Liu
Hello everyone, I have a Clearfog Pro board and running LEDE trunk r2818. In this revision I found iw wlan0 scan can not work any more. It gives no results out. wlan0 works as a AP. Anyone has idea ? Thanks Regards, Xue Liu -- M.Sci. Embedded Software Entwicklung DKS Dienstleistungsgesel

Re: [LEDE-DEV] [PATCH v2] cns3xxx: remove deprecated mpcore watchdog device

2017-01-09 Thread Felix Fietkau
On 2017-01-09 11:31, Koen Vandeputte wrote: > > > On 2017-01-08 21:27, Felix Fietkau wrote: >> On 2017-01-08 21:14, Koen Vandeputte wrote: >>> This code was exclusively used by the mpcore_wdt >>> driver which got removed from the kernel mid 2013. >>> >>> https://www.spinics.net/lists/linux-watchd

[LEDE-DEV] [PATCH] kernel: bump to 4.4.41

2017-01-09 Thread Koen Vandeputte
Refresh patches for all 4.4 supported targets. Compile & run tested: cns3xxx Signed-off-by: Koen Vandeputte --- include/kernel-version.mk| 4 ++-- ...lk-bcm2835-add-a-round-up-ability-to-the-clock-divi.patch | 6 +++--- ...0253-clk-bcm2835-Support-for-clock-

Re: [LEDE-DEV] [PATCH v2] cns3xxx: remove deprecated mpcore watchdog device

2017-01-09 Thread Koen Vandeputte
On 2017-01-08 21:27, Felix Fietkau wrote: On 2017-01-08 21:14, Koen Vandeputte wrote: This code was exclusively used by the mpcore_wdt driver which got removed from the kernel mid 2013. https://www.spinics.net/lists/linux-watchdog/msg02724.html Tested on Laguna GW2388 Signed-off-by: Koen Va

Re: [LEDE-DEV] questions about RB953GS on LEDE

2017-01-09 Thread Felix Fietkau
Hey Gui! On 2017-01-09 01:09, Gui Iribarren wrote: > So, I have two issues with porting LEDE to this mikrotik board > (patch just sent in another thread) > > on one hand, console is not initialized properly in the default > initramfs.elf > > the kernel cmdline is missing "console=ttyS0,115200",

Re: [LEDE-DEV] Open and secure firmware for Quectel 4G modems [Was: Re: Quectel EC20 QMI autoconnect issues [Was: Re: [LEDE-DEV, 3/3, v3] uqmi: Prevent 'POLICY MISMATCH' error.]]

2017-01-09 Thread Harald Welte
Hi Bjorn, On Sun, Jan 08, 2017 at 11:10:20PM +0100, Bjørn Mork wrote: > Note that there is nothing Quectel here. This is a standard Qualcomm > platform. The output above comes from the Sierra Wireless EM7455 > originally delivered as part of my Lenovo X1 Carbon, running bog > standard firmare.

Re: [LEDE-DEV] Open and secure firmware for Quectel 4G modems [Was: Re: Quectel EC20 QMI autoconnect issues [Was: Re: [LEDE-DEV, 3/3, v3] uqmi: Prevent 'POLICY MISMATCH' error.]]

2017-01-09 Thread Harald Welte
Hi Petr, On Sun, Jan 08, 2017 at 08:26:23PM +0100, Petr Štetiar wrote: > Indeed, it's very interesting and very scary. This modems are quite powerful > devices, usually equiped with very good, but limited uplink connection, still > making it ideal candidate for DDoS botnet for example, like any ot

Re: [LEDE-DEV] Open and secure firmware for Quectel 4G modems [Was: Re: Quectel EC20 QMI autoconnect issues [Was: Re: [LEDE-DEV, 3/3, v3] uqmi: Prevent 'POLICY MISMATCH' error.]]

2017-01-09 Thread Bjørn Mork
Petr Štetiar writes: > Bjørn Mork [2017-01-08 23:10:20]: > >> The output above comes from the Sierra Wireless EM7455 originally delivered >> as part of my Lenovo X1 Carbon, running bog standard firmare. > > Oops. How did you get into the shell of your modem? Is it a root shell also? Sierra Wirel

Re: [LEDE-DEV] per-device rootfs generated on buildbots

2017-01-09 Thread Mathias Kresin
08.01.2017 15:35, Daniel Golle: Hi! While testing the current snapshot builds I realized that for some reason the additional default packages to be included for each board aren't selected, ie. DEVICE_PACKAGES seems to be ignored in snapshot builds. Ie. eventhough kmod-rtc-ds1307 is set in DEVICE