From: "Justin P. Mattock" <justinmattock@gmail.com>
To: Adrian Chadd <adrian@freebsd.org>
Cc: Andreas Hartmann <andihartmann@01019freenet.de>,
Oskar Stenman <oskar@cetex.se>,
linux-wireless@vger.kernel.org
Subject: Re: ath9k timeouts with the current Mainline
Date: Sun, 11 Mar 2012 22:22:50 -0700 [thread overview]
Message-ID: <4F5D882A.7040002@gmail.com> (raw)
In-Reply-To: <CAJ-VmomM9fZoHoED+wuf9dR6qzsO-kxSueHBdgtFjXto9Y=AVw@mail.gmail.com>
On 03/10/2012 02:30 PM, Adrian Chadd wrote:
> Hi,
>
> Please bisect the kernel to see if you can find a time where it worked.
>
> And try disabling ANI and see if that helps.
>
> ath9k seems to have a weird issue with the AR5008 series stuff
> (AR5416/AR5418) with noise floor calibration + ANI == weird RX
> deafness.
>
> FreeBSD doesn't seem to have this issue with the AR5416. I don't (yet) know why.
>
> Thanks,
>
>
> Adrian
>
> On 10 March 2012 09:02, Justin P. Mattock<justinmattock@gmail.com> wrote:
>> On 03/10/2012 06:13 AM, Andreas Hartmann wrote:
>>>
>>> Oskar Stenman wrote:
>>>>
>>>> I'm having a similar or the same problem, it's been nagging me for at
>>>> least 1.5years.
>>>>
>>>> If I'm able to connect I get frequent dropouts from any wireless network
>>>> I'm connected to. It gets sluggish and after a little while disconnects,
>>>> and once it has disconnected it just keeps reconnecting and failing.
>>>> sometimes a reboot helps, but most of the time it wont help anymore than
>>>> a couple of seconds to a minute. It's also impossible to connect to my
>>>> wireless hotspot on my Xperia Mini Pro and it seems ad-hoc networks are
>>>> also impossible.
>>>>
>>>> I'm running ubuntu 11.10 with latest patches applied as of today. Since
>>>> i've not seen anything being solved during this time i doubt anyone has
>>>> been trying to, or has been able to solve the problem recently.
>>>
>>>
>>> I'm running exactly the same chip (according lspci) without any problem.
>>> But I'm using slightly different environment:
>>>
>>> 1. 64 bit
>>> 2. kernel 3.1 (some time ago, I run 3.0, too, but cannot remember
>>> having any problems related ar9285).
>>> 3. no network manager - just plain wpa_supplicant.
>>> 4. wpa_supplicant 0.7.3
>>>
>>>
>>> If you like to, you could just check, if the problem is network manager
>>> related. Try to stop it and run wpa_supplicant manually as root like
>>> this (ensure, that no other wpa_supplicant process is running at the
>>> same time):
>>>
>>> wpa_supplicant -t -c /etc/wpa_supplicant/wpa_supplicant.conf -Dnl80211
>>> -i wlan0
>>>
>>> -c is the config file. -i is the device name.
>>>
>>> sample config file for WPA2 PSK would be:
>>>
>>> network={
>>> ssid="your network name"
>>> # scan_ssid=1
>>> key_mgmt=WPA-PSK
>>> psk="your psk"
>>> proto=WPA2
>>> }
>>>
>>> If you see a line like this:
>>> WPA: Key negotiation completed with xx:xx:xx:xx:xx:xx [PTK=CCMP GTK=CCMP]
>>> you can go to another terminal and start dhclient or dhcpcd like this:
>>>
>>> dhcpcd wlan0 (or whatever your device name is)
>>>
>>>
>>> If this is all running fine, you most probably face a network manager
>>> problem.
>>>
>>>
>>> Hope that helps,
>>> regards,
>>> Andreas
>>>
>>
>>
>> The timeouts I have not see just yet; only the RX DMA thing which I am
>> monitoring and trying to recreate, so I can _possibly_ bisect. as for the
>> timeout(s) I have not see this with the current, there is a bug report on
>> this(2.6.37 or so) but I think the bug was closed due to no participation or
>> something.
>>
>> also make sure you have power save off(iwconfig wlan* power off) because
>> from what I remember powersave on is what triggers the timeout(s)
>>
>>
>> Justin P. Mattock
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
please no top-posting!
Anyway a bisect is easy just would like a way to recreate this?(so that
I am not wasting my precious time) does anybody know how to do this? any
kind of C code to trigger this? any tweaking with NM etc.. to trigger
this? reading through
http://www.mail-archive.com/ath9k-devel@lists.ath9k.org/msg05051.html
hostapd was able to trigger this for one, but over here still no luck.
If no re-creation is possible I suppose the bisect might take a few
weeks(since I seem to be hitting this once a week),but then again I
could be wrong.
Justin P. Mattock
prev parent reply other threads:[~2012-03-12 5:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-15 15:50 ath9k timeouts with the current Mainline Justin P. Mattock
2012-01-15 15:50 ` Justin P. Mattock
2012-03-10 10:07 ` Oskar Stenman
2012-03-10 14:13 ` Andreas Hartmann
2012-03-10 17:02 ` Justin P. Mattock
2012-03-10 22:30 ` Adrian Chadd
2012-03-12 5:22 ` Justin P. Mattock [this message]
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=4F5D882A.7040002@gmail.com \
--to=justinmattock@gmail.com \
--cc=adrian@freebsd.org \
--cc=andihartmann@01019freenet.de \
--cc=linux-wireless@vger.kernel.org \
--cc=oskar@cetex.se \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.