RE: [ath9k-devel] can ath9k run on linux 2.6.25

Zhang Yanfei-B21500
2010-02-11T03:03:19Z

Hi Luis

I am porting the compat-wireless-2.6.32-3 to my powerpc platform
with 2.6.25 kernel. After disable the LED marco in config.mk i have
compile it sucess. but when i load it , it show below error messages,
anyone can help on this?
the kernel modules manually load order is below: am i right ?
1. rfkill_backport
2. cfg_802.11
3. mac80211
4. ath
5. ath9k
#insmod rfkill_backport.ko
rfkill_backport: Unknown symbol dev_set_name
insmod: cannot insert 'rfkill_backport.ko': unknown symbol in module
(-1): No such file or directory

i found that the compat-2.6.26 have the dev_set_name function, but
compat-2.6.25 don't have this.
In new kernel(2.6.29) it's is device/base/core.c, then i try to copy
the function into my 2.6.25 kernel.
but it loss the 'kobject_set_name_vargs', here is the compile
information.
$drivers/base/core.c: In function 'dev_set_name':
$drivers/base/core.c:880: error: implicit declaration of function
'kobject_set_name_vargs'

Regards
Yanfei

> -----Original Message-----
> From: Luis R. Rodriguez [mailto:lrodriguez@Atheros.com]
> Sent: Wednesday, February 10, 2010 1:10 AM
> To: Zhang Yanfei-B21500
> Cc: Jinsung Lee; Luis R. Rodriguez;
> ath9k-devel@venema.h4ckr.net; linux-wireless@vger.kernel.org
> Subject: Re: [ath9k-devel] can ath9k run on linux 2.6.25
>
> On Mon, Feb 08, 2010 at 10:36:09PM -0800, Zhang Yanfei-B21500 wrote:
> > Hi Guys
> >
> > Thanks a lot... Good news. Do you have porting to 2.6.25
> > successfully with good performace also ?
>
> It should be OK for the release without the multiqueue backported.
> Multiqueue was added back on the 2.6.32.4 release so 2.6.32.3
> should be the last release without it. That I believe was
> tested to work well with ath9k.
>
> After that I have not received any feedback with respect to
> the multiqueue backport. Feedback on that is appreciated.
>
> > I am going to porting it to a powerpc board base on 2.6.25 kernel.
>
> You should not need to do much but just test. Can you please
> let me know.
>
> This one should just work:
>
> http://www.orbit-lab.org/kernel/compat-wireless-2.6-stable/v2.
> 6.32/compat-wireless-2.6.32.3.tar.bz2
>
> Newer stable kernels after this required multiqueue
> backported which I gave a try but haven't gotten reports from
> users on:
>
> http://bombadil.infradead.org/~mcgrof/tmp/compat-wireless-2.6.
> 32.5-rc3.tar.bz2
>
> Luis
>
>