From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 10 02:21:16 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD7C81065689 for ; Fri, 10 Oct 2008 02:21:16 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 9BD7E8FC17 for ; Fri, 10 Oct 2008 02:21:16 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m9A2LFaj097241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 9 Oct 2008 19:21:15 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <48EEBC1B.1040003@freebsd.org> Date: Thu, 09 Oct 2008 19:21:15 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: "Edwin L. Culp W." References: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> In-Reply-To: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-Rhyolite-Metrics: ebb.errno.com; whitelist Cc: freebsd-mobile@freebsd.org Subject: Re: I lost ath0 support on current sometime between Sept 20 and Sept 26. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 02:21:16 -0000 Edwin L. Culp W. wrote: > I started this thread on current but I lost it to Ashish Shukla so I'm > going to try here and see if I can explain it better and solve this > strange issue. > > I was happily using Sam's ath_hal-20080528 patch and IIRC the > committed ath_hal fixes until Sept 20. I didn't build another new > kernel until Sept 26. From that date on I have been unable to get it > working. The sept 20 kernel still works great. I'm using it to send > this email. I don't have to change anything I just start kernel.old > and run it rather than today's kernel that has no problems other than > bringing up ath0/wlan0. > > Some general info for both kernels that I can find no important > differences and now really doubt that the problem is hal_ath but > something else that has changed and is causing the problem. I have > thought of dhcp, ifconfig, ??? The general information for both > follows: > > > FreeBSD 8.0-CURRENT #50: Thu Oct 9 05:27:41 CDT 2008 > root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO > > rc.conf that doesn't change and works for sept 20 kernel but not todays: > > wlans_ath0=wlan0 > ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 > weptxkey 1" > > ifconfig with todays kernel for ath0 and wlan0: > > > ath0: flags=8843 metric 0 mtu 2290 > ether 00:1d:d9:27:5c:e5 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: associated > wlan0: flags=8843 metric 0 mtu 1500 > ether 00:1d:d9:27:5c:e5 > media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g > status: associated > ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d > regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 > wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 450 bgscan > bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS > wme burst roaming MANUAL > > The part of the dmesg that show ath0 and wlan0 with hal > > ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, > RF2413, RF5413, RF2133, RF2425, RF2417) > > ath0: mem 0xd0400000-0xd040ffff irq 19 at device 0.0 on pci5 > ath0: [ITHREAD] > ath0: WARNING: using obsoleted if_watchdog interface > ath0: mac 14.2 phy 7.0 radio 10.2 > > ------------------------------------------------------------------------------------------------ > > The same information for the Sept 20 kernel. > > FreeBSD ed.local.net.mx 8.0-CURRENT FreeBSD 8.0-CURRENT #34: Sat Sep > 20 05:37:05 CDT 2008 > root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO i386 > > rc.conf is the same. > > If config for Sept 20 kernel: > > ath0: flags=8843 metric 0 mtu 2290 > ether 00:1d:d9:27:5c:e5 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: associated > wlan0: flags=8843 metric 0 mtu 1500 > ether 00:1d:d9:27:5c:e5 > inet 172.16.0.7 netmask 0xffffff00 broadcast 172.16.0.255 > media: IEEE 802.11 Wireless Ethernet DS/5.5Mbps mode 11g > status: associated > ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d > regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 > wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 > bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst > > Same parts of the dmesg form Sept 20 kernel. > > ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, > RF2413, RF5413, RF2133, RF2425, RF2417) > > ath0: mem 0xd0400000-0xd040ffff irq 19 at device 0.0 on pci5 > ath0: [ITHREAD] > ath0: WARNING: using obsoleted if_watchdog interface > ath0: mac 14.2 phy 7.0 radio 10.2 > Does it work w/o WEP? Do you any crypto errors show up in wlanstats and/or athstats output? Sam