From: Partha Bagchi Date: Sun, 5 Oct 2008 14:50:36 -0400 Subject: [ath9k-devel] Kernel 2.6.27 Catch-22 In-Reply-To: <43e72e890810041817u25064995p347f8e02d1090147@mail.gmail.com> References: <43e72e890810041817u25064995p347f8e02d1090147@mail.gmail.com> Message-ID: 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, Thanks for the response. As per your suggestion, I have filed a bug against ath9k in rawhide. On Sat, Oct 4, 2008 at 9:17 PM, Luis R. Rodriguez wrote: > On Sat, Oct 4, 2008 at 4:43 PM, Partha Bagchi wrote: >> Hi All, >> >> I am now on kernel 2.7.27, kernel.i686 0:2.6.27-0.382.rc8.git4.fc10 to be exact. >> >> Here is the catch-22. I downloaded compat-wireless. But making and >> installing it is another matter. Making is fine, however, since FC10 >> (beta) comes with the ath9k module, the compat-wireless ath9k will not >> overwrite it, sort of defeating the whole-purpose of downloading and >> building your own module, don't you think? :) > > compat-wireless stashes the new modules in > > /lib/modules/`uname -r`/updates > > your distribution should put them in > > /lib/modules/`uname -r`/kernel > > updates takes precedence over kernel so compat-wireless should provide > new shiny modules for your kernel to use for you wireless subsystem. > > What does 'modprobe -l ath9k' say? It command says: /lib/modules/2.6.27-0.391.rc8.git7.fc10.i686/kernel/drivers/net/wireless/ath9k/ath9k.ko Moreover, make install (I did this on the previous kernel) says: make install Your old wireless subsystem modules were left intact: /lib/modules/2.6.27-0.382.rc8.git4.fc10.i686/kernel/drivers/net/wireless/adm8211.ko /lib/modules/2.6.27-0.382.rc8.git4.fc10.i686/kernel/drivers/net/wireless/ath5k/ath5k.ko /lib/modules/2.6.27-0.382.rc8.git4.fc10.i686/kernel/drivers/net/wireless/ath9k/ath9k.ko > > >> Also, the built in module fails to connect to my new WNR834Bv2 >> (Netgear N router). Here is the error message: >> >> Oct 4 13:14:16 Bordeaux kernel: wlan0 (WE) : Wireless Event too big (342) > > This is non fatal. IIRC it means the AP is sending large information > elements, some of which can be specific to the vendor. We just can't > handle all of these so we complain. There's a patch Jouni posted to > try to resolve this a little while ago but it seems to have not > addressed 64 bit userland, and a new patch is needed. > > Anyway you can ignore this. > >> Then I am dead in the water. > > Why? Please see: > > http://wireless.kernel.org/en/users/Reporting_bugs > >> Moreover, the 2.6.26 kernel (with the >> compat-wireless-2.6-old) ath9k module will also not connect to the >> router. > > I haven't personally been testing compat-wireless-old but I suspect > others may be. Anyway this is a community effort so hopefully others > interested in backporting may want to look at this. > >> In the make process, I also get the following warning: >> >> /home/downloads/wireless-testing/compat-wireless-2008-10-04/config.mk:44: >> "WARNING: You are running a kernel >= 2.6.23, you >> should enable in it CONFIG_NETDEVICES_MULTIQUEUE for 802.11[ne] support" >> >> Short of rebuilding a generic kernel, is there anyway to connect to >> the N-router? Also, how do overwrite the built-in module? > > 802.11n requires 802.11e support and you cannot achieve this on 2.6.26 > without this option enabled. This option is long gone on 2.6.27 > though. It was added in 2.6.23 and removed on 2.6.26. So you will need > it on 2.6.23-2.6.26. For 2.6.22 we added our own hacks to support this > so you don't need the option enabled. > > You should complain to your distribution to fix this or you can fix > this yourself and recompile your kernel with it. > > Luis > Here is what make still says: make -C /lib/modules/2.6.27-0.382.rc8.git4.fc10.i686/build M=/home/downloads/wireless-testing/compat-wireless-2008-10-04 modul es make[1]: Entering directory `/usr/src/kernels/2.6.27-0.382.rc8.git4.fc10.i686' /home/downloads/wireless-testing/compat-wireless-2008-10-04/config.mk:44: "WARNING: You are running a kernel >= 2.6.23, you should enable in it CONFIG_NETDEVICES_MULTIQUEUE for 802.11[ne] support" Building modules, stage 2. Thanks again, Partha