Bug 43077

Summary: The 3.3.1 has a regression in ath9k (at least on Lenovo IdeaPad s10-3)
Product: Platform Specific/Hardware Reporter: Damjan Georgievski (gdamjan)
Component: x86-64Assignee: platform_x86_64 (platform_x86_64)
Status: RESOLVED CODE_FIX    
Severity: normal CC: alan, exi+kernel, sujith, v
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.3.1 Subsystem:
Regression: No Bisected commit-id:

Description Damjan Georgievski 2012-04-09 12:27:27 UTC
On this Lenovo IdeaPad s10-3 netbook 3.3.1 couldn't connect to my home wifi (WPA protected) when 3.3.0 worked just fine. I reverted the db6a6a78d8602964c9dfb1d8ce18daefd92da0a7 commit and rebuilt the ath9k* modules and it started working again.

So something in that commit is not right.
The error in dmesg was just 'a timeout while authenticating'
Comment 1 exi+kernel 2012-04-12 11:55:38 UTC
I can confirm this bug. I am also experiencing authentication timeouts.
Removing and reinserting the kernel module brings it back to life.

Here some infos:
Kernel:
Linux 3.3.1-gentoo #1 SMP PREEMPT Tue Apr 10 15:12:53 CEST 2012 x86_64 Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz GenuineIntel GNU/Linux

07:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
        Subsystem: AzureWave AW-NE771 802.11bgn Wireless Mini PCIe Card [AR9281]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 17
        Region 0: Memory at fe9f0000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: ath9k


Kernel 3.3.0 worked fine for me too.
Comment 2 Vadim Dyadkin 2012-04-13 12:18:45 UTC
The same for me. This bug sees as a duplicate of 43077.
In my dmesg also there is a warning

Apr  8 23:25:12 kato kernel: wlan0: deauthenticating from c6:8e:37:e4:ab:4a by local choice (reason=3)
Apr  8 23:25:12 kato kernel: ------------[ cut here ]------------
Apr  8 23:25:12 kato kernel: WARNING: at net/wireless/mlme.c:309 cfg80211_send_auth_timeout+0x6d/0xd0 [cfg80211]()
Apr  8 23:25:12 kato kernel: Hardware name: VPCCW2S1R
Apr  8 23:25:12 kato kernel: Modules linked in: ipt_MASQUERADE iptable_nat nf_nat xt_recent xt_tcpudp nf_conntrack_i
pv4 nf_defrag_ipv4 xt_state nf_conntrack ipv6 iptable_filter ip_tables x_tables fuse vboxnetflt(O) vboxnetadp(O) pci
_stub vboxpci(O) vboxdrv(O) nfs auth_rpcgss lockd sunrpc nvidia_bl(O) usbhid hid uvcvideo videobuf2_vmalloc videobuf
2_memops videobuf2_core videodev v4l2_compat_ioctl32 nvidia(PO) btusb bluetooth sr_mod snd_hda_codec_hdmi cdrom arc4
 snd_hda_codec_realtek ath9k ath9k_common ath9k_hw ath mac80211 cfg80211 ehci_hcd usbcore snd_hda_intel snd_hda_code
c snd_hwdep snd_pcm snd_page_alloc snd_timer usb_common sdhci_pci i2c_i801 sdhci snd battery video i2c_core psmouse
evdev sony_laptop sky2 mmc_core ac rtc_cmos button backlight rfkill soundcore unix
Apr  8 23:25:12 kato kernel: Pid: 522, comm: kworker/u:5 Tainted: P           O 3.3.1-gentoo #1
Apr  8 23:25:12 kato kernel: Call Trace:
Apr  8 23:25:12 kato kernel: [<ffffffff8102eb5b>] ? warn_slowpath_common+0x7b/0xc0
Apr  8 23:25:12 kato kernel: [<ffffffffa01aab0d>] ? cfg80211_send_auth_timeout+0x6d/0xd0 [cfg80211]
Apr  8 23:25:12 kato kernel: [<ffffffff81056a7e>] ? try_to_wake_up+0x1de/0x290
Apr  8 23:25:12 kato kernel: [<ffffffffa0271e21>] ? ath9k_config+0x281/0x530 [ath9k]
Apr  8 23:25:12 kato kernel: [<ffffffffa01d5858>] ? ieee80211_probe_auth_done+0xf8/0x110 [mac80211]
Apr  8 23:25:12 kato kernel: [<ffffffff8133d83a>] ? __mutex_unlock_slowpath+0x3a/0x50
Apr  8 23:25:12 kato kernel: [<ffffffffa01d8f7e>] ? ieee80211_work_work+0x4ee/0x14f0 [mac80211]
Apr  8 23:25:12 kato kernel: [<ffffffff812a46ae>] ? skb_dequeue+0x5e/0x80
Apr  8 23:25:12 kato kernel: [<ffffffffa01d8a90>] ? free_work+0x20/0x20 [mac80211]
Apr  8 23:25:12 kato kernel: [<ffffffff81043d6f>] ? process_one_work+0x10f/0x380
Apr  8 23:25:12 kato kernel: [<ffffffff8104667e>] ? worker_thread+0x15e/0x330
Apr  8 23:25:12 kato kernel: [<ffffffff81052280>] ? __wake_up_common+0x50/0x80
Apr  8 23:25:12 kato kernel: [<ffffffff81046520>] ? manage_workers.clone.22+0x230/0x230
Apr  8 23:25:12 kato kernel: [<ffffffff81046520>] ? manage_workers.clone.22+0x230/0x230
Apr  8 23:25:12 kato kernel: [<ffffffff8104aace>] ? kthread+0x9e/0xb0
Apr  8 23:25:12 kato kernel: [<ffffffff811a0000>] ? aead_geniv_alloc+0x2c0/0x350
Apr  8 23:25:12 kato kernel: [<ffffffff81341c14>] ? kernel_thread_helper+0x4/0x10
Apr  8 23:25:12 kato kernel: [<ffffffff8104aa30>] ? kthread_freezable_should_stop+0x60/0x60
Apr  8 23:25:12 kato kernel: [<ffffffff81341c10>] ? gs_change+0xb/0xb
Apr  8 23:25:12 kato kernel: 
---[ end trace 3a88f303b66412b6 ]---
Comment 3 Vadim Dyadkin 2012-04-13 12:22:07 UTC
Sorry, the bug 43038
Comment 4 Sujith 2012-06-13 15:54:20 UTC
This has been fixed by reverting the offending commit:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=011afa1ed8c408d694957d2474d89dc81a60b70c

This bug can be closed.