[OpenWrt-Devel] mt7620n failed message

2014-11-24 Thread zhang zhao
I'm using a 7620n router(openwrt BB14.07 r43276) with a secondary SSID enabled, after running for sometime I found these trace information in system log. I remember there is already a ticket https://dev.openwrt.org/ticket/17032 , I wonder if these two problems was caused by a same reason? Here is

Re: [OpenWrt-Devel] Autoneg problems with ar8216 on kernel 3.14 (related to ticket 17800)

2014-11-24 Thread Heiner Kallweit
On Mon, Nov 24, 2014 at 1:06 AM, Felix Fietkau wrote: > On 2014-11-23 23:03, Weedy wrote: > > > > On Nov 23, 2014 4:35 PM, "Weedy" > > wrote: > >> > >> > >> On Nov 19, 2014 8:47 AM, "John Crispin" > > wrote: > >> > > >> > > >> > > >> > On 1

[OpenWrt-Devel] [PATCH 2/2] procd: fix/clean some conditions in nand.sh

2014-11-24 Thread Rafał Miłecki
1) nand_upgrade_tar: use a simpler condition that matches if () { } logic and fix check of $kernel_length variable 2) nand_do_upgrade_stage2: use case, otherwise one could believe we always call nand_upgrade_tar Signed-off-by: Rafał Miłecki --- This hasn't been tested on any hardware, could

[OpenWrt-Devel] [PATCH 1/2] procd: document nand.sh a bit

2014-11-24 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki --- package/system/procd/files/nand.sh | 16 1 file changed, 16 insertions(+) diff --git a/package/system/procd/files/nand.sh b/package/system/procd/files/nand.sh index f933629..0d30810 100644 --- a/package/system/procd/files/nand.sh +++ b/package/s

Re: [OpenWrt-Devel] Autoneg problems with ar8216 on kernel 3.14 (related to ticket 17800)

2014-11-24 Thread Weedy
On Mon, Nov 24, 2014 at 3:45 AM, Heiner Kallweit wrote: > > On Mon, Nov 24, 2014 at 1:06 AM, Felix Fietkau wrote: >> >> On 2014-11-23 23:03, Weedy wrote: >> > >> > On Nov 23, 2014 4:35 PM, "Weedy" > > > wrote: >> >> >> >> >> >> On Nov 19, 2014 8:47 AM, "John Crispin" >

[OpenWrt-Devel] I *think* I have found the bug for my RB2011 problem

2014-11-24 Thread Chris Green
I think I have found the bug which prevents the Gigabit ports on my rb-2011uias-2hnd from working. The rb-2011uias-2hnd is missing from the following file:- trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx/etc/uci-defaults/03_network-switchX-migration So the correct things won't

Re: [OpenWrt-Devel] Autoneg problems with ar8216 on kernel 3.14 (related to ticket 17800)

2014-11-24 Thread Bastian Bittorf
* Weedy [24.11.2014 14:14]: [deleted ~250 lines fullquote] you (and the others too) are experienced users, so please read https://www.netmeister.org/news/learn2quote2.html#ss2.8 bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.o

[OpenWrt-Devel] [PATCH 0/4] Add multi-line option value support to UCI config file parser.

2014-11-24 Thread Yousong Zhou
I am not quite familiar with the early history of how UCI file was parsed, but thought that UCI config files were parsed in a quite clever way all by shell scripts which made it possible to have multi-line value for options. AFAIK, at least package openvpn [1] depends on this feature. This series

[OpenWrt-Devel] [PATCH 1/4] Drop test cases for deprecated ucimap-example.

2014-11-24 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- test/tests.d/060-ucimap_example |9 - 1 file changed, 9 deletions(-) delete mode 100644 test/tests.d/060-ucimap_example diff --git a/test/tests.d/060-ucimap_example b/test/tests.d/060-ucimap_example deleted file mode 100644 index 984726b..000 ---

[OpenWrt-Devel] [PATCH 2/4] Sync ref test result with current implementation.

2014-11-24 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- test/references/export.result | 10 +- test/references/import.result |8 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/references/export.result b/test/references/export.result index 957e687..bc06655 100644 --- a/test/re

[OpenWrt-Devel] [PATCH 3/4] Use offset into parser buffer to avoid potential heap overflow.

2014-11-24 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- delta.c| 15 +++- file.c | 216 +++- uci_internal.h |8 ++- util.c | 11 +-- 4 files changed, 147 insertions(+), 103 deletions(-) diff --git a/delta.c b/delta.c index 32628dc..08

[OpenWrt-Devel] [PATCH 4/4] Add test coverage for multi-line option value.

2014-11-24 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- test/references/add_section.result |2 +- test/references/export.data|7 ++- test/references/export.result |5 + test/references/get_multiline.data |

Re: [OpenWrt-Devel] jffs takes about 18 minutes to get ready on 3.10 kernel (probably solved)

2014-11-24 Thread Claudio Thomas
Hi, On 29.10.2014 23:32, Claudio Thomas wrote: > On 29.10.2014 13:37, Bastian Bittorf wrote: >> * Claudio Thomas [29.10.2014 13:18]: >>> [ 800.742671] jffs2: notice: (888) jffs2_build_xattr_subsystem: >> how large is the partitionsize? > "rootfs_data" created automatically, ofs=0x96, len=0x3

Re: [OpenWrt-Devel] Autoneg problems with ar8216 on kernel 3.14 (related to ticket 17800)

2014-11-24 Thread Weedy
On Nov 24, 2014 8:27 AM, "Bastian Bittorf" wrote: > > * Weedy [24.11.2014 14:14]: > > [deleted ~250 lines fullquote] > > you (and the others too) are experienced users, so please read > https://www.netmeister.org/news/learn2quote2.html#ss2.8 > > bye, bastian I've been replying from mobile lately

Re: [OpenWrt-Devel] I *think* I have found the bug for my RB2011 problem

2014-11-24 Thread Chris Green
On Mon, Nov 24, 2014 at 12:06:04PM +, Chris Green wrote: > I think I have found the bug which prevents the Gigabit ports on my > rb-2011uias-2hnd from working. > > The rb-2011uias-2hnd is missing from the following file:- > > trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx/etc/uc

[OpenWrt-Devel] Patch to fix issue with renamed dts target for mpc85xx/3.14

2014-11-24 Thread Heiner Kallweit
On Nov 20th I submitted a patch to fix an issue with a dts target which was renamed under 3.14: mpc85xx: fix missing dts target for kernel 3.14 Could you please apply it? It fixes the reopened issue 18020. Heiner ___ openwrt-devel mailing list openwrt-de

Re: [OpenWrt-Devel] bridge doesn't forward eap frames

2014-11-24 Thread Michael Markusch
Am 24.11.2014 um 07:09 schrieb Rafał Miłecki: > On 24 November 2014 at 01:07, Felix Fietkau wrote: >> On 2014-11-23 21:10, Michael Markusch wrote: >>> Hi, >>> >>> my WRT54GL with OpenWrt 12.09 doesn't forward eap frames in bridged >>> ap-mode. Since kernel 3.2, there is a way to force a bridge for

Re: [OpenWrt-Devel] [RFC 0/2]

2014-11-24 Thread John Crispin
On 21/11/2014 09:41, Matthias Schiffer wrote: > Hi, this adds support for the new TP-LINK outdoor series > CPE210/220/510/520 ("Pharos"). I'm sending this as a RFC as there > is a still a number of open questions: > > eth0 configuration == Looking at the log output of > the stock

Re: [OpenWrt-Devel] [PATCH] kernel: 3.18: Fix kmod-ipt-nat

2014-11-24 Thread Maxime Ripard
On Sun, Nov 23, 2014 at 06:38:18PM -0800, Florian Fainelli wrote: > Le 07/11/2014 07:20, Maxime Ripard a écrit : > > The 3.18 kernel introduced new Kconfig options for the xt_nat and > > iptable_nat > > kernel modules, that both belong to the ipt_nat kernel package. > > > > Enable this new option

[OpenWrt-Devel] [PATCH v2 0/2] defconfig support for 3.18

2014-11-24 Thread Maxime Ripard
Hi, This is the second attempt to rely on the defconfigs mechanism instead of generating our own full kernel configuration file. This has been build tested, both before and after applying the first patch on all the supported targets so far. You can get a list of the various build runs, with both

Re: [OpenWrt-Devel] [PATCH 1/2] kernel: Use defconfig instead of full fledged kernel configuration

2014-11-24 Thread Maxime Ripard
Hi Florian, On Sun, Nov 23, 2014 at 06:42:25PM -0800, Florian Fainelli wrote: > Le 18/11/2014 02:27, Maxime Ripard a écrit : > > Hi Felix, > > > > On Sun, Nov 09, 2014 at 11:54:15AM +0100, Felix Fietkau wrote: > >> On 2014-11-07 11:58, Maxime Ripard wrote: > >>> Rely on the Kconfig defconfig mech

[OpenWrt-Devel] [PATCH v2 1/2] kernel: Use defconfig instead of full fledged kernel configuration

2014-11-24 Thread Maxime Ripard
Rely on the Kconfig defconfig mechanism to fill all the missing options, instead of needing to set them all in the kernel configurations like what was previously done. This will allow to trim down a lot the configuration files, avoid carrying unused configuration options and preserve the developpe

[OpenWrt-Devel] [PATCH 1/3] brcm63xx: fix image generation

2014-11-24 Thread Álvaro Fernández Rojas
This fixes build issues introduced on r43361. Signed-off-by: Álvaro Fernández Rojas --- diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index b991a66..e7fcd22 100755 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@

[OpenWrt-Devel] [PATCH 3/3] brcm63xx: unify dt image generation

2014-11-24 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index f88ca8c..f91be63 100755 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -172,75 +172,24 @@ define Image/Build/Initramfs

[OpenWrt-Devel] [PATCH 2/3] brcm63xx: move rsa signature to additional options

2014-11-24 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index e7fcd22..f88ca8c 100755 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -52,9 +52,8 @@ define Image/Build/CFEDTB