[ath9k] AR928X fails to reconnect to WEP/WPA network after suspend/resume

Bug #324213 reported by andrewpmk
38
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

On a Toshiba Portege M800 with an Atheros AR928X using the ath9k driver, running Ubuntu 8.10, the wireless card does not reconnect to a WPA or WEP encrypted network after suspend/resume. Unencrypted networks seem to work fine. This seems similar to the behavior in bug #278190 but I am running kernel version 2.6.27-11 and this does NOT fix the problem.

Relevant line in lspci -nn:

08:00.0 Network controller [0280]: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) [168c:002a] (rev 01)

Workaround (from http://ubuntuforums.org/showthread.php?t=1017306):

Either rmmod ath9k, then modprobe ath9k after suspend/resume, or add the following text to /etc/pm/config.d/00sleep_modules:

SUSPEND_MODULES="ath9k"

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi andrewpmk,

When running the 2.6.27-11 kernel, per the kernel team's bug policy, can you please attach the following information. Please be sure to attach each file as a separate attachment.

* cat /proc/version_signature > version.log
* dmesg > dmesg.log
* sudo lspci -vvnn > lspci-vvnn.log

It would also be good to capture and attach your dmesg output before and after you suspend/resume.

For more information regarding the kernel team bug policy, please refer to https://wiki.ubuntu.com/KernelTeamBugPolicies . Thanks again and we appreciate your help and feedback.

Changed in pm-utils:
status: New → Incomplete
Revision history for this message
andrewpmk (andrewpmk) wrote :
Revision history for this message
andrewpmk (andrewpmk) wrote :

Output of dmesg after the suspend/resume and the failure to connect. What happens is that the network manager tries to connect for a while, then pops up a window asking for the WPA password. If I enter the correct password, this repeats itself. The relevant part of the log is at the end.

Revision history for this message
andrewpmk (andrewpmk) wrote :
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi andrewpmk,

Wow, sorry for the extremely delayed response here. Can you also try installing the linux-backports-modules-intrepid package and see if it helps at all? It contains and updated compat-wireless stack. If that is still problematic, you may even want to test the latest bleeding edge upstream compat-wireless stack - https://wiki.ubuntu.com/KernelTeam/LinuxWireless . Let us know how it goes. If the issue remains in the upstream stack, we'll want to notify the upstream developers. Thanks.

Revision history for this message
Luis R. Rodriguez (mcgrof) wrote :

Need user info.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Due to no response I'm going to close this for now. Please feel free to reopen by setting the status back to New if this issue remains in the latest Karmic 9.10 Alpha release - http://cdimage.ubuntu.com/releases/karmic/ . Thanks.

Changed in linux (Ubuntu):
status: Incomplete → Won't Fix
Revision history for this message
Håvard Berland (berland) wrote :

I had the same issue on an Asus PC 1000HE with the same Atheros chip on 9.04, but the workaround gets the success rate of getting wireless up after suspend up to roughly 90% (estimated, not measured).

On 9.10 alpha 4, this is still an issue, though wireless comes up after suspend, but only works for a couple of seconds (say 10), before wireless network hangs for say 30 seconds, and then you get new 10 seconds of working wireless (and so on). This is progress from no networking, but still not usable.

The same workaround using /etc/pm/config.d/somefilename with SUSPEND_MODULES=ath9k solves this problem.

$ lspci -nn | grep AR928
01:00.0 Network controller [0280]: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) [168c:002a] (rev 01)

Revision history for this message
Håvard Berland (berland) wrote :
Revision history for this message
Håvard Berland (berland) wrote :

Attached output in dmesg.log while network comes on and off in intervals

Changed in linux (Ubuntu):
status: Won't Fix → New
Revision history for this message
Håvard Berland (berland) wrote :

I see that the behaviour after resume is identical to what reported in bugs #414560 and #407981

Revision history for this message
Joe, RRT (joetwostep) wrote :

AR928X Wireless Network Adapter (PCI-Express)
it can see networks but fails to connect, even with correct passwords and even if a password is not required

as a sidenote, it does on occasion connect, but then the little light that is on the card flashes rapidly and then fails

if there is a log i can attach let me know, im runing ubuntu 9.04 and im not sure of my kernel right now, any information i will provide, if you need to email me to remind me to come back, please do so ;)

-Joe

Revision history for this message
Joe, RRT (joetwostep) wrote :
Download full text (28.9 KiB)

if these are not what you asked that other guy for, let me know so I can delete it and not fill this bug with spammm

---
Version
--
Ubuntu 2.6.28-16.55-generic

demsg
---
[ 0.507421] ACPI: PCI Interrupt Link [Z013] (IRQs 19 20 21 22 23) *0, disabled.
[ 0.507616] ACPI: PCI Interrupt Link [Z014] (IRQs 19 20 21 22 23) *0, disabled.
[ 0.507808] ACPI: PCI Interrupt Link [Z015] (IRQs 19 20 21 22 23) *0, disabled.
[ 0.508008] ACPI: PCI Interrupt Link [LSMB] (IRQs 18) *10
[ 0.508202] ACPI: PCI Interrupt Link [LUS0] (IRQs 17) *11
[ 0.508395] ACPI: PCI Interrupt Link [LUS2] (IRQs 17) *7
[ 0.508595] ACPI: PCI Interrupt Link [LMAC] (IRQs 19 20 21 22 23) *11
[ 0.508790] ACPI: PCI Interrupt Link [LAZA] (IRQs 19 20 21 22 23) *10
[ 0.508985] ACPI: PCI Interrupt Link [LGPU] (IRQs 19 20 21 22 23) *10
[ 0.509180] ACPI: PCI Interrupt Link [LPID] (IRQs 19 20 21 22 23) *0, disabled.
[ 0.509378] ACPI: PCI Interrupt Link [LSI0] (IRQs 19 20 21 22 23) *11
[ 0.509573] ACPI: PCI Interrupt Link [LSI1] (IRQs 19 20 21 22 23) *0, disabled.
[ 0.509769] ACPI: PCI Interrupt Link [Z010] (IRQs 16) *5
[ 0.509968] ACPI: PCI Interrupt Link [Z011] (IRQs 16) *10
[ 0.510161] ACPI: PCI Interrupt Link [LPMU] (IRQs 18) *11
[ 0.510387] ACPI: WMI: Mapper loaded
[ 0.510432] SCSI subsystem initialized
[ 0.510432] libata version 3.00 loaded.
[ 0.510432] usbcore: registered new interface driver usbfs
[ 0.510432] usbcore: registered new interface driver hub
[ 0.510432] usbcore: registered new device driver usb
[ 0.510432] PCI: Using ACPI for IRQ routing
[ 0.512532] Bluetooth: Core ver 2.13
[ 0.512532] NET: Registered protocol family 31
[ 0.512532] Bluetooth: HCI device and connection manager initialized
[ 0.512532] Bluetooth: HCI socket layer initialized
[ 0.512532] NET: Registered protocol family 8
[ 0.512532] NET: Registered protocol family 20
[ 0.512532] NetLabel: Initializing
[ 0.512532] NetLabel: domain hash size = 128
[ 0.512532] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.512532] NetLabel: unlabeled traffic allowed by default
[ 0.512532] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 31
[ 0.512532] hpet0: 3 comparators, 32-bit 25.000000 MHz counter
[ 0.516082] AppArmor: AppArmor Filesystem Enabled
[ 0.520017] Switched to high resolution mode on CPU 0
[ 0.520651] Switched to high resolution mode on CPU 1
[ 0.520660] pnp: PnP ACPI init
[ 0.520669] ACPI: bus type pnp registered
[ 0.527357] pnp: PnP ACPI: found 12 devices
[ 0.527359] ACPI: ACPI bus type pnp unregistered
[ 0.527363] PnPBIOS: Disabled by ACPI PNP
[ 0.527373] system 00:02: iomem range 0xe0000000-0xefffffff has been reserved
[ 0.527379] system 00:03: ioport range 0x360-0x361 has been reserved
[ 0.527382] system 00:03: ioport range 0x4d0-0x4d1 has been reserved
[ 0.527385] system 00:03: iomem range 0xff800000-0xff800fff has been reserved
[ 0.527392] system 00:0a: ioport range 0x1000-0x107f has been reserved
[ 0.527394] system 00:0a: ioport range 0x1080-0x10ff has been reserved
[ 0.527397] system 00:0a: ioport range 0x1200-0x127f has been reserved
[ 0.527400] system 00:0a: ioport range 0x...

Revision history for this message
Joe, RRT (joetwostep) wrote :

Ubuntu 9.10 seems to have this issue resolved (though the led connected to the wireless card still blinks randomly for no reason on occasion)

Changed in linux (Ubuntu):
status: New → Fix Released
Revision history for this message
fristedt (peter-fristedt) wrote :

Sorry, problem persists in Ubuntu 9.1 (AR928X wifi in a Fujitsu ESPRIMO Q5030).

 - - - - 8< - - - -

  *-network
       description: Wireless interface
       product: AR928X Wireless Network Adapter (PCI-Express)
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wmaster0
       version: 01
       serial: 00:25:d3:9a:04:05
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list logical ethernet physical wireless
       configuration: broadcast=yes driver=ath9k ip=192.168.1.4 latency=0 multicast=yes wireless=IEEE 802.11bgn
       resources: irq:17 memory:fdef0000-fdefffff

 - - - - 8< - - - -

Revision history for this message
Tomas 'tt' Krag (tt) wrote :

I can confirm this behaviour on a Dell Studio XPS 13 with the same Atheros card:

06:00.0 Network controller [0280]: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) [168c:002a] (rev 01)

THis computer is running Ubuntu 9.10 with all updates:

Linux tak-xps 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux

/tomas

Revision history for this message
^_Pepe_^ (jose-angel-fernandez-freire) wrote :

Hi all,

Since problem persists, please, can you try this two options.

1. Can you please try installing the following package. It contains an updated compat wireless stack which may help.

linux-backports-modules-wireless-karmic-generic

If the issue still remains even after this, I'd encourage you to also try installing the latest compat-wireless stack from upstream -
http://wireless.kernel.org/en/users/Download . This will allow us to escalate this issue to the upstream developers. Please let us know your results

2. Please can you try also with last kernel version, which is located on http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32/?

Thanks to all in advance.

Changed in linux (Ubuntu):
status: Fix Released → New
status: New → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
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.