Skip to contentSkip to conversation

Kernel 2.6.27 Catch-22

ath9k-devel Partha Bagchi 2 participants 3 messages Oct 4, 2008 – Oct 5, 2008

lore
Share & tools
lore
#0 lore raw

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? :)

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)

Then I am dead in the water. Moreover, the 2.6.26 kernel (with the compat-wireless-2.6-old) ath9k module will also not connect to the router.

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?

Thanks in advance, and really appreciate all the help I have received so far.

Partha

#1 lore raw
Quoted 9 lines · Partha Bagchi

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?

Quoted 4 lines

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.

Quoted 1 line

Then I am dead in the water.

Why? Please see:

http://wireless.kernel.org/en/users/Reporting_bugs

Quoted 3 lines

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.

Quoted 8 lines

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

#2 lore raw

Hi Luis,

Thanks for the response. As per your suggestion, I have filed a bug against ath9k in rawhide.

Quoted 15 lines · Luis R. Rodriguez
Quoted 9 lines · Partha Bagchi

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

Quoted 8 lines

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

Quoted 44 lines
Quoted 6 lines

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.

Quoted 1 line

Then I am dead in the water.

Why? Please see:

http://wireless.kernel.org/en/users/Reporting_bugs

Quoted 3 lines

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.

Quoted 8 lines

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.

Quoted 5 lines

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