From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 18 16:21:57 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2E16EF95 for ; Thu, 18 Jul 2013 16:21:57 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x235.google.com (mail-wg0-x235.google.com [IPv6:2a00:1450:400c:c00::235]) by mx1.freebsd.org (Postfix) with ESMTP id BF0B9951 for ; Thu, 18 Jul 2013 16:21:56 +0000 (UTC) Received: by mail-wg0-f53.google.com with SMTP id y10so3068038wgg.8 for ; Thu, 18 Jul 2013 09:21:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Y3cq3MOfcRriFqc4MpBXMn1y/zI8WGW1gzOJ/ISU3eY=; b=pLrphgaYdAhKIDDNGHvBEneQmxCYcY+S4GsOYnp9G/7Sb9r6AEcg4yYTGUPsiykQmb rls4qWNXtE444m+FIrxYKQ+eiQr13RHdaB2/414VTGJlVKrquK4Oq5K9bRg/xWBGBOrl OsfGRauH4B7r3P80Ay2XRyIABfqZjQtAryQuovwYJoMRwCBIHX0Fk8fs6iFmHrQbAmoC MwA6sqMqxm0MEI8F5PUEqw7BLymJco3yKLyYwDWhpyfBSID7rBTz7A1zKzlt+7VBwPBi qB/NUy8bqWQYR9lXi7YhHyXNUZV6bZhelgtAJKSrnXnTEbFONUjkiwHkkS6XOqeIQuFo TQ6g== MIME-Version: 1.0 X-Received: by 10.194.240.201 with SMTP id wc9mr9236680wjc.1.1374164515733; Thu, 18 Jul 2013 09:21:55 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.94.132 with HTTP; Thu, 18 Jul 2013 09:21:55 -0700 (PDT) In-Reply-To: <1374143949.434105019@f394.i.mail.ru> References: <1374143949.434105019@f394.i.mail.ru> Date: Thu, 18 Jul 2013 09:21:55 -0700 X-Google-Sender-Auth: SPpIbqfgGsRvbE6WswoI8jhHgYk Message-ID: Subject: Re: AR9287 interrupt rate From: Adrian Chadd To: sirok Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 16:21:57 -0000 Hm, I wonder what interrupt it is. Add 'options AH_INTERRUPT_DEBUGGING' and rebuild. Then after it happens, post the output of 'sysctl dev.ath.0' -adrian On 18 July 2013 03:39, sirok wrote: > Hi! > > ath0: mem 0xfe500000-0xfe50ffff irq 16 at device 0.0 on pci1 > ath0: [HT] enabling HT modes > ath0: [HT] enabling short-GI in 20MHz mode > ath0: [HT] 1 stream STBC receive enabled > ath0: [HT] 1 stream STBC transmit enabled > ath0: [HT] 2 RX streams; 2 TX streams > ath0: AR9287 mac 384.2 RF5133 phy 15.15 > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > > ath0: flags=8843 metric 0 mtu 2290 > ether 20:7c:8f:xx:xx:xx > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng > status: running > > wlan0: flags=8843 metric 0 mtu 1500 > ether 20:7c:8f:xx:xx:xx > inet 192.168.x.1 netmask 0xffffff00 broadcast 192.168.x.255 > inet6 fe80::xxxxx%wlan0 prefixlen 64 scopeid 0x13 > inet6 xxxxx::1 prefixlen 64 > nd6 options=21 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng > status: running > ssid XXXXX channel 6 (2437 MHz 11g ht/40+) bssid 20:7c:8f:xx:xx:xx > regdomain NONE country RU indoor ecm authmode WPA2/802.11i > privacy MIXED deftxkey 2 AES-CCM 2:128-bit AES-CCM 3:128-bit > txpower 20 scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 8 > shortgi wme burst dtimperiod 1 -dfs > > Problem description > > Just after reboot vmstat -i shows about 60 interrupts/sec > irq16: ath0 40558 66 > > But after some time (a few hours I think) irq rate starts to rise slowly. > After ~ 23 hours: > irq16: ath0 12086600069 146845 > After 23h+5 minutes: > irq16: ath0 12154198114 147131 > About 10 minutes later: > irq16: ath0 12307854569 147771 > Now: > irq16: ath0 14089141951 154492 > > And so on up to about 280000/sec. AP mode stops functioning at some point. > It's a pretty old problem. However on older revs irq goes high immediately after boot, even if ath is not configured at all. > > HEAD rev 253412 > > Thank you! > > -- > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"