All of lore.kernel.org
 help / color / mirror / Atom feed
* Mysterious hangs - cfg80211 - ath9k
@ 2012-06-19  8:04 Jon Wikne
  2012-06-19  9:39 ` Mohammed Shafi
  0 siblings, 1 reply; 8+ messages in thread
From: Jon Wikne @ 2012-06-19  8:04 UTC (permalink / raw)
  To: linux-wireless; +Cc: wikne

Hi List,

I am experiencing a puzzling problem with WLAN on a Toshiba Qosmio
F750 laptop, running CERN SLC 5.8 (mostly identical to RHEL 5.8),
but with kernel 2.6.39.4. (The kernel that came with the distro did
not work properly with WLAN on this machine at all.)

What happens is that the WLAN comes up flawlessly, and works well
until it suddenly hangs. This happens when (or seconds after) I see
an entry like the following in the log:

Jun 18 19:04:42 redcat kernel: cfg80211: Calling CRDA to update world 
regulatory domain

I do not understand why cfg80211 does this long after the connection
has been established. If I understand correctly, this "regulatory
domain" business only makes sense when the WLAN interface is started.

Subsequent DHCP requests are issued, but never answered:

Jun 18 19:23:38 redcat dhclient: DHCPREQUEST on wlan0 to 137.138.16.6 
port 67 (xid=0x63998557)
Jun 18 19:24:16 redcat last message repeated 3 times
Jun 18 19:25:30 redcat last message repeated 6 times
.....
Jun 18 19:50:10 redcat dhclient: DHCPREQUEST on wlan0 to 255.255.255.255 
port 67 (xid=0x63998557)
Jun 18 19:50:55 redcat last message repeated 3 times
.....
Jun 18 19:58:41 redcat dhclient: No DHCPOFFERS received.

I interpret this as something has (effectively) been turned off,
but that the drivers do not realize this.

Restarting WLAN when the problem has occurred is simple:

root@redcat 97 # /sbin/ifdown wlan0
root@redcat 98 # /sbin/ifup wlan0

What puzzles me even more is that cfg80211 seems to be activated
and mess up things at highly irregular intervals, ranging from
a few minutes to many hours:

root@redcat 105 # tail -2000l /var/log/messages | grep cfg80211
Jun 17 20:28:51 redcat kernel: cfg80211: Calling CRDA to update world 
regulatory domain
Jun 17 23:09:37 redcat kernel: cfg80211: Calling CRDA to update world 
regulatory domain
Jun 17 23:36:01 redcat kernel: cfg80211: Calling CRDA to update world 
regulatory domain
Jun 18 09:27:59 redcat kernel: cfg80211: Calling CRDA to update world 
regulatory domain
Jun 18 11:57:48 redcat kernel: cfg80211: Calling CRDA to update world 
regulatory domain
Jun 18 18:42:00 redcat kernel: cfg80211: Calling CRDA to update world 
regulatory domain
Jun 18 18:46:49 redcat kernel: cfg80211: Calling CRDA to update world 
regulatory domain
Jun 18 19:04:42 redcat kernel: cfg80211: Calling CRDA to update world 
regulatory domain
Jun 18 22:40:42 redcat kernel: cfg80211: Calling CRDA to update world 
regulatory domain

At the time of writing this (Tue 19 Jun 2012 09:27:54 CEST) the WLAN
has not stopped since the last entry in the above. What on earth is
governing the timing in this?

Some relevant info on the laptop:

root@redcat 108 # lspci
.....
03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless 
Network Adapter (PCI-Express) (rev 01)
.....

root@redcat 109 # lsmod
Module                  Size  Used by
.....
ath9k                  89934  0
mac80211              160999  1 ath9k
ath9k_common            3051  1 ath9k
.....
ath9k_hw              291258  2 ath9k,ath9k_common
ath                    15289  2 ath9k,ath9k_hw
.....
cfg80211              141299  3 ath9k,mac80211,ath

Any ideas will be greatly appreciated. I will be happy to test
patches. Please CC me at jon.wikne@cern.ch since I am not on
the list.


Regards,
-- Jon Wikne

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-10-10 10:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-19  8:04 Mysterious hangs - cfg80211 - ath9k Jon Wikne
2012-06-19  9:39 ` Mohammed Shafi
2012-06-19 18:52   ` Jon Wikne
2012-06-28 14:03     ` Jon Wikne
2012-06-28 14:22       ` Mohammed Shafi
2012-06-28 15:42         ` Jon Wikne
2012-06-29  6:19           ` Mohammed Shafi
2012-10-10  9:38             ` Jon Wikne

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.