Bug 12702 (raw) - ath5k modul disconnect with Access-Point
Summary: ath5k modul disconnect with Access-Point
Status: CLOSED INSUFFICIENT_DATA
Alias: raw
Product: Networking
Classification: Unclassified
Component: Wireless (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: networking_wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-14 04:17 UTC by Tobias
Modified: 2010-02-26 16:49 UTC (History)
4 users (show)

See Also:
Kernel Version: 2.6.28-ARCH
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Tobias 2009-02-14 04:17:05 UTC
Latest working kernel version: /
Earliest failing kernel version: /
Distribution: Arch Linux 2008 
Hardware Environment: 00:00.0 Host bridge: ATI Technologies Inc Radeon Xpress 7930 Host Bridge
00:02.0 PCI bridge: ATI Technologies Inc RS7933 PCI Bridge
00:05.0 PCI bridge: ATI Technologies Inc Device 7935
00:06.0 PCI bridge: ATI Technologies Inc RS7936 PCI Bridge
00:07.0 PCI bridge: ATI Technologies Inc Device 7937
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 14)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
01:00.0 VGA compatible controller: ATI Technologies Inc M64-S [Mobility Radeon X2300]
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
05:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8039 PCI-E Fast Ethernet Controller (rev 15)

Software Environment:
Problem Description: I have an problem with the ath5k modul which is supporting my Atheros 242x chip. I connect my laptop with my Access-Point ( WEP ) with dhcpcd. After some time the modul disconnect me with my access-point with these info out of dmesg :

wlan0: No ProbeResp from current AP 00:1d:19:3e:e1:ba - assume out of range

just a reboot helps.

This is with any other Distribution the same problem

Steps to reproduce: None.
Comment 1 Aleksey Nogin 2009-04-29 05:00:22 UTC
I am seeing the same problem on CentOS 5.3 with kernel-2.6.18-128.1.6.el5. After the "assume out of range" message:
 - The card is dead, iwconfig reports "not associated"
 - Attempt to do something (e.g. turn the card off, rmmod, etc) results in the call freezing.
 - Only reboot (hard reboot because of the freeze) helps.

The module reports the card as:

ath5k phy0: Atheros AR5414 chip found (MAC: 0xa5, PHY: 0x61)
Comment 2 Aleksey Nogin 2009-04-29 05:16:43 UTC
P.S. Forgot to mention - this is on a dual-core 64-bit Athlon
Comment 3 Bob Copeland 2009-04-29 12:09:34 UTC
This is normal: if a probe response fails, then you will get disconnected -- this happens with all other wireless hardware.  I'm curious why you need to reboot to fix it.  Can't you just re-associate with the AP?  NetworkManager or wpa_supplicant daemons will do this automatically.
Comment 4 Bob Copeland 2009-04-29 12:13:54 UTC
(In reply to comment #1)
> I am seeing the same problem on CentOS 5.3 with kernel-2.6.18-128.1.6.el5.
> After the "assume out of range" message:
>  - The card is dead, iwconfig reports "not associated"
>  - Attempt to do something (e.g. turn the card off, rmmod, etc) results in
>  the
> call freezing.

Rmmod hangs, or the whole computer hangs?  Can you reproduce this on a vanilla kernel?

If the whole computer hangs, try to remove the module while you're on a text VT, and take a picture of the oops if there is one.
Comment 5 Aleksey Nogin 2009-04-29 15:17:52 UTC
I am not sure how to get it to reassociate. In my case, there is no WEP or anything, no NetworkManager, no wpa_supplicant, just plain "ifup" script (that uses ifconfig/iwconfig/etc). If I try to bring the interface down so that I can bring it back up, the process freezes. After that even a simple "iwconfig" (without arguments) would freeze.

P.S. Do not have time to mess with vanilla kernel, sorry.
P.P.S. For now I removed the ath5k module and installed madwifi - seems to work OK.
Comment 6 Bob Copeland 2009-04-29 16:30:04 UTC
(In reply to comment #5)
> I am not sure how to get it to reassociate. In my case, there is no WEP or
> anything, no NetworkManager, no wpa_supplicant, just plain "ifup" script
> (that
> uses ifconfig/iwconfig/etc). If I try to bring the interface down so that I
> can
> bring it back up, the process freezes. After that even a simple "iwconfig"
> (without arguments) would freeze.

Well, that definitely sounds like some kind of locking problem.  However, since I have no idea what centos has in its kernel (2.6.18 is very old -- I assume it is heavily patched), I can't really say if it's a problem in the current kernel or not, except that I haven't seen that here.  It is probably worth reporting that to CentOS so others can benefit if they made a back-porting mistake.

> P.P.S. For now I removed the ath5k module and installed madwifi - seems to
> work
OK.

Ok - I hope it works better for you in the future.
Comment 7 John W. Linville 2009-06-16 17:32:53 UTC
Disregarding the CentOS problem...FWIW, I think current RHEL kernels fix the issue reported -- http://people.redhat.com/dzickus/el5

Does the original reporter still see this problem with current (i.e. 2.6.30 or later) upstream kernels?
Comment 8 John W. Linville 2010-02-26 16:49:24 UTC
Closed due to lack of response...

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