FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 03-19-2012, 11:28 PM
Juha Jäykkä
 
Default Bug#628444: iwlagn - "MAC is in deep sleep", cannot restore wifi operation

My update (after a reboot caused by a crashed hibernation attempt at uptime ~8
days):

juhaj@rigel > uptime
00:18:27 up 14 days, 6:50, 9 users, load average: 0.00, 0.03, 0.05

juhaj@rigel > cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.2.0-1-amd64 root=/dev/mapper/system-root ro quiet
usbcore.autosuspend=1 video=intelfb:1440x900M@60 pcie_aspm=off

juhaj@rigel > grep . /sys/module/iwlwifi/parameters/*
/sys/module/iwlwifi/parameters/11n_disable:0
/sys/module/iwlwifi/parameters/ack_check:N
/sys/module/iwlwifi/parameters/amsdu_size_8K:1
/sys/module/iwlwifi/parameters/antenna_coupling:0
/sys/module/iwlwifi/parameters/auto_agg:Y
/sys/module/iwlwifi/parameters/bt_ch_inhibition:Y
/sys/module/iwlwifi/parameters/bt_coex_active:Y
/sys/module/iwlwifi/parameters/fw_restart:1
/sys/module/iwlwifi/parameters/led_mode:0
/sys/module/iwlwifi/parameters/no_sleep_autoadjust:Y
/sys/module/iwlwifi/parameters/plcp_check:Y
/sys/module/iwlwifi/parameters/power_level:0
/sys/module/iwlwifi/parameters/power_save:N
/sys/module/iwlwifi/parameters/queues_num:0
/sys/module/iwlwifi/parameters/swcrypto:0
/sys/module/iwlwifi/parameters/ucode_alternative:1
/sys/module/iwlwifi/parameters/wd_disable:0
(I think these are all defaults.)

rigel kernel: [1073316.734468] iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S

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

Cheers,
Juha

--
-----------------------------------------------
| Juha Jäykkä, juhaj@iki.fi |
| http://www.maths.leeds.ac.uk/~juhaj |
-----------------------------------------------
 
Old 03-22-2012, 07:24 PM
Juha Jäykkä
 
Default 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.

Hope this helps,
Juha

--
-----------------------------------------------
| Juha Jäykkä, juhaj@iki.fi |
| http://www.maths.leeds.ac.uk/~juhaj |
-----------------------------------------------
 
Old 03-22-2012, 10:18 PM
"Venkataraman, Meenakshi"
 
Default Bug#628444: iwlagn - "MAC is in deep sleep", cannot restore wifi operation

Hi Juha,

>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

[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
 
Old 04-02-2012, 02:42 AM
Dafydd Harries
 
Default 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
 

Thread Tools




All times are GMT. The time now is 04:10 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org