linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Philip A. Prindeville" <philipp_subx@redfish-solutions.com>
To: Bob Copeland <me@bobcopeland.com>
Cc: jon.fairbairn@cl.cam.ac.uk,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: AP: ath5k + hostapd occasionally sulks
Date: Thu, 10 Sep 2009 11:55:38 -0700	[thread overview]
Message-ID: <4AA94BAA.1070605@redfish-solutions.com> (raw)
In-Reply-To: <4AA7DB6C.9060207@redfish-solutions.com>

Philip Prindeville wrote:
> Bob Copeland wrote:
>   
>> On Tue, Sep 8, 2009 at 1:53 PM, Philip Prindeville
>> <philipp_subx@redfish-solutions.com> wrote:
>>   
>>     
>>> I pulled compat-wireless from GIT last night (or about 1:30am mountain,
>>> really) and rebuilt a 2.6.27.29 kernel.
>>>
>>> I'm seeing a lot of:
>>>
>>> Sep  8 11:44:09 pbx user.err kernel: ath5k phy0: no further txbuf available, dropping packet
>>>
>>>
>>> one every 10 seconds, in fact.  This is with an Engenius EMP-8062+ card:
>>>     
>>>       
>> Ok, the timing information is useful.  This is probably something (beacon
>> sending?) racing with the periodic calibration, which temporarily stops
>> all of the tx traffic and frees the tx buffers, then starts it all up
>> again.  In short, apart from the logging this shouldn't cause any
>> problems, but we should probably disable the beacon tasklet during this
>> time.
>>   
>>     
>
> Alas it is causing problems.  I have a Windows 7 client with an Atheros
> card (I forget which... it's the mini-PCIe card that comes with Zotac
> ION mini-itx motherboards).
>
> I either can't associate, or associate but don't get a DHCP address or
> don't pass traffic... I forget which.
>
> I can do more testing tomorrow...
>   
>> If this only appeared all of a sudden in recent compat snapshots, it
>> would be useful to know the last one that worked normally.
>>   
>>     
>
> I could walk it backwards, I suppose...  2009-08-23 was definitely
> working with an 9K board.
>
> I've not tried it with a 5K board (I'm not at this location very often).
>   

FYI:  The Windows 7 box associates and runs just fine with 9K driver
with 2009-09-07.  So it seems to be an issue with the 5K driver.

I'll set up a second WAP with a 5K card...

-Philip

>
>   
>>> I'll probably have to reboot regularly, since this is on an embedded box
>>> with limited CF filesystem, and I can't overflow my /var partition...
>>>     
>>>       
>> Ouch.  For now, just take it out or demote it to debug.
>>
>> As for the original problem, I don't know offhand why a large download
>> would trigger a cascade of these errors.  The best way to track it down
>> is to try to come up with a case that reproduces it and sprinkle printks
>> throughout the driver, especially when we free and allocate the tx
>> buffers.
>>
>>   
>>     


  reply	other threads:[~2009-09-10 18:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-08 17:53 AP: ath5k + hostapd occasionally sulks Philip Prindeville
2009-09-09  8:01 ` Jon Fairbairn
2009-09-09 13:00 ` Bob Copeland
2009-09-09 16:44   ` Philip Prindeville
2009-09-10 18:55     ` Philip A. Prindeville [this message]
2009-09-10 21:41       ` Bob Copeland
  -- strict thread matches above, loose matches on Subject: below --
2009-10-14 20:24 Marin Glibic
2009-09-04  8:05 Jon Fairbairn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AA94BAA.1070605@redfish-solutions.com \
    --to=philipp_subx@redfish-solutions.com \
    --cc=jon.fairbairn@cl.cam.ac.uk \
    --cc=linux-wireless@vger.kernel.org \
    --cc=me@bobcopeland.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).