From: Paul Farrow Date: Mon, 23 Jan 2012 08:57:25 -0500 Subject: [ath9k-devel] Failed to stop TX DMA In-Reply-To: References: <6b8a2b68eccbe5b3c9762c6f052a6878@www.thefabfarrows.com> <91fa72618754b69f9bf13a733e981523@www.thefabfarrows.com> <2ef536609cbee9c771dc3ebdf7e79bb1@www.thefabfarrows.com> <4F18FBE9.8000500@candelatech.com> <88fc9df2a2ff8d4dff6a56da7754a20f@www.thefabfarrows.com> <4F199E6B.2010302@candelatech.com> <394a9f3888c25d0d12e30c7018741598@www.thefabfarrows.com> Message-ID: <6ff568cb828a49fecb249737e27d77cf@www.thefabfarrows.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Whats really odd was that the time that I selected that driver (ath9k_htc) and recompiled the code was the time that it appeared to work. Perhaps what I really did was selected the driver as ath9k_htc and recompiled but then modprobe'd the old ath9k object from the compilation before this one. As I said I am Linux hobbyist and tried many things to get this to work so it could be my failing memory (brain power) and I actually forgot the correct chain of events. I would like to add about this problem that my wifi clients are an android phone and a intel duo macbook pro. The way that I replicate the problem is that I just run speedtest.net and it happens straight away every time so not sure if its a load problem or what. Thanks to any one that can figure this problem out. Looking back through the newsgroup it would have been happening since late 2010 so it would be nice to get to the bottom of it. Cheers Paul On Mon, 23 Jan 2012 18:56:07 +0530, Mohammed Shafi wrote: > On Mon, Jan 23, 2012 at 6:48 PM, Paul Farrow > wrote: >> Hi Ben >> >> Thanks for replying and offering to try it on your machine. ?Perhaps >> the >> trick is the 64 bit kernel (3.1.9-1.fc16.x86_64.debug) >> ?- not sure. ?I have attached hostapd.conf and lspci for your >> information. >> >> Hostapd I have used version 0.73 from the distribution and I have >> used also >> used the latest development source branch. >> >> hostapd v2.0-devel >> >> User space daemon for IEEE 802.11 AP management, >> IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator >> Copyright (c) 2002-2012, Jouni Malinen and contributors >> >> I also compiled the latest ath9k device but all produce the dma >> errors to >> the terminal. >> >> When I run hostapd I get a wlan0.mon interface - I take it that is >> normal. >> >> Also the ONE time it seemed to work I used the latest source code I >> selected >> the driver as ath9k_htc, not sure if that was the trick or just >> fluke as I >> couldn't get it to work again. > > ath9k_htc is for USB chipsets and ath9k PCI chipsets, so please don't > select ath9k_htc > http://linuxwireless.org/en/users/Drivers/ath9k_htc > >> >> Thanks for trying >> >> Paul >> >> >> On Fri, 20 Jan 2012 09:03:39 -0800, Ben Greear wrote: >>> >>> On 01/20/2012 05:25 AM, Paul Farrow wrote: >>>> >>>> >>>> Hi Ben >>>> >>>> Thanks for getting back to me. Are the AR9380's the ones to use >>>> for >>>> Access Point functionality? >>> >>> >>> We use them mostly for client mode, but we do test them as access >>> points as well. >>> I've only tested 32-bit kernels in AP mode, but 64-bit and 32-bit >>> kernels in station >>> mode. ?Will be testing 64-bit AP mode shortly. >>> >>>> >>>> I am a hobbyist when it comes to Linux stuff so please be gentle. >>>> I am >>>> using a 64bit version of Fedora 16 at the moment, should I really >>>> be using >>>> the 32 bit >>>> version for it to work successfully. >>>> >>>> Do your kernels have much modifications or are they just copies >>>> from >>>> kernel.org? >>> >>> >>> It has some modifications..but nothing very significant for AP >>> mode, >>> as far as I know. ?It does have all of the stable patches applied, >>> which >>> may help. >>> >>> You may still see problems, and if you do, please let me know. ?Not >>> sure >>> I can fix anything, but post your hostapd conf file and such and >>> I'll >>> see if we can reproduce the problem at least. ?I have a couple of >>> older >>> ath9k NICs lying around, maybe some with your chipset. >>> >>> We also run with nohwcrypt enabled, so possibly that has some >>> impact on >>> stability. >>> >>> Thanks, >>> Ben >>> >>> >>>> >>>> Cheers and thanks again >>>> >>>> Paul >>>> >>>> On Thu, 19 Jan 2012 21:30:17 -0800, Ben Greear wrote: >>>>> >>>>> On 01/19/2012 07:36 PM, Paul Farrow wrote: >>>>>> >>>>>> >>>>>> Can any one confirm if they have a working AP with AR9280 card >>>>>> on >>>>>> Fedora 16? I got the latest code base for hostapd and the ath9k >>>>>> driver >>>>>> and it appeared to work once but after that miracle it appears >>>>>> to error >>>>>> all the time. >>>>>> I tried to take a code base of about a year back but compiling >>>>>> that >>>>>> seems to have lots of dependency errors for the age of the >>>>>> kernel. >>>>>> >>>>>> Has any one got any suggestions how I might resolve this >>>>>> problem? >>>>> >>>>> >>>>> Well, I have a kernel that is well tested with the AR9380 NICs, >>>>> at >>>>> least. >>>>> >>>>> If you want to try different kernels, please feel free to give it >>>>> a >>>>> try: >>>>> >>>>> http://dmz2.candelatech.com/git/?p=linux-3.0.dev.y/.git;a=summary >>>>> >>>>> Thanks, >>>>> Ben