From owner-freebsd-current@FreeBSD.ORG Fri Nov 16 19:41:55 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B54A16A420 for ; Fri, 16 Nov 2007 19:41:55 +0000 (UTC) (envelope-from SRS0=b8e54524c6667dcaaf3271188e6bd2346cef300f=521=es.net=oberman@es.net) Received: from postal1.es.net (postal4.es.net [IPv6:2001:400:6000:1::66]) by mx1.freebsd.org (Postfix) with ESMTP id 8A45F13C45D for ; Fri, 16 Nov 2007 19:41:54 +0000 (UTC) (envelope-from SRS0=b8e54524c6667dcaaf3271188e6bd2346cef300f=521=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id VEF74351; Fri, 16 Nov 2007 12:41:51 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 2832145011; Fri, 16 Nov 2007 11:41:50 -0800 (PST) To: Eric Schuele In-Reply-To: Your message of "Fri, 16 Nov 2007 13:03:32 CST." <473DE984.9050707@computer.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1195242110_81424P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Fri, 16 Nov 2007 11:41:50 -0800 From: "Kevin Oberman" Message-Id: <20071116194150.2832145011@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ;; X-Sender: X-To_Name: Eric Schuele X-To_Domain: computer.org X-To: Eric Schuele X-To_Email: e.schuele@computer.org X-To_Alias: e.schuele Cc: freebsd-current@freebsd.org Subject: Re: RELENG_7 and atheros .... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2007 19:41:55 -0000 --==_Exmh_1195242110_81424P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Fri, 16 Nov 2007 13:03:32 -0600 > From: Eric Schuele > > On 11/15/2007 23:35, Kevin Oberman wrote: > >> Date: Thu, 15 Nov 2007 22:08:13 -0600 > >> From: Eric Schuele > >> Sender: owner-freebsd-current@freebsd.org > >> > >> Hello, > >> > >> I'm having some strangeness with respect to my atheros based card on > >> releng_7. This may not sound like much... but together they concern m> e. > >> I'm wondering if anyone has seen similar things. > >> > >> 1) I've seen two panics while trying to bring the interface up over > >> the last few weeks. > > > > I have not seen this. > > > >> 2) I get disconnected every night from my wireless router at home. > >> 99% of the time it happens after I've gone to bed. Once or twice... > >> while I was sitting in front of it. It just disassociates? > > > > Try 'ifconfig ath0 -bgscan'. Something causes my card to lose > > association periodically when the background scan is in progress. > > Are you saying try the above *after* I've been disconnected? Or is it > an attempt to reproduce the disconnect? No. Try it as soon as your system comes up. It disables the regular background scan for APs that, by default, happens every 5 minutes. Note that I don't see my association go down on every scan, but turning this off seems to prevent the disassociation from ever happening. I have confirmation from at leat two others with the same Atheros chip-set that this fixed their recurrent disconnects. (It certainly fixed mine.) Note that this change will have a negative effect if you are roaming or your environment changes in some way. > >> 3) When I am at the office, my card will *never* obtain an ip address > >> from our DHCP server upon first booting. I must *always* down the > >> interface, kill dhclient, bring the interface up and start dhclient. > > > > Are you running wpa_supplicant? Are you using WPA, > > Yes, see below on my original post. > > > WEP or running open? > > I see the card get "stuck" when scanning. It scans channels, but only > > for WPA secured APs. When needing to associate with a WEP or open AP, it > > never leaves WPA mode, so never associates. > > Hmm... yes, I 've noticed it doing this. Going around in circles > through all the channels in WPA mode. odd. Any other work around other > than bouncing the interface? I have found that '/etc/rc.d/wpa_supplicant restart ath0' fixes it for me. I added an alias to my .tcshrc file to save typing. That said, I updated my sources last week and I don't recall seeing the problem since then. Maybe it's fixed. I did see come fixes committed to -current that might have been applicable, but I don't know if any have been MFCed to 7.0 or if they will fix this. I really need a bit more time to collect and analyze some debug data on this so I can give Sam some good data to work with. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1195242110_81424P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFHPfJ+kn3rs5h7N1ERAj4wAJ9141xpeXgcwhMNef8CXQ7xVtBgngCgkHO9 X64N5z1y6yErnizoSRRweOk= =Om0h -----END PGP SIGNATURE----- --==_Exmh_1195242110_81424P--