You are not logged in.

#1 2007-01-20 21:42:19

JhonnyBoy
Member
Registered: 2006-10-11
Posts: 33

kernel compilation

I would like to patch my kernel with those hotkey patch http://www.da-cha.jp/?q=letsnote and with the ipw2200 (wihch make this module usable with aircrack).
But I really don't know what I should do in all my search in find invormation about already done patch such as beyond.
Is there any special things with arch or could I use gentoo documentation?

Offline

#2 2007-01-21 13:57:29

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: kernel compilation

have u checked the wiki,
http://wiki.archlinux.org/index.php/Ker … n_with_ABS
might help


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#3 2007-01-22 00:10:33

JhonnyBoy
Member
Registered: 2006-10-11
Posts: 33

Re: kernel compilation

well as I don't really know what it talks about in my own language.
I don't really understand this help. Someone one told me he is translating it. I think I'll wait him to finish.

Offline

#4 2007-01-22 11:02:06

arkanoid
Member
Registered: 2006-08-08
Posts: 25

Re: kernel compilation

Hi Johnyboy, for the ipw2200 inject patch, i assume it's the one you're talking about, you don't need to compile it into the kernel. Just compile it as a module and load it with modprobe.

This is even better because you can swap with the regular module. I've recently patched the last version and it works fine.

If I remember you will need also to download the source tree of the iee80211x module and provide the location to the makefile, as the ipw2200 module depends on it.

Offline

#5 2007-01-23 17:28:52

JhonnyBoy
Member
Registered: 2006-10-11
Posts: 33

Re: kernel compilation

I read somewhere that those modules http://www.da-cha.jp/?q=letsnote (for my hotkeys) : "Building the module outside the tree worked perfectly."
So I can also compile them without compiling the module?

Offline

#6 2007-01-23 19:56:50

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: kernel compilation

If the quote you have given is accurate, that would mean you could compile the module outside the kernel tree i.e. without patching and rebuilding the kernel. Most external modules are built that way e.g. madwifi, lirc, etc.

Offline

#7 2007-01-23 21:55:43

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: kernel compilation

I'm not familiar with those modules, I'm afraid.

Offline

#8 2007-01-29 00:17:27

JhonnyBoy
Member
Registered: 2006-10-11
Posts: 33

Re: kernel compilation

arkanoid wrote:

Hi Johnyboy, for the ipw2200 inject patch, i assume it's the one you're talking about, you don't need to compile it into the kernel. Just compile it as a module and load it with modprobe.

This is even better because you can swap with the regular module. I've recently patched the last version and it works fine.

If I remember you will need also to download the source tree of the iee80211x module and provide the location to the makefile, as the ipw2200 module depends on it.

well I've put the location of ieee80211 in the makefile but I still have this error :

[root@magrathea ipw2200-1.1.4]# make
mkdir -p /root/comp/ipw2200-1.1.4/tmp/.tmp_versions
cp /lib/modules/2.6.19-ARCH/net/ieee80211/.tmp_versions/*.mod /root/comp/ipw2200-1.1.4/tmp/.tmp_versions
cp: ne peut évaluer `/lib/modules/2.6.19-ARCH/net/ieee80211/.tmp_versions/*.mod': Aucun fichier ou répertoire de ce type
make: [modules] Erreur 1 (ignorée)
cp /lib/modules/2.6.19-ARCH/net/ieee80211/.tmp_versions/../Modules.symvers /root/comp/ipw2200-1.1.4
cp: ne peut évaluer `/lib/modules/2.6.19-ARCH/net/ieee80211/.tmp_versions/../Modules.symvers': Aucun fichier ou répertoire de ce type
make: [modules] Erreur 1 (ignorée)
make -C /lib/modules/2.6.19-ARCH/build M=/root/comp/ipw2200-1.1.4 MODVERDIR=/root/comp/ipw2200-1.1.4/tmp/.tmp_versions modules
make[1]: entrant dans le répertoire « /usr/src/linux-2.6.19-ARCH »
  CC [M]  /root/comp/ipw2200-1.1.4/ipw2200.o
/root/comp/ipw2200-1.1.4/ipw2200.c: In function 'ipw_pci_probe':
/root/comp/ipw2200-1.1.4/ipw2200.c:11673: erreur: 'debug' undeclared (first use in this function)
/root/comp/ipw2200-1.1.4/ipw2200.c:11673: erreur: (Each undeclared identifier is reported only once
/root/comp/ipw2200-1.1.4/ipw2200.c:11673: erreur: for each function it appears in.)
/root/comp/ipw2200-1.1.4/ipw2200.c:11728: attention : passing argument 2 of 'request_irq' from incompatible pointer type
make[2]: *** [/root/comp/ipw2200-1.1.4/ipw2200.o] Erreur 1
make[1]: *** [_module_/root/comp/ipw2200-1.1.4] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-2.6.19-ARCH »
make: *** [modules] Erreur 2

and yet as it says there is no .tmp_versions in ieee80211 directory.
What should I do?

Offline

#9 2007-01-29 14:21:10

arkanoid
Member
Registered: 2006-08-08
Posts: 25

Re: kernel compilation

Johnyboy, this happened to me too at the first time. If I remember Arch's include folder contains only the headres.
You should download the actual ieee80211 sources, uncompress it for example in your /home dir, and make ipw2200 point to it.
Let me know if it worked

Offline

#10 2007-01-29 22:15:51

JhonnyBoy
Member
Registered: 2006-10-11
Posts: 33

Re: kernel compilation

I download it and modify the makefil of ipw2200 in order it to use it.
here are the new mistake :

[root@magrathea ipw2200-1.1.4]# make
mkdir -p /root/comp/ipw2200-1.1.4/tmp/.tmp_versions
cp /root/comp/ieee80211-1.2.16/.tmp_versions/*.mod /root/comp/ipw2200-1.1.4/tmp/.tmp_versions
cp /root/comp/ieee80211-1.2.16/.tmp_versions/../Modules.symvers /root/comp/ipw2200-1.1.4
cp: ne peut évaluer `/root/comp/ieee80211-1.2.16/.tmp_versions/../Modules.symvers': Aucun fichier ou répertoire de ce type
make: [modules] Erreur 1 (ignorée)
make -C /lib/modules/2.6.19-ARCH/build M=/root/comp/ipw2200-1.1.4 MODVERDIR=/root/comp/ipw2200-1.1.4/tmp/.tmp_versions modules
make[1]: entrant dans le répertoire « /usr/src/linux-2.6.19-ARCH »
  CC [M]  /root/comp/ipw2200-1.1.4/ipw2200.o
/root/comp/ipw2200-1.1.4/ipw2200.c: In function 'ipw_pci_probe':
/root/comp/ipw2200-1.1.4/ipw2200.c:11673: erreur: 'debug' undeclared (first use in this function)
/root/comp/ipw2200-1.1.4/ipw2200.c:11673: erreur: (Each undeclared identifier is reported only once
/root/comp/ipw2200-1.1.4/ipw2200.c:11673: erreur: for each function it appears in.)
/root/comp/ipw2200-1.1.4/ipw2200.c:11728: attention : passing argument 2 of 'request_irq' from incompatible pointer type
make[2]: *** [/root/comp/ipw2200-1.1.4/ipw2200.o] Erreur 1
make[1]: *** [_module_/root/comp/ipw2200-1.1.4] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-2.6.19-ARCH »
make: *** [modules] Erreur 2

So it seems that "./Modules.symvers" is missing. Did I badly understand your advise?

Offline

#11 2007-12-01 19:00:36

ekerazha
Member
Registered: 2007-02-27
Posts: 290

Re: kernel compilation

This is an old thread, however if you still need it, I've just uploaded this ( http://aur.archlinux.org/packages.php?d … hans=&SeB= ) to AUR.

Offline

Board footer

Powered by FluxBB