Spurious IRQ 7/ 5.0V card

gaurav dawra openapproject
Mon Jul 26 11:33:32 PDT 2004


Hey Jouni

Here is what i did.I tried 5.0 V (COMPAQ WL11 card) with orinoco.o driver, 
it worked, just fine.

But when i tried to put , NOT the same card but 5.0 V LINKSYS WPC11 card 
with hostap_cs.o using this:

modprobe hostap
modprobe hostap_cs ignore_cis_vcc=1(just to play safe)

I see modules are loaded:

here is the dmesg :
Linux PCMCIA Card Services 3.2.7
kernel build: 2.4.20 #2 Tue Jun 21 06:36:59 MDT 2005
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
==>bridge is detected.
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)
===>spurious 8259A interrupt:IRQ 7 <=========
Checking CFTABLE_ENTRY 0x01 (default 0x01)
io->flags = 0x0046, io.base=0x0000, len=64
cs: IO port probe 0x0100-0x037f: esxcluding 0x110-0x11f 0x378-ox37f
cs: IO port probe 0x0400-0x04ff: excluding 0x480-0x48f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: IO port probe 0x0c00-0x0cff: clean.
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f
prism2_hw_init: initialized in 200 ms
wifi0: NIC: id=0x801b v1.0.0
wifi0: PRI: id=0x15 v1.1.0
wifi0: STA: id=0x1f v1.4.2
wifi0: defaulting to host-based encryption as a workaround for firmware bug 
in Host AP mode WEP
wifi0: defaulting to bogus WDS frame as a workaround for firmware bug in 
Host AP mode WDS
wifi0: Warning: secondary station firmware version 1.4.2 does not seem to 
work in Host AP mode
wifi0: registered netdevice wlan0

[root at localhost root]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0D:56:3B:CE:61
         inet addr:153.90.196.95  Bcast:153.90.199.255  Mask:255.255.248.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:24327 errors:1 dropped:0 overruns:0 frame:1
         TX packets:1814 errors:0 dropped:0 overruns:0 carrier:1638
         collisions:0 txqueuelen:100
         RX bytes:4505465 (4.2 Mb)  TX bytes:278266 (271.7 Kb)
         Interrupt:11 Base address:0xe000 Memory:faffe000-fafff080

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:3138 errors:0 dropped:0 overruns:0 frame:0
         TX packets:3138 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:265134 (258.9 Kb)  TX bytes:265134 (258.9 Kb)


NO WLAN0 Device registered. if i do 'iwconfig' IT JUST HANGS after this:

[root at localhost root]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

Warning: Driver for device wifi0 has been compiled with version 14
of Wireless Extension, while this program is using version 15.
Some things may be broken...

CUD NOT ABLE TO DO ANYTHING AFTER THIS, I HAVE TO RESTART THE SYSTEM
cardctl eject command will not even work.
( I am sending this email from some other computer)
---------------------------------
I DID THE SAME PROCEDURE WITH NETGEAR 5.0 V PCMCIA card with same results.
---------------------------------
NOW i tried to load the 3.3V card (Senao NL2511)

modprobe hostap
modprobe hostap_cs ignore_cis_vcc=1

hostap_cs: 0.2.2 - 2004-05-31 (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)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
cs: IO port probe 0x0100-0x037f: esxcluding 0x110-0x11f 0x378-ox37f
cs: IO port probe 0x0400-0x04ff: excluding 0x480-0x48f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: IO port probe 0x0c00-0x0cff: clean.
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f
prism2_hw_init: initialized in 200 ms
==>NO SPURIOUS IRQ7 HERE<==
wifi0: NIC: id=0x800c v1.0.0
wifi0: PRI: id=0x15 v1.1.0
wifi0: STA: id=0x1f v1.4.9
wifi0: defaulting to bogus WDS frame as a workaround for firmware bug in 
Host AP mode WDS
wifi0: registered netdevice wlan0

BUT if i do iwconfig    after this : it just HANGS.
------------------------------------
All i can do at this point is to restart the system.

i looked into my /etc/pcmcia/config.opts file and the IRQ 7 is excluded , i 
also excluded IRQ from it.
and other which are excluded by default.

i do not know how should i make this working. I believe there is something 
to do with the IRQ problem. As i also read your conversation earlier on 
SPURIOUS IRQ 7 with jun.


I hope i am more clear this time on what i am doing. All these cards which i 
tested above work fine with my laptop.

I will appreciate some useful hints and the direction to move forward. Also 
just to mention if i start 'cardmgr' instead of loading modules using 
'modprobe' system just hangs.

I will be looking forward to some quick response.

--Gaurav





>From: Jouni Malinen <jkmaline at cc.hut.fi>
>To: hostap at shmoo.com
>Subject: Re: VCC_mismatch: VCC_ignore NOT working!!Help
>Date: Sun, 25 Jul 2004 07:58:34 -0700
>
>On Sun, Jul 25, 2004 at 07:58:58AM +0000, gaurav dawra wrote:
>
> > load it on a *PC104* module with PCMIA adpater on it.  Well bridge from
> > ISA/PCMCIA has been detected and that adapter working fine with orinoco
> > drivers but has some issues with hostap_cs driver. well i understand a 
>bit
>
> > I am using i82365 and ds module. I also tried to load the card with this
> > "ignore_cis_vcc=1"
> > # Optional configuration parameters for hostap_cs.o
> > # module "hostap_cs" opts "channel=3 iw_mode=3 essid=test 
>ignore_cis_vcc=1"
> >
> > But it is still not working, well looking at 'dmesg' suggest that there 
>is
> > a clear VCC mismatch but why the vcc_ignore not working.
>
>How about sending that 'dmesg' output, too?
>
> > hostap_cs should ignore the vcc and load the services. The socket does
> > support, "compaq WL110" based on hermes chipset and work with 
>'orinoco_cs.o
> > '  which is a 5.0 V card. But it does not work with hostap_cs with Senao
> > Card. Why is VCC ignore not working?
>
>This is confusing.. Did you or did you not use the _same_ card with
>orinoco_cs.o when you mentioned above that the adapter was working? In
>other words, have been able to use any 3.3V card on this board with any
>driver?
>
>--
>Jouni Malinen                                            PGP id EFC895FA
>_______________________________________________
>HostAP mailing list
>HostAP at shmoo.com
>http://lists.shmoo.com/mailman/listinfo/hostap

_________________________________________________________________
Don?t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/





More information about the Hostap mailing list