juhaj@rigel > uname -a
Linux rigel 3.2.0-1-amd64 #1 SMP Fri Feb 17 05:17:36 UTC 2012 x86_64 GNU/Linux
There have been TWO changes since I last had problems:
1. pcie_aspm=off
2. re-seating the iwlwifi mini-pci card in its socket
I am starting to believe I am in the clear here, but I am not yet convinced
since the root cause is still unknown. In any case, thanks for all of you for
helping hunt this down.
Dafydd: I think you might want to try pcie_asmp=off next
Bug#628444: iwlagn - "MAC is in deep sleep", cannot restore wifi operation
This may or may not be related, but I thought it best to inform you about what
I just saw anyway:
I accidentally toggled the physical RF kill switch on my laptop and the result
was very much reminiscent of the bug we are discussing (note the QoS and
failure to remove key):
Mar 22 20:13:47 rigel kernel: [1259943.614216] iwlwifi 0000:03:00.0: RF_KILL
bit toggled to disable radio.
Mar 22 20:13:47 rigel kernel: [1259943.614350] iwlwifi 0000:03:00.0: Not
sending command - RF KILL
Mar 22 20:13:47 rigel kernel: [1259943.614359] iwlwifi 0000:03:00.0: Error
sending REPLY_QOS_PARAM: enqueue_hcmd failed: -5
Mar 22 20:13:47 rigel kernel: [1259943.614366] iwlwifi 0000:03:00.0: Failed to
update QoS
Mar 22 20:13:47 rigel kernel: [1259943.614374] iwlwifi 0000:03:00.0: Not
sending command - RF KILL
Mar 22 20:13:47 rigel kernel: [1259943.614381] iwlwifi 0000:03:00.0: Error
sending REPLY_RXON: enqueue_hcmd failed: -5
Mar 22 20:13:47 rigel kernel: [1259943.614388] iwlwifi 0000:03:00.0: Error
clearing ASSOC_MSK on BSS (-5)
Mar 22 20:13:47 rigel kernel: [1259943.614400] iwlwifi 0000:03:00.0: Not
sending command - RF KILL
Mar 22 20:13:47 rigel kernel: [1259943.614407] iwlwifi 0000:03:00.0: Error
sending REPLY_RXON: enqueue_hcmd failed: -5
Mar 22 20:13:47 rigel kernel: [1259943.614414] iwlwifi 0000:03:00.0: Error
clearing ASSOC_MSK on BSS (-5)
Mar 22 20:13:47 rigel kernel: [1259943.614422] wlan0: deauthenticating from
00:24:17:33:f4:f5 by local choice (reason=3)
Mar 22 20:13:47 rigel kernel: [1259943.624234] iwlwifi 0000:03:00.0: Not
sending command - RF KILL
Mar 22 20:13:47 rigel kernel: [1259943.624238] iwlwifi 0000:03:00.0: Error
sending REPLY_ADD_STA: enqueue_hcmd failed: -5
Mar 22 20:13:47 rigel kernel: [1259943.624242] ieee80211 phy0: failed to
remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-5)
Mar 22 20:13:47 rigel kernel: [1259943.624339] iwlwifi 0000:03:00.0: Not
sending command - RF KILL
Mar 22 20:13:47 rigel kernel: [1259943.624342] iwlwifi 0000:03:00.0: Error
sending REPLY_ADD_STA: enqueue_hcmd failed: -5
Mar 22 20:13:47 rigel kernel: [1259943.624346] ieee80211 phy0: failed to
remove key (0, 00:24:17:33:f4:f5) from hardware (-5)
Mar 22 20:13:47 rigel kernel: [1259943.624351] iwlwifi 0000:03:00.0: Not
sending command - RF KILL
Mar 22 20:13:47 rigel kernel: [1259943.624354] iwlwifi 0000:03:00.0: Error
sending REPLY_REMOVE_STA: enqueue_hcmd failed: -5
Mar 22 20:13:47 rigel kernel: [1259943.624358] iwlwifi 0000:03:00.0: Error
removing station 00:24:17:33:f4:f5
Mar 22 20:13:47 rigel kernel: [1259943.624391] iwlwifi 0000:03:00.0: Not
sending command - RF KILL
Mar 22 20:13:47 rigel kernel: [1259943.624394] iwlwifi 0000:03:00.0: Error
sending REPLY_RXON: enqueue_hcmd failed: -5
Mar 22 20:13:47 rigel kernel: [1259943.624397] iwlwifi 0000:03:00.0: Error
clearing ASSOC_MSK on BSS (-5)
Mar 22 20:13:47 rigel kernel: [1259943.624425] iwlwifi 0000:03:00.0: Not
sending command - RF KILL
Mar 22 20:13:47 rigel kernel: [1259943.624428] iwlwifi 0000:03:00.0: Error
sending REPLY_LEDS_CMD: enqueue_hcmd failed: -5
Mar 22 20:13:47 rigel kernel: [1259943.624433] iwlwifi 0000:03:00.0: Not
sending command - RF KILL
Mar 22 20:13:47 rigel kernel: [1259943.624436] iwlwifi 0000:03:00.0: Error
sending REPLY_RXON: enqueue_hcmd failed: -5
Mar 22 20:13:47 rigel kernel: [1259943.624439] iwlwifi 0000:03:00.0: Error
clearing ASSOC_MSK on BSS (-5)
Mar 22 20:13:47 rigel kernel: [1259943.624459] cfg80211: Calling CRDA to
update world regulatory domain
Mar 22 20:13:47 rigel kernel: [1259943.640238] iwlwifi 0000:03:00.0: Not
sending command - RF KILL
Mar 22 20:13:47 rigel kernel: [1259943.640245] iwlwifi 0000:03:00.0: Error
sending REPLY_RXON: enqueue_hcmd failed: -5
Mar 22 20:13:47 rigel kernel: [1259943.640249] iwlwifi 0000:03:00.0: Error
clearing ASSOC_MSK on BSS (-5)
After switching the radios back on, I get
Mar 22 20:14:22 rigel kernel: [1259978.719860] iwlwifi 0000:03:00.0: RF_KILL
bit toggled to enable radio.
but *absolutely* *nothing* *else*. No RF LED, nothing.
However, unlike the bug we are discussing, reloading the iwlwifi module fixed
this.
[MV] These are not technically error messages, and we had a patch fixing these error messages in the recent past. What kernel version are you running?
>Mar 22 20:13:47 rigel kernel: [1259943.624242] ieee80211 phy0: failed to
>remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-5)
[MV] This could potentially be an issue -- we'll look into this.
>After switching the radios back on, I get
>
>Mar 22 20:14:22 rigel kernel: [1259978.719860] iwlwifi 0000:03:00.0: RF_KILL
>bit toggled to enable radio.
>
>but *absolutely* *nothing* *else*. No RF LED, nothing.
[MV] Ouch. This is likely also a bug in mac80211/driver...can you file a separate bug for this on the intel linux wireless bugzilla: http://bugzilla.intellinuxwireless.org/; so we can have someone look at it?
Thanks,
Meenakshi
04-02-2012, 02:42 AM
Dafydd Harries
Bug#628444: iwlagn - "MAC is in deep sleep", cannot restore wifi operation
On Tue, Mar 20, 2012 at 12:28:01AM +0000, Juha Jäykkä wrote:
> I am starting to believe I am in the clear here, but I am not yet convinced
> since the root cause is still unknown. In any case, thanks for all of you for
> helping hunt this down.
>
> Dafydd: I think you might want to try pcie_asmp=off next
>
> Cheers,
> Juha
As I think I mentioned before, pice_aspm=off doesn't seem to help much for me.
I still get wireless failure after a day or two, although they seem to be more
often correlated with resuming from suspend.
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120402024231.GE31750@nia">http://lists.debian.org/20120402024231.GE31750@nia