Re: [OpenWrt-Devel] [PATCH] A couple of other (inconsequential) BCMA patches

2012-04-24 Thread Nathan Hintz
On Wed, 2012-04-25 at 00:28 +0200, Hauke Mehrtens wrote: > Hi Nathan, > > On 03/30/2012 06:54 AM, Nathan Hintz wrote: > > Noticed these while reviewing the code. > > > > Signed-off-by: Nathan Hintz > > > > This was committed in 31471. > > This patch should go upstream into the linux mainline

[OpenWrt-Devel] webcam driver issue

2012-04-24 Thread Sebastian Musat
Hello Team, Please give me an advice regarding this problem I have. I have an ASUS WL-500G and few old pc webcams. I got their vendor_id and prod_id from windows device manager and looked for their bridge model here http://mxhaard.free.fr/spca5xx.html. Only one I could successfuly use in a str

Re: [OpenWrt-Devel] [Patch v4] BCMA - Enable use of IRQ6

2012-04-24 Thread Nathan Hintz
Hi Hauke: On Wed, 2012-04-25 at 00:15 +0200, Hauke Mehrtens wrote: > Hi Nathan, > > It would make reviewing the patches a loot easier if you just but one > thing into one patch. This patch changes a loot of different things that > do not have many thing to do with each other. some part like > bcm

Re: [OpenWrt-Devel] BCMA - Modified PCI CFG space access

2012-04-24 Thread Nathan Hintz
Hi Hauke: Comments are in line. On Tue, 2012-04-24 at 23:52 +0200, Hauke Mehrtens wrote: > Hi Nathan, > > On 04/11/2012 09:06 AM, Nathan Hintz wrote: > > In the absence of the attached patch, my device (Linksys E3000) does not > > consistently boot. Roughly 25% of the time following a power c

[OpenWrt-Devel] [PATCH] update and move util-linux(-ng) and update e2fsprogs

2012-04-24 Thread Luka Perkov
You think that subject is too big... You did not see the patch yet ;) This patch makes several changes with util-linux-ng package: * moves it to util-linux (upstream name) * bumps it to last stable version 2.21.1 (was 2.13.0.1) * adds several new packages * sorts packages inside Makefile * r

[OpenWrt-Devel] mini_fo question - delete file doesn't reduce the "used" size

2012-04-24 Thread Soc Linux
We are using OpenWRT on our SOC product(dual Cortex-A9) and see an issue for mini_fo which is similar to: https://forum.openwrt.org/viewtopic.php?pid=109374. The “Used” size of “df” command keep increasing, even we delete some files, the output of “df” doesn’t go down to a smaller number.   One qu

Re: [OpenWrt-Devel] [PATCH] A couple of other (inconsequential) BCMA patches

2012-04-24 Thread Hauke Mehrtens
Hi Nathan, On 03/30/2012 06:54 AM, Nathan Hintz wrote: > Noticed these while reviewing the code. > > Signed-off-by: Nathan Hintz > This was committed in 31471. This patch should go upstream into the linux mainline kernel like some of your other patches. Would you like to rebase these patches

Re: [OpenWrt-Devel] [Patch v4] BCMA - Enable use of IRQ6

2012-04-24 Thread Hauke Mehrtens
Hi Nathan, It would make reviewing the patches a loot easier if you just but one thing into one patch. This patch changes a loot of different things that do not have many thing to do with each other. some part like bcma_core_irq() I understand and would like to apply and some other parts I do not

Re: [OpenWrt-Devel] BCMA - Modified PCI CFG space access

2012-04-24 Thread Hauke Mehrtens
Hi Nathan, On 04/11/2012 09:06 AM, Nathan Hintz wrote: > In the absence of the attached patch, my device (Linksys E3000) does not > consistently boot. Roughly 25% of the time following a power cycle (and > occasionally on reboot), it will hang just after completion of pre-init. > There is no sta

[OpenWrt-Devel] valgrind on x86 target

2012-04-24 Thread Christoph Thielecke
Hello, I tried to run valgrind (3.3.1) on x86 target running. The package was build and installed fine (just adapted the /usr/lib/valgrind/uclibc.supp to ld-uClibc-0.9.29.so). But running valgrind gives: root@OpenWrt:/tmp# valgrind -d --5329:1:debuglog DebugLog system started by Stage 1, level

Re: [OpenWrt-Devel] [PATCH 1/2] __packed can leak from the kernel headers into iptables so define

2012-04-24 Thread Dave Taht
Also I'd like for there to be some way to not apply this patch on successor architectures such as the - on ar724x, rx buffers can be aligned with an offset of 2, which keeps the ip header aligned - alignment offset is only added if the ar8216 workaround is not active and the phy driver does not ad

Re: [OpenWrt-Devel] [PATCH 2/2] Comprehensive ipv4 and ipv6 unaligned access patch for ar71xx

2012-04-24 Thread Gert Doering
Hi, On Tue, Apr 24, 2012 at 03:23:50PM +0200, Emmanuel Deloget wrote: > There is no evidence that a pure B2B or B2C market will deplete the > IPv4 address space any time soon. The only problem with the IPv4 address > space is that it's too small for M2M communication. Asia-PAC has *already* run o

Re: [OpenWrt-Devel] [PATCH 1/2] __packed can leak from the kernel headers into iptables so define

2012-04-24 Thread Dave Taht
On Tue, Apr 24, 2012 at 7:50 AM, David Woodhouse wrote: > On Tue, 2012-04-24 at 07:47 -0700, Dave Taht wrote: >> b) However __packed leaks out of the main network header file, and was >> not defined by iptables to be the define it is in the kernel code. > > How? When you run 'make headers_install'

Re: [OpenWrt-Devel] [PATCH 1/2] __packed can leak from the kernel headers into iptables so define

2012-04-24 Thread David Woodhouse
On Tue, 2012-04-24 at 07:47 -0700, Dave Taht wrote: > b) However __packed leaks out of the main network header file, and was > not defined by iptables to be the define it is in the kernel code. How? When you run 'make headers_install' to export kernel headers for use by userspace, it *sanitizes* t

Re: [OpenWrt-Devel] [PATCH 1/2] __packed can leak from the kernel headers into iptables so define

2012-04-24 Thread Dave Taht
On Tue, Apr 24, 2012 at 7:21 AM, David Woodhouse wrote: > On Mon, 2012-04-23 at 07:24 +0200, Felix Fietkau wrote: >> Maybe it would make sense to just use the long form >> __attribute__((packed)) instead of __packed in parts that are visible to >> userspace. > > Hm, 'make headers_install' should b

Re: [OpenWrt-Devel] [PATCH 1/2] __packed can leak from the kernel headers into iptables so define

2012-04-24 Thread David Woodhouse
On Mon, 2012-04-23 at 07:24 +0200, Felix Fietkau wrote: > Maybe it would make sense to just use the long form > __attribute__((packed)) instead of __packed in parts that are visible to > userspace. Hm, 'make headers_install' should be performing that substitution anyway, shouldn't it? I don't qu

Re: [OpenWrt-Devel] [PATCH 2/2] Comprehensive ipv4 and ipv6 unaligned access patch for ar71xx

2012-04-24 Thread Dave Taht
Would it be too much to ask for those expending time on this debate, to expend a little extra time doing some code review and testing this patch? Or, like while the flames are being composed, merely sending data through it? This particular patch improves ipv4 by over 10% especially when used with

Re: [OpenWrt-Devel] [PATCH 2/2] Comprehensive ipv4 and ipv6 unaligned access patch for ar71xx

2012-04-24 Thread Emmanuel Deloget
Le 24/04/2012 10:41, David Woodhouse a écrit : On Tue, 2012-04-24 at 00:51 +0200, Michael Markstaller wrote: a) It's a big security risk at first as noone really knows whats going on with IPv6 (at least on customer/user-side!) With respect, that's complete crap. The security implications are e

Re: [OpenWrt-Devel] [PATCH] base-files: implement new config "root_readonly" (RESENT)

2012-04-24 Thread ching
Thunderbird is buggy and diffcult to use. it is hard to send a plain text email. anyway, i found the patch can be reviewed at http://patchwork.openwrt.org/patch/2112/ ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.o

Re: [OpenWrt-Devel] [PATCH] ar71xx: TL-WR741NDv4: add WLAN LED config

2012-04-24 Thread Gabor Juhos
2012.04.21. 21:29 keltezéssel, Matthias Schiffer írta: > On TP-Link TL-WR741ND version 4, the WLAN LED must be configured to work. > > Signed-off-by: Matthias Schiffer Applied. Thanks, Gabor ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.o

Re: [OpenWrt-Devel] [PATCH 2/2] Comprehensive ipv4 and ipv6 unaligned access patch for ar71xx

2012-04-24 Thread David Woodhouse
On Tue, 2012-04-24 at 07:04 -0400, Brian J. Murrell wrote: > Do you have children? I suspect you don't. Your lack of > forward/future thinking indicates that. It's amazing how one's > perspective of the future changes when one starts thinking about the > future of their children rather than just

Re: [OpenWrt-Devel] [PATCH 2/2] Comprehensive ipv4 and ipv6 unaligned access patch for ar71xx

2012-04-24 Thread Brian J. Murrell
On 12-04-23 06:51 PM, Michael Markstaller wrote: > > Agreed but lets get realisitic, my objectives (home, office & > customers) are: > 1) security > 2) it works > 3) technically perfect You forgot: 4) sustainable Do you have children? I suspect you don't. Your lack of forward/future thinking

Re: [OpenWrt-Devel] Comprehensive ipv4 and ipv6 unaligned access, patch for ar71xx

2012-04-24 Thread Gert Doering
Hi, On Tue, Apr 24, 2012 at 07:13:58PM +1000, Andrew Byrne wrote: > I've moved house recently and no longer have access to an ISP that > provides native IPv6. This makes it difficult for me to test, however > I will see what I can do. Would it help if I provided a tunnel with DHCP-PD on it, pote

Re: [OpenWrt-Devel] Comprehensive ipv4 and ipv6 unaligned access, patch for ar71xx

2012-04-24 Thread David Woodhouse
On Tue, 2012-04-24 at 19:13 +1000, Andrew Byrne wrote: > > When I created this config file, it was based purely off the existing > WIDE-DHCPv6 config file requirements. > > The only way to avoid this variable in the config file will be for > someone to patch the source code so it automatically ca

Re: [OpenWrt-Devel] Comprehensive ipv4 and ipv6 unaligned access, patch for ar71xx

2012-04-24 Thread Andrew Byrne
On Tue, Apr 24, 2012 at 6:32 AM, Gert Doering wrote: > Hi, > > On Mon, Apr 23, 2012 at 07:43:36PM +0100, David Woodhouse wrote: >> It's documented here: http://wiki.openwrt.org/doc/uci/dhcp6c > > Oh!  This is tremendously cool!  Thanks to everyone who made that > possible. > > Nit to pick: calling

Re: [OpenWrt-Devel] [PATCH 2/2] Comprehensive ipv4 and ipv6 unaligned access patch for ar71xx

2012-04-24 Thread David Woodhouse
On Tue, 2012-04-24 at 00:51 +0200, Michael Markstaller wrote: > (I remember the IPv6-day last year, it was funny, even Google failed > 30-50%..) That's an... interesting assertion that I've not heard before. Google's own analysis was significantly different. They said: "We carried about 65% more