Problem loading hostap driver...
daniel escartin EXCHANGE03_VirtYH04
escartid
Wed Apr 7 07:22:48 PDT 2004
Hello All, I'm trying to install hostap driver but I get error when I
reboot the machine, since hostap_cs is not recognize for my kernel. I
have got working the hostap0.2.0 version in my desktop computer, but I
dont know what is wrong now. Im going to explain my problem to try to fix
it. Here is my configuration and different output files that I obtain.
My configuration is:
- Fedora Linux with kernel (2.4.22-1.2115).
- Host AP 0.2.0 Driver, Utils, Hostapd and Wpa_supplicant.
- My card is Linksys WPC11 Version 3.
- Pcmcia-cs 3.2.7-1.5.i386
and the steps for install the driver have been the next:
1) download and discompress the hostap package.
2) with rpm install my pcmcia-cs with rpm.
3) change makefile, adding the route for linux-2.4
4) change
hostap-driver-0.2.0/driver/modules/hostap_compat.h
in this line:
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,22))
23 -> 22 in the kernel version.
5) make pccard
6) make install_pccard
7) modprobe hostap_cs (without errors)
but after this when I try to type lsmod I get:
Module Size Used by Not tainted
soundcore 6468 0 (autoclean)
ide-cd 35776 0 (autoclean)
cdrom 33728 0 (autoclean) [ide-cd]
mousedev 5556 1 (autoclean)
input 5888 0 (autoclean) [mousedev]
radeon 115204 1
agpgart 54820 3
parport_pc 19076 1 (autoclean)
lp 9060 0 (autoclean)
parport 37056 1 (autoclean) [parport_pc lp]
autofs 13364 0 (autoclean) (unused)
hostap_cs 50900 0 (unused)
hostap 111592 0 [hostap_cs]
ds 8680 1 [hostap_cs]
yenta_socket 13664 1
pcmcia_core 57216 0 [hostap_cs ds yenta_socket]
natsemi 19552 1
sg 36492 0 (autoclean) (unused)
scsi_mod 108168 1 (autoclean) [sg]
microcode 4700 0 (autoclean)
ext3 71300 2
jbd 52084 2 [ext3]
my /etc/modules.conf is:
alias eth0 natsemi
alias usb-controller usb-uhci
alias usb-controller1 ehci-hcd
alias wlan0 hostap_cs
alias ieee1394-controller ohci1394
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
>/dev/null 2>&
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null
2>&1
Finally when I try to load the driver
[root at localhost root]# /etc/init.d/pcmcia start
Starting PCMCIA services: cardmgr is already running.
done.
[root at localhost root]# cardmgr
cardmgr[1820]: open_sock(socket 0) failed: Device or resource busy
cardmgr[1820]: another cardmgr is already running?
My idea is that something is wrong with IRQs but Im not sure because in my
desktop I was working with redhat 9 and fedora has different configuration
now.
Thank you very much in advance, If you need more information please tell
me.
Regards Daniel.
More information about the Hostap
mailing list