[ath9k] networking fails after resume from suspend or hibernate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On this hardware at least (Asus 1008HA)... Starting with working wifi...
I suspend.
Later, I wake the machine up.
*Initially* networking seems to come back up. It takes a little while for network manager to find it, but it does, and it shows that the network is connected.
Then after about a minute of use (enough time, say, to fetch a couple of web pages or a partial apt-get update) it seems to stop routing packets. The network manager still shows the network to be connected, but no traffic gets through.
Using network manager to disconnect and reconnect doesn't help: Again, it looks like it reconnects happily, but no traffic passes through the link.
This is using the in-kernel ath9k driver, of all kernel versions since that in Karmic Alpha6 at least (when I first installed on this hardware). (Didn't try Jaunty as apparently networking doesn't work at *all* out of the box on this hardware.)
lspci output follows:
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
02:00.0 Ethernet controller: Attansic Technology Corp. Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)
ProblemType: Bug
AplayDevices:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xfbcb8000 irq 16'
Mixer name : 'Realtek ALC269'
Components : 'HDA:10ec0269,
Controls : 12
Simple ctrls : 7
Date: Sun Oct 4 23:34:53 2009
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=
MachineType: ASUSTeK Computer INC. 1008HA
Package: linux-image-
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSign
RelatedPackageV
linux-
linux-firmware 1.20
SourcePackage: linux
Tags: ubuntu-unr
Uname: Linux 2.6.31-11-generic i686
XsessionErrors:
(gnome-
(gnome-
(nautilus:1721): Eel-CRITICAL **: eel_preferences
(polkit-
(netbook-
dmi.bios.date: 08/18/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1103
dmi.board.
dmi.board.name: 1008HA
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer INC.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: 1008HA
dmi.product.
dmi.sys.vendor: ASUSTeK Computer INC.
Few more notes:
Watching from the commandline this time; ifconfig showed the network interface up throughout, no errors reported.
Ping times were pretty bad - 90-120ms to another machine on the local network. Once fixed this was more like 1-5ms. Occasionally much longer pauses.
Then:
64 bytes from mab.local (192.168.0.163): icmp_seq=171 ttl=64 time=89.3 ms 710/1018. 121/97. 880 ms, pipe 2
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
^C
--- mab.local ping statistics ---
199 packets transmitted, 158 received, 20% packet loss, time 230681ms
rtt min/avg/max/mdev = 1.150/75.
Restarting the ping seemed to make it work again for a bit, but as before, actually putting more traffic through (ie: browsing a couple of pages) made it fall over completely.
So then, instead of rebooting as previously, I did the following:
Disable wireless networking in network manager
rmmod ath9k
rmmod ath
rmmod mac80211
rmmod cfg80211
modprobe ath9k
Re-enable wireless networking in network manager
Network reconnected, and has been fine ever since.