From owner-freebsd-stable@FreeBSD.ORG Mon Feb 23 17:57:09 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D610106566B for ; Mon, 23 Feb 2009 17:57:09 +0000 (UTC) (envelope-from oberman@es.net) Received: from mailgw.es.net (mail2.es.net [IPv6:2001:400:107:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 454A08FC0A for ; Mon, 23 Feb 2009 17:57:09 +0000 (UTC) (envelope-from oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29]) by mailgw.es.net (8.14.3/8.14.3) with ESMTP id n1NHv4w9031761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 23 Feb 2009 09:57:08 -0800 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id E12A41CC27; Mon, 23 Feb 2009 09:56:03 -0800 (PST) To: Christian Walther In-reply-to: Your message of "Mon, 23 Feb 2009 16:21:17 +0100." <14989d6e0902230721x7a2cd30cw4e548451c87e17cd@mail.gmail.com> Date: Mon, 23 Feb 2009 09:56:03 -0800 From: "Kevin Oberman" Message-Id: <20090223175603.E12A41CC27@ptavv.es.net> Cc: FreeBSD Subject: Re: Recommended wireless card (or is there a chance to get either iwi or ath fixed)? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 17:57:09 -0000 > Date: Mon, 23 Feb 2009 16:21:17 +0100 > From: Christian Walther > Sender: owner-freebsd-stable@freebsd.org > > Hi, > > after some time without FreeBSD I installed 7.1 on an IBM Thinkpad T30 > (with ZFS root on encrypted geli, works great). > Config is: > > FreeBSD hasking.alashan.nongo 7.1-STABLE FreeBSD 7.1-STABLE #3: Thu > Feb 5 21:10:45 CET 2009 > root@hasking.alashan.nongo:/usr/obj/usr/src/sys/HASKING i386 > > I tried using my ath based D-Link DWL G650, which still seems to have > some issues in regard to interrupt handling: > > Feb 17 20:15:21 hasking kernel: ath0: mem > 0xd0210000-0xd021ffff irq 3 at device 0.0 on cardbus0 > Feb 17 20:15:21 hasking kernel: ath0: [ITHREAD] > Feb 17 20:15:21 hasking kernel: ath0: WARNING: using obsoleted > if_watchdog interface > Feb 17 20:15:21 hasking kernel: ath0: Ethernet address: 00:19:5b:3a:82:be > Feb 17 20:15:21 hasking kernel: ath0: mac 7.9 phy 4.5 radio 5.6 > ... > Feb 17 21:39:19 hasking kernel: ath0: link state changed to UP > Feb 17 21:39:19 hasking kernel: ath0: link state changed to DOWN > Feb 17 21:39:23 hasking kernel: ath0: link state changed to UP > Feb 17 21:39:23 hasking kernel: ath0: link state changed to DOWN > Feb 17 21:39:24 hasking kernel: interrupt storm detected on "irq3:"; > throttling interrupt source > > > Next I gave the following card a try: > iwi0: mem 0xd0200000-0xd0200fff irq 5 > at device 2.0 on pci2 > iwi0: Ethernet address: 00:15:00:31:f3:76 > iwi0: [ITHREAD] > > ...and it regularly drops/looses connection to the WLAN router, as > stated in the following PR: > http://www.freebsd.org/cgi/query-pr.cgi?pr=124767 > > Basically, my question is if there is a fix for any of these issues > that I haven't found so far, so that I can eventually use one of my > existing wireless cards, or if I should switch to a different > brand/model. If the latter is the case I'd like to know which one to > choose. I'm not sure what the problem you are seeing with the Atheros 5212 might be, but I use that wireless card in my T43 and it has worked very well for years. I'm not sure what is using irq3, but it is normally COMM2, which i believe only exists on the T30 when the unit is in a docking station. Could you check on the output of 'vmstat -i' to see what might be using it? Are you running with APIC? I know that it has to be disabled on the T43 and it may need to be on the T30. (It's been a while since I've used the T30.) Add 'hint.apic.0.disabled=1' to /boot/loader to do this. Finally, try 'ifconfig ath0 -bgscan'. Several people have reported that this fixes periodic loss of association on the 5212. By default, background scanning is done every 5 minutes and makes roaming work much better, but seems to have some issues on this card. I'm not at all confident that this will lead to fixing the problem, but it's easy to check on and may point in the right direction. -- 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