2007-10-10 11:55:05

by Markus Feldmann

[permalink] [raw]
Subject: Patch for Kernel and Ath5k

Hi All,

i tried to patch the Kernel to get the ATH5k Driver to work but without
success.

It seems i miss some scripts like check.sh

Anybody knows how to get my Problem solved?

bye Markus



2007-10-12 01:51:56

by Bruno Randolf

[permalink] [raw]
Subject: Re: Patch for Kernel and Ath5k

On Thursday 11 October 2007 23:31:48 Markus Feldmann wrote:
> > Shouldn't you be on "everything" ?
> >
> > I'm using:
> >
> > rm -rf wireless-2.6
> > git clone --reference /usr/src/linux-git
> > git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git
> > cd wireless-2.6
> > git checkout -b everything origin/everything
>
> I got this Message when i execute "git clone ...",
> reference repository '/usr/src/linux-git' is not a local directory
> any Idea?

just don't use this option then...

git clone \
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git
cd wireless-2.6
git checkout -b everything origin/everything

-> exactly like its documented in
http://linuxwireless.org/en/users/Drivers/ath5k#Hackingath5k

i know, git can appear overwhelming in the beginnig, but its rather easy once
you get used to it. if you have known subversion before this document gets
you started: http://git.or.cz/course/svn.html

anyhow you should read the instructions...

good luck,
bruno

2007-10-10 12:38:02

by Markus Feldmann

[permalink] [raw]
Subject: Re: Patch for Kernel and Ath5k

bruno randolf schrieb:
> On Wednesday 10 October 2007 21:14:51 Markus Feldmann wrote:
>> Have i to change the dir to /usr/src/linux before i do this above?
>
> nope. just check it out into any directory - this will fetch the current
> 2.6.23-rc9 with the latest wireless developments.
Do you mean it will fetch the whole Kernel Sources, with the
linux-wireless Sources?


2007-10-10 13:35:42

by Markus Feldmann

[permalink] [raw]
Subject: Re: Patch for Kernel and Ath5k

Holger Schurig schrieb:
>> Do you mean it will fetch the whole Kernel Sources, with the
>> linux-wireless Sources?
>
> Yes, it will.
I did what you said, but in the "make menuconfig" do not appear the Option,
<M> Atheros 5xxx wireless cards support

Maybe there is some Option Missing?

Here is what i did,

1.) cd /usr/src
2.) git-clone
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git
3.)cd wireless-2.6
4.)git checkout -b everything origin/everything
5.)make menuconfig
6.)
Networking --->
Wireless --->
<M> Improved wireless configuration API
<M> Generic IEEE 802.11 Networking Stack (mac80211)

Any Idea?


2007-10-11 13:16:25

by Holger Schurig

[permalink] [raw]
Subject: Re: Patch for Kernel and Ath5k

> I do got this,
> feld-bertlap:/usr/src/wireless-2.6# git-branch
> at76
> ath5k
> everything
> mac80211-attic
> mac80211-dungeon
> * master
> master-davem
> merged-upstream
> mm-master
> origin
> pending-stable
> ssb-drivers
> upstream-davem
> zd1211rw-mac80211

Shouldn't you be on "everything" ?

I'm using:

rm -rf wireless-2.6
git clone --reference /usr/src/linux-git git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git
cd wireless-2.6
git checkout -b everything origin/everything

2007-10-10 17:23:31

by Markus Feldmann

[permalink] [raw]
Subject: Re: Patch for Kernel and Ath5k

Markus Feldmann schrieb:
> Holger Schurig schrieb:
>>> Do you mean it will fetch the whole Kernel Sources, with the
>>> linux-wireless Sources?
>>
>> Yes, it will.
> I did what you said, but in the "make menuconfig" do not appear the Option,
> <M> Atheros 5xxx wireless cards support
>
> Maybe there is some Option Missing?
>
> Here is what i did,
>
> 1.) cd /usr/src
> 2.) git-clone
> git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git
> 3.)cd wireless-2.6
> 4.)git checkout -b everything origin/everything
> 5.)make menuconfig
> 6.)
> Networking --->
> Wireless --->
> <M> Improved wireless configuration API
> <M> Generic IEEE 802.11 Networking Stack (mac80211)
>
> Any Idea?
>
I do not find the Entry,
<M> Generic IEEE 802.11 Networking Stack (mac80211)
in the ".config" File.
And i do not find any files in the Sources containig ATH5k?

What is the Name of the Docu File? Or the Source Code File?


2007-10-10 13:37:59

by Nick Kossifidis

[permalink] [raw]
Subject: Re: Patch for Kernel and Ath5k

2007/10/10, Markus Feldmann <[email protected]>:
> Markus Feldmann schrieb:
> > Hi All,
> >
> > i tried to patch the Kernel to get the ATH5k Driver to work but without
> > success.
> >
> > It seems i miss some scripts like check.sh
> >
> > Anybody knows how to get my Problem solved?
> >
> > bye Markus
> >
> Sorry i forgot to say that i am using the kernel Source 2.6.23-rc8 and
> wanna patch this with a Andrew Morton Patch,
> 2.6.23-rc8-mm1
> 2.6.23-rc8-mm2
>
> Can anybody write what i have to do?
>
> I am on Debian Etch. I have got an Atheros Wlan Chip with the ID
> 168c:001c (rev 01).
>
> Thank you and
> bye

001c wont work anyway it uses the newer 5.3 EEPROM that we don't yet support ;-(


--
GPG ID: 0xD21DB2DB
As you read this post global entropy rises. Have Fun ;-)
Nick

2007-10-10 12:15:22

by Markus Feldmann

[permalink] [raw]
Subject: Re: Patch for Kernel and Ath5k

bruno randolf schrieb:
> hi markus!
>
> use git!
>
> git-clone
> git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git
>
> cd wireless-2.6
>
> git checkout -b everything origin/everything
>
Have i to change the dir to /usr/src/linux before i do this above?
After this steps above do i have to activate the ath5k in the "make
menuconfig"?



2007-10-10 18:08:27

by John W. Linville

[permalink] [raw]
Subject: Re: Patch for Kernel and Ath5k

On Wed, Oct 10, 2007 at 05:57:13PM +0200, Markus Feldmann wrote:

> I do not find the Entry,
> <M> Generic IEEE 802.11 Networking Stack (mac80211)
> in the ".config" File.
> And i do not find any files in the Sources containig ATH5k?

config ATH5K
tristate "Atheros 5xxx wireless cards support"
depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL

Did you select EXPERIMENTAL?

John
--
John W. Linville
[email protected]

2007-10-10 13:02:05

by Holger Schurig

[permalink] [raw]
Subject: Re: Patch for Kernel and Ath5k

> Do you mean it will fetch the whole Kernel Sources, with the
> linux-wireless Sources?

Yes, it will.

If you already have a linux source tree in the form of a
git-repository, you can speed up the cloning tremenduously by
using "--reference". See "git clone --help"
or "git-clone --help".

2007-10-10 12:05:50

by Bruno Randolf

[permalink] [raw]
Subject: Re: Patch for Kernel and Ath5k

hi markus!

use git!

git-clone
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git

cd wireless-2.6

git checkout -b everything origin/everything

more info at:
http://linuxwireless.org/en/users/Drivers/ath5k#Hackingath5k

cheers,
bruno

On Wednesday 10 October 2007 20:51:06 Markus Feldmann wrote:
> Hi All,
>
> i tried to patch the Kernel to get the ATH5k Driver to work but without
> success.
>
> It seems i miss some scripts like check.sh
>
> Anybody knows how to get my Problem solved?
>
> bye Markus
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-wireless"
> in the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html



2007-10-10 21:55:45

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: Patch for Kernel and Ath5k

On 10/10/07, John W. Linville <[email protected]> wrote:
> Please respond on the list...
>
> On Wed, Oct 10, 2007 at 10:21:12PM +0200, Markus Feldmann wrote:
> > John W. Linville schrieb:
> > >Please respond on the list...
> > >
> > >On Wed, Oct 10, 2007 at 08:20:34PM +0200, Markus Feldmann wrote:
> > >>
> > >>John W. Linville schrieb:
> > >>>On Wed, Oct 10, 2007 at 05:57:13PM +0200, Markus Feldmann wrote:
> > >>>
> > >>>>I do not find the Entry,
> > >>>><M> Generic IEEE 802.11 Networking Stack (mac80211)
> > >>>>in the ".config" File.
> > >>>>And i do not find any files in the Sources containig ATH5k?
> > >>>config ATH5K
> > >>> tristate "Atheros 5xxx wireless cards support"
> > >>> depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
> > >>>
> > >>>Did you select EXPERIMENTAL?
> > >>What do you mean with EXPERIMENTAL?
> > >>Have i downloaded the wrong Sources with git ?
> > >>
> > >>If so can you please post how you download the EXPERIMENTAL Sources?
> > >
> > >I mean did you answer "y" to this:
> > >
> > > Prompt for development and/or incomplete code/drivers (EXPERIMENTAL)
> > > [Y/n/?]
> > >
> > >How about this?
> > >
> > > Wireless LAN (IEEE 802.11) (WLAN_80211) [Y/n/?]
> > >
> > >And either "y" or "m" to this?
> > >
> > > Generic IEEE 802.11 Networking Stack (mac80211) (MAC80211 [M/n/y/?]
> > >
> > >Answering "n" to any of those will hide ATH5K from your choices.
> > >
> > I have all of this above enabled.
> >
> > Do you also do this,
> > 1.) git-clone
> > git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git
> > 2.) cd wireless-2.6
> > 3.) git checkout -b everything origin/everything
> >
> > At the third Point he says to me that there is nothing to do, because i
> > have got the newest. Maybe there is a Mistake?
>
> That procedure works fine here. I don't know what mistake you
> are making. Did you perhaps checkout one tree inside another?
>
> John
>
> P.S. Make sure you select PCI in your config as well...

Also, if you do:

git-branch

what do you get?

2007-10-10 12:32:23

by Bruno Randolf

[permalink] [raw]
Subject: Re: Patch for Kernel and Ath5k

On Wednesday 10 October 2007 21:14:51 Markus Feldmann wrote:
> Have i to change the dir to /usr/src/linux before i do this above?

nope. just check it out into any directory - this will fetch the current
2.6.23-rc9 with the latest wireless developments.

> After this steps above do i have to activate the ath5k in the "make
> menuconfig"?

sure. and don't expect too much ;) - the driver is under heavy development and
pretty new.

bruno

2007-10-10 13:47:38

by Markus Feldmann

[permalink] [raw]
Subject: Re: Patch for Kernel and Ath5k

Nick Kossifidis schrieb:
> 2007/10/10, Markus Feldmann <[email protected]>:
>> Markus Feldmann schrieb:
>>> Hi All,
>>>
>>> i tried to patch the Kernel to get the ATH5k Driver to work but without
>>> success.
>>>
>>> It seems i miss some scripts like check.sh
>>>
>>> Anybody knows how to get my Problem solved?
>>>
>>> bye Markus
>>>
>> Sorry i forgot to say that i am using the kernel Source 2.6.23-rc8 and
>> wanna patch this with a Andrew Morton Patch,
>> 2.6.23-rc8-mm1
>> 2.6.23-rc8-mm2
>>
>> Can anybody write what i have to do?
>>
>> I am on Debian Etch. I have got an Atheros Wlan Chip with the ID
>> 168c:001c (rev 01).
>>
>> Thank you and
>> bye
>
> 001c wont work anyway it uses the newer 5.3 EEPROM that we don't yet support ;-(
>
>
No Problem. Is there a need for Debugging? I would send you the debug.
So maybe in the future it will work.


2007-10-10 12:01:25

by Markus Feldmann

[permalink] [raw]
Subject: Re: Patch for Kernel and Ath5k

Markus Feldmann schrieb:
> Hi All,
>
> i tried to patch the Kernel to get the ATH5k Driver to work but without
> success.
>
> It seems i miss some scripts like check.sh
>
> Anybody knows how to get my Problem solved?
>
> bye Markus
>
Sorry i forgot to say that i am using the kernel Source 2.6.23-rc8 and
wanna patch this with a Andrew Morton Patch,
2.6.23-rc8-mm1
2.6.23-rc8-mm2

Can anybody write what i have to do?

I am on Debian Etch. I have got an Atheros Wlan Chip with the ID
168c:001c (rev 01).

Thank you and
bye


2007-10-10 13:57:54

by Nick Kossifidis

[permalink] [raw]
Subject: Re: Patch for Kernel and Ath5k

2007/10/10, Markus Feldmann <[email protected]>:
> Nick Kossifidis schrieb:
> > 2007/10/10, Markus Feldmann <[email protected]>:
> >> Markus Feldmann schrieb:
> >>> Hi All,
> >>>
> >>> i tried to patch the Kernel to get the ATH5k Driver to work but without
> >>> success.
> >>>
> >>> It seems i miss some scripts like check.sh
> >>>
> >>> Anybody knows how to get my Problem solved?
> >>>
> >>> bye Markus
> >>>
> >> Sorry i forgot to say that i am using the kernel Source 2.6.23-rc8 and
> >> wanna patch this with a Andrew Morton Patch,
> >> 2.6.23-rc8-mm1
> >> 2.6.23-rc8-mm2
> >>
> >> Can anybody write what i have to do?
> >>
> >> I am on Debian Etch. I have got an Atheros Wlan Chip with the ID
> >> 168c:001c (rev 01).
> >>
> >> Thank you and
> >> bye
> >
> > 001c wont work anyway it uses the newer 5.3 EEPROM that we don't yet support ;-(
> >
> >
> No Problem. Is there a need for Debugging? I would send you the debug.
> So maybe in the future it will work.
>

Thanx a lot ! there are some things we need to fix first before we go
for 5424/2424, i'll let you know if there is anything you can do to
help ;-)

--
GPG ID: 0xD21DB2DB
As you read this post global entropy rises. Have Fun ;-)
Nick

2007-10-10 19:38:32

by John W. Linville

[permalink] [raw]
Subject: Re: Patch for Kernel and Ath5k

Please respond on the list...

On Wed, Oct 10, 2007 at 08:20:34PM +0200, Markus Feldmann wrote:
>
>
> John W. Linville schrieb:
> >On Wed, Oct 10, 2007 at 05:57:13PM +0200, Markus Feldmann wrote:
> >
> >>I do not find the Entry,
> >><M> Generic IEEE 802.11 Networking Stack (mac80211)
> >>in the ".config" File.
> >>And i do not find any files in the Sources containig ATH5k?
> >
> >config ATH5K
> > tristate "Atheros 5xxx wireless cards support"
> > depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
> >
> >Did you select EXPERIMENTAL?
> What do you mean with EXPERIMENTAL?
> Have i downloaded the wrong Sources with git ?
>
> If so can you please post how you download the EXPERIMENTAL Sources?

I mean did you answer "y" to this:

Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?]

How about this?

Wireless LAN (IEEE 802.11) (WLAN_80211) [Y/n/?]

And either "y" or "m" to this?

Generic IEEE 802.11 Networking Stack (mac80211) (MAC80211 [M/n/y/?]

Answering "n" to any of those will hide ATH5K from your choices.

Hth!

John
--
John W. Linville
[email protected]

2007-10-10 21:38:56

by John W. Linville

[permalink] [raw]
Subject: Re: Patch for Kernel and Ath5k

Please respond on the list...

On Wed, Oct 10, 2007 at 10:21:12PM +0200, Markus Feldmann wrote:
> John W. Linville schrieb:
> >Please respond on the list...
> >
> >On Wed, Oct 10, 2007 at 08:20:34PM +0200, Markus Feldmann wrote:
> >>
> >>John W. Linville schrieb:
> >>>On Wed, Oct 10, 2007 at 05:57:13PM +0200, Markus Feldmann wrote:
> >>>
> >>>>I do not find the Entry,
> >>>><M> Generic IEEE 802.11 Networking Stack (mac80211)
> >>>>in the ".config" File.
> >>>>And i do not find any files in the Sources containig ATH5k?
> >>>config ATH5K
> >>> tristate "Atheros 5xxx wireless cards support"
> >>> depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
> >>>
> >>>Did you select EXPERIMENTAL?
> >>What do you mean with EXPERIMENTAL?
> >>Have i downloaded the wrong Sources with git ?
> >>
> >>If so can you please post how you download the EXPERIMENTAL Sources?
> >
> >I mean did you answer "y" to this:
> >
> > Prompt for development and/or incomplete code/drivers (EXPERIMENTAL)
> > [Y/n/?]
> >
> >How about this?
> >
> > Wireless LAN (IEEE 802.11) (WLAN_80211) [Y/n/?]
> >
> >And either "y" or "m" to this?
> >
> > Generic IEEE 802.11 Networking Stack (mac80211) (MAC80211 [M/n/y/?]
> >
> >Answering "n" to any of those will hide ATH5K from your choices.
> >
> I have all of this above enabled.
>
> Do you also do this,
> 1.) git-clone
> git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git
> 2.) cd wireless-2.6
> 3.) git checkout -b everything origin/everything
>
> At the third Point he says to me that there is nothing to do, because i
> have got the newest. Maybe there is a Mistake?

That procedure works fine here. I don't know what mistake you
are making. Did you perhaps checkout one tree inside another?

John

P.S. Make sure you select PCI in your config as well...
--
John W. Linville
[email protected]