Linksys WPC11/hostap vs orinoco/PC104

gaurav dawra openapproject at hotmail.com
Tue Aug 3 12:49:43 EDT 2004


Hi

I am assuming this may be a good question to ask from mailing list.Linksys 
card is working fine with orinoco_cs drivers but makes system "hang" with 
hostap driver. why?

In short:
LINKSYS wpc11 ---Orinoco_cs->>>>WORKS
LINKSYS wpc11----Hostap_cs->>>>Loads(assuming,one high pitched beep) But 
system hangs....????

I am using pcmcia-cs-3.2.7 package and hostap0.2.2. I am using "ds.o" and 
i82365.o from pcmcia-cs package.
--Pc104 System
--LInux 2.4.20-8(Redhat 9.0)
--ISA-->PCMCIA Adapter

I search a lot on internet and tried many different things on this *PC104* 
System with ISA-PCMCIA adapter. Kernel does not gives me any real hint so i 
am struck with whats wrong with the system, why it hangs only with hostap. 
Below is the procedure i opted for infinite no. of times and mant other 
things to make it working, looked into "/var/log/messages" also, but no real 
hint.

I am forcing Adapter to take IRQ 5 by excluding all other IRQ from 
'config.opts' file.

================
Starting "service pcmcia start" WITH NO CARD in the socket.
"demsg" shows me this:
Linux PCMCIA Card Services 3.2.7
kernel build: 2.4.20 #6 Fri Jul 30 11:06:57 MDT 2004
options:  [pci] [cardbus] [apm]
Intel ISA/PCI/CardBus PCIC probe:
Cirrus PD672x rev 00 ISA-to-PCMCIA at port 0x3e0 ofs 0x00
   host opts [0]: [ring] [65/6/3] [1/15/3]
   host opts [1]: [ring] [65/6/3] [1/15/3]
   ISA irqs (default) = 3,4,5,7,11 polling interval = 1000 ms

"lsmod"
[root at localhost proc]# lsmod
Module                  Size  Used by    Not tainted
ds                      8104   2
i82365                 38016   2
pcmcia_core            44736   0  [ds i82365]
8139too                17064   1
mii                     3444   0  [8139too]
mousedev                5208   0  (unused)
keybdev                 2688   0  (unused)

OK!! The kernel message says that the bridge is detected.Good News!!
==============================
I restart the PCMCIA service with "Linksys Card WPC11" on the adapter and 
force it to take orinoco_cs module by taking configuration with 
'hermes.conf' file and it works fine. Huh!!....eth1 interface comes up and 
everything is normal.
"lsmod"
orinoco_cs
orinoco
hermes
i82365
ds
pcmcia_core
cardctl eject
------------------------------------------------------------------
Now i put  the same LINKSYS card WPC11, and move the file hermes.conf from 
/etc/pcmcia to some other location, move file hostap_cs.conf, into the 
/etc/pcmcia directory.

restart the pcmcia service. "service pcmcia restart"

High Pitched Beep, and then it allows me to type "dmesg" or whatever command

Press Enter and SYSTEM hangs....aarrrruuggh

I looked into /var/log/messages but no hint , no messages given by kernel. I 
also wrote a small script test.sh, which

---loads pcmcia service
-- Sleep
--Collect messages from "dmesg", /var/log/messages
--Restart

But it does not work as the System does not respond.

Well i am out of option, i do not know what to try and what to search for, 
what is the reason the card is working fine with orinoco_cs and not with 
hostap_cs. Infact i made another card working on the Same *PC104* system 
with orinoco_cs driver(COMPAQ WL110), but NONE card working with HOSTAP 
driver until now.

If somebody can push me in righ direction, so that i can put more effort in 
solving the issue.


Here is the lspci -vvx output just in case.

[root at localhost root]# lspci -vvx
00:00.0 Host bridge: Cyrix Corporation PCI Master
       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
       Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
       Latency: 0
00: 78 10 01 00 07 00 80 02 00 00 00 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C/8139C+ (rev 10)
       Subsystem: Realtek Semiconductor Co., Ltd. RT8139
       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
       Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
       Latency: 32 (8000ns min, 16000ns max)
       Interrupt: pin A routed to IRQ 10
       Region 0: I/O ports at fc00 [size=256]
       Region 1: Memory at 80001000 (32-bit, non-prefetchable) [size=256]
       Capabilities: [50] Power Management version 2
               Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA 
PME(D0-,D1+,D2+,D3hot+,D3cold+)
               Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: ec 10 39 81 07 00 90 02 10 00 00 02 00 20 00 00
10: 01 fc 00 00 00 10 00 80 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 ec 10 39 81
30: 00 00 00 00 50 00 00 00 00 00 00 00 0a 01 20 40

00:12.0 ISA bridge: Cyrix Corporation 5530 Legacy [Kahlua] (rev 30)
       Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
       Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
       Latency: 0, cache line size 04
00: 78 10 00 01 1f 00 80 02 30 00 01 06 04 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:12.1 Bridge: Cyrix Corporation 5530 SMI [Kahlua]
       Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
       Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
       Region 0: Memory at 40012000 (32-bit, non-prefetchable) [size=256]
00: 78 10 01 01 02 00 80 02 00 00 80 06 00 00 00 00
10: 00 20 01 40 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:12.2 IDE interface: Cyrix Corporation 5530 IDE [Kahlua] (prog-if 80 
[Master])
       Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
       Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
       Latency: 0
       Region 4: I/O ports at f800 [size=16]
00: 78 10 02 01 05 00 80 02 00 80 01 01 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 f8 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:12.3 Multimedia audio controller: Cyrix Corporation 5530 Audio [Kahlua]
       Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
       Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
       Latency: 0
       Region 0: Memory at 40011000 (32-bit, non-prefetchable) [size=128]
00: 78 10 03 01 06 00 80 02 00 00 01 04 00 00 00 00
10: 00 10 01 40 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:12.4 VGA compatible controller: Cyrix Corporation 5530 Video [Kahlua] 
(prog-if 00 [VGA])
       Subsystem: Cyrix Corporation: Unknown device 584d
       Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
       Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
       Region 0: Memory at 40800000 (32-bit, non-prefetchable) [size=8M]
       Region 1: Memory at 40010000 (32-bit, non-prefetchable) [size=4K]
00: 78 10 04 01 03 00 80 02 00 00 00 03 00 00 80 00
10: 00 00 80 40 00 00 01 40 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 78 10 4d 58
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:13.0 USB Controller: Compaq Computer Corporation ZFMicro Chipset USB (rev 
06) (prog-if 10 [OHCI])
       Subsystem: Compaq Computer Corporation ZFMicro Chipset USB
       Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
       Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
       Interrupt: pin A routed to IRQ 9
       Region 0: Memory at 80004000 (32-bit, non-prefetchable) [size=4K]
00: 11 0e f8 a0 03 00 80 02 06 10 03 0c 08 20 00 00
10: 00 40 00 80 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e f8 a0
30: 00 00 00 00 00 00 00 00 00 00 00 00 09 01 00 50


I do not understand why the *PC104* is working fine with orinoco_cs drivers 
and not with hostap. I guess somebody please guide me in the right 
direction.

Thanx,
--Gaurav

_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page – FREE 
download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/




More information about the HostAP mailing list