From owner-freebsd-wireless@FreeBSD.ORG Mon May 9 13:00:22 2011 Return-Path: Delivered-To: freebsd-wireless@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AD081065679 for ; Mon, 9 May 2011 13:00:22 +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 8BE538FC1A for ; Mon, 9 May 2011 13:00:21 +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 p49D0L5O077573 for ; Mon, 9 May 2011 13:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p49D0LLS077571; Mon, 9 May 2011 13:00:21 GMT (envelope-from gnats) Date: Mon, 9 May 2011 13:00:21 GMT Message-Id: <201105091300.p49D0LLS077571@freefall.freebsd.org> To: freebsd-wireless@FreeBSD.org From: Dima Panov Cc: Subject: Re: kern/156884: dev/ath instablity X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dima Panov 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: Mon, 09 May 2011 13:00:22 -0000 The following reply was made to PR kern/156884; it has been noted by GNATS. From: Dima Panov To: Adrian Chadd Cc: bug-followup@freebsd.org,fluffy@freebsd.org Subject: Re: kern/156884: dev/ath instablity Date: Mon, 09 May 2011 23:54:32 +1100 By Adrian's request, I provide chatlog for PR history: 21:45:08šDima Panovš 19 hours uptime, about 20 log lines with "ath0: bb hang detected (0x80), resetting", but it still works. and another: my link aggregation (wire + wifi) shown next lines: wlan0: link state changed to DOWN lagg0: link state changed to DOWN wlan0: link state changed to UP lagg0: link state changed to UP 21:51:01šAdrian Chaddš hm, ok 21:51:06šAdrian Chaddš And with that -HEAD you tested with 21:51:07šAdrian Chaddš that you said worked 21:51:11šAdrian Chaddš you didn't get any BB hangs, right? 21:53:10šDima Panovš i've got BB hangs already for last 4-5 months... but it not leads to unusable interface until reported version/ 21:53:18šDima Panovš now it works with r221480:221612M: 21:53:18šAdrian Chaddš I have to head off, please attach this and dmesg | grep ath from your boot 21:53:22šAdrian Chaddš Ok 21:53:30šAdrian Chaddš was there a point in time when you didn't have BB hangs and things worked? 21:53:55šDima Panovš ath0: mem 0xf0000000-0xf000ffff irq 19 at device 0.0 on pci9 [ath] Enabling diversity for Kite ath0: AR9285 mac 192.2 RF5133 phy 14.0 21:54:06šAdrian Chaddš ah yes, antenna diversity for Kite 21:54:09šAdrian Chaddš blah I'm debugging that too at the moment 21:54:36šAdrian Chaddš So you've always had bb hangs, or has there been a point in the past where it worked fine with no BB hangs? 21:54:39šAdrian Chaddš that's what's important 21:54:57šAdrian Chaddš I have to rush off 21:54:59šAdrian Chaddš Just let me know this 21:55:05šAdrian Chaddš (and then put all of this info in the PR 21:55:06šAdrian Chaddš ) 21:55:15šAdrian Chaddš Was there ever a point where the AR9285 was working for you with no BB hangs? 21:55:30šDima Panovš i didn't remember exactly, but before november bb hangs was rare 21:55:47šAdrian Chaddš ok 21:55:50šAdrian Chaddš rarer than now? 21:55:57šDima Panovš yep 21:55:59šAdrian Chaddš ok 21:56:12šAdrian Chaddš would you mind testing a late september sys/dev/ath/ directory? 21:56:19šAdrian Chaddš (you'll have to patch the sys/conf/files list to be able to build it though) 21:56:30šAdrian Chaddš in fact, no 21:56:31šAdrian Chaddš let's do that after 21:56:37šAdrian Chaddš Let's test a more recent version 21:56:41šAdrian Chaddš We'll go hunting for that later, ok? 21:56:59šDima Panovš 2-3 message for 2-day uptime was normal in november 21:57:31šDima Panovš yep. so which revision i need to update now? 21:57:34šAdrian Chaddš Well, your environment may have changed 21:57:38šAdrian Chaddš we can test that later 21:58:18šDima Panovš nope, same AP, same 2 laptops, same 3 another APs available at building 21:58:27šAdrian Chaddš Yeah 21:58:32šAdrian Chaddš As I said, it's a later problem. :) 21:58:32šAdrian Chaddš ok? 21:58:39šAdrian Chaddš We'll test a september/october kernel 21:58:41šAdrian Chaddš Sorry, ath 21:58:44šAdrian Chaddš Now that we know 21:58:55šDima Panovš ok, i'm ready 21:59:36šAdrian Chaddš Try r221596 22:00:01šAdrian Chaddš Please remember to add the above to the PR 22:00:04šAdrian Chaddš both the version that worked 22:00:07šAdrian Chaddš What we're next trying 22:00:16šAdrian Chaddš and the fact that you remember there being less BB hangs in November 22:00:20šAdrian Chaddš Just so we don't lose track, ok? 22:00:36šAdrian Chaddš I gotta run out, sorry :) 22:00:43šDima Panovš good, will attach chatlog to PR 22:00:49šAdrian Chaddš cool-o 22:00:56šAdrian Chaddš and I'm going to add some more diversity related hackery to freebsd 22:00:56šAdrian Chaddš bbl 22:01:13šDima Panovš good luck! 09.05.2011, 21:49, "Dima Panov" : > ath0: mem 0xf0000000-0xf000ffff irq 19 at device 0.0 on pci9 > [ath] Enabling diversity for Kite > ath0: AR9285 mac 192.2 RF5133 phy 14.0 > > 09.05.2011, 20:33, "Adrian Chadd" ;: > >> šHi Dima, >> >> šWould you please provide the dmesg for your ath device? >> >> šdmesg | grep ath >> >> šThis'll include information such as whether antenna diversity is enabled or not. >> -- Dima Panov (fluffy@FreeBSD.org) KDE@FreeBSD team Facebook: http://www.facebook.com/fluffy.khv