Re: [OpenWrt-Devel] Nanostation antenna selection support
Thank you Ulf. Just one question, how do you switch on and off the diversities? Message: 1 Date: Wed, 15 Oct 2008 14:18:49 +0200 From: ulf kypke [EMAIL PROTECTED] Subject: Re: [OpenWrt-Devel] Nanostation antenna selection support To: OpenWrt Development List openwrt-devel@lists.openwrt.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 hi, i was working with the nanostations some weeks ago, the big deal with the diversity is, that the nanostations has two diversity switches, so, as fare as i know, if diversity is complete disabled, the external antenna plug is the default one. if the first diversity in on and the second diversity switch is off, the horizontal antenna is activ, if both diversity switches are on the vertical antenna is activ. 2008/10/14 Xavier Martinez [EMAIL PROTECTED]: Travis Kemen wrote: If you are using the internal antenna's on a ns2 they currently work via the madwifi rx(tx)antenna settings but to use the external antenna you need to install gpioctl and set softled to 0 for wifi0 in sysctl, then use gpioctl to set pin 7 low. I've tried this procedure to my NS2 with (openwrt trunk r12842 with gpioctl) in a 2 km link in adhoc mode without any external annena neither a pigtail connected to the SMA connector. My /etc/config/wireless looks like this: config 'wifi-device' 'wifi0' option 'type' 'atheros' option 'disabled' '0' option 'channel' '6' option 'mode' '11b' option 'txantenna' '2' option 'rxantenna' '2' option 'distance' '5000' option 'softled' '0' config 'wifi-iface' option 'device' 'wifi0' option 'encryption' 'none' option 'ssid' 'guifibages' option 'mode' 'adhoc' option 'bssid' '12:34:56:78:9A:BC' option 'network' 'wlan' option 'txpower' '16' Doing gpioctl set 7 results in a Pin 7 HIGH and the pings to the other machine are answered. In this case internal antenna is working. But when I do a gpioctl clear 7 resulting in a Pin 7 LOW, the pings are also answered. In think that its impossible to establish a 2 km link without an external antenna connected, so I think that internal antenna is also working. What do you think? I haven't had time to try connecting an external antenna focusing the other machine and the nanostation focusing the other side. This could clarify if both antennas are working with Pin 7 LOW or only the internal antenna does. What do you think? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel -- Message: 2 Date: Wed, 15 Oct 2008 23:32:20 -0400 From: Brian J. Murrell [EMAIL PROTECTED] Subject: [OpenWrt-Devel] 2.6.25.7 and b43 driver oops To: openwrt-devel@lists.openwrt.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii I'm using kernel 2.25.7, compat-wireless-2008-08-06 but whenever I insmod the b43 driver I get the following: b43-phy0: Broadcom 4318 WLAN found b43-phy0 debug: Found PHY: Analog 3, Type 2, Revision 7 Data bus error, epc == 8011635c, ra == 8015dfe4 Oops[#1]: Cpu 0 $ 0 : 1000d800 81c52454 8015ddd4 $ 4 : c3f8 81c52454 0001 $ 8 : 80257f40 8025 802a 802a $12 : 802a 80298588 802985a8 $16 : 81c52400 81c52454 03f8 0002 $20 : c02bd000 0007 c02e9090 0001 $24 : 80ea1b78 000186a0 $28 : 80ea 80ea1cb8 80ef4d80 8015dfe4 Hi: 003d08db Lo: c5476300 epc : 8011635c Not tainted ra: 8015dfe4 Status: 1000d803KERNEL EXL IE Cause : 0080001c PrId : 00029006 (Broadcom BCM3302) Modules linked in: b43(+) cls_u32 sch_sfq sch_prio sch_ingress sch_htb ipt_ULOG ip_queue nf_nat_snmp_basic nf_nat_sip nf_conntrack_sip nf_nat_rtsp nf_conntrack_rtsp nf_nat_pptp nf_conntrack_pptp nf_nat_h323 nf_conntrack_h323 nf_nat_proto_gre nf_conntrack_proto_gre nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_REDIRECT ipt_NETMAP ipt_SET ipt_set ip_set_portmap ip_set_nethash ip_set_macipmap ip_set_iptreemap ip_set_iptree ip_set_ipporthash ip_set_ipmap ip_set_iphash ip_set xt_policy xt_esp ipt_ah xt_iprange ipt_TTL xt_MARK ipt_ECN xt_CLASSIFY ipt_ttl xt_time ipt_time xt_tcpmss xt_statistic xt_mark xt_mac xt_length ipt_ecn xt_DSCP xt_dscp ipt_IMQ xt_string xt_layer7 ipt_ipp2p ipt_LOG xt_CHAOS pppoe xt_DELUDE xt_TARPIT pppox xt_quota xt_portscan xt_pkttype iptable_raw xt_NOTRACK xt_CONNMARK ipt_recent xt_helper xt_conntrack xt_connmark xt_connbytes ip6t_REJECT ip6t_LOG ip6t_IMQ ip6t_mh ip6t_eui64 ip6t_ah ip6table_raw ip6_queue ip6table_ mangle ip6table_filter ip6_tables nf_conntrack_ipv6 sit tunnel4 tun ppp_async ppp_generic slhc crc_ccitt mac80211 cfg80211
Re: [OpenWrt-Devel] Nanostation antenna selection support
whats the option disabled do ??? config 'wifi-device' 'wifi0' option 'type' 'atheros' option 'disabled' '0' On Sun, Oct 19, 2008 at 5:52 PM, Xavier Martinez [EMAIL PROTECTED] wrote: Thank you Ulf. Just one question, how do you switch on and off the diversities? Message: 1 Date: Wed, 15 Oct 2008 14:18:49 +0200 From: ulf kypke [EMAIL PROTECTED] Subject: Re: [OpenWrt-Devel] Nanostation antenna selection support To: OpenWrt Development List openwrt-devel@lists.openwrt.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 hi, i was working with the nanostations some weeks ago, the big deal with the diversity is, that the nanostations has two diversity switches, so, as fare as i know, if diversity is complete disabled, the external antenna plug is the default one. if the first diversity in on and the second diversity switch is off, the horizontal antenna is activ, if both diversity switches are on the vertical antenna is activ. 2008/10/14 Xavier Martinez [EMAIL PROTECTED]: Travis Kemen wrote: If you are using the internal antenna's on a ns2 they currently work via the madwifi rx(tx)antenna settings but to use the external antenna you need to install gpioctl and set softled to 0 for wifi0 in sysctl, then use gpioctl to set pin 7 low. I've tried this procedure to my NS2 with (openwrt trunk r12842 with gpioctl) in a 2 km link in adhoc mode without any external annena neither a pigtail connected to the SMA connector. My /etc/config/wireless looks like this: config 'wifi-device' 'wifi0' option 'type' 'atheros' option 'disabled' '0' option 'channel' '6' option 'mode' '11b' option 'txantenna' '2' option 'rxantenna' '2' option 'distance' '5000' option 'softled' '0' config 'wifi-iface' option 'device' 'wifi0' option 'encryption' 'none' option 'ssid' 'guifibages' option 'mode' 'adhoc' option 'bssid' '12:34:56:78:9A:BC' option 'network' 'wlan' option 'txpower' '16' Doing gpioctl set 7 results in a Pin 7 HIGH and the pings to the other machine are answered. In this case internal antenna is working. But when I do a gpioctl clear 7 resulting in a Pin 7 LOW, the pings are also answered. In think that its impossible to establish a 2 km link without an external antenna connected, so I think that internal antenna is also working. What do you think? I haven't had time to try connecting an external antenna focusing the other machine and the nanostation focusing the other side. This could clarify if both antennas are working with Pin 7 LOW or only the internal antenna does. What do you think? ___ 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] opkg build failure
Roberto Riggio wrote: Everything works fine with me. I've just successfully built kamikaze for a pcengines board. Ok, it works for me in the default configuration too. Maybe I used non-default toolchain options. Cheers, Marcus ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] cross ksymoops
On Fri, 2008-10-17 at 21:49 +0100, Peter Denison wrote: Try -a r4000 instead. ksymoops 2.4.11 on i686 2.6.27-6-generic. Options used -v ../openwrt-11527/build_dir/linux-brcm47xx/linux-2.6.25.7/vmlinux (specified) -K (specified) -l /proc/modules (default) -o /lib/modules/2.6.27-6-generic/ (default) -m ../openwrt-11527/build_dir/linux-brcm47xx/linux-2.6.25.7/System.map (specified) -a r4000 No modules in ksyms, skipping objects No ksyms, skipping lsmod Data bus error, epc == 8011635c, ra == 8015dfe4 Cpu 0 $ 0 : 1000d800 81c52454 8015ddd4 $ 4 : c3f8 81c52454 0001 $ 8 : 80257f40 8025 802a 802a $12 : 802a 80298588 802985a8 $16 : 81c52400 81c52454 03f8 0002 $20 : c02bd000 0007 c02e9090 0001 $24 : 80ea1b78 000186a0 $28 : 80ea 80ea1cb8 80ef4d80 8015dfe4 Hi: 003d08db Lo: c5476300 epc : 8011635c Not tainted Using defaults from ksymoops -t elf32-little Cause : 0080001c c02e9090 800c7294 0003 0002 0007 0001 028c3263 0003 80ef4d80 81c52400 81c77400 0001 80ef4e1c 81f1a584 0001 80ea1e00 c0321d68 81c52454 c0321d84 81c7ac8c c02bd000 001a c02e9090 c02e8be0 c01d0140 8015bfac 81c52454 800c7a6c Call Trace:[c02fd094][800c7294][c01d0140][8015bfac][800c7a6c][8010457c][80138030][80137fd4][8020d7cc][801384c8][80136bf8][80104af0][80104348][80138350][80136d78][80104b50][80136a24][80137a98][80137a70][80105444][80138c18][80057af0][8006ecf8][c0263034][8006eec4][8004bff4][8003aed8][8006a800][8000b0d0] Code: 9082 03e8 304200ff 9482 03e8 3042 8c82 03e8 Error (Oops_bfd_perror): scan_arch for specified architecture File in wrong format Sorry, looks like your binutils cannot handle the specified architecture RA; 8015dfe4 ssb_pci_read16+58/7c $12; 802a swap_info+18c/88c $14; 80298588 per_cpu__runqueues+30/410 $15; 802985a8 per_cpu__runqueues+50/410 $31; 8015dfe4 ssb_pci_read16+58/7c ???; 8011635c ioread16+0/c = Trace; c02fd094 END_OF_CODE+40052754/ Trace; 800c7294 sysfs_new_dirent+7c/128 Trace; c01d0140 END_OF_CODE+3ff25800/ Trace; 8015bfac ssb_device_probe+44/7c Trace; 800c7a6c sysfs_create_dir+3c/58 Trace; 8010457c kobject_get+20/34 Trace; 80138030 driver_probe_device+16c/288 Trace; 80137fd4 driver_probe_device+110/288 Trace; 8020d7cc klist_next+6c/a4 Trace; 801384c8 __driver_attach+178/2d8 Trace; 80136bf8 next_device+10/2c Trace; 80104af0 kobject_add_varg+58/78 Trace; 80104348 kobject_init+58/9c Trace; 80138350 __driver_attach+0/2d8 Trace; 80136d78 bus_for_each_dev+5c/a8 Trace; 80104b50 kobject_init_and_add+40/58 Trace; 80136a24 bus_get+28/3c Trace; 80137a98 bus_add_driver+cc/2b4 Trace; 80137a70 bus_add_driver+a4/2b4 Trace; 80105444 kobject_uevent_env+3dc/42c Trace; 80138c18 driver_register+80/128 Trace; 80057af0 free_hot_cold_page+18c/1e4 Trace; 8006ecf8 remove_vm_area+4c/78 Trace; c0263034 END_OF_CODE+3ffb86f4/ Trace; 8006eec4 __vunmap+f8/12c Trace; 8004bff4 sys_init_module+1420/15cc Trace; 8003aed8 autoremove_wake_function+0/44 Trace; 8006a800 do_brk+174/2e8 Trace; 8000b0d0 stack_done+20/3c 1 error issued. Results may not be reliable. That's what my objdump claims to support as a -m switch (of course we're guessing about how ksymoops calls objdump, but it's an educated guess) In this case, there was no call to objdump. Using strace I can see calls to nm, but nothing about objdump. This is getting mostly academic though as I do now have a new firmware based on r12987 which does have a functional b43 driver in it. I say functional because while it does work, it shoots the softirq up through the roof while there is bulk data flying through the wireless interface. I will post about that in a few mins. 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] Nanostation antenna selection support
2008/10/19 Xavier Martinez [EMAIL PROTECTED]: Thank you Ulf. Just one question, how do you switch on and off the diversities? hi xavier, well on and off may not the best words for this, general you use gpios to switch between off/on or left/right, or high/low, or 0/1. and the nanostation has two such switches and by default each switch is at position/direction... so thit is by default the external antenna plug. regards ulf ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] BUG: RouterBoard image broken in trunk/target/linux/adm5120/image/router_le.mk line 353
sorry, my mistake. I used a - symbol for my new profile name, and that has lead to wrong execution of makefiles. - Original Message From: Stanislav Sinyagin [EMAIL PROTECTED] To: openwrt-devel@lists.openwrt.org Sent: Sunday, October 19, 2008 9:59:13 PM Subject: [OpenWrt-Devel] BUG: RouterBoard image broken in trunk/target/linux/adm5120/image/router_le.mk line 353 trunk/target/linux/adm5120/image/router_le.mk line 353: ifeq ($(PROFILE),RouterBoard) At this moment $(PROFILE) is not yet defined, so this piece of makefle is never executed. regards, stan ___ 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