wireless goes missing after suspend/resume

Bug #209489 reported by Robin Sheat
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned
linux-source-2.6.20 (Ubuntu)
Won't Fix
Undecided
Unassigned
network-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

I've upgraded from gutsy to hardy beta, and now my wireless usually stops working after suspend/resume. This worked pretty much 100% in gutsy.

I've attached everything I can think of from when it wasn't working, taken just after a resume.

robin@lappi:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:d4:01:4d:6e
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:4090587 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4090587 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1336122683 (1.2 GB) TX bytes:1336122683 (1.2 GB)
(removed tun0 because it's not relevant here)

robin@lappi:~$ iwconfig
lo no wireless extensions.

tun0 no wireless extensions.

eth0 no wireless extensions.

eth1 no wireless extensions.

wlan0_rename IEEE 802.11g ESSID:"" Nickname:""
          Mode:Managed Channel:0 Access Point: Not-Associated
          Tx-Power=0 dBm
          Retry min limit:7 RTS thr:off Fragment thr=2346 B
          Power Management:off
          Link Quality:0 Signal level:0 Noise level:0
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

robin@lappi:~$ sudo iwlist scan
lo Interface doesn't support scanning.

tun0 Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

eth1 Interface doesn't support scanning.

wlan0_rename Interface doesn't support scanning : Network is down

robin@lappi:~$ dmesg|tail
[ 3.320311] ACPI: PCI Interrupt 0000:08:08.0[A] -> GSI 20 (level, low) -> IRQ 21
[ 3.363359] e100: eth0: e100_probe: addr 0xd2006000, irq 21, MAC addr 00:16:d4:01:4d:6e
[ 3.382364] iwl3945: Tunable channels: 11 802.11bg, 13 802.11a channels
[ 3.395179] wmaster0: Selected rate control algorithm 'iwl-3945-rs'
[ 3.405395] udev: renamed network interface wmaster0 to eth1
[ 3.432757] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 3.569721] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 3.669957] usb 4-1: USB disconnect, address 2
[ 4.161822] usb 4-1: new full speed USB device using uhci_hcd and address 3
[ 4.336249] usb 4-1: configuration #1 chosen from 1 choice

robin@lappi:~$ lsmod | grep iw
iwl3945 89844 0
iwlwifi_mac80211 219108 1 iwl3945
cfg80211 15112 1 iwlwifi_mac80211

Revision history for this message
Robin Sheat (eythian) wrote :
Revision history for this message
Robin Sheat (eythian) wrote :
Download full text (5.7 KiB)

And here's the equivalent info after a boot, with the wireless connected and working:

robin@lappi:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:d4:01:4d:6e
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:2019 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2298 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:861350 (841.1 KB) TX bytes:893234 (872.2 KB)

eth1 Link encap:UNSPEC HWaddr 00-13-02-24-33-AD-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:632 errors:0 dropped:0 overruns:0 frame:0
          TX packets:632 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:31600 (30.8 KB) TX bytes:31600 (30.8 KB)

wlan0_rename Link encap:Ethernet HWaddr 00:13:02:24:33:ad
          inet addr:192.168.0.133 Bcast:192.168.0.255 Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:8892 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10543 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5661313 (5.3 MB) TX bytes:3910557 (3.7 MB)

robin@lappi:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 no wireless extensions.

wlan0_rename IEEE 802.11g ESSID:"11c North Rd (2)" Nickname:""
          Mode:Managed Frequency:2.452 GHz Access Point: 00:13:46:27:04:72
          Bit Rate=54 Mb/s Tx-Power=27 dBm
          Retry min limit:7 RTS thr:off Fragment thr=2346 B
          Power Management:off
          Link Quality=87/100 Signal level=-40 dBm Noise level=-69 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

tun0 no wireless extensions.

robin@lappi:~$ sudo iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

eth1 Interface doesn't support scanning.

wlan0_rename Scan completed :
          Cell 01 - Address: 00:18:F8:36:7E:D6
                    ESSID:"11c North Rd"
                    Mode:Master
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=88/100 Signal level=-45 dBm Noise level=-70 dBm
                    Encryption key:on
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
...

Read more...

Revision history for this message
hirak99 (hirak99) wrote :

Same problem but with LAN. I have a desktop and no wireless connection, and the computer does not connect through eth0 after resume from Suspend To RAM.

I have already created a different bug report for that: https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/206397

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :
Download full text (3.3 KiB)

Since I updated to Hardy, I often have this problem too. My wireless is gone after resume (network manager won't display it).

I'm joining my messages log for the resume. After resume, iwconfig reports the wifi card:
wlan0_rename IEEE 802.11g ESSID:"" Nickname:""
          Mode:Managed Channel:0 Access Point: Not-Associated
          Tx-Power=0 dBm
          Retry min limit:7 RTS thr:off Fragment thr=2346 B
          Power Management:off
          Link Quality:0 Signal level:0 Noise level:0
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

However, ifconfig does not report it. After a "sudo ifconfig wlan0_rename up", the card appears in ifconfig but network_manager still won't display it. I have a DELL XPS M1330 with an intel ipw3945ABG wireless card.

lspci:
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
03:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
09:00.0 Ethernet controller: Broadcom Corporation NetLink BCM590...

Read more...

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

The failure to reconnect for Intel 3945 cards is almost certainly bug 208103.

Please test if the following works (this is the workaround from 208103):

1. sudo rm /etc/udev/rules.d/70-persistent-net.rules
2. Reboot

If this is the same bug, /etc/udev/rules.d/70-persistent-net.rules should be regenerated correctly and you should be able to suspend and resume. Please confirm.

If you have bugs with wireless drivers other than iwl3945, or bugs with wired connections, please file them separately.

Revision history for this message
Robin Sheat (eythian) wrote :

This fixed the problem fine, thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

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.