From owner-freebsd-bugs@FreeBSD.ORG Thu Jan 27 06:50:06 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7E5D1065679 for ; Thu, 27 Jan 2011 06:50:06 +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 9B52E8FC16 for ; Thu, 27 Jan 2011 06:50:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p0R6o6nW000985 for ; Thu, 27 Jan 2011 06:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p0R6o6Ze000984; Thu, 27 Jan 2011 06:50:06 GMT (envelope-from gnats) Resent-Date: Thu, 27 Jan 2011 06:50:06 GMT Resent-Message-Id: <201101270650.p0R6o6Ze000984@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Adrian Chadd Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD64D1065675 for ; Thu, 27 Jan 2011 06:40:17 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 82D468FC14 for ; Thu, 27 Jan 2011 06:40:17 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p0R6eHVv097830 for ; Thu, 27 Jan 2011 06:40:17 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p0R6eH22097829; Thu, 27 Jan 2011 06:40:17 GMT (envelope-from nobody) Message-Id: <201101270640.p0R6eH22097829@red.freebsd.org> Date: Thu, 27 Jan 2011 06:40:17 GMT From: Adrian Chadd To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/154327: [ath] AR5416 in station mode hangs when transmitting frames X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2011 06:50:06 -0000 >Number: 154327 >Category: kern >Synopsis: [ath] AR5416 in station mode hangs when transmitting frames >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 27 06:50:06 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Adrian Chadd >Release: -HEAD r217882 >Organization: >Environment: routerstation pro (mipsbe); head -r217882 >Description: The AR5416 scans fine but fails to TX packets, resulting in a device timeout and/or BB hang. Dmesg fragment: Copyright (c) 1992-2011 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-CURRENT #31 r217691:217921M: Thu Jan 27 11:25:17 WST 2011 adrian@pcbsd-3114:/data/freebsd/mips/head/obj/rspro_head/mips.mipseb/data/freebsd/mips/head/src/sys/RSPRO_STANDALONE mips real memory = 134217728 (131072K bytes) avail memory = 124760064 (118MB) nexus0: clock0: on nexus0 Timecounter "MIPS32" frequency 360000000 Hz quality 800 Event timer "MIPS32" frequency 360000000 Hz quality 800 apb0 at irq 4 on nexus0 uart0: <16550 or compatible> on apb0 uart0: console (115200,n,8,1) ehci0: at mem 0x1b000000-0x1bffffff irq 1 on nexus0 usbus0: set host controller mode usbus0: EHCI version 1.0 usbus0: set host controller mode usbus0: on ehci0 pcib0 at irq 0 on nexus0 pci0: on pcib0 pci0: at device 0.0 (no driver attached) ath0: irq 0 at device 17.0 on pci0 ath0: AR9280 mac 128.2 RF5133 phy 13.0 ath1: irq 1 at device 18.0 on pci0 ath1: AR5416 mac 13.10 RF5133 phy 8.1 In monitor mode, the card receives frames fine. But when trying to associate, the card hangs. TODO (for a reminder for me): * try a different slot * try without an AR9280 in the other slot * try creating an adhoc AP and TX'ing unicast/broadcast packets w/ another laptop in monitor mode to see if it makes it out into the air Also: * try a HAL checkout from -before- my changes. I seem to recall test this a while ago and I found that it worked (well enough.) * Try a HAL checkout from my GIT HAL, see if that works too. >How-To-Repeat: Configure it up in station mode; attach wpa_supplicant; attempt to associate to a 11bg AP. >Fix: >Release-Note: >Audit-Trail: >Unformatted: