rfkill key on eeepc 701 breaks ath5k driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
Jaunty |
Triaged
|
Medium
|
Unassigned |
Bug Description
Binary package hint: linux-image-
As I mentioned on bug #354878, using the rfkill key (Fn+F2) after modprobing rfkill-input kills the wireless, which then becomes unable to recover until the next full reboot (a suspend/resume cycle is not enough).
The kernel log shows the driver becomes confused by the sudden removal of the hardware:
Apr 9 20:09:19 cesarb-eeepc kernel: [ 312.653867] ath5k phy0: failed to wakeup the MAC Chip
Apr 9 20:09:19 cesarb-eeepc kernel: [ 312.653881] ath5k phy0: can't reset hardware (-5)
Apr 9 20:09:19 cesarb-eeepc kernel: [ 312.653887] wlan0: Failed to config new SSID to the low-level driver
Apr 9 20:09:19 cesarb-eeepc kernel: [ 312.655171] wlan0: disassociating by local choice (reason=3)
Apr 9 20:09:19 cesarb-eeepc kernel: [ 312.722370] ath5k phy0: failed to wakeup the MAC Chip
Apr 9 20:09:19 cesarb-eeepc kernel: [ 312.722384] ath5k phy0: can't reset hardware (-5)
Apr 9 20:09:19 cesarb-eeepc kernel: [ 312.722391] wlan0: Failed to config new BSSID to the low-level driver
Apr 9 20:09:32 cesarb-eeepc kernel: [ 325.453079] ath5k phy0: failed to wakeup the MAC Chip
Apr 9 20:09:32 cesarb-eeepc kernel: [ 325.453095] ath5k phy0: can't reset hardware (-5)
(For completeness, this log fragment shows network-manager does notice the rfkill switch:
Apr 9 20:09:19 cesarb-eeepc NetworkManager: <info> Wireless now disabled by radio killswitch
Apr 9 20:09:19 cesarb-eeepc NetworkManager: <info> (wlan0): device state change: 8 -> 2
Apr 9 20:09:19 cesarb-eeepc NetworkManager: <info> (wlan0): deactivating device (reason: 0).
[...]
Apr 9 20:09:32 cesarb-eeepc NetworkManager: <info> Wireless now enabled by radio killswitch
Apr 9 20:09:32 cesarb-eeepc NetworkManager: <info> (wlan0): bringing up device.
)
I suspect this bug has been fixed upstream by commit 5740294ca3a9b11
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
MachineType: ASUSTeK Computer INC. 701
Package: linux-image-
ProcCmdLine: root=UUID=
ProcEnviron:
LANG=pt_BR.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: linux
tags: | added: ubuntu-unr |
Hi Cesar,
Thanks for the upstream reference. Unfortunately the kernel is currently frozen for the upcoming Jaunty release. I'll leave it to the discrection of the kernel team if this will qualify for a Stable Release Update for jaunty. In the mean time, I would point you to the upstream kernel builds that the Ubuntu kernel team has started packaging. The more recent builds (ie 2.6.30-rc1 or 2.6.29) should contain the patch you've referenced. Definitely let us know if you test and confirm it indeed resolves this issue. Thanks.