From: Peter Stuge Date: Wed, 12 Oct 2011 16:56:12 +0200 Subject: [ath9k-devel] need help debugging/pinning down obscure freezes/hangs using AR9287 In-Reply-To: References: <8E4915FC-90CA-46C6-B15D-BFFC3037BA22@gmail.com> <20111012135355.22032.qmail@stuge.se> Message-ID: <20111012145612.31165.qmail@stuge.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Mohammed Shafi wrote: > > From experience I know that Atheros does not like to work with end > > users on debugging issues like this, even if end users happen to be > > competent. The prefered modus operandi is to attempt to reproduce > > issues internally, and if that is successful then some time later > > there usually comes a patch into wireless-testing.git. This is of > > course useless for corner case problems. > > people do take efforts to recreate remote issues. there are several > issues that were properly fixed. I absolutely agree! I tried to also acknowledge that, but I'm happy to be more clear: Atheros takes efforts to reproduce issues and in many cases already it has resulted in fixes. The problem is that remote issues can be impossible or too difficult to reproduce. > i accept that there may be few issues which may not be fixed. I know. I don't. I was actually shocked to meet this attitude when coming into the ath9k community. I didn't think anyone would work on open source without the desire to make it perfect. I was too naive. I completely understand the attitude, I just disagree with it. > > This mailing list is a lot like first-line support. You usually don't > > get quality engineer time from Atheros here. I can understand that, > > because remote debugging is a tremendous pain. But it's also the only > > way to resolve odd problems. > > any developer would be very happy if they can find a bug and fix it. Yes of course. The problem is that developers alone can not reasonably quickly find and fix bugs that depend on a particular remote RF environment. > obviously we need to parallely work on other commitments. Remote debugging is a pain, it takes a lot of time, and I understand that there is no time for it. Adding to this, it might also require sharing whatever proprietary or FCC-forbidden information with consumers, and that of course rules it out completely. > would you please stop complaining and provide some help ? It took me many months time to get an idea of the ath9k community, and I would have appreciated tremendously if someone had explained to me how things worked and what I could expect, so that I could take independent action accordingly. I believe I help people when I talk about how this community works. > all you try to do is focus only on the *negative things*. I try to focus on facts. Facts are negative sometimes. Some facts may be unintentional, but they are facts nevertheless. When I read an email with a request for help with what seems to be a corner case problem (otherwise it would have been fixed already, because ath9k works really well for many users) then I think it is important to talk about what the facts are regarding debugging and the information flow that supports debugging, to allow efficient resolution of the problem situation. A fact is that there is little to no public information exchange on developer level with Atheros (e.g. on this mailing list) and another fact is that this is quite the opposite of what I expected when subscribing to the list. I do find these facts tremendously negative, but there's not much I can do. Even if I were to become involved as a developer I couldn't do anything about it. I could work on the code, but I couldn't change the flow of information. I don't have time to work on the code, I do so in enough other places already, and besides I have very little interest to work on the code when information can not flow to support maximum development and debugging efficiency. > there are several issues we find by ourselves and send patches. Certainly! I never said anything about this. There are continuously updates and improvements at the very least for the newest hardware but probably also for older hardware, although e.g. Luis has mentioned that he is interested only in the newest hardware. > i do take a point we have to improve on this. i will surely work on > it. thanks! It's impossible for third party such as myself to say if and how much Atheros needs to improve on finding issues internally. I expect that you already do reviews internally before proposing patches for wireless-testing.git and so on, and of course you have test labs which provide developers with problem reports, but none of this matters for issues that have not yet been encountered, such as when a user reports an unseen corner case problem. The kicker is of course that what may first seem to be just a corner case problem can end up being or revealing a much more important problem. > > I would recommend that you try to reproduce using FreeBSD. I'm unsure > > if the driver there supports AR9287, but if it does I think you will > > be able to get good help thanks to Adrian, This obviously does not immediately help Atheros but I'm sure you recognize that this advice and this approach to debugging the problem will help the user, Adrian and FreeBSD, if the problem can be accurately identified, as I believe Adrian would be able to do with or without asking Atheros the correct questions in the trusted sidechannel, and in that case the issue being identified will also quite likely help ath9k and Atheros as well, since once a problem has been identified it will usually be easy to fix it. //Peter