ath5k module does not properly restart after suspend

Bug #460159 reported by kozimodo
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

In order to resume wifi, ath5k and all related modules must be removed and then ath5k must be reloaded. This was not a problem with the backports module in Jaunty.

ProblemType: Bug
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/dsp', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D0c', '/dev/snd/seq', '/dev/snd/timer', '/dev/sequencer', '/dev/sequencer2'] failed with exit code 1:
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0x58540000 irq 16'
   Mixer name : 'Realtek ALC268'
   Components : 'HDA:10ec0268,1025015b,00100101'
   Controls : 9
   Simple ctrls : 6
Date: Sat Oct 24 21:50:38 2009
DistroRelease: Ubuntu 9.10
MachineType: Acer AOA110
Package: linux-backports-modules-karmic 2.6.31.14.27
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-14-generic root=/dev/sda1 ro pciehp.pciehp_force=1 elevator=noop quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-14-generic 2.6.31-14.16
 linux-firmware 1.24
RfKill:
 1: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux-meta
Uname: Linux 2.6.31-14-generic i686
dmi.bios.date: 10/06/2008
dmi.bios.vendor: Acer
dmi.bios.version: v0.3310
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.vendor: Acer
dmi.board.version: Base Board Version
dmi.chassis.type: 1
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAcer:bvrv0.3310:bd10/06/2008:svnAcer:pnAOA110:pvr1:rvnAcer:rn:rvrBaseBoardVersion:cvnChassisManufacturer:ct1:cvrChassisVersion:
dmi.product.name: AOA110
dmi.product.version: 1
dmi.sys.vendor: Acer

Revision history for this message
kozimodo (forums-theo) wrote :
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

[This is an automated message. Apologies if it has reached you inappropriately.]

This bug was reported against the linux-meta package when it likely should have been reported against the linux package instead. We are automatically transitioning this to the linux kernel package so that the appropriate teams are notified and made aware of this issue.

If this bug really is a bug in the linux-meta package you can move it back to linux-meta and set the Status to Confirmed, or contact us on the #ubuntu-kernel channel on the FreeNode IRC server. Thanks.

affects: linux-meta (Ubuntu) → linux (Ubuntu)
Revision history for this message
Nick B. (futurepilot) wrote :

Same problem here. I'm going to confirm this. It seems to be specific with the ath5k driver in the backports-modules package.

03:00.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
 Subsystem: Netgear Device 5b00
 Flags: bus master, medium devsel, latency 168, IRQ 11
 Memory at f4000000 (32-bit, non-prefetchable) [size=64K]
 Capabilities: <access denied>
 Kernel driver in use: ath5k
 Kernel modules: ath5k

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
kozimodo (forums-theo) wrote :

Still broken with latest backports-modules.

Revision history for this message
samotham (samotham) wrote :

seems I have got the same issue here.
ath5k is used on my karmic (upgraded few hours ago from jaunty).
00:09.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)

wifi works fine at startup, but then it fails and I can't get it working as soon as I suspend and resume from suspend. (rmmod / modprobe ath5k/ath won't fix)

I might have noticed a clue though :

dmesg | grep ath gives me this before suspend :
[ 12.713661] ath5k 0000:00:09.0: enabling device (0000 -> 0002)
[ 12.713677] ath5k 0000:00:09.0: PCI INT A -> Link[LNK3] -> GSI 11 (level, low) -> IRQ 11
[ 12.713764] ath5k 0000:00:09.0: registered as 'phy0'
[ 12.818313] ath: EEPROM regdomain: 0x30
[ 12.818318] ath: EEPROM indicates we should expect a direct regpair map
[ 12.818322] ath: Country alpha2 being used: AM
[ 12.818324] ath: Regpair used: 0x30
[ 14.440610] ath5k phy0: Atheros AR5213A chip found (MAC: 0x59, PHY: 0x43)
[ 14.440614] ath5k phy0: RF2112B 2GHz radio found (0x46)

and that *after* suspend :
[ 115.784403] ath5k 0000:00:09.0: PCI INT A disabled
[ 121.703339] ath5k 0000:00:09.0: PCI INT A -> Link[LNK3] -> GSI 11 (level, low) -> IRQ 11
[ 121.703427] ath5k 0000:00:09.0: registered as 'phy0'
[ 121.805448] ath: EEPROM regdomain: 0x30
[ 121.805453] ath: EEPROM indicates we should expect a direct regpair map
[ 121.805457] ath: Country alpha2 being used: AM
[ 121.805459] ath: Regpair used: 0x30

the diff is
before = ath5k 0000:00:09.0: enabling device (0000 -> 0002)
after = ath5k 0000:00:09.0: PCI INT A disabled

disabled sounds bad to me but i'm no dev at all :)
hope this helps

Revision history for this message
Brad Figg (brad-figg) wrote : Unsupported series, setting status to "Won't Fix".

This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: Confirmed → Won't Fix
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.