linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bugs in ath5k on aspire one (AR2425)
@ 2008-11-21 19:58 Maxim Levitsky
  2008-11-21 20:17 ` [ath5k-devel] " Alan Jenkins
  2008-12-12 19:40 ` Maxim Levitsky
  0 siblings, 2 replies; 7+ messages in thread
From: Maxim Levitsky @ 2008-11-21 19:58 UTC (permalink / raw)
  To: Bob Copeland; +Cc: linux-wireless, ath5k-devel

Hi,

I captured few errors in dmesg, will post them here.
If I see more errors, I add them to this thread.


[   69.516498] ath5k phy0: gain calibration timeout (2412MHz)
[   69.516509] ath5k phy0: can't reset hardware (-11)
[   69.516516] phy0: failed to restore operational channel after scan
[   69.628572] ath5k phy0: noise floor calibration failed (2412MHz)
[   69.686894] ath5k phy0: noise floor calibration failed (2417MHz)
[   69.770067] ath5k phy0: noise floor calibration failed (2417MHz)
[   70.419785] ath5k phy0: gain calibration timeout (2422MHz)
[   70.419800] ath5k phy0: can't reset hardware (-11)
[   70.419809] phy0: failed to set freq to 2422 MHz for scan
[   71.356436] ath5k phy0: gain calibration timeout (2427MHz)
[   71.356450] ath5k phy0: can't reset hardware (-11)
[   71.356458] phy0: failed to set freq to 2427 MHz for scan
[   72.119219] ath5k phy0: gain calibration timeout (2432MHz)
[   72.119234] phy0: failed to set freq to 2432 MHz for scan
[   72.764447] phy0: failed to set freq to 2437 MHz for scan
[   73.410438] phy0: failed to set freq to 2442 MHz for scan
[   74.027807] phy0: failed to set freq to 2447 MHz for scan
[   74.640495] __ratelimit: 7 callbacks suppressed
[   74.640504] ath5k phy0: gain calibration timeout (2452MHz)
[   74.640511] ath5k phy0: can't reset hardware (-11)
[   74.640517] phy0: failed to set freq to 2452 MHz for scan
[   75.256551] ath5k phy0: gain calibration timeout (2457MHz)
[   75.256565] ath5k phy0: can't reset hardware (-11)
[   75.256573] phy0: failed to set freq to 2457 MHz for scan
[   75.874414] ath5k phy0: gain calibration timeout (2462MHz)
[   75.874424] ath5k phy0: can't reset hardware (-11)
[   75.874430] phy0: failed to set freq to 2462 MHz for scan
[   76.488436] ath5k phy0: gain calibration timeout (2412MHz)
[   76.488447] ath5k phy0: can't reset hardware (-11)
[   76.488452] phy0: failed to restore operational channel after scan
[   76.488543] wlan0: authenticate with AP 00:1b:9e:d8:77:02
[   76.688125] wlan0: authenticate with AP 00:1b:9e:d8:77:02
[   76.889098] wlan0: authenticate with AP 00:1b:9e:d8:77:02
[   77.088122] wlan0: authentication with AP 00:1b:9e:d8:77:02 timed out
[   78.415786] ath5k phy0: noise floor calibration timeout (2417MHz)
[   78.810771] ath5k phy0: gain calibration timeout (2417MHz)
[   78.810782] phy0: failed to set freq to 2417 MHz for scan
[   79.427510] phy0: failed to set freq to 2422 MHz for scan
[   80.056900] __ratelimit: 3 callbacks suppressed
[   80.056910] ath5k phy0: gain calibration timeout (2427MHz)
[   80.056919] ath5k phy0: can't reset hardware (-11)
[   80.056925] phy0: failed to set freq to 2427 MHz for scan
[   80.670529] ath5k phy0: gain calibration timeout (2432MHz)
[   80.670540] ath5k phy0: can't reset hardware (-11)
[   80.670546] phy0: failed to set freq to 2432 MHz for scan
[   81.285272] ath5k phy0: gain calibration timeout (2437MHz)
[   81.285285] ath5k phy0: can't reset hardware (-11)
[   81.285294] phy0: failed to set freq to 2437 MHz for scan
[   81.911449] ath5k phy0: gain calibration timeout (2442MHz)
[   81.911461] ath5k phy0: can't reset hardware (-11)
[   81.911470] phy0: failed to set freq to 2442 MHz for scan
[   82.526023] ath5k phy0: gain calibration timeout (2447MHz)
[   82.526034] ath5k phy0: can't reset hardware (-11)
[   82.526040] phy0: failed to set freq to 2447 MHz for scan
[   83.141962] phy0: failed to set freq to 2452 MHz for scan
[   83.759025] phy0: failed to set freq to 2457 MHz for scan
[   84.373688] phy0: failed to set freq to 2462 MHz for scan
[   84.990322] phy0: failed to restore operational channel after scan
[   89.419876] __ratelimit: 8 callbacks suppressed
[   89.419890] ath5k phy0: noise floor calibration timeout (2412MHz)
[   90.087509] ath5k phy0: gain calibration timeout (2417MHz)
[   90.087519] ath5k phy0: can't reset hardware (-11)
[   90.087525] phy0: failed to set freq to 2417 MHz for scan
[   90.700892] ath5k phy0: gain calibration timeout (2422MHz)
[   90.700903] ath5k phy0: can't reset hardware (-11)
[   90.700909] phy0: failed to set freq to 2422 MHz for scan
[   91.315752] ath5k phy0: gain calibration timeout (2427MHz)
[   91.315763] ath5k phy0: can't reset hardware (-11)
[   91.315770] phy0: failed to set freq to 2427 MHz for scan
[   91.935144] ath5k phy0: gain calibration timeout (2432MHz)
[   91.935155] ath5k phy0: can't reset hardware (-11)
[   91.935161] phy0: failed to set freq to 2432 MHz for scan
[   92.550491] ath5k phy0: gain calibration timeout (2437MHz)
[   92.550505] phy0: failed to set freq to 2437 MHz for scan
[   93.220305] phy0: failed to set freq to 2442 MHz for scan
[   93.837228] phy0: failed to set freq to 2447 MHz for scan
[   94.450800] phy0: failed to set freq to 2452 MHz for scan
[   95.069019] phy0: failed to set freq to 2457 MHz for scan
[   95.690239] __ratelimit: 9 callbacks suppressed
[   95.690251] ath5k phy0: gain calibration timeout (2462MHz)
[   95.690261] ath5k phy0: can't reset hardware (-11)
[   95.690269] phy0: failed to set freq to 2462 MHz for scan
[   96.305163] ath5k phy0: gain calibration timeout (2412MHz)
[   96.305173] ath5k phy0: can't reset hardware (-11)
[   96.305179] phy0: failed to restore operational channel after scan
[  100.084643] ath5k phy0: noise floor calibration failed (2412MHz)
[  100.689317] ath5k phy0: gain calibration timeout (2417MHz)
[  100.689328] ath5k phy0: can't reset hardware (-11)
[  100.689334] phy0: failed to set freq to 2417 MHz for scan
[  101.308123] ath5k phy0: gain calibration timeout (2422MHz)
[  101.308134] ath5k phy0: can't reset hardware (-11)
[  101.308140] phy0: failed to set freq to 2422 MHz for scan
[  101.923409] ath5k phy0: gain calibration timeout (2427MHz)
[  101.923419] ath5k phy0: can't reset hardware (-11)
[  101.923425] phy0: failed to set freq to 2427 MHz for scan
[  102.536898] ath5k phy0: gain calibration timeout (2432MHz)
[  102.536911] ath5k phy0: can't reset hardware (-11)
[  102.536920] phy0: failed to set freq to 2432 MHz for scan
[  103.153227] ath5k phy0: gain calibration timeout (2437MHz)
[  103.153238] ath5k phy0: can't reset hardware (-11)
[  103.153244] phy0: failed to set freq to 2437 MHz for scan
[  103.766742] ath5k phy0: gain calibration timeout (2442MHz)
[  103.766753] ath5k phy0: can't reset hardware (-11)
[  103.766759] phy0: failed to set freq to 2442 MHz for scan
[  104.382792] phy0: failed to set freq to 2447 MHz for scan
[  104.998713] phy0: failed to set freq to 2452 MHz for scan
[  105.612695] phy0: failed to set freq to 2457 MHz for scan
[  106.227980] phy0: failed to set freq to 2462 MHz for scan
[  106.846579] __ratelimit: 8 callbacks suppressed
[  106.846591] ath5k phy0: gain calibration timeout (2412MHz)
[  106.846601] ath5k phy0: can't reset hardware (-11)
[  106.846609] phy0: failed to restore operational channel after scan
[  111.388603] ath5k phy0: noise floor calibration failed (2412MHz)
[  112.002756] ath5k phy0: gain calibration timeout (2417MHz)
[  112.002769] ath5k phy0: can't reset hardware (-11)
[  112.002776] phy0: failed to set freq to 2417 MHz for scan
[  112.618112] ath5k phy0: gain calibration timeout (2422MHz)
[  112.618123] ath5k phy0: can't reset hardware (-11)
[  112.618129] phy0: failed to set freq to 2422 MHz for scan
[  113.234943] ath5k phy0: gain calibration timeout (2427MHz)
[  113.234957] ath5k phy0: can't reset hardware (-11)
[  113.234965] phy0: failed to set freq to 2427 MHz for scan
[  113.855231] ath5k phy0: gain calibration timeout (2432MHz)
[  113.855242] ath5k phy0: can't reset hardware (-11)
[  113.855248] phy0: failed to set freq to 2432 MHz for scan

Happened on boot, and card stopped working.
Only a reboot helped.


When transferring large amounts of data from/to desktop pc, 
assotiation with ap is dropped often which results is minute/two of no wireless
activety and this:

[ 1522.872096] wlan0: direct probe to AP 00:1b:9e:d8:77:02 try 1
[ 1523.072094] wlan0: direct probe to AP 00:1b:9e:d8:77:02 try 2
[ 1523.268098] wlan0: direct probe to AP 00:1b:9e:d8:77:02 try 3
[ 1523.477204] wlan0: direct probe to AP 00:1b:9e:d8:77:02 timed out
[ 1524.569452] wlan0: authenticate with AP 00:1b:9e:d8:77:02
[ 1524.571157] wlan0: authenticated
[ 1524.571179] wlan0: associate with AP 00:1b:9e:d8:77:02
[ 1524.574284] wlan0: RX ReassocResp from 00:1b:9e:d8:77:02 (capab=0x411 status=0 aid=1)



Also when downloading from AP (from desktop) I see this:

ath5k phy0: unsupported jumbo


Best regards,
	Maxim Levitsky


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ath5k-devel] Bugs in ath5k on aspire one (AR2425)
  2008-11-21 19:58 Bugs in ath5k on aspire one (AR2425) Maxim Levitsky
@ 2008-11-21 20:17 ` Alan Jenkins
  2008-11-21 20:34   ` Bob Copeland
  2008-11-21 20:34   ` Maxim Levitsky
  2008-12-12 19:40 ` Maxim Levitsky
  1 sibling, 2 replies; 7+ messages in thread
From: Alan Jenkins @ 2008-11-21 20:17 UTC (permalink / raw)
  To: Maxim Levitsky; +Cc: Bob Copeland, ath5k-devel, linux-wireless

Maxim Levitsky wrote:
> Hi,
>
> I captured few errors in dmesg, will post them here.
> If I see more errors, I add them to this thread.
>
>
> [   69.516498] ath5k phy0: gain calibration timeout (2412MHz)
> [   69.516509] ath5k phy0: can't reset hardware (-11)
> [   69.516516] phy0: failed to restore operational channel after scan
> [   69.628572] ath5k phy0: noise floor calibration failed (2412MHz)
> [   69.686894] ath5k phy0: noise floor calibration failed (2417MHz)
> [   69.770067] ath5k phy0: noise floor calibration failed (2417MHz)
> [   70.419785] ath5k phy0: gain calibration timeout (2422MHz)
> [   70.419800] ath5k phy0: can't reset hardware (-11)
> [   70.419809] phy0: failed to set freq to 2422 MHz for scan
> [   71.356436] ath5k phy0: gain calibration timeout (2427MHz)
> [   71.356450] ath5k phy0: can't reset hardware (-11)
> [   71.356458] phy0: failed to set freq to 2427 MHz for scan
> [   72.119219] ath5k phy0: gain calibration timeout (2432MHz)
> [   72.119234] phy0: failed to set freq to 2432 MHz for scan
> [   72.764447] phy0: failed to set freq to 2437 MHz for scan
> [   73.410438] phy0: failed to set freq to 2442 MHz for scan
> [   74.027807] phy0: failed to set freq to 2447 MHz for scan
> [   74.640495] __ratelimit: 7 callbacks suppressed
> [   74.640504] ath5k phy0: gain calibration timeout (2452MHz)
> [   74.640511] ath5k phy0: can't reset hardware (-11)
> [   74.640517] phy0: failed to set freq to 2452 MHz for scan
> [   75.256551] ath5k phy0: gain calibration timeout (2457MHz)
> [   75.256565] ath5k phy0: can't reset hardware (-11)
> [   75.256573] phy0: failed to set freq to 2457 MHz for scan
> [   75.874414] ath5k phy0: gain calibration timeout (2462MHz)
> [   75.874424] ath5k phy0: can't reset hardware (-11)
> [   75.874430] phy0: failed to set freq to 2462 MHz for scan
> [   76.488436] ath5k phy0: gain calibration timeout (2412MHz)
> [   76.488447] ath5k phy0: can't reset hardware (-11)
> [   76.488452] phy0: failed to restore operational channel after scan
> [   76.488543] wlan0: authenticate with AP 00:1b:9e:d8:77:02
> [   76.688125] wlan0: authenticate with AP 00:1b:9e:d8:77:02
> [   76.889098] wlan0: authenticate with AP 00:1b:9e:d8:77:02
> [   77.088122] wlan0: authentication with AP 00:1b:9e:d8:77:02 timed out
> [   78.415786] ath5k phy0: noise floor calibration timeout (2417MHz)
> [   78.810771] ath5k phy0: gain calibration timeout (2417MHz)
> [   78.810782] phy0: failed to set freq to 2417 MHz for scan
> [   79.427510] phy0: failed to set freq to 2422 MHz for scan
> [   80.056900] __ratelimit: 3 callbacks suppressed
> [   80.056910] ath5k phy0: gain calibration timeout (2427MHz)
> [   80.056919] ath5k phy0: can't reset hardware (-11)
> [   80.056925] phy0: failed to set freq to 2427 MHz for scan
> [   80.670529] ath5k phy0: gain calibration timeout (2432MHz)
> [   80.670540] ath5k phy0: can't reset hardware (-11)
> [   80.670546] phy0: failed to set freq to 2432 MHz for scan
> [   81.285272] ath5k phy0: gain calibration timeout (2437MHz)
> [   81.285285] ath5k phy0: can't reset hardware (-11)
> [   81.285294] phy0: failed to set freq to 2437 MHz for scan
> [   81.911449] ath5k phy0: gain calibration timeout (2442MHz)
> [   81.911461] ath5k phy0: can't reset hardware (-11)
> [   81.911470] phy0: failed to set freq to 2442 MHz for scan
> [   82.526023] ath5k phy0: gain calibration timeout (2447MHz)
> [   82.526034] ath5k phy0: can't reset hardware (-11)
> [   82.526040] phy0: failed to set freq to 2447 MHz for scan
> [   83.141962] phy0: failed to set freq to 2452 MHz for scan
> [   83.759025] phy0: failed to set freq to 2457 MHz for scan
> [   84.373688] phy0: failed to set freq to 2462 MHz for scan
> [   84.990322] phy0: failed to restore operational channel after scan
> [   89.419876] __ratelimit: 8 callbacks suppressed
> [   89.419890] ath5k phy0: noise floor calibration timeout (2412MHz)
> [   90.087509] ath5k phy0: gain calibration timeout (2417MHz)
> [   90.087519] ath5k phy0: can't reset hardware (-11)
> [   90.087525] phy0: failed to set freq to 2417 MHz for scan
> [   90.700892] ath5k phy0: gain calibration timeout (2422MHz)
> [   90.700903] ath5k phy0: can't reset hardware (-11)
> [   90.700909] phy0: failed to set freq to 2422 MHz for scan
> [   91.315752] ath5k phy0: gain calibration timeout (2427MHz)
> [   91.315763] ath5k phy0: can't reset hardware (-11)
> [   91.315770] phy0: failed to set freq to 2427 MHz for scan
> [   91.935144] ath5k phy0: gain calibration timeout (2432MHz)
> [   91.935155] ath5k phy0: can't reset hardware (-11)
> [   91.935161] phy0: failed to set freq to 2432 MHz for scan
> [   92.550491] ath5k phy0: gain calibration timeout (2437MHz)
> [   92.550505] phy0: failed to set freq to 2437 MHz for scan
> [   93.220305] phy0: failed to set freq to 2442 MHz for scan
> [   93.837228] phy0: failed to set freq to 2447 MHz for scan
> [   94.450800] phy0: failed to set freq to 2452 MHz for scan
> [   95.069019] phy0: failed to set freq to 2457 MHz for scan
> [   95.690239] __ratelimit: 9 callbacks suppressed
> [   95.690251] ath5k phy0: gain calibration timeout (2462MHz)
> [   95.690261] ath5k phy0: can't reset hardware (-11)
> [   95.690269] phy0: failed to set freq to 2462 MHz for scan
> [   96.305163] ath5k phy0: gain calibration timeout (2412MHz)
> [   96.305173] ath5k phy0: can't reset hardware (-11)
> [   96.305179] phy0: failed to restore operational channel after scan
> [  100.084643] ath5k phy0: noise floor calibration failed (2412MHz)
> [  100.689317] ath5k phy0: gain calibration timeout (2417MHz)
> [  100.689328] ath5k phy0: can't reset hardware (-11)
> [  100.689334] phy0: failed to set freq to 2417 MHz for scan
> [  101.308123] ath5k phy0: gain calibration timeout (2422MHz)
> [  101.308134] ath5k phy0: can't reset hardware (-11)
> [  101.308140] phy0: failed to set freq to 2422 MHz for scan
> [  101.923409] ath5k phy0: gain calibration timeout (2427MHz)
> [  101.923419] ath5k phy0: can't reset hardware (-11)
> [  101.923425] phy0: failed to set freq to 2427 MHz for scan
> [  102.536898] ath5k phy0: gain calibration timeout (2432MHz)
> [  102.536911] ath5k phy0: can't reset hardware (-11)
> [  102.536920] phy0: failed to set freq to 2432 MHz for scan
> [  103.153227] ath5k phy0: gain calibration timeout (2437MHz)
> [  103.153238] ath5k phy0: can't reset hardware (-11)
> [  103.153244] phy0: failed to set freq to 2437 MHz for scan
> [  103.766742] ath5k phy0: gain calibration timeout (2442MHz)
> [  103.766753] ath5k phy0: can't reset hardware (-11)
> [  103.766759] phy0: failed to set freq to 2442 MHz for scan
> [  104.382792] phy0: failed to set freq to 2447 MHz for scan
> [  104.998713] phy0: failed to set freq to 2452 MHz for scan
> [  105.612695] phy0: failed to set freq to 2457 MHz for scan
> [  106.227980] phy0: failed to set freq to 2462 MHz for scan
> [  106.846579] __ratelimit: 8 callbacks suppressed
> [  106.846591] ath5k phy0: gain calibration timeout (2412MHz)
> [  106.846601] ath5k phy0: can't reset hardware (-11)
> [  106.846609] phy0: failed to restore operational channel after scan
> [  111.388603] ath5k phy0: noise floor calibration failed (2412MHz)
> [  112.002756] ath5k phy0: gain calibration timeout (2417MHz)
> [  112.002769] ath5k phy0: can't reset hardware (-11)
> [  112.002776] phy0: failed to set freq to 2417 MHz for scan
> [  112.618112] ath5k phy0: gain calibration timeout (2422MHz)
> [  112.618123] ath5k phy0: can't reset hardware (-11)
> [  112.618129] phy0: failed to set freq to 2422 MHz for scan
> [  113.234943] ath5k phy0: gain calibration timeout (2427MHz)
> [  113.234957] ath5k phy0: can't reset hardware (-11)
> [  113.234965] phy0: failed to set freq to 2427 MHz for scan
> [  113.855231] ath5k phy0: gain calibration timeout (2432MHz)
> [  113.855242] ath5k phy0: can't reset hardware (-11)
> [  113.855248] phy0: failed to set freq to 2432 MHz for scan
>
> Happened on boot, and card stopped working.
> Only a reboot helped.
>   

A patch has been submitted which stops the card getting wedged this way,

<http://www.spinics.net/lists/linux-wireless/msg23404.html>

from the messages it's not clear whether this is a complete fix, or more
of a workaround for an underlying problem.  It sounds like it got an ACK
from another tester (and I can add mine as well!), but no-one has
accepted or reviewed it :(.

> When transferring large amounts of data from/to desktop pc, 
> assotiation with ap is dropped often which results is minute/two of no wireless
> activety and this:
>
> [ 1522.872096] wlan0: direct probe to AP 00:1b:9e:d8:77:02 try 1
> [ 1523.072094] wlan0: direct probe to AP 00:1b:9e:d8:77:02 try 2
> [ 1523.268098] wlan0: direct probe to AP 00:1b:9e:d8:77:02 try 3
> [ 1523.477204] wlan0: direct probe to AP 00:1b:9e:d8:77:02 timed out
> [ 1524.569452] wlan0: authenticate with AP 00:1b:9e:d8:77:02
> [ 1524.571157] wlan0: authenticated
> [ 1524.571179] wlan0: associate with AP 00:1b:9e:d8:77:02
> [ 1524.574284] wlan0: RX ReassocResp from 00:1b:9e:d8:77:02 (capab=0x411 status=0 aid=1)
>
>
>
> Also when downloading from AP (from desktop) I see this:
>
> ath5k phy0: unsupported jumbo
>   

Known issue, just what it says on the tin.  There used to be a bug here,
but it's fixed now.  Just an unsupported performance feature which you
should be able to live without, for the time being :).

(the bugfix thread is here, it confirms the intention to ignore jumbo
frames <http://thread.gmane.org/gmane.linux.kernel.wireless.general/23383>).

Regards
Alan

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ath5k-devel] Bugs in ath5k on aspire one (AR2425)
  2008-11-21 20:17 ` [ath5k-devel] " Alan Jenkins
@ 2008-11-21 20:34   ` Bob Copeland
  2008-11-21 20:34   ` Maxim Levitsky
  1 sibling, 0 replies; 7+ messages in thread
From: Bob Copeland @ 2008-11-21 20:34 UTC (permalink / raw)
  To: Alan Jenkins; +Cc: Maxim Levitsky, linux-wireless, ath5k-devel

On Fri, Nov 21, 2008 at 3:17 PM, Alan Jenkins
<alan-jenkins@tuffmail.co.uk> wrote:
> Maxim Levitsky wrote:

>> [noise calibration timeouts]
>> Only a reboot helped.

You can also do a suspend-to-ram cycle as well which effectively
reboots the card.

> A patch has been submitted which stops the card getting wedged this way,
>
> <http://www.spinics.net/lists/linux-wireless/msg23404.html>
>
> from the messages it's not clear whether this is a complete fix, or more
> of a workaround for an underlying problem.  It sounds like it got an ACK
> from another tester (and I can add mine as well!), but no-one has
> accepted or reviewed it :(.

Actually this had been in wireless-testing for a bit and got sent on to
net-next today.  The problem also had plagued me for quite a while!

-- 
Bob Copeland %% www.bobcopeland.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ath5k-devel] Bugs in ath5k on aspire one (AR2425)
  2008-11-21 20:17 ` [ath5k-devel] " Alan Jenkins
  2008-11-21 20:34   ` Bob Copeland
@ 2008-11-21 20:34   ` Maxim Levitsky
  1 sibling, 0 replies; 7+ messages in thread
From: Maxim Levitsky @ 2008-11-21 20:34 UTC (permalink / raw)
  To: Alan Jenkins; +Cc: Bob Copeland, ath5k-devel, linux-wireless

Alan Jenkins wrote:
> Maxim Levitsky wrote:
>> Hi,
>>
>> I captured few errors in dmesg, will post them here.
>> If I see more errors, I add them to this thread.
>>
>>
>> [   69.516498] ath5k phy0: gain calibration timeout (2412MHz)
>> [   69.516509] ath5k phy0: can't reset hardware (-11)
>> [   69.516516] phy0: failed to restore operational channel after scan
>> [   69.628572] ath5k phy0: noise floor calibration failed (2412MHz)
>> [   69.686894] ath5k phy0: noise floor calibration failed (2417MHz)
>> [   69.770067] ath5k phy0: noise floor calibration failed (2417MHz)
>> [   70.419785] ath5k phy0: gain calibration timeout (2422MHz)
>> [   70.419800] ath5k phy0: can't reset hardware (-11)
>> [   70.419809] phy0: failed to set freq to 2422 MHz for scan
>> [   71.356436] ath5k phy0: gain calibration timeout (2427MHz)
>> [   71.356450] ath5k phy0: can't reset hardware (-11)
>> [   71.356458] phy0: failed to set freq to 2427 MHz for scan
>> [   72.119219] ath5k phy0: gain calibration timeout (2432MHz)
>> [   72.119234] phy0: failed to set freq to 2432 MHz for scan
>> [   72.764447] phy0: failed to set freq to 2437 MHz for scan
>> [   73.410438] phy0: failed to set freq to 2442 MHz for scan
>> [   74.027807] phy0: failed to set freq to 2447 MHz for scan
>> [   74.640495] __ratelimit: 7 callbacks suppressed
>> [   74.640504] ath5k phy0: gain calibration timeout (2452MHz)
>> [   74.640511] ath5k phy0: can't reset hardware (-11)
>> [   74.640517] phy0: failed to set freq to 2452 MHz for scan
>> [   75.256551] ath5k phy0: gain calibration timeout (2457MHz)
>> [   75.256565] ath5k phy0: can't reset hardware (-11)
>> [   75.256573] phy0: failed to set freq to 2457 MHz for scan
>> [   75.874414] ath5k phy0: gain calibration timeout (2462MHz)
>> [   75.874424] ath5k phy0: can't reset hardware (-11)
>> [   75.874430] phy0: failed to set freq to 2462 MHz for scan
>> [   76.488436] ath5k phy0: gain calibration timeout (2412MHz)
>> [   76.488447] ath5k phy0: can't reset hardware (-11)
>> [   76.488452] phy0: failed to restore operational channel after scan
>> [   76.488543] wlan0: authenticate with AP 00:1b:9e:d8:77:02
>> [   76.688125] wlan0: authenticate with AP 00:1b:9e:d8:77:02
>> [   76.889098] wlan0: authenticate with AP 00:1b:9e:d8:77:02
>> [   77.088122] wlan0: authentication with AP 00:1b:9e:d8:77:02 timed out
>> [   78.415786] ath5k phy0: noise floor calibration timeout (2417MHz)
>> [   78.810771] ath5k phy0: gain calibration timeout (2417MHz)
>> [   78.810782] phy0: failed to set freq to 2417 MHz for scan
>> [   79.427510] phy0: failed to set freq to 2422 MHz for scan
>> [   80.056900] __ratelimit: 3 callbacks suppressed
>> [   80.056910] ath5k phy0: gain calibration timeout (2427MHz)
>> [   80.056919] ath5k phy0: can't reset hardware (-11)
>> [   80.056925] phy0: failed to set freq to 2427 MHz for scan
>> [   80.670529] ath5k phy0: gain calibration timeout (2432MHz)
>> [   80.670540] ath5k phy0: can't reset hardware (-11)
>> [   80.670546] phy0: failed to set freq to 2432 MHz for scan
>> [   81.285272] ath5k phy0: gain calibration timeout (2437MHz)
>> [   81.285285] ath5k phy0: can't reset hardware (-11)
>> [   81.285294] phy0: failed to set freq to 2437 MHz for scan
>> [   81.911449] ath5k phy0: gain calibration timeout (2442MHz)
>> [   81.911461] ath5k phy0: can't reset hardware (-11)
>> [   81.911470] phy0: failed to set freq to 2442 MHz for scan
>> [   82.526023] ath5k phy0: gain calibration timeout (2447MHz)
>> [   82.526034] ath5k phy0: can't reset hardware (-11)
>> [   82.526040] phy0: failed to set freq to 2447 MHz for scan
>> [   83.141962] phy0: failed to set freq to 2452 MHz for scan
>> [   83.759025] phy0: failed to set freq to 2457 MHz for scan
>> [   84.373688] phy0: failed to set freq to 2462 MHz for scan
>> [   84.990322] phy0: failed to restore operational channel after scan
>> [   89.419876] __ratelimit: 8 callbacks suppressed
>> [   89.419890] ath5k phy0: noise floor calibration timeout (2412MHz)
>> [   90.087509] ath5k phy0: gain calibration timeout (2417MHz)
>> [   90.087519] ath5k phy0: can't reset hardware (-11)
>> [   90.087525] phy0: failed to set freq to 2417 MHz for scan
>> [   90.700892] ath5k phy0: gain calibration timeout (2422MHz)
>> [   90.700903] ath5k phy0: can't reset hardware (-11)
>> [   90.700909] phy0: failed to set freq to 2422 MHz for scan
>> [   91.315752] ath5k phy0: gain calibration timeout (2427MHz)
>> [   91.315763] ath5k phy0: can't reset hardware (-11)
>> [   91.315770] phy0: failed to set freq to 2427 MHz for scan
>> [   91.935144] ath5k phy0: gain calibration timeout (2432MHz)
>> [   91.935155] ath5k phy0: can't reset hardware (-11)
>> [   91.935161] phy0: failed to set freq to 2432 MHz for scan
>> [   92.550491] ath5k phy0: gain calibration timeout (2437MHz)
>> [   92.550505] phy0: failed to set freq to 2437 MHz for scan
>> [   93.220305] phy0: failed to set freq to 2442 MHz for scan
>> [   93.837228] phy0: failed to set freq to 2447 MHz for scan
>> [   94.450800] phy0: failed to set freq to 2452 MHz for scan
>> [   95.069019] phy0: failed to set freq to 2457 MHz for scan
>> [   95.690239] __ratelimit: 9 callbacks suppressed
>> [   95.690251] ath5k phy0: gain calibration timeout (2462MHz)
>> [   95.690261] ath5k phy0: can't reset hardware (-11)
>> [   95.690269] phy0: failed to set freq to 2462 MHz for scan
>> [   96.305163] ath5k phy0: gain calibration timeout (2412MHz)
>> [   96.305173] ath5k phy0: can't reset hardware (-11)
>> [   96.305179] phy0: failed to restore operational channel after scan
>> [  100.084643] ath5k phy0: noise floor calibration failed (2412MHz)
>> [  100.689317] ath5k phy0: gain calibration timeout (2417MHz)
>> [  100.689328] ath5k phy0: can't reset hardware (-11)
>> [  100.689334] phy0: failed to set freq to 2417 MHz for scan
>> [  101.308123] ath5k phy0: gain calibration timeout (2422MHz)
>> [  101.308134] ath5k phy0: can't reset hardware (-11)
>> [  101.308140] phy0: failed to set freq to 2422 MHz for scan
>> [  101.923409] ath5k phy0: gain calibration timeout (2427MHz)
>> [  101.923419] ath5k phy0: can't reset hardware (-11)
>> [  101.923425] phy0: failed to set freq to 2427 MHz for scan
>> [  102.536898] ath5k phy0: gain calibration timeout (2432MHz)
>> [  102.536911] ath5k phy0: can't reset hardware (-11)
>> [  102.536920] phy0: failed to set freq to 2432 MHz for scan
>> [  103.153227] ath5k phy0: gain calibration timeout (2437MHz)
>> [  103.153238] ath5k phy0: can't reset hardware (-11)
>> [  103.153244] phy0: failed to set freq to 2437 MHz for scan
>> [  103.766742] ath5k phy0: gain calibration timeout (2442MHz)
>> [  103.766753] ath5k phy0: can't reset hardware (-11)
>> [  103.766759] phy0: failed to set freq to 2442 MHz for scan
>> [  104.382792] phy0: failed to set freq to 2447 MHz for scan
>> [  104.998713] phy0: failed to set freq to 2452 MHz for scan
>> [  105.612695] phy0: failed to set freq to 2457 MHz for scan
>> [  106.227980] phy0: failed to set freq to 2462 MHz for scan
>> [  106.846579] __ratelimit: 8 callbacks suppressed
>> [  106.846591] ath5k phy0: gain calibration timeout (2412MHz)
>> [  106.846601] ath5k phy0: can't reset hardware (-11)
>> [  106.846609] phy0: failed to restore operational channel after scan
>> [  111.388603] ath5k phy0: noise floor calibration failed (2412MHz)
>> [  112.002756] ath5k phy0: gain calibration timeout (2417MHz)
>> [  112.002769] ath5k phy0: can't reset hardware (-11)
>> [  112.002776] phy0: failed to set freq to 2417 MHz for scan
>> [  112.618112] ath5k phy0: gain calibration timeout (2422MHz)
>> [  112.618123] ath5k phy0: can't reset hardware (-11)
>> [  112.618129] phy0: failed to set freq to 2422 MHz for scan
>> [  113.234943] ath5k phy0: gain calibration timeout (2427MHz)
>> [  113.234957] ath5k phy0: can't reset hardware (-11)
>> [  113.234965] phy0: failed to set freq to 2427 MHz for scan
>> [  113.855231] ath5k phy0: gain calibration timeout (2432MHz)
>> [  113.855242] ath5k phy0: can't reset hardware (-11)
>> [  113.855248] phy0: failed to set freq to 2432 MHz for scan
>>
>> Happened on boot, and card stopped working.
>> Only a reboot helped.
>>   
> 
> A patch has been submitted which stops the card getting wedged this way,
> 
> <http://www.spinics.net/lists/linux-wireless/msg23404.html>
> 
> from the messages it's not clear whether this is a complete fix, or more
> of a workaround for an underlying problem.  It sounds like it got an ACK
> from another tester (and I can add mine as well!), but no-one has
> accepted or reviewed it :(.
> 
>> When transferring large amounts of data from/to desktop pc, 
>> assotiation with ap is dropped often which results is minute/two of no wireless
>> activety and this:
>>
>> [ 1522.872096] wlan0: direct probe to AP 00:1b:9e:d8:77:02 try 1
>> [ 1523.072094] wlan0: direct probe to AP 00:1b:9e:d8:77:02 try 2
>> [ 1523.268098] wlan0: direct probe to AP 00:1b:9e:d8:77:02 try 3
>> [ 1523.477204] wlan0: direct probe to AP 00:1b:9e:d8:77:02 timed out
>> [ 1524.569452] wlan0: authenticate with AP 00:1b:9e:d8:77:02
>> [ 1524.571157] wlan0: authenticated
>> [ 1524.571179] wlan0: associate with AP 00:1b:9e:d8:77:02
>> [ 1524.574284] wlan0: RX ReassocResp from 00:1b:9e:d8:77:02 (capab=0x411 status=0 aid=1)
>>
>>
>>
>> Also when downloading from AP (from desktop) I see this:
>>
>> ath5k phy0: unsupported jumbo
>>   
> 
> Known issue, just what it says on the tin.  There used to be a bug here,
> but it's fixed now.  Just an unsupported performance feature which you
> should be able to live without, for the time being :).
> 
> (the bugfix thread is here, it confirms the intention to ignore jumbo
> frames <http://thread.gmane.org/gmane.linux.kernel.wireless.general/23383>).
> 
> Regards
> Alan
The problem is that I have this patch applied...
This says something about gain calibration timeout.

Best regards,
	Maxim Levitsky



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Bugs in ath5k on aspire one (AR2425)
  2008-11-21 19:58 Bugs in ath5k on aspire one (AR2425) Maxim Levitsky
  2008-11-21 20:17 ` [ath5k-devel] " Alan Jenkins
@ 2008-12-12 19:40 ` Maxim Levitsky
  2008-12-12 19:49   ` [ath5k-devel] " Bob Copeland
  1 sibling, 1 reply; 7+ messages in thread
From: Maxim Levitsky @ 2008-12-12 19:40 UTC (permalink / raw)
  To: Bob Copeland; +Cc: linux-wireless, ath5k-devel

On Fri, 2008-11-21 at 21:58 +0200, Maxim Levitsky wrote:
> Hi,
> 
> I captured few errors in dmesg, will post them here.
> If I see more errors, I add them to this thread.
> 
> 
> [   69.516498] ath5k phy0: gain calibration timeout (2412MHz)
> [   69.516509] ath5k phy0: can't reset hardware (-11)
> [   69.516516] phy0: failed to restore operational channel after scan
> [   69.628572] ath5k phy0: noise floor calibration failed (2412MHz)
> [   69.686894] ath5k phy0: noise floor calibration failed (2417MHz)
> [   69.770067] ath5k phy0: noise floor calibration failed (2417MHz)
> [   70.419785] ath5k phy0: gain calibration timeout (2422MHz)
> [   70.419800] ath5k phy0: can't reset hardware (-11)
> [   70.419809] phy0: failed to set freq to 2422 MHz for scan
> [   71.356436] ath5k phy0: gain calibration timeout (2427MHz)
> [   71.356450] ath5k phy0: can't reset hardware (-11)
> [   71.356458] phy0: failed to set freq to 2427 MHz for scan
> [   72.119219] ath5k phy0: gain calibration timeout (2432MHz)
> [   72.119234] phy0: failed to set freq to 2432 MHz for scan
> [   72.764447] phy0: failed to set freq to 2437 MHz for scan
> [   73.410438] phy0: failed to set freq to 2442 MHz for scan
> [   74.027807] phy0: failed to set freq to 2447 MHz for scan
> [   74.640495] __ratelimit: 7 callbacks suppressed
> [   74.640504] ath5k phy0: gain calibration timeout (2452MHz)
> [   74.640511] ath5k phy0: can't reset hardware (-11)
> [   74.640517] phy0: failed to set freq to 2452 MHz for scan
> [   75.256551] ath5k phy0: gain calibration timeout (2457MHz)
> [   75.256565] ath5k phy0: can't reset hardware (-11)
> [   75.256573] phy0: failed to set freq to 2457 MHz for scan
> [   75.874414] ath5k phy0: gain calibration timeout (2462MHz)
> [   75.874424] ath5k phy0: can't reset hardware (-11)
> [   75.874430] phy0: failed to set freq to 2462 MHz for scan
> [   76.488436] ath5k phy0: gain calibration timeout (2412MHz)
> [   76.488447] ath5k phy0: can't reset hardware (-11)
> [   76.488452] phy0: failed to restore operational channel after scan
> [   76.488543] wlan0: authenticate with AP 00:1b:9e:d8:77:02
> [   76.688125] wlan0: authenticate with AP 00:1b:9e:d8:77:02
> [   76.889098] wlan0: authenticate with AP 00:1b:9e:d8:77:02
> [   77.088122] wlan0: authentication with AP 00:1b:9e:d8:77:02 timed out
> [   78.415786] ath5k phy0: noise floor calibration timeout (2417MHz)
> [   78.810771] ath5k phy0: gain calibration timeout (2417MHz)
> [   78.810782] phy0: failed to set freq to 2417 MHz for scan
> [   79.427510] phy0: failed to set freq to 2422 MHz for scan
> [   80.056900] __ratelimit: 3 callbacks suppressed
> [   80.056910] ath5k phy0: gain calibration timeout (2427MHz)
> [   80.056919] ath5k phy0: can't reset hardware (-11)
> [   80.056925] phy0: failed to set freq to 2427 MHz for scan
> [   80.670529] ath5k phy0: gain calibration timeout (2432MHz)
> [   80.670540] ath5k phy0: can't reset hardware (-11)
> [   80.670546] phy0: failed to set freq to 2432 MHz for scan
> [   81.285272] ath5k phy0: gain calibration timeout (2437MHz)
> [   81.285285] ath5k phy0: can't reset hardware (-11)
> [   81.285294] phy0: failed to set freq to 2437 MHz for scan
> [   81.911449] ath5k phy0: gain calibration timeout (2442MHz)
> [   81.911461] ath5k phy0: can't reset hardware (-11)
> [   81.911470] phy0: failed to set freq to 2442 MHz for scan
> [   82.526023] ath5k phy0: gain calibration timeout (2447MHz)
> [   82.526034] ath5k phy0: can't reset hardware (-11)
> [   82.526040] phy0: failed to set freq to 2447 MHz for scan
> [   83.141962] phy0: failed to set freq to 2452 MHz for scan
> [   83.759025] phy0: failed to set freq to 2457 MHz for scan
> [   84.373688] phy0: failed to set freq to 2462 MHz for scan
> [   84.990322] phy0: failed to restore operational channel after scan
> [   89.419876] __ratelimit: 8 callbacks suppressed
> [   89.419890] ath5k phy0: noise floor calibration timeout (2412MHz)
> [   90.087509] ath5k phy0: gain calibration timeout (2417MHz)
> [   90.087519] ath5k phy0: can't reset hardware (-11)
> [   90.087525] phy0: failed to set freq to 2417 MHz for scan
> [   90.700892] ath5k phy0: gain calibration timeout (2422MHz)
> [   90.700903] ath5k phy0: can't reset hardware (-11)
> [   90.700909] phy0: failed to set freq to 2422 MHz for scan
> [   91.315752] ath5k phy0: gain calibration timeout (2427MHz)
> [   91.315763] ath5k phy0: can't reset hardware (-11)
> [   91.315770] phy0: failed to set freq to 2427 MHz for scan
> [   91.935144] ath5k phy0: gain calibration timeout (2432MHz)
> [   91.935155] ath5k phy0: can't reset hardware (-11)
> [   91.935161] phy0: failed to set freq to 2432 MHz for scan
> [   92.550491] ath5k phy0: gain calibration timeout (2437MHz)
> [   92.550505] phy0: failed to set freq to 2437 MHz for scan
> [   93.220305] phy0: failed to set freq to 2442 MHz for scan
> [   93.837228] phy0: failed to set freq to 2447 MHz for scan
> [   94.450800] phy0: failed to set freq to 2452 MHz for scan
> [   95.069019] phy0: failed to set freq to 2457 MHz for scan
> [   95.690239] __ratelimit: 9 callbacks suppressed
> [   95.690251] ath5k phy0: gain calibration timeout (2462MHz)
> [   95.690261] ath5k phy0: can't reset hardware (-11)
> [   95.690269] phy0: failed to set freq to 2462 MHz for scan
> [   96.305163] ath5k phy0: gain calibration timeout (2412MHz)
> [   96.305173] ath5k phy0: can't reset hardware (-11)
> [   96.305179] phy0: failed to restore operational channel after scan
> [  100.084643] ath5k phy0: noise floor calibration failed (2412MHz)
> [  100.689317] ath5k phy0: gain calibration timeout (2417MHz)
> [  100.689328] ath5k phy0: can't reset hardware (-11)
> [  100.689334] phy0: failed to set freq to 2417 MHz for scan
> [  101.308123] ath5k phy0: gain calibration timeout (2422MHz)
> [  101.308134] ath5k phy0: can't reset hardware (-11)
> [  101.308140] phy0: failed to set freq to 2422 MHz for scan
> [  101.923409] ath5k phy0: gain calibration timeout (2427MHz)
> [  101.923419] ath5k phy0: can't reset hardware (-11)
> [  101.923425] phy0: failed to set freq to 2427 MHz for scan
> [  102.536898] ath5k phy0: gain calibration timeout (2432MHz)
> [  102.536911] ath5k phy0: can't reset hardware (-11)
> [  102.536920] phy0: failed to set freq to 2432 MHz for scan
> [  103.153227] ath5k phy0: gain calibration timeout (2437MHz)
> [  103.153238] ath5k phy0: can't reset hardware (-11)
> [  103.153244] phy0: failed to set freq to 2437 MHz for scan
> [  103.766742] ath5k phy0: gain calibration timeout (2442MHz)
> [  103.766753] ath5k phy0: can't reset hardware (-11)
> [  103.766759] phy0: failed to set freq to 2442 MHz for scan
> [  104.382792] phy0: failed to set freq to 2447 MHz for scan
> [  104.998713] phy0: failed to set freq to 2452 MHz for scan
> [  105.612695] phy0: failed to set freq to 2457 MHz for scan
> [  106.227980] phy0: failed to set freq to 2462 MHz for scan
> [  106.846579] __ratelimit: 8 callbacks suppressed
> [  106.846591] ath5k phy0: gain calibration timeout (2412MHz)
> [  106.846601] ath5k phy0: can't reset hardware (-11)
> [  106.846609] phy0: failed to restore operational channel after scan
> [  111.388603] ath5k phy0: noise floor calibration failed (2412MHz)
> [  112.002756] ath5k phy0: gain calibration timeout (2417MHz)
> [  112.002769] ath5k phy0: can't reset hardware (-11)
> [  112.002776] phy0: failed to set freq to 2417 MHz for scan
> [  112.618112] ath5k phy0: gain calibration timeout (2422MHz)
> [  112.618123] ath5k phy0: can't reset hardware (-11)
> [  112.618129] phy0: failed to set freq to 2422 MHz for scan
> [  113.234943] ath5k phy0: gain calibration timeout (2427MHz)
> [  113.234957] ath5k phy0: can't reset hardware (-11)
> [  113.234965] phy0: failed to set freq to 2427 MHz for scan
> [  113.855231] ath5k phy0: gain calibration timeout (2432MHz)
> [  113.855242] ath5k phy0: can't reset hardware (-11)
> [  113.855248] phy0: failed to set freq to 2432 MHz for scan
> 
> Happened on boot, and card stopped working.
> Only a reboot helped.

I still see that error.

It sometimes happen on resume from ram.

It is NOT noise calibration, but a gain calibration timeout
Only fix is to reboot the system, as module reload doesn't help.

Best regards,
	Maxim Levitsky


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ath5k-devel] Bugs in ath5k on aspire one (AR2425)
  2008-12-12 19:40 ` Maxim Levitsky
@ 2008-12-12 19:49   ` Bob Copeland
  2008-12-12 19:57     ` Maxim Levitsky
  0 siblings, 1 reply; 7+ messages in thread
From: Bob Copeland @ 2008-12-12 19:49 UTC (permalink / raw)
  To: Maxim Levitsky; +Cc: ath5k-devel, linux-wireless

On Fri, Dec 12, 2008 at 2:40 PM, Maxim Levitsky <maximlevitsky@gmail.com> wrote:
> It sometimes happen on resume from ram.
>
> It is NOT noise calibration, but a gain calibration timeout
> Only fix is to reboot the system, as module reload doesn't help.

I really think it is various sides of the same coin with multiple
manifestations.  There are bugzilla bugs now:

http://bugzilla.kernel.org/show_bug.cgi?id=12080
http://bugzilla.kernel.org/show_bug.cgi?id=12068

-- 
Bob Copeland %% www.bobcopeland.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ath5k-devel] Bugs in ath5k on aspire one (AR2425)
  2008-12-12 19:49   ` [ath5k-devel] " Bob Copeland
@ 2008-12-12 19:57     ` Maxim Levitsky
  0 siblings, 0 replies; 7+ messages in thread
From: Maxim Levitsky @ 2008-12-12 19:57 UTC (permalink / raw)
  To: Bob Copeland; +Cc: ath5k-devel, linux-wireless

On Fri, 2008-12-12 at 14:49 -0500, Bob Copeland wrote:
> On Fri, Dec 12, 2008 at 2:40 PM, Maxim Levitsky <maximlevitsky@gmail.com> wrote:
> > It sometimes happen on resume from ram.
> >
> > It is NOT noise calibration, but a gain calibration timeout
> > Only fix is to reboot the system, as module reload doesn't help.
> 
> I really think it is various sides of the same coin with multiple
> manifestations.  There are bugzilla bugs now:
> 
> http://bugzilla.kernel.org/show_bug.cgi?id=12080
> http://bugzilla.kernel.org/show_bug.cgi?id=12068
> 


Thanks, 

I will install latest wireless-testing, enable debug, and try to catch
this, here it seems to happen after suspend to ram.
(Sometimes, about 1 in 20 times, maybe more)

Best regards,
	Maxim Levitsky


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-12-12 19:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-21 19:58 Bugs in ath5k on aspire one (AR2425) Maxim Levitsky
2008-11-21 20:17 ` [ath5k-devel] " Alan Jenkins
2008-11-21 20:34   ` Bob Copeland
2008-11-21 20:34   ` Maxim Levitsky
2008-12-12 19:40 ` Maxim Levitsky
2008-12-12 19:49   ` [ath5k-devel] " Bob Copeland
2008-12-12 19:57     ` Maxim Levitsky

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).