From owner-freebsd-i386@FreeBSD.ORG Sun Feb 24 21:50:02 2008 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C997216A402 for ; Sun, 24 Feb 2008 21:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9699613C465 for ; Sun, 24 Feb 2008 21:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1OLo2mU067499 for ; Sun, 24 Feb 2008 21:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1OLo2ve067498; Sun, 24 Feb 2008 21:50:02 GMT (envelope-from gnats) Resent-Date: Sun, 24 Feb 2008 21:50:02 GMT Resent-Message-Id: <200802242150.m1OLo2ve067498@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kevin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DCF816A405 for ; Sun, 24 Feb 2008 21:42:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 085E213C474 for ; Sun, 24 Feb 2008 21:42:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m1OLe0hW023403 for ; Sun, 24 Feb 2008 21:40:00 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m1OLe094023392; Sun, 24 Feb 2008 21:40:00 GMT (envelope-from nobody) Message-Id: <200802242140.m1OLe094023392@www.freebsd.org> Date: Sun, 24 Feb 2008 21:40:00 GMT From: Kevin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: i386/121063: High wireless traffic on ATH causes high tx failed 'cuz FIFO underrun X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2008 21:50:03 -0000 >Number: 121063 >Category: i386 >Synopsis: High wireless traffic on ATH causes high tx failed 'cuz FIFO underrun >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 24 21:50:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Kevin >Release: 6.2 (pfsense V1.2RC4) >Organization: >Environment: FreeBSD via.local 6.2-RELEASE-p10 FreeBSD 6.2-RELEASE-p10 #0: Tue Jan 15 22:41:16 EST 2008 sullrich@builder6.pfsense.com:/usr/obj.pfSense/usr/src/sys/pfSense.6 i386 >Description: On high network traffic (~2.7MB/sec) through ATH driver I get lots of tx failed 'cuz FIFO underrun. When this happens, the client is still associated but no traffic passes. It takes roughly 5-10 seconds for the traffic to recover. # athstats -i ath0 3504331 tx management frames 4407 tx frames discarded prior to association 1 tx discarded empty frame 79 tx failed 'cuz FIFO underrun 333596 tx failed 'cuz bogus xmit rate 4947 tx frames with rts enabled 48003 tx frames with 11g protection 2991 rx failed 'cuz of FIFO overrun 2335608 rx management frames 131457 beacon setup failed 'cuz no mbuf 1822434860 beacons transmitted 471 periodic calibration failures 1 rate control checks 1 tx used alternate antenna Antenna profile: [2] tx 3508657 rx 2420960 >How-To-Repeat: This thread reports the same problem I believe and he has very good steps on how to reproduce. http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065621.html >Fix: No known fix as only one other thread has reported this problem. The conclusion was to add more rx and tx buffer but the problem still does not go away completely. # sysctl hw.ath hw.ath.hal.version: 0.9.17.2 hw.ath.hal.dma_brt: 2 hw.ath.hal.sw_brt: 10 hw.ath.hal.swba_backoff: 0 hw.ath.dwell: 200 hw.ath.calibrate: 30 hw.ath.outdoor: 1 hw.ath.xchanmode: 1 hw.ath.countrycode: 0 hw.ath.regdomain: 0 hw.ath.rxbuf: 4000 hw.ath.txbuf: 4000 >Release-Note: >Audit-Trail: >Unformatted: