Hostap+avaya pci-card+SURECOM PCMCIA-CARD(EP-9427)+RHL 9.0

Anand S. Katti askatti
Wed Aug 13 04:26:11 PDT 2003


Hello All,

I went thru some list and got hint, so i followed these steps...
since im using RHL 9.0

1. I copied the kernel---i686.config file from /config dir to 
/usr/src/linux-2.4.20-8/
2. Renamed the file to .config
3.cd /hostap-0.0.4
4.make pci
gcc -I/usr/src/linux-2.4.20-8//include -O2 -D__KERNEL__ -DMODULE -Wall -g 
-c  -DMODVERSIONS -i
nclude /usr/src/linux-2.4.20-8//include/linux/modversions.h 
-fomit-frame-pointer -E -D__GENKSY
MS__ driver/modules/hostap.c | \
        /sbin/genksyms -k 2.4.20 > driver/modules/hostap.ver
In file included from driver/modules/hostap.c:21:
/usr/src/linux-2.4.20-8/include/linux/module.h:15:1: warning: "_set_ver" 
redefined
In file included from 
/usr/src/linux-2.4.20-8/include/linux/modversions.h:4,
 
                 from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modsetver.h:9:1: warning: this is 
the location of the pr
evious definition
gcc -I/usr/src/linux-2.4.20-8//include -O2 -D__KERNEL__ -DMODULE -Wall -g 
-c  -DMODVERSIONS -i
nclude /usr/src/linux-2.4.20-8//include/linux/modversions.h 
-fomit-frame-pointer -E -D__GENKSY
MS__ driver/modules/hostap_crypt.c | \
        /sbin/genksyms -k 2.4.20 > driver/modules/hostap_crypt.ver
In file included from driver/modules/hostap_crypt.c:18:
/usr/src/linux-2.4.20-8/include/linux/module.h:15:1: warning: "_set_ver" 
redefined
In file included from 
/usr/src/linux-2.4.20-8/include/linux/modversions.h:4,
                 from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modsetver.h:9:1: warning: this is 
the location of the pr
evious definition
gcc -I/usr/src/linux-2.4.20-8//include -include 
driver/modules/hostap_crypt.ver -include drive
r/modules/hostap.ver -O2 -D__KERNEL__ -DMODULE -Wall -g -c  -DMODVERSIONS 
-include /usr/src/li
nux-2.4.20-8//include/linux/modversions.h -fomit-frame-pointer -o 
driver/modules/hostap_pci.o
driver/modules/hostap_pci.c
gcc -I/usr/src/linux-2.4.20-8//include -include 
driver/modules/hostap_crypt.ver -include drive
r/modules/hostap.ver -O2 -D__KERNEL__ -DMODULE -Wall -g -c  -DMODVERSIONS 
-include /usr/src/li
nux-2.4.20-8//include/linux/modversions.h -fomit-frame-pointer -o 
driver/modules/hostap.o driv
er/modules/hostap.c
gcc -I/usr/src/linux-2.4.20-8//include -include 
driver/modules/hostap_crypt.ver -include drive
/tmp/makepciop.txt
r/modules/hostap.ver -O2 -D__KERNEL__ -DMODULE -Wall -g -c  -DMODVERSIONS 
-include /usr/src/li
nux-2.4.20-8//include/linux/modversions.h -fomit-frame-pointer -o 
driver/modules/hostap_crypt.
o driver/modules/hostap_crypt.c
gcc -I/usr/src/linux-2.4.20-8//include -include 
driver/modules/hostap_crypt.ver -include drive
r/modules/hostap.ver -O2 -D__KERNEL__ -DMODULE -Wall -g -c  -DMODVERSIONS 
-include /usr/src/li
nux-2.4.20-8//include/linux/modversions.h -fomit-frame-pointer -o 
driver/modules/hostap_crypt_
wep.o driver/modules/hostap_crypt_wep.c
  
Run 'make install_pccard' as root to install hostap_cs.o
Run 'make install_plx' as root to install hostap_plx.o
Run 'make install_pci' as root to install hostap_pci.o
==========================
make install_pci
=========================
4. [root at ROUTERH root]# make install_pci
make: *** No rule to make target `install_pci'.  Stop.
[root at ROUTERH root]# cd /tmp/hostap-0.0.4
[root at ROUTERH hostap-0.0.4]# make install_pci
Installing hostap_crypt*.o to /lib/modules/2.4.20-8/net
mkdir -p /lib/modules/2.4.20-8/net
cp -f driver/modules/hostap_crypt*.o /lib/modules/2.4.20-8/net
Installing hostap.o to /lib/modules/2.4.20-8/net
mkdir -p /lib/modules/2.4.20-8/net
[root at ROUTERH hostap-0.0.4]# modprobe hostap_pci
/lib/modules/2.4.20-8/net/hostap_pci.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, 
including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
:
/lib/modules/2.4.20-8/net/hostap_pci.o: insmod 
/lib/modules/2.4.20-8/net/hostap_pci.o failed
/lib/modules/2.4.20-8/net/hostap_pci.o: insmod hostap_pci failed
======================================================================
cp -f driver/modules/hostap.o /lib/modules/2.4.20-8/net
Installing hostap_pci.o to /lib/modules/2.4.20-8/net
mkdir -p /lib/modules/2.4.20-8/net
cp -f driver/modules/hostap_pci.o /lib/modules/2.4.20-8/net
/sbin/depmod -ae
[root at ROUTERH hostap-0.0.4]#
===========
                                                                                 
[root at ROUTERH linux-2.4]# insmod hostap_pci
Using /lib/modules/2.4.20-8/net/hostap_pci.o
/lib/modules/2.4.20-8/net/hostap_pci.o: unresolved symbol
hostap_80211_rx_Re43aa
b8d
/lib/modules/2.4.20-8/net/hostap_pci.o: unresolved symbol
hostap_80211_get_hdrle
n_R6903f16c
hostap_set_encryption_
R44417ac4
/lib/modules/2.4.20-8/net/hostap_pci.o: unresolved symbol
hostap_set_multicast_l
ist_queue_Rc089a779
/lib/modules/2.4.20-8/net/hostap_pci.o: unresolved symbol
hostap_set_antsel_R041
/lib/modules/2.4.20-8/net/hostap_pci.o: unresolved symbol
hostap_set_word_Rda4b0
====================
insmod hostap_pci
output of the dmesg
 
hostap_crypt: registered algorithm 'NULL'
hostap_pci: 0.0.4 - 2003-07-27 (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_pci: No devices found, driver not installed.
hostap_crypt: unregistered algorithm 'NULL' (deinit)
[root at ROUTERH net]#
==================================

Please guide me what step need i take now?


> This is my first mail to this mailing list. I believe you enjoy
> solving the problems. Here is my problem hope u help me out.
> 
> Im trying to install Hostap ver 0.0.4 on RHL 9.0 I have
> 
> 1.Avaya pci card
> 2.Surecom pcmcia card(I dont know how to find out the chipset for this 
> card? does anyone know how to figure out? Well when i insert this card in 
> to the RHL9.0 m/c and i do lsmod, it lists orinoco_cs module.
> 
> I untar the hostap.gz gile and went thru the README,
> Since im using "pcmcia card with pci card" I followed the installation 
> instructions given for "PCI CARDS BASED ON PRISM2.5  hostap_pci.o" section 
> from README file.
> 
> i edited the KERNEL_PATH to point to /usr/src/linux-2.4.20-8
> and typed "make pci"
> I got the following error.
> 
> [root at ROUTERH hostap-0.0.4]# make pci
> Makefile:20: /usr/src/linux-2.4.20-8//.config: No such file or directory
> Makefile:38: WARNING: No kernel PCMCIA support found and PCMCIA_PATH is 
> not defined
> Makefile:45: WARNING: Linux wireless extensions, CONFIG_NET_RADIO, not 
> enabled in the kernel
> make: *** No rule to make target `/usr/src/linux-2.4.20-8//.config'.  
> Stop.
> 
> 
> Please tell me how to solve the abovce problems.
> 
> To get rid of error at line 38, shud i download and compile pcmcia-cs 
> package?
> 
> why is the ".config" file not found in the kernel path OF rhl 9.0 ?
> I've seen that file in the system running RHL 8.0.
> 
> 
> 

-- 
--------------.				
With Regards,   
Anand S. Katti




More information about the Hostap mailing list