FS#16413 - [kernel26] Atheros ath9k module is not working with 2.6.31.1 on an Acer Extensa 7630EZ.
Attached to Project:
Arch Linux
Opened by Bernhard (dw) - Wednesday, 30 September 2009, 17:48 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 28 February 2010, 10:03 GMT
Opened by Bernhard (dw) - Wednesday, 30 September 2009, 17:48 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 28 February 2010, 10:03 GMT
|
Details
Description:
The Atheros ath9k module is not working with [testing]-kernel 2.6.31.1 on an Acer Extensa 7630EZ. This could probably a bios/acpi bug (see attached dmesg output for 2.6.31 boot -> PCI A disabled!), a problem with the rfkill state (device doesn't get initiated) as the rfkill-state is different -> see output from /sys/class/rfkill/rfkillX/state) or something else Additional info: * package version(s) kernel 2.6.31.x [bernhard@wallaby ~]$ uname -a Linux wallaby 2.6.30-ARCH #1 SMP PREEMPT Wed Sep 9 14:16:44 CEST 2009 x86_64 Pentium(R) Dual-Core CPU T4200 @ 2.00GHz GenuineIntel GNU/Linux * config and/or log files etc. lsmod |grep ath shows the same modules for 2.6.30 and 2.6.31 kernels ################################################# #### Log with 2.6.30 Kernel (Wifi is working) ### ################################################# [bernhard@wallaby proc]$ cat /sys/class/rfkill/rfkill1/name ath9k-phy0::rfkill [bernhard@wallaby proc]$ cat /sys/class/rfkill/rfkill1/state 1 [bernhard@wallaby ~]$ lsmod |grep ath ath9k 356404 0 mac80211 211488 1 ath9k cfg80211 78152 2 ath9k,mac80211 rfkill 13108 4 ath9k,acer_wmi led_class 5112 2 ath9k,acer_wmi [bernhard@wallaby ~]$ dmesg |grep ath ath9k 0000:05:00.0: enabling device (0000 -> 0002) ath9k 0000:05:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 ath9k 0000:05:00.0: setting latency timer to 64 phy0: Selected rate control algorithm 'ath9k_rate_control' Registered led device: ath9k-phy0::radio Registered led device: ath9k-phy0::assoc Registered led device: ath9k-phy0::tx Registered led device: ath9k-phy0::rx ################################################# ##################################################### #### Log with 2.6.31 Kernel (Wifi is not working) ### ##################################################### -> /sys/class/rfkill/rfkill1/ does not exist any longer [bernhard@wallaby ~]$ cat /sys/class/rfkill/rfkill0/name acer-wireless [bernhard@wallaby ~]$ cat /sys/class/rfkill/rfkill0/state 0 [bernhard@wallaby ~]$ dmesg |grep ath ath9k 0000:05:00.0: enabling device (0000 -> 0002) ath9k 0000:05:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 ath9k 0000:05:00.0: setting latency timer to 64 ath9k 0000:05:00.0: PCI INT A disabled ##################################################### Steps to reproduce: Upgrade to 2.6.31 kernel from testing. If any further information would be useful, I will happily provide it. |
This task depends upon
Additionally I attach complete dmesg-output for both working and non-working kernel versions
[Working]
dmesg |grep -C5 ath -> http://pastebin.com/f37bd2273
dmesg (full) -> http://pastebin.com/ff451c78
[Non-Working]
dmesg |grep -C5 ath -> http://pastebin.com/m4c1977d4
dmesg (full) -> http://pastebin.com/m3db5ba1e
Bernhard
It should be related with this: http://bugzilla.kernel.org/show_bug.cgi?id=13807
"...big fixes, as does the ath5k and iwlwifi drivers. One might say that the patches for the iwlwifi drivers are a bit "bigger" than normal -stable material, but the wifi maintainer wants them, so he can handle the fallout..."
[#1] http://lwn.net/Articles/355485/
Now I've tried to set power to 15 dbm (# iwconfig wlan0 power 15) and maybe the situation is getting better.
FYI:
$ lspci -v | grep Ath
06:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Atheros Communications Inc. Device 0200
$ sudo modprobe ath9k
$ ifconfig wlan0
wlan0: error fetching interface information: Device not found
And so I've been hanging out on 2.6.28.
After reading this bug report: http://bugzilla.kernel.org/show_bug.cgi?id=14402, I decided to upgrade to the then testing kernel 2.6.31-6 and found that it has fixed ath9k.
My wireless card works fine in 2.6.30