Re: [OpenWrt-Devel] 2.6 kernel and b43 driver

2008-06-28 Thread Steve Brown
Peter Denison wrote:
> Rather than saying "current svn", it would really help if you can 
> state the exact revision you're using. To summarise the reports at 
> #3510 and here, b43 seems to work on r10154, but not on r11363, r11372 
> or r11579.
>
> Unfortunately, I don't have a huge amount of time right now (not 
> enough to do a full bisect between 10154 and 11363). A side note is 
> that r11510 on my WRTSL54GS does not bus error, but equally does not 
> scan the radio correctly.
>
> The crucial revisions to investigate around are r11358 r10742 r10755 
> r10951 r11462 r11347.
>
> If anyone can do some narrowing down, it would really help. Also, if 
> you are going to help track this down, compiling the kernel with 
> CONFIG_KALLSYMS will help, as we'll get Oops logs that contain more 
> information about where the failure is happening.
>
> Good luck!
>
> Peter

My first bisect. Now I understand why you didn't have the time. 13 
hours! Unfortunately, I'm not sure this is especially helpful.

I'm suspicious of the code for the pci core on the 500gp. The same 
minipci card works w/ the b43 driver in my pc, b43 crashes on the 500gp.

I'm not sure I believe the traceback. Plus gcc's inlining all 
subroutines only called once makes things really obscure.

I'll keep looking.

Steve


The bisect result is:
--
a2471b807fd5629a9a6554400b7423c8bbc8d5c0 is first bad commit
commit a2471b807fd5629a9a6554400b7423c8bbc8d5c0
Author: noz <[EMAIL PROTECTED]>
Date:   Tue Jun 3 21:43:20 2008 +

[brcm47xx] Build against 2.6.25.4


git-svn-id: https://svn.openwrt.org/openwrt/[EMAIL PROTECTED]
3c298f89-4303-0410-b956-a3cf2f4a3e73

:04 04 27c02c5ee8ae5de9e5d1fac373d22e1593319bc1
c2ba1956e0f682fe56c11d05fafa90a9495a3f1c M target

-
b43-phy0: Broadcom 0001 WLAN 
found   
 

CPU 0 Unable to handle kernel paging request at virtual address 
0080, epc == c0116d9c, ra == c0116d8c 
Oops[#1]:   
  

Cpu 
0   
  

$ 0   :  10009800 0001 
8026
   

$ 4   : 81c70454 0001 0001 

   

$ 8   : 80267f40 8026 802b 
802b
   

$12   : 802b 0001 802aa588 
81c4c548
   

$16   : 81e26fc0 81e26180 c01357ac 
81c73c8c
   

$20   :  81f0de4c c00a5000 

   

$24   : 0001 
8015c674
 

$28   : 81ed2000 81ed3d08 c00c90e0 
c0116d8c
   

Hi: 
0083
  

Lo: 
95827000
  

epc   : c0116d9c b43_dummy_transmission+0x11a8/0x25ac [b43] Not 
tainted  
ra: c0116d8c b43_dummy_transmission+0x1198/0x25ac 
[b43]  
Status: 10009803KERNEL EXL 
IE  
   

Cause : 
0088
  

BadVA : 
0080
  

PrId  : 00029006 (Broadcom 
BCM3302)
   

Modules linked in: b43(+) mac80211 cfg80211 arc4 aes_generic deflate ecb 
cbc crypto_blkcipher crypto_hash cryptomgr crypto_algapig
Process insmod (pid: 437, threadinfo=81ed2000, task=81ede9f8)
Stack : 0001 0001 0001 0005 81ed3d40  81f66ab4 
81c72744
800c9a2c 800c9a20 81c73c68 801056bc 0001 81ed3e18 c0135790 
81c70454
c01357ac 81c73c8c  81f0de4c c00a5000 001a c00c90e0 
8015cdfc
81c70454 800c8bac 81c5f888 801056bc 81c73ca8 81c73c00 80139690 
80139634
81c73c48 801fe57c c0135ac8 81f0dc00

Re: [OpenWrt-Devel] git server down?

2008-06-28 Thread Felix Fietkau
Florian Fainelli wrote:
> Hey,
> 
> Le Saturday 28 June 2008 17:14:31 Felix Fietkau, vous avez écrit :
>> There's an alias for nbd.name: nbd.ds10.mine.nu
>> so git://nbd.ds10.mine.nu/openwrt.git
>> and http://nbd.ds10.mine.nu/gitweb.cgi
> 
> What about hosting this on the openwrt server, or have a DNS record 
> git.openwrt.org pointing to your machine ?
I was planning on moving it to the openwrt server eventually, when we have 
the new system up and running.

- Felix
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] git server down?

2008-06-28 Thread Florian Fainelli
Hey,

Le Saturday 28 June 2008 17:14:31 Felix Fietkau, vous avez écrit :
> There's an alias for nbd.name: nbd.ds10.mine.nu
> so git://nbd.ds10.mine.nu/openwrt.git
> and http://nbd.ds10.mine.nu/gitweb.cgi

What about hosting this on the openwrt server, or have a DNS record 
git.openwrt.org pointing to your machine ?
-- 
Best regards, Florian Fainelli
Email : [EMAIL PROTECTED]
http://openwrt.org
---


signature.asc
Description: This is a digitally signed message part.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] iptables "owner" match not being packaged

2008-06-28 Thread Frédéric Moulins
Hello,


> I've been scouring the package/iptables/Makefile and
> include/netfilter.mk files, but I've not been able to make sense of it
> all.
> 
> I do have CONFIG_NETFILTER_XT_MATCH_OWNER=m set in my kernel .config
> and lots of mention of *_owner in my make output:

Current include/netfilter.mk still uses : CONFIG_IP_NF_MATCH_OWNER and
CONFIG_IP6_NF_MATCH_OWNER instead of the new
CONFIG_NETFILTER_XT_MATCH_OWNER symbol.

Instead of the two lines mentioning old symbols, there should be a line
with something like :
"$(eval $(call
nf_add,IPT_EXTRA,CONFIG_NETFILTER_MATCH_OWNER,$(P_XT)xt_owner))"
(... well, without wrapping...)

Give it a try.

> I suspect something in include/netfilter.mk is busted but not sure
> what.
I think there are several other changes like this one introduced by the
2.6.25 kernel. Another one is about tos/TOS and dscp/DSCP modules :
https://dev.openwrt.org/cgi-bin/trac.fcgi/ticket/3527

But this one requires quite some work to update iptables. 
(I have quickly looked at it, but iptables Makefile structure seems to
have changed between 1.4.0 and 1.4.1.1 so that applying patches is not
so easy)


Regards,


fred
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] include /etc/iproute/rt_tables in ip package

2008-06-28 Thread John Crispin
applied, thanks

Brian J. Murrell wrote:
> Shorewall wants to use the /etc/iproute2/rt_tables file for it's
> advanced routing.  This patch includes that file as part of the "ip"
> package.
> 
> ??Signed-off-by:  Brian J. Murrell <[EMAIL PROTECTED]>
> 
> Index: package/iproute2/Makefile
> ===
> --- package/iproute2/Makefile (revision 11527)
> +++ package/iproute2/Makefile (working copy)
> @@ -60,6 +60,8 @@
>  
>  define Package/ip/install
>   $(INSTALL_DIR) $(1)/usr/sbin
> + $(INSTALL_DIR) $(1)/etc/iproute2
> + $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/iproute2/rt_tables 
> $(1)/etc/iproute2
>   $(INSTALL_BIN) $(PKG_BUILD_DIR)/ip/ip $(1)/usr/sbin/
>  endef
> 
> b.
> 
> 
> 
> 
> 
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] include /etc/iproute/rt_tables in ip package

2008-06-28 Thread Brian J. Murrell
Shorewall wants to use the /etc/iproute2/rt_tables file for it's
advanced routing.  This patch includes that file as part of the "ip"
package.

Signed-off-by:  Brian J. Murrell <[EMAIL PROTECTED]>

Index: package/iproute2/Makefile
===
--- package/iproute2/Makefile   (revision 11527)
+++ package/iproute2/Makefile   (working copy)
@@ -60,6 +60,8 @@
 
 define Package/ip/install
$(INSTALL_DIR) $(1)/usr/sbin
+   $(INSTALL_DIR) $(1)/etc/iproute2
+   $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/iproute2/rt_tables 
$(1)/etc/iproute2
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ip/ip $(1)/usr/sbin/
 endef

b.



signature.asc
Description: This is a digitally signed message part
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] iptables "owner" match not being packaged

2008-06-28 Thread Brian J. Murrell
I'm using Kamikaze r11527 and something I have noticed is that the
iptables "owner" match seems to be getting built but not packaged either
in the kmod-ipt-extra or iptables-mod-extra packages.

I've been scouring the package/iptables/Makefile and
include/netfilter.mk files, but I've not been able to make sense of it
all.

I do have CONFIG_NETFILTER_XT_MATCH_OWNER=m set in my kernel .config and
lots of mention of *_owner in my make output:

mipsel-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time 
-fhonour-copts -Wall -Wunused 
-I/usr/src/openwrt/build_dir/linux-brcm47xx/linux-2.6.25.7/include 
-I/usr/src/openwrt/build_dir/linux-brcm47xx/linux-2.6.25.7/include -Iinclude/ 
-DIPTABLES_VERSION=\"1.4.0\"  -fPIC -o extensions/libipt_owner_sh.o -c 
extensions/libipt_owner.c
mipsel-linux-uclibc-gcc -shared  -o extensions/libipt_owner.so 
extensions/libipt_owner_sh.o
...
cp extensions/libipt_owner.so 
/usr/src/openwrt/build_dir/linux-brcm47xx/iptables-1.4.0/ipkg-install/usr/lib/iptables/libipt_owner.so
...
rstrip.sh: 
/usr/src/openwrt/build_dir/linux-brcm47xx/iptables-1.4.0/ipkg/ip6tables/usr/lib/iptables/libip6t_owner.so:shared
 object
...

But nothing ends up in a package.

I suspect something in include/netfilter.mk is busted but not sure what.

Cheers,
b.



signature.asc
Description: This is a digitally signed message part
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] git server down?

2008-06-28 Thread Felix Fietkau
There's an alias for nbd.name: nbd.ds10.mine.nu
so git://nbd.ds10.mine.nu/openwrt.git
and http://nbd.ds10.mine.nu/gitweb.cgi

- Felix

Luigi 'Comio' Mantellini wrote:
> The server seems to no have a dns entry...
> 
> If you need, I have a mirror of the openwrt trunk:
> 
> http://repo.or.cz/w/openwrt_comio.git
> 
> I'm not a openwrt developer... I just use this tree to make some
> experiment useful for my activity.
> 
> 
> luigi
> 
> 
> On ven, 2008-06-27 at 13:35 -0700, Geoff Levand wrote:
>> Has the git server been moved?
>> 
>> nslookup gives me this:
>> 
>>   Host nbd.name not found: 3(NXDOMAIN)
>> 
>> -Geoff
>> 
>> ___
>> openwrt-devel mailing list
>> openwrt-devel@lists.openwrt.org
>> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] 2.6 kernel and b43 driver

2008-06-28 Thread Peter Denison
On Fri, 27 Jun 2008, Steve Brown wrote:

> Stefan Monnier wrote:
>> I'm trying to use my WL-700gE's wifi card with the b43 driver but bumped
>> into the problem reported at https://dev.openwrt.org/ticket/3510.
>>
>> This is with revision 11579 of the svn trunk.
>>
>> Is there something I can do to try and help resolve this problem?
>>
>>
>> Stefan
>>
> Glad it's not just me.  I have the same problem w/ the current svn.
>
> I tracked my bus error down to reading from B43_MMIO_RADIO_DATA_HIGH in
> b43/main.c:b43_phy_versioning.
>
> I tried an older version (svn 10154) and it works, the driver loads, the
> firmware loads, and the radio returns scan results.
>
> I have a wl500gp v1 with a 4318 rev 2 radio. I'm also available for
> assignment.
>
> Steve

Rather than saying "current svn", it would really help if you can state 
the exact revision you're using. To summarise the reports at #3510 and 
here, b43 seems to work on r10154, but not on r11363, r11372 or 
r11579.

Unfortunately, I don't have a huge amount of time right now (not enough 
to do a full bisect between 10154 and 11363). A side note is that r11510 
on my WRTSL54GS does not bus error, but equally does not scan the radio 
correctly.

The crucial revisions to investigate around are r11358 r10742 r10755 
r10951 r11462 r11347.

If anyone can do some narrowing down, it would really help. Also, if you 
are going to help track this down, compiling the kernel with 
CONFIG_KALLSYMS will help, as we'll get Oops logs that contain more 
information about where the failure is happening.

Good luck!

Peter
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] git server down?

2008-06-28 Thread Luigi 'Comio' Mantellini
The server seems to no have a dns entry...

If you need, I have a mirror of the openwrt trunk:

http://repo.or.cz/w/openwrt_comio.git

I'm not a openwrt developer... I just use this tree to make some
experiment useful for my activity.


luigi


On ven, 2008-06-27 at 13:35 -0700, Geoff Levand wrote:
> Has the git server been moved?
> 
> nslookup gives me this:
> 
>   Host nbd.name not found: 3(NXDOMAIN)
> 
> -Geoff
> 
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
-- 
 __   Luigi Mantellini
   .'__'. R&D - Software
  (.'  '.)Industrie Dial Face S.p.A.
  ( :==: )Via Canzo, 4
  ('.__.')20068 Peschiera Borromeo (MI), Italy
   '.__.' Tel.: +39 02 5167 2813
  Fax:  +39 02 5167 2459
Ind.  Dial Face   Email: [EMAIL PROTECTED]
www.idf-hit.com   GPG fingerprint: 3DD1 7B71 FBDF 6376 1B4A
   B003 175F E979 907E 1650




___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel