Re: [OpenWrt-Devel] [PATCH] Fix addition of virtual interfaces in broadcom-wl

2011-08-01 Thread Nathan Hintz

I believe this patch addresses the issue in ticket #7673.  I've added a link to 
the patch in the ticket.  Is there something wrong with the patch that it 
hasn't been committed; or is it still in the queue or just overlooked?

Thanks,

Nathan

From: nlhi...@hotmail.com
To: openwrt-devel@lists.openwrt.org
Subject: [PATCH] Fix addition of virtual interfaces in broadcom-wl
Date: Sun, 3 Jul 2011 14:54:16 -0700








Fix addition of virtual interfaces in broadcom-wl (dev-netdev_ops not 
initialized)

Signed-off-by: Nathan Hintz nlhi...@hotmail.com

--- /dev/null
+++ package/broadcom-wl/patches/007-fix-virtual-interfaces.patch
@@ -0,0 +1,11 @@
+--- a/driver/wl_linux.c
 b/driver/wl_linux.c
+@@ -1569,6 +1643,8 @@
+ return NULL;
+ }
+ 
++wl_if_setup(wlif-dev);
++
+ sprintf(wlif-dev-name, %s%d.%d, devname, wl-pub-unit, 
wlif-subunit);
+ if (remote)
+ bcopy(remote, wlif-remote, ETHER_ADDR_LEN); 
  ___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] Orion doesn't build anymore

2011-08-01 Thread Maarten Bezemer
The crypto.mk patch still seems to be missing in the trunk.
Could someone apply it? As it is required to build OpenWRT for Orion.

Thanks,
  Maarten

Index: package/kernel/modules/crypto.mk
===
--- package/kernel/modules/crypto.mk(revision 27861)
+++ package/kernel/modules/crypto.mk(working copy)
@@ -447,7 +447,7 @@
 
 define KernelPackage/crypto-mv-cesa
   TITLE:=Marvell crypto engine
-  DEPENDS:=+kmod-crypto-manager +kmod-crypto-aes @TARGET_kirkwood||TARGET_orion
+  DEPENDS:=+kmod-crypto-manager +kmod-crypto-aes +kmod-crypto-sha1 
+kmod-crypto-hmac @TARGET_kirkwood||TARGET_orion
   KCONFIG:=CONFIG_CRYPTO_DEV_MV_CESA
   FILES:=$(LINUX_DIR)/drivers/crypto/mv_cesa.ko
   AUTOLOAD:=$(call AutoLoad,09,mv_cesa)


On Wed, 2011-07-06 at 11:54 +0200, Maarten Bezemer wrote:
 On Tue, 2011-07-05 at 22:47 +0200, Matthias Buecher / Germany wrote:
  Thanks Maarten, now kernel compiles again.
  One of your patches had a typo (COFIG instead of CONFIG), corrected it
  and recreated it for the latest trunk revision.
 
 You're welcome, as I said I experienced similar problems just before you
 did and just created them (although, somehow I got the CONFIG wrong and
 it still was working...)
 
 Since these patches seem work, should I 'officially' submit them as
 patches to get them patched into the trunk?
 
 Greetings,
   Maarten
 
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] samba 3.0.37 update

2011-08-01 Thread Maarten Bezemer
On Tue, 2011-06-14 at 18:13 +0200, Cezary Jackiewicz wrote:
 Dnia 2011-06-13, o godz. 22:41:11
 Maarten Bezemer m.m.beze...@utwente.nl napisał(a):
 
  This patch updates samba to version 3.0.37 (probably the last 3.0
  version that is going to be released)
  
  Signed-off-by: Maarten Bezemer m.m.beze...@utwente.nl
 
 Maarten: fresh checkout, build for ar71xx on debian/32b
 
 checking whether to use profiling... no
 checking for a BSD-compatible install... /usr/bin/install -c
 checking for gawk... gawk
 checking for perl... /usr/bin/perl
 checking for mips-openwrt-linux-ar... mips-openwrt-linux-uclibc-ar
 checking if the linker (ld) is GNU ld... yes
 checking GNU ld release date... 20110606
 checking whether mips-openwrt-linux-uclibc-gcc and cc understand -c and -o 
 together... yes
 checking that the C compiler understands -Werror... cross
 checking that the C compiler understands -w2... cross
 checking that the C compiler understands volatile... yes
 checking that the C compiler understands negative enum values... configure: 
 error: in 
 `/opt/projekty/openwrt/ar71xx/build_dir/target-mips_r2_uClibc-0.9.32/samba-3.0.37/source':
 configure: error: cannot run test program while cross compiling
 See `config.log' for more details.

Sorry for the late response...
I am busy updating the patch, according to the replies on the first
version.

I cannot reproduce your reply above. I also checkout a clean version and
applied to patches. Selected ar71xx target and (the patched) samba3. And
everything build without problems...

Am I doing something different compared to your approach?

Greetings,
  Maarten
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] Fix addition of virtual interfaces in broadcom-wl

2011-08-01 Thread Felix Fietkau


On 2011-08-01 9:06 AM, Nathan Hintz wrote:

I believe this patch addresses the issue in ticket #7673. I've added a
link to the patch in the ticket. Is there something wrong with the patch
that it hasn't been committed; or is it still in the queue or just
overlooked?
Applied in r27868. By the way, your mail client corrupted the patch by 
reformatting it.


- Felix

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] Orion doesn't build anymore

2011-08-01 Thread Matthias Buecher / Germany
I was able to build r27771 with a clean trunk. Maybe try a distclean before.
Normally I compile trunk only, no extra feeds, distclean first then I
use Select all packages.

Do you have another modification in target/linux/orion/, maybe in
config-default?

Maddes

On 01.08.2011 15:58, Maarten Bezemer wrote:
 The crypto.mk patch still seems to be missing in the trunk.
 Could someone apply it? As it is required to build OpenWRT for Orion.
 
 Thanks,
   Maarten
 
 Index: package/kernel/modules/crypto.mk
 ===
 --- package/kernel/modules/crypto.mk(revision 27861)
 +++ package/kernel/modules/crypto.mk(working copy)
 @@ -447,7 +447,7 @@
  
  define KernelPackage/crypto-mv-cesa
TITLE:=Marvell crypto engine
 -  DEPENDS:=+kmod-crypto-manager +kmod-crypto-aes 
 @TARGET_kirkwood||TARGET_orion
 +  DEPENDS:=+kmod-crypto-manager +kmod-crypto-aes +kmod-crypto-sha1 
 +kmod-crypto-hmac @TARGET_kirkwood||TARGET_orion
KCONFIG:=CONFIG_CRYPTO_DEV_MV_CESA
FILES:=$(LINUX_DIR)/drivers/crypto/mv_cesa.ko
AUTOLOAD:=$(call AutoLoad,09,mv_cesa)
 
 
 On Wed, 2011-07-06 at 11:54 +0200, Maarten Bezemer wrote:
 On Tue, 2011-07-05 at 22:47 +0200, Matthias Buecher / Germany wrote:
 Thanks Maarten, now kernel compiles again.
 One of your patches had a typo (COFIG instead of CONFIG), corrected it
 and recreated it for the latest trunk revision.

 You're welcome, as I said I experienced similar problems just before you
 did and just created them (although, somehow I got the CONFIG wrong and
 it still was working...)

 Since these patches seem work, should I 'officially' submit them as
 patches to get them patched into the trunk?

 Greetings,
   Maarten

 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel
 
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Matthias Maddes Bücher

-- 
http://www.maddes.net/
Home: Earth / Germany / Ruhr-Area
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel