No wifi after resume from suspend to ram (iwl3945 driver)

Bug #204040 reported by oli
2
Affects Status Importance Assigned to Milestone
pm-utils (Ubuntu)
Invalid
Medium
Daniel Hahler

Bug Description

After resume from suspend to ram, I can't connect to my wireless network.
"iwlist scanning wlan0" doesn't list any networks after resume.

Unloading and Reloading the iwl3945 module has no effect.

hp compaq nx7400

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"

nm-applet 0.6.6

uname -r
2.6.24-12-generic

lsmod | grep iwl
iwl3945 89844 0
iwlwifi_mac80211 219108 1 iwl3945
cfg80211 15112 1 iwlwifi_mac80211

modinfo iwl3945
filename: /lib/modules/2.6.24-12-generic/ubuntu/wireless/iwlwifi/iwlwifi/compatible/iwl3945.ko
license: GPL
author: Copyright(c) 2003-2007 Intel Corporation
version: 1.2.0
description: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux
srcversion: 8E95C617988943846696F97
alias: pci:v00008086d00004227sv*sd*bc*sc*i*
alias: pci:v00008086d00004222sv*sd*bc*sc*i*
depends: iwlwifi_mac80211
vermagic: 2.6.24-12-generic SMP mod_unload 586
parm: antenna:select antenna (1=Main, 2=Aux, default 0 [both]) (int)
parm: disable:manually disable the radio (default 0 [radio on]) (int)
parm: hwcrypto:using hardware crypto engine (default 0 [software])
 (int)
parm: debug:debug output mask (int)
parm: disable_hw_scan:disable hardware scanning (default 0) (int)
parm: queues_num:number of hw queues. (int)
parm: qos_enable:enable all QoS functionality (int)

Revision history for this message
archdrone (archdrone) wrote :

`modprobe -r iwl3945 && modprobe iwl3945` works for me but sometimes modprobe -r hangs while cpu on 100%

Revision history for this message
oli (oli23) wrote :

Thanks archdrone,
I've tried it again with your workaround, it works for me too. Perhaps, I haven't wait long enough, yesterday.

/etc/default/acpi-support says:
# Note that network cards and USB controllers will automatically be unloaded
# unless they're listed in MODULES_WHITELIST
MODULES=""

Is there a way to unload & reload the module after! resume?

Revision history for this message
Chak Man Yeung (dasunst3r) wrote :

This also happens on my Dell Inspiron E1505 with the Intel wireless card. My workaround is to turn on/off the wireless kill switch to turn the radio off and then back on.

Revision history for this message
Mary Gardiner (puzzlement) wrote :

Confirming this. This seems to be a very recent regression (as in, the last day or so of Hardy updates). Will attach logs and such in subsequent comments.

Neither workaround works for me"modprobe -r iwl3945 && modprobe iwl3945" successfully reloads the driver but it still doesn't find any networks, and using the kill switch seems to still be broken per bug 193970.

$ uname -a
Linux gertrude 2.6.24-12-generic #1 SMP Wed Mar 12 23:01:54 UTC 2008 i686 GNU/Linux

Changed in acpi-support:
status: New → Confirmed
Revision history for this message
Mary Gardiner (puzzlement) wrote :
Revision history for this message
Mary Gardiner (puzzlement) wrote :
Revision history for this message
Mary Gardiner (puzzlement) wrote :
Revision history for this message
Mary Gardiner (puzzlement) wrote :
Revision history for this message
Mary Gardiner (puzzlement) wrote : I may not have the same bug

My version of this bug seems to be a problem with pm-utils, so I have reported it separately as bug 208103.

Revision history for this message
Daniel Hahler (blueyed) wrote :

You are all using gnome-power-manager to suspend/resume, correct?
g-p-m uses pm-utils, not acpi-support and there has been a fix in the latest pm-utils 0.99.2-3ubuntu6:
   * Add debian/patches/98-unload_network_modules.patch: Unload/reload network
     modules during suspend. Thanks to Matthew Garrett! (LP: #162654)

So, please check if it's till a problem after updating to this pm-utils version. If this fixes it, it's a duplicate of bug 162654.

Changed in acpi-support:
assignee: nobody → blueyed
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
oli (oli23) wrote :

You are right, Daniel - works fine now. I will set the bug status fixed.

Changed in pm-utils:
status: Incomplete → Fix Released
Revision history for this message
Daniel Hahler (blueyed) wrote :

Thank you for reporting back, I'm just marking it as dupe instead.

Changed in pm-utils:
status: Fix Released → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.