From owner-freebsd-current@FreeBSD.ORG Tue Sep 22 14:30:51 2009 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 03135106568D for ; Tue, 22 Sep 2009 14:30:51 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id B5DD28FC08 for ; Tue, 22 Sep 2009 14:30:50 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n8MEUnDq009173; Tue, 22 Sep 2009 08:30:49 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n8MEUnMs009170; Tue, 22 Sep 2009 08:30:49 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 22 Sep 2009 08:30:49 -0600 (MDT) From: Warren Block To: Sam Leffler In-Reply-To: <4AB77922.6070802@freebsd.org> Message-ID: References: <4AB77922.6070802@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Tue, 22 Sep 2009 08:30:49 -0600 (MDT) Cc: freebsd-current@freebsd.org Subject: Re: Atheros AR5008X AR5416 issues 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: Tue, 22 Sep 2009 14:30:51 -0000 On Mon, 21 Sep 2009, Sam Leffler wrote: > Warren Block wrote: >> >> ath0: mem 0xf8200000-0xf820ffff irq 19 at device 0.0 on >> pci20 >> ath0: [ITHREAD] >> ath0: AR5418 mac 12.10 RF5133 phy 8.1 >> >> It sort-of works with a Linkys WRT54G b/g access point, but has some >> problems that keep it from working well. >> >> Transfers are usually stalled, then will suddenly jump to 2MB/sec for a >> little while, then stall again with the output of bb hang messages. >> Access point LED shows long pauses. >> >> kernel: ath0: bb hang detected (0x80), reseting >> kernel: ath0: bb hang detected (0x80), reseting >> kernel: ath0: bb hang detected (0x4), reseting >> kernel: ath0: bb hang detected (0x4), reseting > > This problem is a hardware bug in the 5416 that also appears in other > Atheros 11n cards (i've seen it w/ 9160- and 9280-based cards). Atheros > refused to help me resolve this, except to say the problem doesn't > hobble their linux driver. So to fix this problem you'll need to compare > how the linux code works to how the freebsd code works. If you can > collect register access traces from the linux driver then you can > compare them to what happens in freebsd (use the ATH_DEBUG_ALQ option). > Otherwise you can try to do this through code inspection. Beyond my abilities at present, unfortunately. Fortunately, the AR5007EX/AR5BXB63 cards are relatively easy to find, cheap, and work great. Thank you for all the work you've done to make that happen. -Warren Block * Rapid City, South Dakota USA