No your kernel will reside in /boot/
Your kernel modules are in /lib/modules IIRC
Hello all!
i want to install a hostap driver for a prism 2.5 mini pci wireless card and at the readme file says that i have to edit the kernel path in makefile.
Kernels are store in usr/src... directories right? but i cannot find it in mine.
mine goes : usr/src/redhat & then one of the following folders: BUILD,RPMS,SOURCES,SPECS,SRPMS and they are all empty.
What is my KERNEL_PATH?
Also the driver (hostap_pci.o) for pci cards is the same for mini pci right?
Need help!
No your kernel will reside in /boot/
Your kernel modules are in /lib/modules IIRC
Ok thanks!These are in boot... The kernel im using is 2.6.16-1.2080_FC5... which one i set as path: system.map , vmlinuz , initrd ??? I guess i dont use the kernel modules as path as there is no kernel file inside.
config-2.6.15-1.2054_FC5
lost+found/
config-2.6.16-1.2080_FC5
System.map-2.6.15-1.2054_FC5
grub/
System.map-2.6.16-1.2080_FC5
initrd-2.6.15-1.2054_FC5.img
vmlinuz-2.6.15-1.2054_FC5
initrd-2.6.16-1.2080_FC5.img
vmlinuz-2.6.16-1.2080_FC5
KERNEL_PATH : /boot/?
Being at work when I posted earlier, I couldnt check it out myself, since I can't download.
Now I am looking at this and this is your kernel source you are looking at which you would give it /usr/src/linux...... (kernel number goes in there). That would require your kernel sources, headers, and the developer tools.
BTW -- have you tried just using the default setting? Unless we are looking at two different drivers, the docs read that no makefile mods should be needed, and a make is sufficient most of the time.
i installed 2.6.16-1.2128_FC5.i686.rpm kernel & devel and a new folder is created at /usr/src/kernels/2.6.16-1.2128_FC5.i686 and also at /lib/modules/2.6.16-1.2128_FC5.
The problem is that when i do uname -a i get my old kernel 2.6.16.-1.2128_FC5. Why is there since i installed the new one?
The hostap driver mentions this in README:
PCI cards based on Prism2.5/3 hostap_pci.o
-----------------------------
'Makefile' includes commands for compiling and installing Host AP
driver for systems using Prism2.5/3-based PCI cards. These cards do not
use pcmcia-cs package. Edit KERNEL_PATH in Makefile to match your
system. Run 'make' (this compiles the sources; this step can be
run as non-root user). After the compilation has finished, you can
install hostap_pci.o by running 'make install' (as root). You can
probe PCI bus for Prism2.5/3 PCI cards and initialize the devices by loading
the module ('modprobe hostap_pci').
This is also valid for mini pci cards also right?Coz my prism2.5 is mini pci.
Then reboot idiot :P (i was referring to myself)
[root@monaco kernels]# uname -a
Linux monaco.uni.lux 2.6.16-1.2128_FC5 #1 Tue May 30 21:56:41 EDT 2006 i686 i686 i386 GNU/Linux
Everything looks fine now.
For KERNEL_PATH i put now /lib/modules/2.6.16-1.2128_FC5/build where build is a file ? or /usr/src/kernels/2.6.16-1.2128_FC5-i686 ?
I put KERNEL_PATH ?= /lib/modules/2.6.16-1.2128_FC5/build <---in makefile
At the Hostap folder i run: make and i get the following error:
[root@monaco hostap-driver-0.3.10]# make
make -C /lib/modules/2.6.16-1.2128_FC5/build SUBDIRS=/root/Desktop/Prism 2.5/Hostap 0.3.x/hostap-driver-0.3.10/driver/modules \
MODVERDIR=/root/Desktop/Prism 2.5/Hostap 0.3.x/hostap-driver-0.3.10/driver/modules modules
make[1]: Entering directory `/usr/src/kernels/2.6.16-1.2128_FC5-i686'
make[1]: *** No rule to make target `2.5/Hostap'. Stop.
make[1]: Leaving directory `/usr/src/kernels/2.6.16-1.2128_FC5-i686'
make: *** [2.6] Error 2
What am i doing wrong? Is it something in the makefile i need to change?
Last edited by titanas; 05-31-2006 at 03:32 PM.
isn't it allready there?Originally Posted by titanas
> ls -l /lib/modules/`uname -r`/build
lrwxrwxrwx 1 root root 31 2006-05-31 18:24 /lib/modules/2.6.16.19/build -> /usr/src/kernel/linux-2.6.16.19/
Don't worry Ma'am. We're university students, - We know what We're doing.
'Ruiat coelum, fiat voluntas tua.'Datalogi - en livsstil; Intet liv, ingen stil.
lrwxrwxrwx 1 root root 47 May 31 15:16 /lib/modules/2.6.16-1.2128_FC5/build -> ../../../usr/src/kernels/2.6.16-1.2128_FC5-i686ls -l /lib/modules/`uname -r`/build
So i went to my makefile and i put at KERNEL_PATH ?= /lib/modules/2.6.16-1.2128_FC5/build .
[root@monaco hostap-driver-0.3.10]# make
make -C /lib/modules/2.6.16-1.2128_FC5/build SUBDIRS=/root/Desktop/Prism 2.5/Hostap 0.3.x/hostap-driver-0.3.10/driver/modules \
MODVERDIR=/root/Desktop/Prism 2.5/Hostap 0.3.x/hostap-driver-0.3.10/driver/modules modules
make[1]: Entering directory `/usr/src/kernels/2.6.16-1.2128_FC5-i686'
make[1]: *** No rule to make target `2.5/Hostap'. Stop.
make[1]: Leaving directory `/usr/src/kernels/2.6.16-1.2128_FC5-i686'
make: *** [2.6] Error 2
As you can see its beeing redirected to /usr/src/kernels/2.6.16-1.2128_FC5-i686 but there doesnt find something.. Do i have to copy a file in there or something that is missing?
The problem was in here Prism 2.5 must be written with no gaps=/root/Desktop/Prism 2.5/Hostap 0.3.x/hostap-driver-0.3.10/driver/modules![]()
The problem is that later make initialises but iam being told that the driver is included in my kernel version (which i already know) and the procedure stops.
I did some modifications to the driver though i want this one to be installed and not use the one already intergrated in the kernel... any help on that ?what do i do?
Bookmarks