Skip to contentSkip to conversation

openwrt - ath9k does not load: probe of ath9k failed with error -22

ath9k-devel Florian Reitmeir 2 participants 2 messages Nov 8, 2009 – Nov 9, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

i do own 2 linksys wrt160nl, which use ath9k.

i flashed both in the last weeks several times, and ath9k was loading nice. since yesterday, one of them can't load ath9k anymore. reflashing with the original firmware of linksys didn't help.

here the kernel dmesg:

ath9k ath9k: failed to initialize device
ath9k: probe of ath9k failed with error -22

i use openwrt trunk, with compat wireless from 3.11.2009. is the device broken? if not how to tell, how do debug?

thanks

Signature · 1 line
Florian Reitmeir
#1 lore raw
Quoted 4 lines · Florian Reitmeir

Hi,

i do own 2 linksys wrt160nl, which use ath9k.

Quoted 8 lines

i flashed both in the last weeks several times, and ath9k was loading nice. since yesterday, one of them can't load ath9k anymore. reflashing with the original firmware of linksys didn't help.

here the kernel dmesg:

ath9k ath9k: failed to initialize device
ath9k: probe of ath9k failed with error -22

On what kernel? We've seen one case now where on a specific x86 platform some new changes instroduced on 2.6.32 rounded up the PCI memory area incorrectly and had an impact on devices like sky and ath9k. For more information please see:

http://bugzilla.kernel.org/show_bug.cgi?id=14402

There is a fix for this now available and in Linus' tree.

But -- wrt160nl doesn't run x86 :) I take it, so... lets see.

Quoted 2 lines

i use openwrt trunk, with compat wireless from 3.11.2009. is the device broken? if not how to tell, how do debug?

You want to enable debugging as I explained to the user on the bug report above. In the bug report you can find the same exact situation and how I explain to get more information to further debug this issue.

Please post your dmesg logs once you get debugging enabled, and enable it completely and load.

Compat-wireless could use a fix for ./scripts/driver-select ath9k to enable ath9k debugging, but I haven't gotten around to it yet so for now please just compile all the drivers.

Luis