From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael and Claire Date: Tue, 20 Jan 2009 13:56:50 +0000 Subject: [ath9k-devel] Oops with AR5008 and ath9k In-Reply-To: <20090119171929.GA26254@tesla> References: <200901190828.16736.Michael.Claire.Anon@gmail.com> <20090119171929.GA26254@tesla> Message-ID: <200901201356.50876.Michael.Claire.Anon@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi Luis, > Please do: > > modprobe -l cfg80211 > modprobe -l mac80211 > modprobe -l ath9k Here is the output of modprobe -l for each module (using compat- wireless-2009-01-19) :- /lib/modules/2.6.27-9-generic/updates/net/wireless/cfg80211.ko /lib/modules/2.6.27-9-generic/updates/net/mac80211/mac80211.ko /lib/modules/2.6.27-9-generic/updates/drivers/net/wireless/ath9k/ath9k.ko Note I have the following in my /etc/modprobe.d/options:- options cfg80211 ieee80211_regdom=EU If I comment this out, and do a depmod -a, then all works:- [ 313.012926] cfg80211: Using static regulatory domain info [ 313.012943] cfg80211: Regulatory domain: US [ 313.012949] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 313.012956] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) [ 313.012964] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 313.012970] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 313.012977] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 313.012984] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 313.012991] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) [ 313.012997] cfg80211: Calling CRDA for country: US [ 342.159188] ath9k: 0.1 [ 342.161262] ath9k 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 342.161286] ath9k 0000:03:00.0: setting latency timer to 64 [ 342.299291] phy0: Selected rate control algorithm 'ath9k_rate_control' [ 342.421479] Registered led device: ath9k-phy0:radio [ 342.421840] Registered led device: ath9k-phy0:assoc [ 342.422119] Registered led device: ath9k-phy0:tx [ 342.422369] Registered led device: ath9k-phy0:rx [ 342.422385] phy0: Atheros AR5418 MAC/BB Rev:2 AR5133 RF Rev:81: mem=0xf9000000, irq=17 [ 346.460314] ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 346.555810] NET: Registered protocol family 17 [ 348.594855] wlan0: authenticate with AP f764b628 [ 348.596828] wlan0: authenticated [ 348.596840] wlan0: associate with AP f764b628 [ 348.599255] wlan0: RX AssocResp from ee4c004a (capab=0x401 status=0 aid=4) [ 348.599268] wlan0: associated [ 348.600798] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 348.607684] wlan0: disassociating by local choice (reason=3) [ 358.604058] wlan0: no IPv6 routers present If I modporbe with ieee80211_regdom=US then all still works fine and I can modprobe mac80211 followed by ath9k without problems. If I use ieee80211_regdom=EU when I modprobe cfg80211 it apparently loads ok, followed by mac80211, again apparently OK, but then when I modprobe ath9k we get the Oops. The above is associating with a D-Link DI-624 Switching to an 802.11n capable D-Link DAP-1353 (firmware 2.10) [ 591.852428] wlan0: disassociating by local choice (reason=3) [ 596.126394] wlan0: authenticate with AP f7a1e628 [ 596.128907] wlan0: authenticated [ 596.128919] wlan0: associate with AP f7a1e628 [ 596.139672] wlan0: RX AssocResp from f74a604a (capab=0x431 status=0 aid=1) [ 596.139685] wlan0: associated Connection speed is variously reported between 1 and 54 Mbps however it typically runs at around 16 regardless of what it reports. The AP reports the connection as being 802.11g never 802.11n (laptop and AP will connect at 802.11n using another OS). With either AP there is nothing in dmesg to suggest that the regulatory domain is being recognised and changed from US to EU although both have EU firmware. Regards, Michael