Bug 673764 - ar9170 WLAN connection drops spontaneously
Summary: ar9170 WLAN connection drops spontaneously
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 13
Hardware: i686
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-30 12:33 UTC by Paul Meyers
Modified: 2011-03-04 01:41 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-04 01:41:02 UTC
Type: ---


Attachments (Terms of Use)
Excerpt from /var/log/messages when connection drops (5.73 KB, text/plain)
2011-01-30 12:33 UTC, Paul Meyers
no flags Details
nm-tool output when connection is ok (691 bytes, text/plain)
2011-02-05 17:14 UTC, Paul Meyers
no flags Details
nm-tool output when connection has dropped (426 bytes, text/plain)
2011-02-05 17:16 UTC, Paul Meyers
no flags Details
wpa_supplicant debug log when trying to connect to AP (6.70 KB, text/plain)
2011-02-05 17:17 UTC, Paul Meyers
no flags Details

Description Paul Meyers 2011-01-30 12:33:57 UTC
Created attachment 476029 [details]
Excerpt from /var/log/messages when connection drops

Description of problem:
My WLAN connection drops spontaneously after a few minutes without any obvious reason. When this happens a dialog box asks me for the SSID and password which are already prefilled correctly. Clicking on "connect" fails to re-establish the connection and the dialog box re-appears. I have to replug my USB WLAN stick to get the connection working again (for a few minutes ...).

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Let NetworkManager establish a WLAN connection
2. Wait a few minutes
3.
  
Actual results:
WLAN connection drops

Expected results:
WLAN connection stays alive

Additional info:
Fritz!WLAN USB Stick N
dmesg: usb 2-1.7: Atheros AR9170 is registered as 'phy0'
I attached the info from /var/log/messages corresponding to the connection failure.

Comment 1 Jirka Klimes 2011-02-01 15:04:48 UTC
Could you grab output of nm-tool?
Do you see any errors in dmesg?

And also please follow procedure in "Debugging WiFi Connections" section of http://live.gnome.org/NetworkManager/Debugging to get more detailed logs.
Thanks.

Comment 2 Paul Meyers 2011-02-05 17:14:38 UTC
Created attachment 477217 [details]
nm-tool output when connection is ok

Comment 3 Paul Meyers 2011-02-05 17:16:08 UTC
Created attachment 477219 [details]
nm-tool output when connection has dropped

Comment 4 Paul Meyers 2011-02-05 17:17:36 UTC
Created attachment 477220 [details]
wpa_supplicant debug log when trying to connect to AP

Comment 5 Paul Meyers 2011-02-05 17:21:09 UTC
Find the output from nm-tool and wpa_supplicant attached. In dmesg the only unusual thing I see is "usb 2-1.7: kill pending tx urbs". Don't know if that's related.

To check that the AP is ok I established a WLAN connection with my laptop (iwl3945 driver) while my desktop PC failed to connect. No problems there.

Comment 6 Jirka Klimes 2011-02-09 12:58:48 UTC
Hmm, looks like a bug in ar9170usb driver. It has problems with scanning.
See e.g. https://bugzilla.gnome.org/show_bug.cgi?id=620218

There is a newer driver carl9170, though it is included in kernel starting from 2.6.37. You have to compile it yourself for previous kernels.
http://linuxwireless.org/en/users/Drivers/carl9170

Comment 7 Paul Meyers 2011-02-13 12:21:49 UTC
How do I compile and install the driver? That page doesn't seem to be very everyman-friendly.

Comment 8 Jirka Klimes 2011-02-17 13:53:37 UTC
(In reply to comment #7)
> How do I compile and install the driver? That page doesn't seem to be very
> everyman-friendly.

See http://linuxwireless.org/en/users/Download

Download bleeding-edge compat-wireless package and compile that.

Comment 9 Paul Meyers 2011-02-22 16:33:38 UTC
Problem seems to be gone with the carl9170 driver. However, I had to blacklist the ar9170usb driver to prevent modprobe from producing a stack trace on udev startup.

The downside is of course that I'll have to recompile it everytime the kernel is updated. Will there be a backport of a newer kernel for F13?

Comment 10 Dan Williams 2011-02-25 06:59:46 UTC
Not really sure; that's up to the kernel team, but at this point, your best bet is to move to Fedora 14 as F13 isn't supported past June 2011.

Comment 11 John W. Linville 2011-02-25 18:47:53 UTC
FWIW, I'm trying to get the toolchain packages approved so that we can build the firmware packages for Fedora.  See bug 674930 and bug 674931 if you are interested.

Comment 12 Paul Meyers 2011-03-02 18:19:33 UTC
The ar9170usb driver of Fedora 14 seems to be stable.

Comment 13 Chuck Ebbert 2011-03-04 01:41:02 UTC
Closing as fixed in F14


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