Re: [OpenWrt-Devel] How to track IO usage of internal flash mtd partitions?

2015-05-19 Thread Sergey Zakharchenko
Hello Valent, 2015-05-19 15:52 GMT+03:00 you wrote: > Is there maybe something that I have missed or there is no tool for > reading IO usage of mtd partitions? Without kernel support for this, it's not possible. However, yo're (possibly) in luck, as we use the following patch in new DLI power con

Re: [OpenWrt-Devel] [PATCH] tools/mkimage: backport gcc5 compatibility, patch

2015-05-19 Thread Hauke Mehrtens
On 04/23/2015 11:27 AM, Dirk Neukirchen wrote: > > Fedora 22 includes gcc5 by default > build leads to error: > include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc5.h: No > such file or directory > > backport upstream patch: "Add linux/compiler-gcc5.h to fix builds with gcc5" >

Re: [OpenWrt-Devel] [PATCH 3/5] elfutils: import package from packages.git

2015-05-19 Thread Luiz Angelo Daros de Luca
Jiri, The package was imported from github. There were no maintainer before github import (that's why I took it). I guess oldpackages is not involved on this thread. Regards, Em ter, 19 de mai de 2015 04:59, Jiri Slachta escreveu: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > AFAIK,

Re: [OpenWrt-Devel] [PATCH 0/6] netifd: workaround for shell protocols without proto_task.

2015-05-19 Thread Yousong Zhou
On May 19, 2015 8:49 PM, "Yousong Zhou" wrote: > > The first four patches are minor ones formed while makeing this series. The > last two patches are required for L2TP protocol with xl2tpd to be working and > will also allow netifd to bring up interface on network device link lost in the > followi

[OpenWrt-Devel] [PATCH] [kernel] upstream fix: mount overlayfs r/o if workdir cannot be created

2015-05-19 Thread Bastian Bittorf
runtime tested on ar71xx with kernel 3.18.11 this paritially fixes #19564 Signed-off-by: Bastian Bittorf --- ...unt-read-only-if-workdir-can-t-be-created.patch | 114 1 file changed, 114 insertions(+) create mode 100644 target/linux/ar71xx/patches-3.18/910-overlayfs-mount

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for the UniFi AP Outdoor Plus

2015-05-19 Thread Kirill Berezin
Hello, I succeed to recover a disable command (I followed tips from the Stefan's post). A simple user space configuration utility is in the attachment. Compile it then run the following before a setup of an interface ./hsr 98 What'll be available : scan shows channels 1 and 11; clients on

Re: [OpenWrt-Devel] How to track IO usage of internal flash mtd partitions?

2015-05-19 Thread valent.turko...@gmail.com
> Try dstat. you can select it in the utilities menu. > http://dag.wiee.rs/home-made/dstat/ > > Pepe I tried dstat also, with "dstat -r" and with "dstat --disk-util" options, nothing. So far my conclusion is that utilies that works with block devices can't work with mtd partitions. And other issu

[OpenWrt-Devel] [PATCH 5/6] proto-shell: allow running protocols without proto_task.

2015-05-19 Thread Yousong Zhou
Adds a new config parameter "no-proto-task" for noting that no proto_task will be running for this protocol type. This is required since then change in commit "d0dcf74 proto-shell: retry setup if the proto handler script quits without changing the state or starting a process". The change is mainl

[OpenWrt-Devel] [PATCH 6/6] interface: teardown on l3_dev link lost.

2015-05-19 Thread Yousong Zhou
This is mainly for shell protocols that has no_proto_task so that we can still teardown and setup the interface on l3_dev link lost instead of depending on running state of proto_task. Also rename related callbacks for better clarification. Signed-off-by: Yousong Zhou --- interface.c | 28 +++

[OpenWrt-Devel] [PATCH 4/6] interface: minor fix for unnecessary ++ operation.

2015-05-19 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- interface.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface.c b/interface.c index 9f6d8f0..997a721 100644 --- a/interface.c +++ b/interface.c @@ -139,7 +139,7 @@ void interface_add_error(struct interface *iface, const char *subsys

[OpenWrt-Devel] [PATCH 2/6] system: fix typo in returning address length.

2015-05-19 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- system.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system.h b/system.h index 94e0dd9..382c907 100644 --- a/system.h +++ b/system.h @@ -91,7 +91,7 @@ static inline int system_get_addr_family(unsigned int flags) static inline int syst

[OpenWrt-Devel] [PATCH 3/6] interface: remove redundant iface_attr_info.

2015-05-19 Thread Yousong Zhou
BLOBMSG_TYPE_STRING is the default type for elements of BLOBMSG_TYPE_ARRAY. Array type IFACE_ATTR_DNS_SEARCH was already missing there, so drop the whole part anyway. Signed-off-by: Yousong Zhou --- interface.c |6 -- 1 file changed, 6 deletions(-) diff --git a/interface.c b/interface.

[OpenWrt-Devel] [PATCH 1/6] Changes for more readability.

2015-05-19 Thread Yousong Zhou
- "ifname" for Linux interface name. - "interface" for netifd defined logical interface names as in /etc/config/network. - A few comments and variable renames for better readability. Signed-off-by: Yousong Zhou --- device.c |4 ++-- device.h |3 +++ interface.c |4 +

[OpenWrt-Devel] [PATCH 0/6] netifd: workaround for shell protocols without proto_task.

2015-05-19 Thread Yousong Zhou
The first four patches are minor ones formed while makeing this series. The last two patches are required for L2TP protocol with xl2tpd to be working and will also allow netifd to bring up interface on network device link lost in the following scenarios. - Quit of pppd without calling ppp-down s

Re: [OpenWrt-Devel] linux / overlay / OpenWrt / problems with full working dir

2015-05-19 Thread Bastian Bittorf
* Miklos Szeredi [19.05.2015 11:19]: > The work directory is needed for atomic copy-up and similar. It is not > actually > necessary to mount a read-only overlay. Post 4.0 it is possible to mount the > overlay without workdir (but even then it won't happen automatically in case > the > upper f

Re: [OpenWrt-Devel] WAN dhcp client doesnt recognize unplugged cable and doesnt request new IP on replugged

2015-05-19 Thread Karl Palsson
Hans Dedecker wrote: > By the introduction of linksensing the user experience changed when > using the proto static; before the static IP address was present in > the kernel when the link was down after the introduction of > linksensing the static IP address is not present anymore. I'm not > awar

Re: [OpenWrt-Devel] How to track IO usage of internal flash mtd partitions?

2015-05-19 Thread José Vázquez
2015-05-18 13:57 GMT+02:00, valent.turko...@gmail.com : > Looks like iostat only tracks block devices so I can see change for > usb flash device but no change for internal flash partitions :( > > # iostat > Linux 3.10.49 (Demo36_Muc (Base9)) 05/18/15 _mips_ (1 CPU) > > avg-cpu: %user %nice %syst

[OpenWrt-Devel] [PATCH] generic/4.0: update to 4.0.4

2015-05-19 Thread Daniel Golle
Update kernel sources and refresh some patches. Signed-off-by: Daniel Golle --- include/kernel-version.mk | 4 ++-- ...2-15-bgmac-fix-requests-for-extra-polling-calls-from-NAPI.patch | 7 +-- target/linux/generic/patches-4.0/102-ehci_hcd_ignore_oc.pat

Re: [OpenWrt-Devel] [PATCH 3/5] elfutils: import package from packages.git

2015-05-19 Thread Jiri Slachta
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 AFAIK, the packages.git located at git.openwrt.org/packages.git is oldpackages repository that does not have any use in current trunk and releases after Barrier Breaker. @see http://git.openwrt.org/?p=openwrt.git;a=blob;f=feeds.conf.default;hb=HEAD