Comment 32 for bug 269253

Revision history for this message
z3non (tom-uttenthaler) wrote :

I had a repeatedly similar problems using an AR242x in an EeePC with kernel 2.6.27-8-eeepc. Sometimes the NetworkManager can't connect anymore after a resume, but still shows a list of networks. After restarting the Networkmanager the network list has disappeared. Reloading the ath5k module doesn't change anything, # iwlist wlan0 scanning and $ nm-tool don't show any networks.

Submitting an rfkill command (as root) solves the problem without rebooting for me:
# echo 0 > /sys/devices/LNXSYSTM:00/device:00/ASUS010:00/rfkill/rfkill0/state
# echo 1 > /sys/devices/LNXSYSTM:00/device:00/ASUS010:00/rfkill/rfkill0/state

Another workaround is to remove the kernel module (ath5k) before suspending, as mentioned in
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/272169

Still it has to be considered as a bug, the kern.log contains the following messages:

Feb 19 09:26:10 eee-kug kernel: [102476.152330] PM: Finishing wakeup.
Feb 19 09:26:10 eee-kug kernel: [102476.152334] Restarting tasks ... done.
Feb 19 09:26:12 eee-kug kernel: [102478.580677] ADDRCONF(NETDEV_UP): eth0: link is not ready
Feb 19 09:26:17 eee-kug kernel: [102478.621258] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Feb 19 09:26:17 eee-kug kernel: [102478.664018] wlan0: authenticate with AP xx:xx:xx:xx:xx:xx
Feb 19 09:26:17 eee-kug kernel: [102478.704458] wlan0: authenticate with AP xx:xx:xx:xx:xx:xx
Feb 19 09:26:17 eee-kug kernel: [102478.904127] wlan0: authenticate with AP xx:xx:xx:xx:xx:xx
Feb 19 09:26:17 eee-kug kernel: [102479.104110] wlan0: authenticate with AP xx:xx:xx:xx:xx:xx
Feb 19 09:26:17 eee-kug kernel: [102479.304111] wlan0: authentication with AP xx:xx:xx:xx:xx:xx timed out
Feb 19 09:30:10 eee-kug kernel: [102716.216087] ACPI: EC: missing confirmations, switch off interrupt mode.
Feb 19 09:30:11 eee-kug kernel: [102716.736086] ACPI Exception (evregion-0419): AE_TIME, Returned by Handler for [EmbeddedControl] [20080609]
Feb 19 09:30:11 eee-kug kernel: [102716.736150] ACPI Error (psparse-0530): Method parse/execution failed [\_SB_.PCI0.SBRG.EC0_.BST2] (Node f74$
Feb 19 09:30:11 eee-kug kernel: [102716.736469] ACPI Error (psparse-0530): Method parse/execution failed [\_SB_.PCI0.CBST] (Node f74190d8), AE$
Feb 19 09:30:11 eee-kug kernel: [102716.736771] ACPI Error (psparse-0530): Method parse/execution failed [\_SB_.PCI0.BAT0._BST] (Node f7419018$
Feb 19 09:30:11 eee-kug kernel: [102716.737078] ACPI Exception (battery-0360): AE_TIME, Evaluating _BST [20080609]
Feb 19 09:31:21 eee-kug kernel: [102787.323858] wlan0: authenticate with AP xx:xx:xx:xx:xx:xx
Feb 19 09:31:21 eee-kug kernel: [102787.521418] wlan0: authenticate with AP xx:xx:xx:xx:xx:xx
Feb 19 09:31:22 eee-kug kernel: [102787.721096] wlan0: authenticate with AP xx:xx:xx:xx:xx:xx
Feb 19 09:31:22 eee-kug kernel: [102787.921106] wlan0: authentication with AP xx:xx:xx:xx:xx:xx timed out
Feb 19 09:38:01 eee-kug kernel: [103186.783981] ath5k phy0: gain calibration timeout (2437MHz)
Feb 19 09:38:01 eee-kug kernel: [103186.784020] ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
Feb 19 09:38:01 eee-kug kernel: [103186.784037] wlan0: failed to restore operational channel after scan
Feb 19 09:38:01 eee-kug kernel: [103186.791520] ath5k phy0: gain calibration timeout (2412MHz)
Feb 19 09:38:01 eee-kug kernel: [103186.791547] ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
Feb 19 09:38:01 eee-kug kernel: [103186.906172] ath5k phy0: noise floor calibration failed (2412MHz)
Feb 19 09:38:01 eee-kug kernel: [103186.906194] ath5k phy0: can't reset hardware (-11)
Feb 19 09:38:01 eee-kug kernel: [103186.906201] wlan0: Failed to config new SSID to the low-level driver
Feb 19 09:38:01 eee-kug kernel: [103186.964110] ath5k phy0: noise floor calibration failed (2417MHz)
Feb 19 09:38:01 eee-kug kernel: [103186.964129] ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
Feb 19 09:38:01 eee-kug kernel: [103186.964138] wlan0: failed to set freq to 2417 MHz for scan
Feb 19 09:38:01 eee-kug kernel: [103186.984304] ath5k phy0: noise floor calibration failed (2417MHz)
Feb 19 09:38:01 eee-kug kernel: [103186.984312] ath5k phy0: can't reset hardware (-11)
Feb 19 09:38:01 eee-kug kernel: [103186.984319] wlan0: Failed to config new BSSID to the low-level driver
Feb 19 09:38:01 eee-kug kernel: [103187.313963] wlan0: failed to set freq to 2422 MHz for scan
Feb 19 09:38:01 eee-kug kernel: [103187.664638] wlan0: failed to set freq to 2427 MHz for scan
Feb 19 09:38:02 eee-kug kernel: [103188.015034] wlan0: failed to set freq to 2432 MHz for scan
Feb 19 09:38:02 eee-kug kernel: [103188.365469] wlan0: failed to set freq to 2437 MHz for scan
Feb 19 09:38:03 eee-kug kernel: [103188.715825] wlan0: failed to set freq to 2442 MHz for scan
Feb 19 09:38:03 eee-kug kernel: [103189.066036] wlan0: failed to set freq to 2447 MHz for scan
Feb 19 09:38:03 eee-kug kernel: [103189.415794] wlan0: failed to set freq to 2452 MHz for scan
Feb 19 09:38:04 eee-kug kernel: [103189.766131] wlan0: failed to set freq to 2457 MHz for scan
Feb 19 09:38:04 eee-kug kernel: [103190.116408] wlan0: failed to set freq to 2462 MHz for scan
Feb 19 09:38:04 eee-kug kernel: [103190.466685] wlan0: failed to restore operational channel after scan