From: Peter Stuge Date: Wed, 12 Oct 2011 18:01:26 +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> <20111012145612.31165.qmail@stuge.se> Message-ID: <20111012160126.8217.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 Adrian Chadd wrote: > Oh, don't think it's a FreeBSD related thing. Certainly didn't mean to say that. It just happens to be that fbsd is the stuff around your code. > It's likely more a "what people are comfortable doing" thing. Yep. > I think it's a difficult call for any company to offer free support > to open source users. To developers, sure, they're likely their own > "clue filter" and will (quickly enough) learn how/what to ask the > right questions I have enough clue about hardware, just not really wifi. I was not so interested in getting a clue about wifi, but I was very interested in blazing through ath9k down to the bits and bytes that caused my problems when I first had them. To do this efficiently I requested information on how what and where, so that I would not have to reverse engineer the driver to get it into my head. I got nothing. I didn't even get told that I also wouldn't get anything unless I really bitched and moaned a lot. > for every Felix and I, there's likely a lot more linux ath9k users > who are having issues. Who's going to help them? Yes, of course it's difficult. That said, a mailing list already filters out many, as opposed to say a web based forum. Further, it is very very easy to test the skill level of a problem reporter by throwing a sufficiently advanced task at them which will gather more information about the problem. > How many developers are going to be dedicated to this task? Are > they full-time or part time? How are they going to help support > users on a huge variety of platform choices and combinations - > doubly so when people start submitting home-built PCs or customised > laptops with non-standard (ie, non-shipped) wifi NICs? The hardware variations are irrelevant and should actually be embraced, because they will help identify even more cases that were originally not handled. This requires an open mind, and it requires being willing to say "it turns out that there is a problem in this-and-this non-standard configuration, but under those-and-those conditions the functionality has been very well tested, if you can reproduce the problem there, then please let's talk again" which of course either can be seen as failure or as an opportunity to make future products even better. > What FreeBSD/Linux atheros chipset support needs is some more cluey > developers (maybe working at companies who are already supporting > end-users, say Redhat, Canonical, etc) who could take ownership of > "help fix/debug wireless issues" and could act as a middle man. For now I'm afraid there's mostly just you and Felix, with Felix seeming to be (understandably) more oriented to AP operation and you perhaps slightly more toward STA. > We'd all like to make things perfect, This is the thing, I don?'t think Atheros wants this at all. The products have way too short lifetime for it to be worthwhile. It helps that ath9k supports so many products, but it's not enough. I do believe that all Atheros developers would like ath9k to work perfectly, but I don't believe for a second that they are being paid to ensure that it does. > _My_ priority is to make sure the older stuff works spot on, stable > and predictable, before I try my hand at AR9300+ support. And it fits well with FreeBSD. Especially because of this I think your code provides a very valuable data point and reference for problems encountered with ath9k. > That has its own problems (you'd not believe how many people have > complained because FreeBSD doesn't support AR9170 or AR7010 USB > stuff, even though there's perfectly working Linux/OpenBSD code Tell them to use Linux or OpenBSD then. Complaining is stupid, education helps avoid complaining. > FYI: I got fed up with the lack of AR9287 chipset support and decided > to avoid exam study by porting over the changes. So yes, AR9287 > support in FreeBSD-HEAD should work just fine. But who knows about it > and its interaction with the random bus and acpi glue out there? All I > can say is "works ace on my eeepc 701. Really ace. 200mbit+ UDP even." Well done! I really suggest to try to reproduce the problem using FreeBSD. > Just a final note - any active developer who takes an active part in > _any_ open source atheros wifi development (Linux, Free/Net/OpenBSD, > Haiku, ReactOS..) and shows consistently good work and a level head > can likely get access to exactly the same kinds of side channels I and > others have. I am convinced that this is true. It is just stupid to me to put such a barrier in front of cluey users who can help discover problems which ultimately drive (pun unintended) product value by making the driver better. Atheros' rep is to be the single most open sourcey wifi hardware company, so I expected something very different, and I believe I am not alone. But the largest problem is really that until I have started to talk about this on this mailing list noone else did. //Peter