Bug 785409 - After update to kernel 3.2.2-1 Atheros wireless fails to connect if using WEP Security
Summary: After update to kernel 3.2.2-1 Atheros wireless fails to connect if using WEP...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 16
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: John W. Linville
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 789159 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-28 19:17 UTC by Bill Gianopoulos
Modified: 2012-09-06 14:09 UTC (History)
16 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-02-13 15:04:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
/var/log/messages of from connecting to wireless network. (30.70 KB, text/plain)
2012-01-29 09:09 UTC, Andy Campbell
no flags Details
sanity revert patch to narrow down the issue (1.77 KB, patch)
2012-01-31 06:01 UTC, Mohammed Shafi
no flags Details | Diff
bz785409.patch (2.92 KB, patch)
2012-02-01 22:06 UTC, John W. Linville
no flags Details | Diff
latest fix for WEP issue (720 bytes, patch)
2012-02-03 07:26 UTC, Mohammed Shafi
no flags Details | Diff

Description Bill Gianopoulos 2012-01-28 19:17:04 UTC
Description of problem: Can't connect to a wireless network the uses WEP security (neither 40 nor 128 bit work).  WPA and WPA2 seem to work fine.


Version-Release number of selected component (if applicable): kernel-3.2.2-1.fc16
lshw identifies the device as: AR928X Wireless Network Adapter (PCI-Express)


How reproducible: always


Steps to Reproduce:
1. Try to connect to a wireless network that uses WEP security

  
Actual results: Does not connect and re-prompts for the WEP key.


Expected results: It should connect.


Additional info: I have 2 other fedora 16 laptops that use different wireless cards that do not exhibit this issue.

Comment 1 Andy Campbell 2012-01-29 09:06:13 UTC
I've got an AR9285 in an Acer One Aspire One Netbook

The latest kernel upgrade to 3.2.2-1 has stopped it connecting to my WEP wireless network.

It seems to get the an IP address, DNS set up ok,  but pinging any other machine on the network gives Destination Host Unreachable.

Rebooting on the previous kernel works fine.

Comment 2 Andy Campbell 2012-01-29 09:09:30 UTC
Created attachment 558129 [details]
/var/log/messages of from connecting to wireless network.

Comment 3 Al-Scandar Solstag 2012-01-29 13:36:26 UTC
Same problem as Andy here.

Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

Problem is specific to WEP authentication.

Ni!

Comment 4 Mohammed Shafi 2012-01-30 16:00:42 UTC
thanks, looks like a problem will dig into this tomorrow, not pinging right?
iw dev wlanX link seems to be okay

Comment 5 Mohammed Shafi 2012-01-30 16:13:37 UTC
just checked with ath9k_htc seems to ping, so looks like a soldi bug in ath9k when pinging. will check it out tomorrow with debugs.

Comment 6 Al-Scandar Solstag 2012-01-30 21:07:39 UTC
Ni! Yes, not even pinging any address other than localhost's. Thank you Mohammed, if you need any help, to debug or test, let us know. []s ale

Comment 7 Mohammed Shafi 2012-01-31 06:00:18 UTC
please apply the revert patch attached. need to analyze if it exposes some other issue which need to be fixed.
you can do quick check by
http://linuxwireless.org/en/users/Download#Where_to_download_bleeding_edge

Comment 8 Mohammed Shafi 2012-01-31 06:01:53 UTC
Created attachment 558527 [details]
sanity revert patch to narrow down the issue

Comment 9 Neil Horman 2012-01-31 13:36:00 UTC
I'm seeing this problem on my f16 laptop as well since the update to 3.2.2.  John, I can test/build/query whatever you need on this bz.

Comment 10 Shlomi Fish 2012-01-31 17:41:40 UTC
Hi!

I can reproduce this problem on Mageia Linux 2/Cauldron on an Acer x86-64 laptop. More details are here:

https://bugs.mageia.org/show_bug.cgi?id=4309

I've tried it with the vanilla 3.2.2 kernel from kernel.org and got the same problem.

Regards,

-- Shlomi Fish

Comment 11 jiannis 2012-02-01 20:52:06 UTC
I have the same problem after update to 3.2.2 but this doesnt happen only with wep security. i encounter with wpa security too. I tried to connect through a cable without success. I do not know why. My network controller is a ralink (rt2860) and the ethernet controller is Atheros.

Comment 12 Bill Gianopoulos 2012-02-01 21:06:37 UTC
(In reply to comment #11)
> I have the same problem after update to 3.2.2 but this doesnt happen only with
> wep security. i encounter with wpa security too. I tried to connect through a
> cable without success. I do not know why. My network controller is a ralink
> (rt2860) and the ethernet controller is Atheros.

Tis would be a completely separate issue.  You should file a new bug.

Comment 13 John W. Linville 2012-02-01 22:06:39 UTC
Created attachment 558925 [details]
bz785409.patch

Test patch from Felix Fietkau...

Comment 14 John W. Linville 2012-02-01 22:07:52 UTC
Test kernels w/ above patch are building now:

http://koji.fedoraproject.org/koji/taskinfo?taskID=3753624

Please give them a try and post the result here...thanks!

Comment 15 Mohammed Shafi 2012-02-03 07:10:32 UTC
(In reply to comment #7)
> please apply the revert patch attached. need to analyze if it exposes some
> other issue which need to be fixed.
> you can do quick check by
> http://linuxwireless.org/en/users/Download#Where_to_download_bleeding_edge

oops we have
http://people.redhat.com/sgruszka/compat_wireless.html
http://people.redhat.com/sgruszka/compat-wireless-next/F-16/

Comment 16 Mohammed Shafi 2012-02-03 07:13:41 UTC
(In reply to comment #13)
> Created attachment 558925 [details]
> bz785409.patch
> 
> Test patch from Felix Fietkau...

John that does not seem to work as 
http://www.spinics.net/lists/linux-wireless/msg84278.html
the newer one seems to work

Comment 17 Mohammed Shafi 2012-02-03 07:26:34 UTC
Created attachment 559241 [details]
latest fix for WEP issue

John added the latest wep fix patch proposed by Felix

Comment 18 Andy Campbell 2012-02-03 08:09:51 UTC
Koji Kernel didn't work for me 

uname -a
Linux aurora 3.2.2-1.bz785409.1.fc16.x86_64 #1 SMP Wed Feb 1 21:46:35 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

ifconfig wlan0

wlan0     Link encap:Ethernet  HWaddr 70:F1:A1:77:0B:2A  
          inet addr:192.168.1.14  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::72f1:a1ff:fe77:b2a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:181 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1043 (1.0 KiB)  TX bytes:14988 (14.6 KiB)

ping 192.168.1.1

PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.14 icmp_seq=1 Destination Host Unreachable
From 192.168.1.14 icmp_seq=4 Destination Host Unreachable
From 192.168.1.14 icmp_seq=5 Destination Host Unreachable
^C
--- 192.168.1.1 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4000ms
pipe 2

Comment 19 John W. Linville 2012-02-03 19:06:59 UTC
Updated test kernels building now:

http://koji.fedoraproject.org/koji/taskinfo?taskID=3760072

When they finish building, please give them a try and post the results here...thanks!

Comment 20 Bill Gianopoulos 2012-02-03 22:16:30 UTC
(In reply to comment #19)
> Updated test kernels building now:
> 
> http://koji.fedoraproject.org/koji/taskinfo?taskID=3760072
> 
> When they finish building, please give them a try and post the results
> here...thanks!

I can verify that this fixes the issue I originally reported when I filed this bug.

Comment 21 Shlomi Fish 2012-02-04 15:16:45 UTC
> Created attachment 559241 [details]
> latest fix for WEP issue

> John added the latest wep fix patch proposed by Felix

Thanks! That fixes the problem with the vanilla 3.2.2 kernel on Mageia Linux 2/Cauldron.

Comment 22 John W. Linville 2012-02-06 17:55:21 UTC
Added the upstream version of the patch to f16 -- should be available in the next f16 kernel update.

Comment 23 Jerry 2012-02-07 03:00:35 UTC
I assume its not in 3.2.3 since that still does not work for me.  By upstream do you mean 3.2.4 ?  The next update will automatically delete my only working kernel, 3.2.1, so I need to be careful when the update comes in to test before deleting anything.

Comment 24 gavinw 2012-02-07 12:02:59 UTC
I have the same problem after update to 3.2.2. The kernel 3.2.3 does not fix the problem. AR9485 Wireless Network Adapter doesn't work. I hope the next update will fix the problem.

Comment 25 John W. Linville 2012-02-07 14:17:33 UTC
3.2.3 was already out, so "next f16 kernel update" would be something later. :-)

If you are afraid of losing 3.2.1, then you should delete 3.2.2 and 3.2.3 before doing any more updates.

Comment 26 markusN 2012-02-07 20:23:30 UTC
On my FC16, it worked including kernel 3.1.9, since kernel 3.2 the connection
to WEP fails in the "waiting for authentication" state. Even the new
3.2.3-2.fc16.x86_64 does not help. So I have to keep kernel 3.1.9...

This is the dmesg of 3.2.3-2.fc16.x86_64

[   34.776350] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   34.804471] r8169 0000:03:00.0: p6p1: link down
[   34.834719] ADDRCONF(NETDEV_UP): p6p1: link is not ready
[   37.545849] wlan0: authenticate with 02:d9:98:70:4a:36 (try 1)
[   37.548729] wlan0: authenticated
[   37.549107] wlan0: associate with 02:d9:98:70:4a:36 (try 1)
[   37.551863] wlan0: RX AssocResp from 02:d9:98:70:4a:36 (capab=0x411 status=0 aid=2)
[   37.551873] wlan0: associated
[   37.551882] wlan0: moving STA 02:d9:98:70:4a:36 to state 1
[   37.551887] wlan0: moving STA 02:d9:98:70:4a:36 to state 2
[   37.553212] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   37.554789] wlan0: moving STA 02:d9:98:70:4a:36 to state 3
[   45.730201] fuse init (API version 7.17)
[   45.738728] SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
[   45.753852] SELinux: initialized (dev fusectl, type fusectl), uses genfs_contexts
[   48.258097] wlan0: no IPv6 routers present
[   61.602208] hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
[   65.589311] lp: driver loaded but no devices found
[   65.639220] ppdev: user-space parallel port driver
[   83.210884] wlan0: deauthenticating from 02:d9:98:70:4a:36 by local choice (reason=3)
[   83.215116] wlan0: moving STA 02:d9:98:70:4a:36 to state 2
[   83.215120] wlan0: moving STA 02:d9:98:70:4a:36 to state 1
[   83.215122] wlan0: moving STA 02:d9:98:70:4a:36 to state 0
[   83.222139] cfg80211: Calling CRDA to update world regulatory domain
[   83.231424] cfg80211: World regulatory domain updated:
[   83.231428] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   83.231431] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   83.231434] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   83.231437] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   83.231440] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   83.231442] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   83.231461] cfg80211: Calling CRDA for country: IT
[   83.238236] cfg80211: Regulatory domain changed to country: IT
[   83.238240] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   83.238243] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   83.238246] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   83.238248] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   83.238251] cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)

(nothing more happens)

Comment 27 John W. Linville 2012-02-07 20:48:46 UTC
I guess comment 22 and comment 25 are unclear -- kernel-3.2.3-2.fc16 does _NOT_ have the ath9k WEP fix.  The next f16 update should have it.

Comment 28 Dušan 2012-02-08 21:18:37 UTC
I have too problems with Atheros WiFi on ASUS K53SV notebook:

03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

after upgrade to 3.2.x kernel i get problems with internet connection - connecting to router with WEP is OK, sometimes it asks for password repeatly but after connection, internet dont work(web server dont found in firefox).

CAN you please urgently release patched kernel?
I can give more informations if you need.
Thanks.

Comment 29 Dušan 2012-02-08 22:04:12 UTC
Problem is fixed for me with installing your test kernel at:
http://koji.fedoraproject.org/koji/taskinfo?taskID=3760072


THANKS a LOT!

Comment 30 Dušan 2012-02-09 08:19:25 UTC
after installing this PAE kernel and PAE-devel kernel, i lostet switcheroo module
/sys/kernel/debug/vgaswitcheroo/switch

is that normal?

Comment 31 markusN 2012-02-12 09:16:35 UTC
Great, the update to 3.2.5-3.fc16.x86_64 brought the wifi connectivity 
back. Thanks!

Comment 32 gavinw 2012-02-12 14:04:03 UTC
Awesome, the kernel 3.2.5-3.fc16 fixed the problem. Thanks!

Comment 33 Josh Boyer 2012-09-06 14:09:14 UTC
*** Bug 789159 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.