Ricoh Cardbus Adapter/ IRQ 0
gaurav dawra
openapproject at hotmail.com
Mon Aug 2 19:57:59 EDT 2004
Hi Dave
I am assuming this may be a good question to ask from you. As usual i search
a lot on internet and tried many different things on this *PC104* System
with ISA->PCMCIA adapter.
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.
--LInux 2.4.20-8(Redhat 9.0)
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 tried to start the "service pcmcia restart" with SENAO NL2511Cd+ card in
the socket which is 3.3V card with HOSTAP drivers. IT gives me this
"dmesg"
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
cs: memory probe 0x0d0000-0x0dffff: clean.
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.2.1 - 2004-05-06 (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
hostap_cs: setting Vcc=50 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
Vcc mismatch - skipping this entry
hostap_cs: GetNextTuple: No more items
prism2_config() failed
Hmmm..... well i noticed there is VCC mismatch.I Tried loading it with
modprobe hostap
modprobe hostap_cs ignore_cis_vcc=1
demesg
"SYETEM JUST HANGS"
I tried the same thing with NEtgear Card which is 5.0v Card , same result.
=====================
But interestingly, when i load the "Compaq Wl110" card with orinoco_cs
drivers it just works fine."eth1" interface comes up and all is fine.
I could not able to understand that why it isnot only working with HOSTAP
drivers.
----------------------
I excluded all irq's from "config.opts" file in /etc/pcmcia/ directory and
forced it to take IRQ 5. I did becoz it was giving me "spurious irq 7".
I don't know what else to try, i tried to load it with "yenta_socket" but it
does not work with that, system hangs again.
=====================
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
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
More information about the linux-pcmcia
mailing list